[Snyk] Upgrade truncate-html from 1.0.3 to 1.1.2 #45
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 fixes:
SNYK-JS-NTHCHECK-1586032
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
SNYK-JS-CSSWHAT-3035488
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
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
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs