chore(deps): update dependency esmock to v2.6.0#441
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
September 11, 2023 19:00
6e872b8 to
1452a8a
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
September 13, 2023 23:15
1452a8a to
df2d76b
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
2 times, most recently
from
October 13, 2023 19:31
e01c62c to
9bff1c3
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
October 15, 2023 01:42
9bff1c3 to
cd0e17f
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
October 15, 2023 16:01
cd0e17f to
7d1a593
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
October 20, 2023 19:21
7d1a593 to
0d3b838
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
October 23, 2023 20:21
0d3b838 to
f5eadcd
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
November 4, 2023 03:59
f5eadcd to
40c32a7
Compare
renovate
Bot
force-pushed
the
renovate/esmock-2.x
branch
from
November 7, 2023 19:37
40c32a7 to
c72b42d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.3.8->2.6.0Release Notes
iambumblehead/esmock (esmock)
v2.6.0: typings <T = any> MockFunctionCompare Source
typings: make MockFunction generic, thanks @uwinkelvos
v2.5.9: mock Array-type default exportCompare Source
v2.5.8: catch yarn PnP exception @koshicCompare Source
catch yarn PnP exception @koshic
v2.5.7: resolve critical errorCompare Source
mainly this issue resolves a critical error reported here https://github.com/iambumblehead/esmock/issues/260
v2.5.6: increment resolverCompare Source
update resolver to latest version, resolves a resolution error that seems to have been introduced by a previous update from the past week.
v2.5.5: support yarn PnP @koshicCompare Source
support yarn PnP @koshic
v2.5.4: call resolver with builtin moduleIdsCompare Source
This change affects custom resolvers, which are supported from v2.5.2. Per the spec, resolvers will be called with the builtin moduleIds, such as "node:path" and "fs"
v2.5.3: add support for custom resolverCompare Source
This release adds support for custom using a custom resolver. Specifically, a yarn PnP resolver can be passed to esmock, so that yarn PnP moduleIds can be resolved.
v2.5.2: lookup export type based on package.json typeCompare Source
This release updates the resolver to improve module resolution. See resolvewithplus tags v2.0.6 and v2.0.7.
Essentially, the resolver is updated to lookup the export type based on package.json type. For example, if package.json type is "module", the "import" definition is resolved, else if package.json type is undefined or "commonjs", the "require" definition is resolved. Previous versions of esmock usually reslved commonjs/require when those were defined and because most packages are published as commonjs, the issues resolved at this release likely did not affect anyone,
v2.5.1: improve ts resolutionCompare Source
resolve existing ".ts" files, rather than ".js" files, when typescript is detected, thanks @tpluscode
v2.5.0: use initialize loader hookCompare Source
esmockis updated to use the new "initialize" node loader hook https://nodejs.org/api/esm.html#initialize and, essentially,esmockno longer requires --loader=esmock when used with current releases of nodev2.4.1: detect null and undefined loader-returned sourcesCompare Source
Detects null AND undefined loader-returned source definitions
v2.4.0: node v20.6 solutionsCompare Source
node v20.6 caused some issues. The primary issue was that the newest
import.meta.resolvedefined by node has significantly and suddenly changed. The newer import.meta.resolve is less useful and no longer supports the parent param as in the callimport.meta.resolve(moduleId, parent),Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.