Upgrading lint-staged 14 to 15
Breaking14.0.1 → 15.5.2Breaking2Platform1New3Changed25Fixed1
2 breaking changes and a platform requirement change.
- f3378be - Using the --no-stash flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss.
- 630af5f - Lint-staged no longer resets to the original state when preventing an empty git commit.
- You need Node.js version 18.12.0 or newer to use this version; older Node.js 16 is no longer supported.
Node.js requirement changed in 15.0.0: ^16.14.0 || >=18.0.0 → >=18.12.0.
Installs 54 packages in all (was 52).
Also installs environment, get-east-asian-width, mimic-function.
No longer installs eastasianwidth, type-fest.
Moves ansi-escapes 5.0.0 → 7.3.0, chalk 5.3.0 → 5.6.2, cli-cursor 4.0.0 → 5.0.0, cli-truncate 3.1.0 → 4.0.0, commander 11.0.0 → 13.1.0, debug 4.3.4 → 4.4.3, emoji-regex 9.2.2 → 10.6.0, execa 7.2.0 → 8.0.1, get-stream 6.0.1 → 8.0.1, human-signals 4.3.1 → 5.0.0, is-fullwidth-code-point 4.0.0 → 4.0.0, 5.1.0, lilconfig 2.1.0 → 3.1.4, listr2 6.6.1 → 8.3.3, log-update 5.0.1 → 6.1.0, micromatch 4.0.5 → 4.0.8 and 10 more. Your build may pick other versions.
What you must change
--no-stash--no-hide-partially-stagedfile.js