Skip to content

v2.10.1

Choose a tag to compare

@github-actions github-actions released this 12 Jun 15:10
· 102 commits to master since this release

Changes

  • fix(package): 🐛 Harden npm package configuration

Release details

Pull request notes

Changes

  • Add stricter npm package metadata: exports, engines, sideEffects, and runtime tslib.
  • Require coverage thresholds and remove the test mode that allowed no tests.
  • Generate UUID and ShortId values internally using existing secure random bytes, removing external ID generator dependencies.
  • Modernize lint/Jest/TypeScript config for the latest toolchain.
  • Update and prune dependencies so the package stays lighter.

Why

The published package referenced tslib from dist without declaring it as a runtime dependency, which breaks clean consumers. The package also carried avoidable runtime/dev dependencies and older tooling config.

Validation

  • yarn lint
  • yarn build
  • yarn test:coverage with 100% global coverage
  • npm pack + install in a clean temporary consumer + require package + generate UUID, ShortId, and SymmetricKey
  • yarn outdated returns no outdated packages