Skip to content

v4.0.0

Latest

Choose a tag to compare

@duniul duniul released this 23 May 15:24

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 picomatch dependency to v4. 00c3cd6 @duniul
  • Surface non-fatal filesystem failures instead of swallowing them silently. bc65618 @duniul
  • Add new --fail-on-error flag which exits with a non-zero status code when any failure is recorded. Exit code stays 0 by default, matching prior behavior. bc65618 @duniul

Patch Changes