Major Changes
- BREAKING
analyze()now returns{ files, failures }instead of an array of per-file results.bc65618@duniul - BREAKING Package is now ESM only. CLI usage works the same as before, but breaks CJS usage of the programmatic API.
ac6de03@duniul - BREAKING Minimum supported Node version is now v22.
6fd8cde@duniul
Minor Changes
- Update
picomatchdependency to v4.00c3cd6@duniul - Surface non-fatal filesystem failures instead of swallowing them silently.
bc65618@duniul - Add new
--fail-on-errorflag which exits with a non-zero status code when any failure is recorded. Exit code stays0by default, matching prior behavior.bc65618@duniul
Patch Changes
- Remove potentially unsafe
doc/anddocs/from default patterns.293e149@duniul - Remove
pretty-bytes,pretty-ms,supports-color, andclipaniondependencies.d428e3461b97e7dfb87bc@duniul - Replace
clipanionwith Node's built-inparseArgsfor CLI args parsing.61b97e7dfb87bc@duniul - Clearly indicate which steps were skipped in
--dry-runoutput.c3bd4b2@duniul - Set
"sideEffects": falsein package.json.f67c2c9@duniul - Fix
repositorydefinition in package.json.47b01ae@duniul - Fix the default hint shown for the
--directoryoption.b44d0ef@duniul - Fix globs not starting with
/being incorrectly prefixed with an extra**.34a3b27@duniul - Ensure
--keep-emptyis respected bycleancommand.695f83e@duniul - Skip confirmation prompt in CI/without TTY, require --yes or -y.
b0a1838@duniul - Avoid parsing default globs twice in
analyze.6f878df@duniul - Avoid redundant
readdircalls when removing empty parent directories.540c372@duniul - Update minor dependency versions.
7491637@duniul - Update the default file patterns.
9ab2ba3@duniul