Skip to content

6.1.0

Choose a tag to compare

@RIAEvangelist RIAEvangelist released this 22 Aug 04:43

[Roshi's Codex PRIME]

Highlights

  • Restored strong-type 2.0.0 as the sole production dependency while preserving the package-shaped Node and unbundled-browser include shim.
  • Kept wildcard and typed registrations in one null-prototype registry, with the real wildcard stored under Symbol.for('event-pubsub-all').
  • Moved one-shot state into per-registration {handler, once} records, removing each one-shot registration before invocation without mutating user functions.
  • Restored synchronous live-array dispatch, strict literal-* wildcard removal, linear duplicate removal, and constant-time registry reset.
  • Added direct CommonJS require('event-pubsub') support while retaining one native ESM source for Node and browsers on Node.js 22.12 or newer.
  • Expanded the shared Node and real-Chrome inventory to 119 tests with 100% native V8 coverage gates.
  • Published execution-only benchmark charts, detailed methodology, complete test and coverage evidence, and two interactive playground pages across the 21-page GitHub Pages site.

Verification

  • Node 22.12.0 and Node 24 on Ubuntu, macOS, and Windows
  • Node 24.18.0 plus Google Chrome Stable coverage
  • Eight validated hot-path benchmark scenarios
  • Packed ESM and CommonJS consumer smoke
  • Complete and production dependency audits
  • GitHub Pages assembly and deployment

Distribution

  • npm latest: event-pubsub@6.1.0
  • npm integrity: sha512-FEMlhTxwqGM0hztTixG6FhVFXqp7Eq1ltk5mSreK6Mhy3xWWpLAzEUR6OMvMdNqT3jgSxA8JDhnhyAG3X4Xy7Q==
  • Runtime dependency: exact strong-type@2.0.0
  • copyfiles is absent from the runtime and development dependency trees.

Documentation · Benchmarks · Playground · CI