Skip to content

[Snyk] Upgrade stylelint from 9.10.1 to 16.10.0 #14

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 Dec 9, 2024

snyk-top-banner

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.10.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 104 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-TRIM-1017038
161 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-TRIMNEWLINES-1298042
161 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-STYLELINT-1585622
161 No Known Exploit
medium severity Prototype Pollution
SNYK-JS-YARGSPARSER-560381
161 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-STYLELINT-460283
161 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
161 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
161 No Known Exploit
Release notes
Package name: stylelint
  • 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 (#7839) (@ romainmenke).
  • 16.7.0 - 2024-07-12
    • Changed: tap formatter to support TAP14 (#7759) (@ Mouvedia).
    • Added: url secondary option (#7743) (@ emmacharp).
    • Fixed: at-rule-no-unknown false positives for @ historical-forms and @ font-palette-values (#7774) (@ Mouvedia).
    • Fixed: at-rule-no-unknown false positives for @ view-transition (#7753) (@ sebdanielsson).
    • Fixed: at-rule-no-vendor-prefix false negatives for @-moz-document and @-webkit-viewport (#7772) (@ Mouvedia).
    • Fixed: comment-whitespace-inside end positions (#7744) (@ Mouvedia).
    • Fixed: declaration-block-no-duplicate-properties reported ranges (#7758) (@ Mouvedia).
    • Fixed: declaration-block-no-redundant-longhand-properties/declaration-block-no-shorthand-property-overrides false negatives for font-variant (#7734) (@ Bilie).
    • Fixed: font-family-name-quotes false negatives for -moz-*/-webkit-* keywords (#7777) (@ Mouvedia).
    • Fixed: font-family-no-missing-generic-family-keyword false negatives for font families which names match a CSS3 font-variant keyword (#7823) (@ Mouvedia).
    • Fixed: function-name-case end positions (#7747) (@ Mouvedia).
    • Fixed: function-no-unknown performance by reducing file read count (#7801) (@ ybiquitous).
    • Fixed: media-feature-name-no-vendor-prefix autofix (#7770) (@ Mouvedia).
    • Fixed: no-invalid-double-slash-comments reported ranges (#7768) (@ Mouvedia).
    • Fixed: property-no-unknown false positives for navigation and miscellaneous legacy properties (#7764) (@ Mouvedia).
    • Fixed: quietDeprecationWarnings to suppress stylelint:003 warning (#7837) (@ ybiquitous).
    • Fixed: selector-no-vendor-prefix autofix (#7763) (@ Mouvedia).
    • Fixed: selector-not-notation end positions when new lines are part of the selector (#7755) (@ Mouvedia).
    • Fixed: selector-type-case end positions (#7752) (@ Mouvedia).
    • Fixed: shorthand-property-no-redundant-values false negatives for logical properties, overflow, overscroll-behavior, scroll-margin and scroll-padding (#7808) (@ Mouvedia).
    • Fixed: string-no-newline false positives for escaped multi-line (#7818) (@ romainmenke).
    • Fixed: value-keyword-case end positions (#7760) (@ Mouvedia).
    • Fixed: stylelint.utils.checkAgainstRule() for Promise-based rules (#7821) (@ aaronccasanova).
    • Fixed: stylelint.utils.checkAgainstRule() to use result.stylelint if present (#7833) (@ ybiquitous).
    • Fixed: YAML diagnostic block end marker line of the tap formatter (#7759) (@ Mouvedia).
    • Fixed: autofix of incorrectly implemented plugins when unscoped stylelint commands are present (#7733) (@ romainmenke).
  • 16.6.1 - 2024-05-28
    • Fixed: no-descending-specificity false positives for nested selectors (#7724) (@ romainmenke).
    • Fixed: selector-type-no-unknown false positive for model (#7718) (@ Mouvedia).
  • 16.6.0 - 2024-05-24
  • 16.5.0 - 2024-05-02
    • Added: regex support to ignoreValues for value-no-vendor-prefix (#7650) (Summary by Sourcery

      Build:

      • Upgrade stylelint from version 9.10.1 to 16.10.0 in package.json.

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.10.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 Dec 9, 2024

Reviewer's Guide by Sourcery

This PR upgrades the stylelint dependency from version 9.10.1 to 16.10.0, which is a major version upgrade spanning 104 versions. The upgrade addresses several security vulnerabilities and includes numerous bug fixes, feature additions, and improvements.

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

File-Level Changes

Change Details Files
Major version upgrade of stylelint with security fixes
  • Fixes high severity Regular Expression Denial of Service (ReDoS) vulnerability
  • Fixes high severity Denial of Service (DoS) vulnerability
  • Addresses medium severity Prototype Pollution vulnerability
  • Addresses multiple medium severity Regular Expression Denial of Service (ReDoS) vulnerabilities
  • Fixes medium severity Improper Input Validation vulnerability
package.json
Package dependency version update
  • Updates stylelint from ^9.3.0 to ^16.10.0
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 Dec 9, 2024

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