Upgrading stylelint 12 to 13
Breaking12.0.1 → 13.13.1Breaking1Security1Platform1Deprecated2New31Changed4Fixed63
1 breaking change and a platform requirement change and a security fix.
- Type definitions for Flow are no longer shipped with the package.
- You must use Node.js 10 or newer to run this version; Node.js 8 is no longer supported.
- A security problem in a library stylelint uses was fixed by upgrading that library.
- Some fields returned by stylelint's API are deprecated because those errors now appear in the normal results instead.
Node.js requirement changed in 13.6.0: >=8.7.0 → >=10.13.0.
Adds @stylelint/postcss-css-in-js ^0.37.2, @stylelint/postcss-markdown ^0.36.2, fast-glob ^3.2.5, fastest-levenshtein ^1.0.12.
Drops leven, postcss-jsx, postcss-markdown, postcss-reporter.
Installs 260 packages in all (was 421).
Also installs @babel/helper-module-imports, @babel/helper-module-transforms, @jridgewell/remapping, @nodelib/fs.scandir, @nodelib/fs.walk, @types/mdast, @types/minimist, @types/normalize-package-data, cssesc, fast-uri, fastq, hard-rejection, is-unicode-supported, json-buffer, keyv and 14 more.
No longer installs @mrmlnc/readdir-enhanced, @types/gensync, @types/glob, @types/jsesc, @types/minimatch, @types/node, @types/vfile, @types/vfile-message, arr-diff, arr-flatten, arr-union, array-find-index, array-uniq, array-unique, assign-symbols and 100 more.
Moves @babel/code-frame 7.29.7, 8.0.6 → 7.29.7, @babel/compat-data 8.0.5 → 7.29.7, @babel/core 8.0.10 → 7.29.7, @babel/generator 8.0.10 → 7.29.12, @babel/helper-compilation-targets 8.0.7 → 7.29.7, @babel/helper-globals 8.0.6 → 7.29.7, @babel/helper-string-parser 8.0.8 → 7.29.11, @babel/helper-validator-identifier 7.29.7, 8.0.6 → 7.29.7, @babel/helper-validator-option 8.0.0 → 7.29.7, @babel/helpers 8.0.10 → 7.29.10, @babel/parser 8.0.10 → 7.29.12, @babel/template 8.0.0 → 7.29.7, @babel/traverse 8.0.10 → 7.29.12, @babel/types 8.0.10 → 7.29.11, @jridgewell/gen-mapping 0.4.0-beta.0 → 0.3.13 and 82 more. Your build may pick other versions.
What you must change
postcss-selector-parserDeprecations to plan for
StylelintStandaloneReturnValue.reportedDisablesStylelintStandaloneReturnValue.descriptionlessDisablesStylelintStandaloneReturnValue.needlessDisablesStylelintStandaloneReturnValue.invalidScopeDisables*-blacklist, *-requirelist and *-whitelist rules in favour of new *-disallowed-list, *-required-list and *-allowed-list rules.at-rule-blacklistat-rule-property-requirelistat-rule-whitelistcomment-word-blacklistdeclaration-property-unit-blacklistdeclaration-property-unit-whitelistdeclaration-property-value-blacklistdeclaration-property-value-whitelist