Skip to content

[Snyk] Upgrade stylelint from 9.10.1 to 16.18.0 #37

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

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented May 11, 2025

snyk-top-banner

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.18.0.

ℹ️ 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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 115 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-STYLELINT-1585622
45 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-TRIM-1017038
45 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-TRIMNEWLINES-1298042
45 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
45 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-STYLELINT-460283
45 No Known Exploit
medium severity Prototype Pollution
SNYK-JS-YARGSPARSER-560381
45 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
45 Proof of Concept
Release notes
Package name: stylelint
  • 16.18.0 - 2025-04-06

    It adds 2 new rules and fixes 2 bugs. We've turned on these rules, and the syntax-string-no-invalid and layer-name-pattern ones from recent releases, in our standard config.

    • Added: color-function-alias-notation rule (#8499) (@ EduardAkhmetshin).
    • Added: container-name-pattern rule (#8498) (@ nate10j).
    • Fixed: declaration-property-value-no-unknown false positives for math of font-size (#8495) (@ otomad).
    • Fixed: font-family-no-missing-generic-family-keyword false positives for math (#8489) (@ otomad).
  • 16.17.0 - 2025-03-26

    It adds 1 new rule, support for languageOptions to 2 rules, 1 option to a rule, the --compute-edit-info CLI flag (along with support for EditInfo in 3 rules), and fixes 1 bug. EditInfo is useful for automated fixing tools and editor integrations.

  • 16.16.0 - 2025-03-14

    It adds support for computing EditInfo to 22 more rules and reverts a change that added context.lexer to our public API in the previous release.

  • 16.15.0 - 2025-02-28

    It adds 1 new rule, a languageOptions configuration property for configuring some of the new rules added in 16.13.0, regex support to 1 option and support for computing EditInfo to 6 rules. It fixes 9 bugs, including 2 with the tap reporter.

    • Added: syntax-string-no-invalid rule (#8331) (@ ryo-manba).
    • Added: languageOptions configuration property (#8297) (@ ryo-manba).
    • Added: regex support to ignoreAtRules option of at-rule-empty-line-before (#8385) (@ ryo-manba).
    • Added: alpha-value-notation support for computing EditInfo (#8369) (@ pamelalozano16).
    • Added: color-hex-length support for computing EditInfo (#8415) (@ ryo-manba).
    • Added: comment-empty-line-before support for computing EditInfo (#8416) (@ ryo-manba).
    • Added: comment-whitespace-inside support for computing EditInfo (#8417) (@ ryo-manba).
    • Added: custom-property-empty-line-before support for computing EditInfo (#8418) (@ ryo-manba).
    • Added: declaration-block-no-duplicate-properties support for computing EditInfo (#8363) (@ romainmenke).
    • Fixed: tap formatter not escaping # and \ in its test point descriptions (#8334) (@ Mouvedia).
    • Fixed: tap formatter outputting invalid YAML blocks for rules containing double quotes in their warnings' messages (#8334) (@ Mouvedia).
    • Fixed: declaration-block-no-redundant-longhand-properties false positives for properties with !important (#8366) (@ immitsu).
    • Fixed: EditInfo missing semicolon in text field (#8370) (@ pamelalozano16).
    • Fixed: declaration-property-value-keyword-no-deprecated false negatives for text-decoration: blink (#8351) (@ Mouvedia).
    • Fixed: declaration-property-value-keyword-no-deprecated false positives for styled components interpolated functions (#8392) (@ Mouvedia).
    • Fixed: font-family-name-quotes false positives due to vendor-prefixed font-size values (#8393) (@ Mouvedia).
    • Fixed: font-family-no-missing-generic-family-keyword false positives for math, emoji and fangsong (#8395) (@ ViachaslauIhnatsiuk).
    • Fixed: selector-type-no-unknown false positives for selectmenu and popup (#8376) (@ Mouvedia).
  • 16.14.1 - 2025-01-27

    It fixes a bug with caching.

  • 16.14.0 - 2025-01-25

    It fixes 8 bugs and adds features to our Warning type.

    • Added: replaced text and corresponding range to Warning type (#8234) (@ romainmenke).
    • Fixed: SyntaxError: The requested module 'table'... (#8325) (@ denisx).
    • Fixed: RuleContext['fix'] type (#8309) (@ Mouvedia).
    • Fixed: declaration-property-value-keyword-no-deprecated autofix of border-color and overflow (#8346) (@ Mouvedia).
    • Fixed: declaration-property-value-keyword-no-deprecated false negatives for overflow-x and overflow-y (#8340) (@ Mouvedia).
    • Fixed: declaration-property-value-keyword-no-deprecated false negatives for scrollbar-color (#8346) (@ Mouvedia).
    • Fixed: declaration-property-value-keyword-no-deprecated false positives for non-standard syntax values (#8329) (@ Mouvedia).
    • Fixed: declaration-property-value-keyword-no-deprecated warning message for overflow: <keyword> <keyword> (#8340) (@ Mouvedia).
    • Fixed: selector-pseudo-class-no-unknown false positives for :has-slotted (#8332) (@ Mouvedia).
  • 16.13.2 - 2025-01-14

    It fixes a regression bug with --fix.

  • 16.13.1 - 2025-01-13

    It fixes one bug due to an upstream change in our ignore dependency.

  • 16.13.0 - 2025-01-12
  • 16.12.0 - 2024-12-15
  • 16.11.0 - 2024-11-28
  • 16.10.0 - 2024-10-11
  • 16.9.0 - 2024-08-28
  • 16.8.2 - 2024-08-15
  • 16.8.1 - 2024-07-30
  • 16.8.0 - 2024-07-29
  • 16.7.0 - 2024-07-12
  • 16.6.1 - 2024-05-28
  • 16.6.0 - 2024-05-24
  • 16.5.0 - 2024-05-02
  • 16.4.0 - 2024-04-23
  • 16.3.1 - 2024-03-26
  • 16.3.0 - 2024-03-24
  • 16.2.1 - 2024-02-01
  • 16.2.0 - 2024-01-19
  • 16.1.0 - 2023-12-25
  • 16.0.2 - 2023-12-11
  • 16.0.1 - 2023-12-08
  • 16.0.0 - 2023-12-08
  • 16.0.0-3 - 2023-11-27
  • 16.0.0-2 - 2023-11-15
  • 16.0.0-1 - 2023-11-14
  • 16.0.0-0 - 2023-11-10
  • 15.11.0 - 2023-10-17
  • 15.10.3 - 2023-08-18
  • 15.10.2 - 2023-07-19
  • 15.10.1 - 2023-07-06
  • 15.10.0 - 2023-07-04
  • 15.9.0 - 2023-06-23
  • 15.8.0 - 2023-06-17
  • 15.7.0 - 2023-06-05
  • 15.6.3 - 2023-06-03
  • 15.6.2 - 2023-05-16
  • 15.6.1 - 2023-05-02
  • 15.6.0 - 2023-04-23
  • 15.5.0 - 2023-04-16
  • 15.4.0 - 2023-04-01
  • 15.3.0 - 2023-03-16
  • 15.2.0 - 2023-02-19
  • 15.1.0 - 2023-02-11
  • 15.0.0 - 2023-02-09
  • 14.16.1 - 2022-12-29
  • 14.16.0 - 2022-12-03
  • 14.15.0 - 2022-11-13
  • 14.14.1 - 2022-11-03
  • 14.14.0 - 2022-10-15
  • 14.13.0 - 2022-09-28
  • 14.12.1 - 2022-09-21
  • 14.12.0 - 2022-09-18
  • 14.11.0 - 2022-08-21
  • 14.10.0 - 2022-08-11
  • 14.9.1 - 2022-06-11
  • 14.9.0 - 2022-06-08
  • 14.8.5 - 2022-05-25
  • 14.8.4 - 2022-05-24
  • 14.8.3 - 2022-05-21
  • 14.8.2 - 2022-05-04
  • 14.8.1 - 2022-04-29
  • 14.8.0 - 2022-04-26
  • 14.7.1 - 2022-04-17
  • 14.7.0 - 2022-04-15
  • 14.6.1 - 2022-03-25
  • 14.6.0 - 2022-03-16
  • 14.5.3 - 2022-02-23
  • 14.5.2 - 2022-02-22
  • 14.5.1 - 2022-02-16
  • 14.5.0 - 2022-02-10
  • 14.4.0 - 2022-02-08
  • 14.3.0 - 2022-01-23
  • 14.2.0 - 2021-12-21
  • 14.1.0 - 2021-11-14
  • 14.0.1 - 2021-10-26
  • 14.0.0 - 2021-10-21
  • 14.0.0-0 - 2021-10-20
  • 13.13.1 - 2021-05-01
  • 13.13.0 - 2021-04-24
  • 13.12.0 - 2021-03-06
  • 13.11.0 - 2021-02-20
  • 13.10.0 - 2021-02-11
  • 13.9.0 - 2021-01-19
  • 13.8.0 - 2020-11-17
  • 13.7.2 - 2020-09-25
  • 13.7.1 - 2020-09-11
  • 13.7.0 - 2020-08-31
  • 13.6.1 - 2020-06-17
  • 13.6.0 - 2020-06-04
  • 13.5.0 - 2020-05-19
  • 13.4.1 - 2020-05-18
  • 13.4.0 - 2020-05-17
  • 13.3.3 - 2020-04-21
  • 13.3.2 - 2020-04-11
  • 13.3.1 - 2020-04-09
  • 13.3.0 - 2020-04-03
  • 13.2.1 - 2020-03-09
  • 13.2.0 - 2020-02-14
  • 13.1.0 - 2020-02-08
  • 13.0.0 - 2020-01-12
  • 12.0.1 - 2019-12-25
  • 12.0.0 - 2019-11-16
  • 11.1.1 - 2019-10-10
  • 11.1.0 - 2019-10-10
  • 11.0.0 - 2019-09-15
  • 10.1.0 - 2019-06-07
  • 10.0.1 - 2019-04-16
  • 10.0.0 - 2019-04-13
  • 9.10.1 - 2019-01-19
from stylelint GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"stylelint","from":"9.10.1","to":"16.18.0"}],"env":"prod","hasFixes":true,"isBreakingChange":true,"isMajorUpgrade":true,"issuesToFix":["SNYK-JS-STYLELINT-1585622","SNYK-JS-TRIM-1017038","SNYK-JS-TRIMNEWLINES-1298042","SNYK-JS-POSTCSS-5926692","SNYK-JS-STYLELINT-460283","SNYK-JS-YARGSPARSER-560381","SNYK-JS-GLOBPARENT-1016905"],"prId":"e1491dc3-5afe-48b6-919c-7e0fee2df4b7","prPublicId":"e1491dc3-5afe-48b6-919c-7e0fee2df4b7","packageManager":"npm","priorityScoreList":[154,169,117,45,136,137,63],"projectPublicId":"31417d5e-2e41-49ef-b06d-f8bf03744022",...

Summary by Sourcery

Upgrade stylelint from version 9.10.1 to 16.18.0 to address security vulnerabilities and gain new features and bug fixes from recent major releases.

New Features:

  • Add support for new stylelint rules and configuration options introduced in versions 10 through 16.

Bug Fixes:

  • Resolve multiple security vulnerabilities and various bugs present in earlier stylelint versions.

Build:

  • Update stylelint dependency version in package.json.

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.18.0.

See this package in npm:
stylelint

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/31417d5e-2e41-49ef-b06d-f8bf03744022?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented May 11, 2025

Reviewer's Guide

This PR upgrades the 'stylelint' dependency from version 9.10.1 to 16.18.0 in package.json, introducing a major version change with potential breaking changes, new features, bug fixes, and security vulnerability resolutions.

File-Level Changes

Change Details Files
Upgraded stylelint from 9.10.1 to 16.18.0, a major version update.
  • Updated the stylelint version in package.json to ^16.18.0.
  • Introduced all changes from stylelint v10 through v16, including new rules, configuration options, bug fixes, and breaking changes.
  • Resolved several high and medium severity security vulnerabilities present in earlier versions.
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

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