Skip to content

Releases

drop legacy support

Choose a tag to compare

@iambumblehead iambumblehead released this 26 Oct 00:43
3f613bf

From this release, esmock now supports minimum node version 22.15. Changes here are mostly credit to @tommy-mitchell.

Older versions of esmock supported numerous different scenarious as required by legacy versions of nodejs, which added complexity and noise to source code, to bundling operations and to unit-tests. As a result of dropping support for older node versions, esmock's install size is smaller than ever, ~20.5Kb; its CI test-coverage is higher than ever, 100%, its test pipeline finishes sooner and its source code is more readable.

perf improvement

Choose a tag to compare

@iambumblehead iambumblehead released this 15 Oct 04:02
cd026d2

Thank you @ekremney for the terrific improvements featured in this release,

output esmockLoader.deprecated.js with esbuild

Choose a tag to compare

@iambumblehead iambumblehead released this 09 Oct 05:59
f3c4062

generates esmockLoader.deprecated.js with esbuild on publish, so module is self-contained and doesn't import any missing modules discluded from publish

include esmockLoader.deprecated.js in published sources

Choose a tag to compare

@iambumblehead iambumblehead released this 08 Oct 16:37
b351631

This release includes esmockLoader.deprecated.js in the published src directory. Yesterday's release did not include the file and caused some problems

prefer registerHooks over deprecated register

Choose a tag to compare

@iambumblehead iambumblehead released this 06 Oct 16:00
5493dff

This release fixes a deprecation warning notice for module.register calls; recommended module.registerHooks is called when the environment defines that.

Actual changes are small. For registerHooks, deprecated module.register functions were copy-pasted and converted to sync from async,

wildcard-issue resolved

Choose a tag to compare

@iambumblehead iambumblehead released this 28 May 01:42
ba5d2d2

mostly resolves a recently-discovered issue resolving certain wildcard-pattern export keys

clerical changes; linting+coverage

Choose a tag to compare

@iambumblehead iambumblehead released this 10 May 03:23
90fd44d

src files are unchanged; only clerical changes for linting and coverage tools,

support typescript-modules

Choose a tag to compare

@iambumblehead iambumblehead released this 04 May 19:17
652f693

restore support for ava and other test runners

Choose a tag to compare

@iambumblehead iambumblehead released this 12 Sep 07:26
b444f95

restore support for ava and other test runners,

match exact export paths

Choose a tag to compare

@iambumblehead iambumblehead released this 01 Sep 13:35
e9ca52f