Skip to content

[Snyk] Upgrade stylelint from 9.10.1 to 16.11.0 #17

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 Jan 5, 2025

snyk-top-banner

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.11.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 105 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
63 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-TRIM-1017038
63 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-TRIMNEWLINES-1298042
63 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
63 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-STYLELINT-460283
63 No Known Exploit
medium severity Prototype Pollution
SNYK-JS-YARGSPARSER-560381
63 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
63 No Known Exploit
Release notes
Package name: stylelint
  • 16.11.0 - 2024-11-28
    • Added: --report-unscoped-disables CLI flag and reportUnscopedDisables option to Node.js API and configuration object (#8024) (@ Mouvedia).
    • Added: ignoreFunctions: [] to media-query-no-invalid (#8060) (@ ryo-manba).
    • Added: name configuration property under overrides (#8095) (@ ryo-manba).
    • Fixed: benchmark-rule script to resolve TypeError (#8090) (@ ybiquitous).
    • Fixed: github formatter deprecation warning link to https://stylelint.io/awesome-stylelint#formatters (#8115) (@ ryo-manba).
    • Fixed: function-calc-no-unspaced-operator false negatives for calc-size (#8026) (@ azat-io).
    • Fixed: max-nesting-depth false positives when the & selector is being ignored (#8048) (@ ryo-manba).
    • Fixed: media-feature-name-value-no-unknown false positives for display-mode: picture-in-picture (#8136) (@ Mouvedia).
    • Fixed: no-irregular-whitespace reported ranges (#8066) (@ romainmenke).
    • Fixed: selector-attribute-name-disallowed-list reported ranges (#8037) (@ ryo-manba).
    • Fixed: selector-attribute-operator-allowed-list reported ranges (#8038) (@ ryo-manba).
    • Fixed: selector-attribute-operator-disallowed-list reported ranges (#8039) (@ ryo-manba).
    • Fixed: selector-class-pattern reported ranges (#8042) (@ ryo-manba).
    • Fixed: selector-combinator-allowed-list reported ranges (#8046) (@ ryo-manba).
    • Fixed: selector-combinator-disallowed-list reported ranges (#8047) (@ ryo-manba).
    • Fixed: selector-disallowed-list reported ranges (#8067) (@ ryo-manba).
    • Fixed: selector-id-pattern reported ranges (#8045) (@ ryo-manba).
    • Fixed: selector-max-attribute reported ranges (#8052) (@ ryo-manba).
    • Fixed: selector-max-class reported ranges (#8053) (@ ryo-manba).
    • Fixed: selector-max-combinators reported-ranges (#8055) (@ ryo-manba).
    • Fixed: selector-max-compound-selectors reported ranges (#8056) (@ ryo-manba).
    • Fixed: selector-max-id reported ranges (#8054) (@ ryo-manba).
    • Fixed: selector-max-pseudo-class reported ranges (#8057) (@ ryo-manba).
    • Fixed: selector-max-specificity reported ranges (#8058) (@ ryo-manba).
    • Fixed: selector-max-universal reported ranges (#8059) (@ ryo-manba).
    • Fixed: selector-nested-pattern reported ranges (#8072) (@ ryo-manba).
    • Fixed: selector-no-vendor-prefix reported ranges (#8073) (@ ryo-manba).
    • Fixed: selector-not-notation reported ranges (#8074) (@ ryo-manba).
    • Fixed: selector-pseudo-class-allowed-list reported ranges (#8061) (@ ryo-manba).
    • Fixed: selector-pseudo-class-disallowed-list reported ranges (#8062) (@ ryo-manba).
    • Fixed: selector-pseudo-class-no-unknown reported ranges (#8063) (@ ryo-manba).
    • Fixed: selector-pseudo-element-allowed-list reported ranges (#8068) (@ ryo-manba).
    • Fixed: selector-pseudo-element-colon-notation reported ranges (#8069) (@ ryo-manba).
    • Fixed: selector-pseudo-element-disallowed-list reported ranges (#8070) (@ ryo-manba).
    • Fixed: selector-pseudo-element-no-unknown false positives for ::scroll-marker and ::scroll-marker-group (#8110) (@ Mouvedia).
    • Fixed: selector-pseudo-element-no-unknown reported ranges (#8071) (@ ryo-manba).
    • Fixed: selector-type-no-unknown reported ranges (#8076) (@ ryo-manba).
  • 16.10.0 - 2024-10-11
    • Changed: shorthand-property-no-redundant-values reported ranges (#8008) (@ Mouvedia).
    • Added: formatter configuration property (#7826) (@ emmacharp).
    • Added: validate option to Node.js API and --validate CLI flag (#8009) (@ Mouvedia).
    • Added: fixed section to the output of the verbose formatter (#7985) (@ Mouvedia).
    • Added: support for string | RegExp to ignoreValues option of value-no-vendor-prefix (#7969) (@ Mouvedia).
    • Added: support for string to ignoreLonghands option of declaration-block-no-redundant-longhand-properties (#7971) (@ Mouvedia).
    • Fixed: at-rule-no-unknown false positives for @ position-try (#7968) (@ yelizsevinc).
    • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column/grid-row (#8023) (@ ryo-manba).
    • Fixed: declaration-property-value-no-unknown false negatives/positives via [email protected] (#7993) (@ Mouvedia).
    • Fixed: declaration-property-value-no-unknown reported ranges and message (#8003) (@ romainmenke).
    • Fixed: keyframe-selector-notation reported ranges (#7992) (@ romainmenke).
    • Fixed: length-zero-no-unit false positives for Sass variables (#8035) (@ ryo-manba).
    • Fixed: no-descending-specificity reported ranges (#7996) (@ romainmenke).
    • Fixed: selector-anb-no-unmatchable reported ranges and message (#8001) (@ romainmenke).
    • Fixed: string formatter handling of log symbols for non-Unicode terminals (#7981) (@ Mouvedia).
    • Fixed: built .cjs files to address Rollup vulnerability (#8010) (@ ybiquitous).
    • Fixed: incorrect config option for Node.js API with extends and overrides (#8030) (@ ybiquitous).
    • Fixed: stricter validation for the options of declaration-property-max-values, declaration-property-value-no-unknown and number-max-precision (#7975) (@ Mouvedia).
  • 16.9.0 - 2024-08-28
    • Changed: secondaryOptions argument type of the Rule function (#7950) (@ Mouvedia).
    • Fixed: color-function-notation reporting functions with less than 3 arguments (#7948) (@ Mouvedia).
    • Fixed: declaration-property-value-no-unknown false positives/negatives (#7944 & #7957 & #7956) (@ Mouvedia & @ sidverma32).
      • false positives: overflow, word-break, width
      • false negatives: anchor-name, field-sizing, text-box-edge, text-box-trim, text-spacing-trim, text-wrap, text-wrap-mode, text-wrap-style, view-timeline, view-timeline-axis, view-timeline-inset, view-timeline-name, view-transition-name
    • Fixed: keyframe-block-no-duplicate-selectors/keyframe-declaration-no-important/keyframe-selector-notation/no-unknown-animations false negatives for @-o-keyframes and @-ms-keyframes (#7953) (@ Mouvedia).
    • Fixed: no-duplicate-selectors reported ranges (#7938) (@ romainmenke).
    • Fixed: property-no-vendor-prefix report for -webkit-background-size (#7940) (@ Mouvedia).
    • Fixed: selector-class-pattern reported ranges (#7959) (@ Mouvedia).
    • Fixed: selector-no-qualifying-type reported ranges (#7937) (@ romainmenke).
    • Fixed: honour Node.js --no-deprecation flag for rule deprecation warnings (#7943) (@ Mouvedia).
  • 16.8.2 - 2024-08-15
    • Deprecated: context.fix usage in favour of recommending to pass a fix callback to report() (#7895) (@ Mouvedia).
    • Added: deprecation notice annotation to the output of the github formatter (#7909) (@ Mouvedia).
    • Fixed: custom-property-no-missing-var-function false positives for view-transition-name (#7914) (@ Mouvedia).
    • Fixed: keyframe-block-no-duplicate-selectors reported ranges (#7932) (@ romainmenke).
    • Fixed: no-invalid-double-slash-comments reported ranges (#7907 & #7905) (@ Mouvedia & @ romainmenke).
    • Fixed: selector-max-type reported ranges (#7916) (@ romainmenke).
    • Fixed: selector-type-no-unknown false positives for ::highlight() and ::view-transition-*() (#7913) (@ Mouvedia).
  • 16.8.1 - 2024-07-30
  • 16.8.0 - 2024-07-29
    • Deprecated: github formatter (#7865) (@ marcalexiei).
    • Fixed: function-url-quotes false positives for SCSS variables and #/? characters (#7874) (@ vimalloc).
    • Fixed: keyframe-selector-notation false positives for entry-crossing and exit-crossing (#7859) (@ romainmenke).
    • Fixed: no-descending-specificity false positives for nested rules without declarations (#7850) (@ romainmenke).
    • Fixed: no-duplicate-selectors end positions (#7867) (@ romainmenke).
    • Fixed: no-duplicate-selectors false negatives for three or more duplicates (#7867) (@ romainmenke).
    • Fixed: selector-max-compound-selectors error for @ nest (#7875) (@ romainmenke).
    • Fixed: selector-pseudo-class-no-unknown false positives for :active-view-transition and :active-view-transition-type() (#7868) (@ Mouvedia).
    • Fixed: selector-type-*, selector-max-type and selector-class-pattern false positives for <timeline-range-name> in keyframe selectors (#7856) (@ romainmenke).
    • Fixed: stylelint.utils.checkAgainstRule() regression when reportNeedlessDisables and quiet are both enabled (#7879) (@ ybiquitous).
    • Fixed: configuration comments within selector and value lists being ignored (

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.11.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 Jan 5, 2025

Reviewer's Guide by Sourcery

This PR upgrades stylelint from 9.10.1 to 16.11.0, addressing several vulnerabilities and introducing new features and fixes.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Upgrade stylelint package
  • Updated stylelint version from 9.10.1 to 16.11.0 in package.json
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.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a 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. You can also use
    this command to specify where the summary should be inserted.

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

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

sonarqubecloud bot commented Jan 5, 2025

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