[Snyk] Upgrade truncate-html from 1.0.3 to 1.1.2#47
Open
YoshiWalsh wants to merge 1 commit into
Open
Conversation
Snyk has created this PR to upgrade truncate-html from 1.0.3 to 1.1.2. See this package in npm: truncate-html See this project in Snyk: https://app.snyk.io/org/joshuawalsh/project/f429e8ca-f9cd-4ebf-a425-40a0d88abc3c?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade truncate-html from 1.0.3 to 1.1.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 6 versions ahead of your current version.
The recommended version was released on 3 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-NTHCHECK-1586032
SNYK-JS-CSSWHAT-3035488
Release notes
Package name: truncate-html
-
1.1.2 - 2024-08-15
- Cheerio 1.0 released, batteries included 🔋
- cheerio#4024, more issues about cheerio
-
1.1.1 - 2024-03-02
-
1.1.0 - 2024-03-02
- no vulnerabilities

- cheerio can now handle CJK characters correctly
- if you are using custom cheerio instance with this library, you should set the third parameter of
- better support for typescript
-
1.0.5-beta.2 - 2023-06-17
-
1.0.5-beta.1 - 2023-06-17
-
1.0.4 - 2021-07-09
-
1.0.3 - 2019-08-14
from truncate-html GitHub release notesCheerio released stable v1.0 a few days ago, but its APIs are very different from the latest beta version 1.0.0-rc.12, which breaks this lib.
The
v1.1.2release has pinned the cheerio version to1.0.0-rc.12to fix the cheerio problem.Reference:
Cheerio spent years on beta version of 1.0, and then bring so many break changes in stable version? Unbelievable!
No content.
There are several changes:
cheerio.loadtofalseto get rid of extra wrappers, see load for details.v1.0.5-beta.2
v1.0.5-beta.1
fix: fix type define issues, fixs #32
v1.0.3
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: