[Snyk] Upgrade truncate-html from 1.0.3 to 1.1.2 #50
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 5 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-NTHCHECK-1586032
SNYK-JS-CSSWHAT-3035488
Release notes
Package name: truncate-html
Cheerio 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.2
release has pinned the cheerio version to1.0.0-rc.12
to 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.load
tofalse
to 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:![](https://camo.githubusercontent.com/132c109cc9dd88adb90b292133fe5cdfef9bc3b5194580e76bbb804b85a12e74/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f69497759575a694e446c6b5a6930304d474a6a4c54526b4f44497459544d314e43316c4e546b784f5441775a6a4d35596a63694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496a42685a6d49304f57526d4c545177596d4d744e4751344d6931684d7a55304c5755314f5445354d44426d4d7a6c694e794a3966513d3d)