Note: Typescript loadersts-node 👍 and tsm 👍 are compatible with other loaders, including esmock.swc 👎 and tsx 👎 are demonstrated as incompatible with other loaders, including esmock.
remove node 16 from test job matrix, eol 2023, Sep 11 #254esmock can be used with node 16 today, but removing node 16 from your own test pipelines is recommended
resolve "exports" before "main". The spec says:the "exports" field takes precedence over "main" in supported versions of Node.js. The updated resolver correctly returns "main" before "exports" (older resolver did not).
use package.json "type" to return "import" or "require". The older resolver did not read package.json type and returned incorrect "require" values for some packages. For example, if this inferno package where changed to use type "module", the older resolver would return "index.js" rather than "index.esm.js"
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps esmock from 2.5.6 to 2.6.5.
Release notes
Sourced from esmock's releases.
... (truncated)
Changelog
Sourced from esmock's changelog.
... (truncated)
Commits
7d0f56d
Merge pull request #299 from iambumblehead/increment-version-numberb5ca16e
increment version numberf135cdc
Merge pull request #298 from iambumblehead/resolve-test-errors-node-229dca2fc
remove node 21 from test matrix0143813
remove un-needed commented-out skip test conditionefcf307
try not skipping json import test with node 18afb1b4f
try not skipping json import test with node 2069d60b7
try using with syntax with node 2082516d6
try using with syntax with node 20802b7e6
update changelogYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show