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 stylelint from 9.10.1 to 16.9.0 #3

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.9.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 103 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-STYLELINT-1585622
586 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-TRIM-1017038
586 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-TRIMNEWLINES-1298042
586 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
586 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-POSTCSS-5926692
586 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-STYLELINT-460283
586 No Known Exploit
medium severity Prototype Pollution
SNYK-JS-YARGSPARSER-560381
586 Proof of Concept
Release notes
Package name: stylelint
  • 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
  • 16.4.0 - 2024-04-23
    • Added: no-unknown-custom-media (#7594) (@ fpetrakov).
    • Added: ignoreLonghands: [] to declaration-block-no-redundant-longhand-properties (#7611) (@ Mouvedia).
    • Added: ignore: ["keyframe-selectors"] to rule-selector-property-disallowed-list (#7572) (@ emmacharp).
    • Added: experimental support for post processors (#7568) (@ YuanboXue-Amber).
    • Fixed: declaration-block-no-redundant-longhand-properties autofix conflicts (#7626) (@ Mouvedia).
    • Fixed: declaration-block-no-redundant-longhand-properties autofix for text-decoration (#7611) (@ Mouvedia).
    • Fixed: declaration-block-no-shorthand-property-overrides false negatives for border (#7585) (@ fpetrakov).
    • Fixed: declaration-block-no-shorthand-property-overrides false negatives for font and border (#7606) (@ Mouvedia).
    • Fixed: function-calc-no-unspaced-operator false negatives for some math functions (#7619) (@ Mouvedia).
    • Fixed: function-no-unknown false positives for anchor and anchor-size (#7607) (@ Mouvedia).
    • Fixed: selector-max-attribute end positions (#7592) (@ romainmenke).
    • Fixed: selector-max-class end positions (#7590) (@ romainmenke).
    • Fixed: selector-max-combinators end positions (#7596) (@ romainmenke).
    • Fixed: selector-max-compound-selectors end positions (#7599) (@ romainmenke).
    • Fixed: selector-max-pseudo-class end positions (#7598) (@ romainmenke).
    • Fixed: selector-max-universal end positions (#7597) (@ romainmenke).
    • Fixed: selector-type-no-unknown false positives for experimental and deprecated HTML tags (#7612) (@ Mouvedia).
  • ...

Snyk has created this PR to upgrade stylelint from 9.10.1 to 16.9.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 Oct 29, 2024

🧙 Sourcery has finished reviewing your pull request!


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

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