@esbuild/linux-arm64
0.28.2 · 8 Aug 2026MIT44.7M / weekRepositoryHomepagenpmAtom feed
0.28.2 is the newest release of 0.17.x.
In short
1 new
Release note
Add
onDisposeto the plugin API (#2140, #2205)If your plugin wants to perform some cleanup after it's no longer going to be used, you can now use the
onDisposeAPI to register a callback for cleanup-related tasks. For example, if a plugin starts a long-running child process then it may want to terminate that process when the plugin is discarded. Previously there was no way to do this. Here's an example:let examplePlugin = { name: 'example', setup(build) { build.onDispose(() => { console.log('This plugin is no longer used') }) }, }These
onDisposecallbacks will be called after everybuild()call regardless of whether the build failed or not as well as after the firstdispose()call on a given build context.
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.