Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade truncate-html from 1.0.3 to 1.1.2 #43

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

YoshiWalsh
Copy link
Owner

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 2 months ago, on 2024-08-15.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Regular Expression Denial of Service (ReDoS)
SNYK-JS-NTHCHECK-1586032
696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Proof of Concept
Regular Expression Denial of Service (ReDoS)
SNYK-JS-CSSWHAT-3035488
696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Proof of Concept

(*) 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 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 to 1.0.0-rc.12 to fix the cheerio problem.

    Reference:

    1. Cheerio 1.0 released, batteries included 🔋
    2. cheerio#4024, more issues about cheerio

    Cheerio spent years on beta version of 1.0, and then bring so many break changes in stable version? Unbelievable!

  • 1.1.1 - 2024-03-02
    No content.
  • 1.1.0 - 2024-03-02

    There are several changes:

    1. no vulnerabilities
      CleanShot 2023-06-17 at 20 37 48
    2. cheerio can now handle CJK characters correctly
    3. if you are using custom cheerio instance with this library, you should set the third parameter of cheerio.load to false to get rid of extra wrappers, see load for details.
    4. better support for typescript
  • 1.0.5-beta.2 - 2023-06-17

    v1.0.5-beta.2

  • 1.0.5-beta.1 - 2023-06-17

    v1.0.5-beta.1

  • 1.0.4 - 2021-07-09

    fix: fix type define issues, fixs #32

  • 1.0.3 - 2019-08-14

    v1.0.3

from truncate-html GitHub release notes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants