Skip to content

Releases: iambumblehead/esmock

restore support for ava and other test runners

12 Sep 07:26
b444f95

Choose a tag to compare

restore support for ava and other test runners,

match exact export paths

01 Sep 13:35
e9ca52f

Choose a tag to compare

add node v24 to test matrix

01 Jul 22:29
b4e7f46

Choose a tag to compare

a "version bump" release with no new features adding node v24 to the test matrix

resolve openai mocking

24 Jan 21:58
997e5ee

Choose a tag to compare

resolve issue that prevented openai package mock

support node v23

18 Oct 21:54
5db199a

Choose a tag to compare

Add node 23 ro the test matrix and update to support node 23,

add pnpm test

18 Oct 01:53
a57eb3a

Choose a tag to compare

fixes an issue that prevented esmock from being used with pnpm,

add swc tests

16 Jul 21:20
253eec5

Choose a tag to compare

migrate eslint 9 add tsx tests

15 Jun 20:44
a16a6fb

Choose a tag to compare

add node v22 to test matrix

25 Apr 19:08
7d0f56d

Choose a tag to compare

add node 22 to ci test pipeline and use with { type: 'json' } import syntax for node >= 20,

improve esm wildcard expansion

26 Feb 19:42
63e82e8

Choose a tag to compare

Essentially, this release enables esmock to resolve the following esm export, see #293

{
  "exports": {
    "./*": {
      "require": "./*.js",
      "import": "./*.js"
    }
  }
}

the following is added to the README,

Note: Typescript loaders ts-node 👍 and tsm 👍 are compatible with other loaders, including esmock. swc 👎 and tsx 👎 are demonstrated as incompatible with other loaders, including esmock.

Full list of changes,