[Snyk] Upgrade stylelint from 16.2.1 to 16.9.0 #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade stylelint from 16.2.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.
The recommended version is 11 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-MICROMATCH-6838728
SNYK-JS-BODYPARSER-7926860
SNYK-JS-BRACES-6838727
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-COOKIE-8163060
SNYK-JS-VITE-6531286
SNYK-JS-VITE-8023174
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-EJS-6689533
SNYK-JS-EXPRESS-6474509
SNYK-JS-EXPRESS-7926867
SNYK-JS-SEND-7926862
SNYK-JS-VITE-8022916
SNYK-JS-SERVESTATIC-7926865
Release notes
Package name: stylelint
secondaryOptions
argument type of theRule
function (#7950) (@ Mouvedia).color-function-notation
reporting functions with less than 3 arguments (#7948) (@ Mouvedia).declaration-property-value-no-unknown
false positives/negatives (#7944 & #7957 & #7956) (@ Mouvedia & @ sidverma32).overflow
,word-break
,width
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
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).no-duplicate-selectors
reported ranges (#7938) (@ romainmenke).property-no-vendor-prefix
report for-webkit-background-size
(#7940) (@ Mouvedia).selector-class-pattern
reported ranges (#7959) (@ Mouvedia).selector-no-qualifying-type
reported ranges (#7937) (@ romainmenke).--no-deprecation
flag for rule deprecation warnings (#7943) (@ Mouvedia).context.fix
usage in favour of recommending to pass afix
callback toreport()
(#7895) (@ Mouvedia).github
formatter (#7909) (@ Mouvedia).custom-property-no-missing-var-function
false positives forview-transition-name
(#7914) (@ Mouvedia).keyframe-block-no-duplicate-selectors
reported ranges (#7932) (@ romainmenke).no-invalid-double-slash-comments
reported ranges (#7907 & #7905) (@ Mouvedia & @ romainmenke).selector-max-type
reported ranges (#7916) (@ romainmenke).selector-type-no-unknown
false positives for::highlight()
and::view-transition-*()
(#7913) (@ Mouvedia).no-duplicate-selectors
false positives with Less syntax (#7888) (@ romainmenke).github
formatter (#7865) (@ marcalexiei).function-url-quotes
false positives for SCSS variables and#
/?
characters (#7874) (@ vimalloc).keyframe-selector-notation
false positives forentry-crossing
andexit-crossing
(#7859) (@ romainmenke).no-descending-specificity
false positives for nested rules without declarations (#7850) (@ romainmenke).no-duplicate-selectors
end positions (#7867) (@ romainmenke).no-duplicate-selectors
false negatives for three or more duplicates (#7867) (@ romainmenke).selector-max-compound-selectors
error for@ nest
(#7875) (@ romainmenke).selector-pseudo-class-no-unknown
false positives for:active-view-transition
and:active-view-transition-type()
(#7868) (@ Mouvedia).selector-type-*
,selector-max-type
andselector-class-pattern
false positives for<timeline-range-name>
in keyframe selectors (#7856) (@ romainmenke).stylelint.utils.checkAgainstRule()
regression whenreportNeedlessDisables
andquiet
are both enabled (#7879) (@ ybiquitous).tap
formatter to support TAP14 (#7759) (@ Mouvedia).url
secondary option (#7743) (@ emmacharp).at-rule-no-unknown
false positives for@ historical-forms
and@ font-palette-values
(#7774) (@ Mouvedia).at-rule-no-unknown
false positives for@ view-transition
(#7753) (@ sebdanielsson).at-rule-no-vendor-prefix
false negatives for@-moz-document
and@-webkit-viewport
(#7772) (@ Mouvedia).comment-whitespace-inside
end positions (#7744) (@ Mouvedia).declaration-block-no-duplicate-properties
reported ranges (#7758) (@ Mouvedia).declaration-block-no-redundant-longhand-properties
/declaration-block-no-shorthand-property-overrides
false negatives forfont-variant
(#7734) (@ Bilie).font-family-name-quotes
false negatives for-moz-*
/-webkit-*
keywords (#7777) (@ Mouvedia).font-family-no-missing-generic-family-keyword
false negatives for font families which names match a CSS3font-variant
keyword (#7823) (@ Mouvedia).function-name-case
end positions (#7747) (@ Mouvedia).function-no-unknown
performance by reducing file read count (#7801) (@ ybiquitous).media-feature-name-no-vendor-prefix
autofix (#7770) (@ Mouvedia).no-invalid-double-slash-comments
reported ranges (#7768) (@ Mouvedia).property-no-unknown
false positives fornavigation
and miscellaneous legacy properties (#7764) (@ Mouvedia).quietDeprecationWarnings
to suppressstylelint:003
warning (#7837) (@ ybiquitous).selector-no-vendor-prefix
autofix (#7763) (@ Mouvedia).selector-not-notation
end positions when new lines are part of the selector (#7755) (@ Mouvedia).selector-type-case
end positions (#7752) (@ Mouvedia).shorthand-property-no-redundant-values
false negatives for logical properties,overflow
,overscroll-behavior
,scroll-margin
andscroll-padding
(#7808) (@ Mouvedia).string-no-newline
false positives for escaped multi-line (#7818) (@ romainmenke).value-keyword-case
end positions (#7760) (@ Mouvedia).stylelint.utils.checkAgainstRule()
for Promise-based rules (#7821) (@ aaronccasanova).stylelint.utils.checkAgainstRule()
to useresult.stylelint
if present (#7833) (@ ybiquitous).tap
formatter (#7759) (@ Mouvedia).no-descending-specificity
false positives for nested selectors (#7724) (@ romainmenke).selector-type-no-unknown
false positive formodel
(#7718) (@ Mouvedia).function-calc-no-unspaced-operator
false negatives (#7655 & #7670 & #7676) (@ ybiquitous & @ romainmenke).selector-not-notation
autofix of the"simple"
option (#7703) (@ Mouvedia).selector-max-specificity
end positions (#7685) (@ romainmenke).no-descending-specificity
end positions (#7701) (@ romainmenke).npm fund
(#7707) (@ ybiquitous).ignoreValues
forvalue-no-vendor-prefix
(#7650) (@ Mouvedia).shorthand-property-no-redundant-values
false negatives for functions (#7657) (@ ybiquitous).value-no-vendor-prefix
false negatives/positives (#7654 & #7658) (@ Mouvedia).CosmiconfigResult
type error (#7661) (@ ybiquitous).no-unknown-custom-media
(#7594) (@ fpetrakov).ignoreLonghands: []
todeclaration-block-no-redundant-longhand-properties
(#7611) (@ Mouvedia).ignore: ["keyframe-selectors"]
torule-selector-property-disallowed-list
(#7572) (@ emmacharp).declaration-block-no-redundant-longhand-properties
autofix conflicts (#7626) (@ Mouvedia).declaration-block-no-redundant-longhand-properties
autofix fortext-decoration
(#7611) (@ Mouvedia).declaration-block-no-shorthand-property-overrides
false negatives forborder
(#7585) (@ fpetrakov).declaration-block-no-shorthand-property-overrides
false negatives forfont
andborder
(#7606) (@ Mouvedia).function-calc-no-unspaced-operator
false negatives for some math functions (#7619) (@ Mouvedia).function-no-unknown
false positives foranchor
andanchor-size
(#7607) (@ Mouvedia).selector-max-attribute
end positions (#7592) (@ romainmenke).selector-max-class
end positions (#7590) (@ romainmenke).selector-max-combinators
end positions (#7596) (@ romainmenke).selector-max-compound-selectors
end positions (#7599) (@ romainmenke).selector-max-pseudo-class
end positions (#7598) (