@repeaterjs/repeater
3.1.0 · 8 Jun 2026MIT15M / weekRepositoryHomepagenpmAtom feed
Upgrading @repeaterjs/repeater From 3.0.0 to 3.1.0
7 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 8
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Deprecated3.1.0
Release by release
- Deprecated
The
@repeaterjs/timersand@repeaterjs/limitersutilities are now folded into the package; the standalone packages are deprecated. - New
~half the bundle size. Native ESM output (esbuild, no more ES5 down-leveling) takes
import { Repeater }from 4.5 KB → 2.1 KB gzipped — same API. - New
@repeaterjs/repeater/core— the class + buffers, no combinators (1.4 KB gzipped) - New
@repeaterjs/repeater/combinators—race/merge/zip/lateststandalone - New
@repeaterjs/repeater/timers—createDelay/createInterval/createTimeout - New
@repeaterjs/repeater/limiters—createSemaphore/createThrottle - New
Explicit Resource Management —
RepeaterimplementsSymbol.asyncDispose/Symbol.dispose, soawait using/usingclean it up on scope exit (a no-op on runtimes without the symbols).
- Deprecated
- Fixed
Fix promise returned from
pushfunction not resolving when using a buffer.
- Fixed
- New
Add export maps to package.json files for the TypeScript
nodenext
- New
- Fixed
Fixed memory leaks in static combinator functions race, merge, zip and latest due to Promise.race.
- Fixed
- Fixed
Fixed missing file in package.json.
- Fixed
- New
Added ESM support for newer versions of node.
- Fixed
Fixed throw method not catching promises in newer versions of v8 (node.js 12+).
- New
- Fixed
Build files with target set to es5 rather than esnext
- Fixed
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.