afwss / rover-ui

A library of UI components for Cision
https://cision.github.io/rover-ui
MIT License
0 stars 0 forks source link

Update dependency stylelint to v13 - autoclosed #45

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

This PR contains the following updates:

Package Type Update Change
stylelint (source) devDependencies major ^9.10.1 -> ^13.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
High 7.5 CVE-2021-33623 #7
High 7.5 CVE-2020-7753 #15
Medium 5.3 CVE-2020-7608 #27

Release Notes

stylelint/stylelint ### [`v13.3.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1331) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.3.0...13.3.1) - Fixed: babel configuration conflict when using TypeScript ([postcss-css-in-js/#​2](https://togithub.com/stylelint/postcss-css-in-js/pull/2)). - Fixed: autofix for nested tagged template literals ([#​4119](https://togithub.com/stylelint/stylelint/pull/4119)). ### [`v13.3.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1330) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.2.1...13.3.0) - Added: `ignoreFontFamilies: []` to `font-family-no-missing-generic-family-keyword` ([#​4656](https://togithub.com/stylelint/stylelint/pull/4656)). - Fixed: `function-calc-no-invalid` false positives for SCSS and Less variables ([#​4659](https://togithub.com/stylelint/stylelint/pull/4659)). - Fixed: `unit-no-unknown` false positives for `x` unit within vendor-prefixed `image-set` ([#​4654](https://togithub.com/stylelint/stylelint/pull/4654)). ### [`v13.2.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1321) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.2.0...13.2.1) - Fixed: `selector-pseudo-element-no-unknown` false positives for `::part` pseudo-element ([#​4604](https://togithub.com/stylelint/stylelint/pull/4604)). - Fixed: `value-keyword-case` false positives for longhand `grid-column/row-*` properties ([#​4611](https://togithub.com/stylelint/stylelint/pull/4611)). ### [`v13.2.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1320) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.1.0...13.2.0) - Security: updated to `postcss-selector-parser@6` due to a vulnerability in one of `postcss-selector-parser@3` dependencies ([#​4595](https://togithub.com/stylelint/stylelint/pull/4595)). Due to this update: - `selector-descendant-combinator-no-non-space` will ignore selectors containing comments - `selector-pseudo-class-parentheses-space-inside` can't autofix pseudo-classes that contain comments - Added: `--stdin` CLI flag that accepts stdin input even if it is empty ([#​4594](https://togithub.com/stylelint/stylelint/pull/4594)). - Fixed: autofix will ignore sources containing disable comments or nested tagged template literals - this is workaround to make autofix safer to use until we can resolve the [underlying](https://togithub.com/stylelint/stylelint/issues/4119) [issues](https://togithub.com/stylelint/stylelint/issues/2643) ([#​4573](https://togithub.com/stylelint/stylelint/pull/4573)). ### [`v13.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1310) [Compare Source](https://togithub.com/stylelint/stylelint/compare/13.0.0...13.1.0) - Fixed: `media-feature-name-*` false negatives for range context ([#​4581](https://togithub.com/stylelint/stylelint/pull/4581)). - Fixed: `indentation` RangeError regression ([#​4572](https://togithub.com/stylelint/stylelint/pull/4572)). - Fixed: `string-quotes` attribute selector autofix ([#​4576](https://togithub.com/stylelint/stylelint/pull/4576)). ### [`v13.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1300) [Compare Source](https://togithub.com/stylelint/stylelint/compare/12.0.1...13.0.0) - Removed: Node.js 8.x support. Node.js 10 is now required. We can guarantee Stylelint works on the latest Node.js 10 release. ([#​4500](https://togithub.com/stylelint/stylelint/pull/4500)). - Removed: types declarations for Flow ([#​4451](https://togithub.com/stylelint/stylelint/pull/4451)). - Changed: `globby` was updated to v10. Now only forward-slashes (`/`) should be used as directory separator in globs. Refer to [glob pattern syntax](https://togithub.com/mrmlnc/fast-glob#pattern-syntax). Most of the users wouldn't need to change anything, but Windows users might need to update their globs. ([#​4254](https://togithub.com/stylelint/stylelint/pull/4254)). - Added: `unit-no-unknown` support for `x` unit ([#​4427](https://togithub.com/stylelint/stylelint/pull/4427)). - Fixed: `--report-invalid-scope-disables` crash when no rules specified ([#​4498](https://togithub.com/stylelint/stylelint/pull/4498)). - Fixed: `media-feature-parentheses-space-inside` false negatives for multiple spaces ([#​4513](https://togithub.com/stylelint/stylelint/pull/4513)). - Fixed: `selector-type-no-unknown` false positives for SVG tags ([#​4495](https://togithub.com/stylelint/stylelint/pull/4495)). - Fixed: `unit-no-unknown` false positives for Sass map keys ([#​4450](https://togithub.com/stylelint/stylelint/pull/4450)). - Fixed: `value-list-comma-newline-after` false positives for shared-line comments ([#​4482](https://togithub.com/stylelint/stylelint/pull/4482)). - Fixed: consistently check that selectors are standard before passing to the parser ([#​4483](https://togithub.com/stylelint/stylelint/pull/4483)). - Fixed: overlapping disabled ranges edge case ([#​4497](https://togithub.com/stylelint/stylelint/pull/4497)). ### [`v12.0.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1201) [Compare Source](https://togithub.com/stylelint/stylelint/compare/12.0.0...12.0.1) - Fixed: `string-no-newline` memory leak for ERB templates ([#​4491](https://togithub.com/stylelint/stylelint/pull/4491)). ### [`v12.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1200) [Compare Source](https://togithub.com/stylelint/stylelint/compare/11.1.1...12.0.0) - Removed: ignoring `bower_components` folder by default ([#​4384](https://togithub.com/stylelint/stylelint/pull/4384)). - Removed: `createRuleTester` API ([#​4385](https://togithub.com/stylelint/stylelint/pull/4385)). - Added: more information for custom formatters ([#​4393](https://togithub.com/stylelint/stylelint/pull/4393)). - Fixed: `comment-empty-line-before` false positives for selector lists and shared-line comments ([#​4360](https://togithub.com/stylelint/stylelint/pull/4360)). - Fixed: `font-family-no-missing-generic-family-keyword` false positives for Sass-variables with namespaces ([#​4378](https://togithub.com/stylelint/stylelint/pull/4378)). - Fixed: `font-weight-notation` false positives for `font-weight` ranges in `@font-face` ([#​4372](https://togithub.com/stylelint/stylelint/pull/4372)). - Fixed: `length-zero-no-unit` false positives for `line-height`, and for `fr` units ([#​4394](https://togithub.com/stylelint/stylelint/pull/4394)). - Fixed: `length-zero-no-unit` false positives for Less variables ([#​4405](https://togithub.com/stylelint/stylelint/pull/4405)). - Fixed: `selector-max-*` false negatives for rules with nested rules ([#​4357](https://togithub.com/stylelint/stylelint/pull/4357)). - Fixed: incorrect error message when parsing files with a broken syntax ([#​4364](https://togithub.com/stylelint/stylelint/pull/4364)). ### [`v11.1.1`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1111) [Compare Source](https://togithub.com/stylelint/stylelint/compare/11.1.0...11.1.1) - Fixed: syntax configuration for `--syntax css` ([#​4335](https://togithub.com/stylelint/stylelint/pull/4335)). ### [`v11.1.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1110) [Compare Source](https://togithub.com/stylelint/stylelint/compare/11.0.0...11.1.0) - Added: `css` syntax option ([#​4315](https://togithub.com/stylelint/stylelint/pull/4315)). - Fixed: `no-eol-whitespace` parsing problems for non-standard syntaxes ([#​4313](https://togithub.com/stylelint/stylelint/pull/4313)). - Fixed: `selector-pseudo-class-no-unknown` false positives for `:is` selector ([#​4321](https://togithub.com/stylelint/stylelint/pull/4321)). ### [`v11.0.0`](https://togithub.com/stylelint/stylelint/blob/master/CHANGELOG.md#​1100) [Compare Source](https://togithub.com/stylelint/stylelint/compare/10.1.0...11.0.0) - Changed: `--report-needless-disables` CLI flag now reports needless disables and runs linting ([#​4151](https://togithub.com/stylelint/stylelint/pull/4151)). - Changed: display a problem at 1:1 for each file instead of throwing an error on unrecognized rules ([#​4237](https://togithub.com/stylelint/stylelint/pull/4237)). - Changed: always return `stylelintError` as a boolean ([#​4174](https://togithub.com/stylelint/stylelint/pull/4174)). - Deprecated: `createRuleTester` API ([#​4279](https://togithub.com/stylelint/stylelint/pull/4279)). - Added: `--reportInvalidScopeDisables` CLI flag ([#​4181](https://togithub.com/stylelint/stylelint/pull/4181)). - Added: `unicode-bom` rule ([#​4225](https://togithub.com/stylelint/stylelint/pull/4225)). - Added: `max-empty-lines` autofix ([#​3667](https://togithub.com/stylelint/stylelint/pull/3667)). - Added: `selector-pseudo-element-case` autofix ([#​3672](https://togithub.com/stylelint/stylelint/pull/3672)). - Added: `selector-*` support for all logical combinations (`:matches`, `:has`) ([#​4179](https://togithub.com/stylelint/stylelint/pull/4179)). - Added: `ignore: ["selectors-within-list"]` to `no-descending-specificity` ([#​4176](https://togithub.com/stylelint/stylelint/pull/4176)). - Added: `ignoreSelectors: []` to `property-no-unknown` ([#​4275](https://togithub.com/stylelint/stylelint/pull/4275)). - Fixed: Babel user configuration interfering with CSS-in-JS parser ([#​4164](https://togithub.com/stylelint/stylelint/pull/4164)). - Fixed: PostCSS plugin ignoring .stylelintignore ([#​4186](https://togithub.com/stylelint/stylelint/pull/4186)). - Fixed: `*-max-empty-lines` to only report one problem per function, selector, value list ([#​4260](https://togithub.com/stylelint/stylelint/pull/4260)). - Fixed: `block-no-empty` crash for `@import` statements ([#​4110](https://togithub.com/stylelint/stylelint/pull/4110)). - Fixed: `indentation` false positives for `