Skip to content

v2.0.8

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Sep 19:42
· 10 commits to main since this release
775faba

Patch Changes

  • 8b9abd5: Rebuild with tsdown, and move the runtime unpartial dependency to ^1.0.7.

    No API changes. init, append, load, monitor and the TestResults /
    CoverageSummary / FSContext types are all unchanged, and the package stays
    CommonJS at cjs/index.js with typings at cjs/index.d.ts, so
    jest-progress-tracker's ^2.0.6 range keeps resolving and keeps working.

    What does change is the emitted JavaScript:

    • tsdown replaces the tsc -p tsconfig.cjs.json build. The per-module CommonJS
      shape is preserved (unbundle), as are the .js, .d.ts and .js.map paths.
    • The build target moves from ES2015 to ES2022, and lib from es2015 to es2023.
      An explicit lib replaces the default set rather than adding to it, so the old
      value was silently withholding Error.cause and AggregateError.
    • Node builtins are imported through the node: protocol, which reaches the
      published .d.ts files. Consumers need @types/node 16 or newer to typecheck
      against them.
    • Four declaration files for internal-only modules (compress, constants,
      minify, store), plus the type-only interface.js, are no longer emitted:
      nothing reachable from the entry point referenced them. cjs/index.js and the
      declarations it re-exports are unaffected.