Skip to content

v2.0.0

Compare
Choose a tag to compare
@goto-bus-stop goto-bus-stop released this 02 Feb 08:48
· 63 commits to main since this release
d9498a5
  • Update to events code from node.js 8.x
    • Adds prependListener() and prependOnceListener()
    • Adds eventNames() method
    • (semver major) Unwrap once() listeners in listeners()
  • copy tests from node.js

Note that this version doubles the gzipped size, jumping from 1.1KB to 2.1KB,
due to new methods and runtime performance improvements. Be aware of that when
upgrading.