Upgrading lint-staged 12 to 13
Breaking12.5.0 → 13.3.0Breaking1Security1Platform1New1Changed8Fixed13Other2
1 breaking change and a platform requirement change and a security fix.
- You must use a newer Node.js version to run lint-staged.
- lint-staged no longer runs on Node.js 12; you need a newer Node.js version.
- Updates a bundled library called yaml to a safer version that fixes a known security problem.
Node.js requirement changed in 13.3.0: ^12.20.0 || ^14.13.1 || >=16.0.0 → ^16.14.0 || >=18.0.0.
Adds chalk 5.3.0.
Drops cli-truncate, colorette, normalize-path, object-inspect, supports-color.
Installs 52 packages in all (was 82).
Also installs eventemitter3.
No longer installs aggregate-error, astral-regex, clean-stack, color-convert, color-name, indent-string, p-map, rxjs, through, tslib.
Moves ansi-escapes 4.3.2 → 5.0.0, ansi-regex 5.0.1, 6.5.0 → 6.5.0, ansi-styles 4.3.0, 6.2.3 → 6.2.3, cli-cursor 3.1.0 → 4.0.0, cli-truncate 2.1.0, 3.1.0 → 3.1.0, commander 9.5.0 → 11.0.0, debug 4.4.3 → 4.3.4, emoji-regex 8.0.0, 9.2.2 → 9.2.2, execa 5.1.1 → 7.2.0, human-signals 2.1.0 → 4.3.1, is-fullwidth-code-point 3.0.0, 4.0.0 → 4.0.0, is-stream 2.0.1 → 3.0.0, lilconfig 2.0.5 → 2.1.0, listr2 4.0.5 → 6.6.1, log-update 4.0.0 → 5.0.1 and 15 more. Your build may pick other versions.
What you must change
lint-stagedyaml