Releases: cyberuni/resolve.imports
Release list
resolve.imports@2.0.4
Patch Changes
-
307158d: Upgrade
@changesets/clito v3. -
eeb856f: Build with tsdown instead of two
tscpasses.The published entry points, formats and file layout are unchanged, but the emitted
JavaScript differs and the per-module.d.tsfiles are now rolled up into a single
esm/index.d.ts. Declaration maps (.d.ts.map) are no longer emitted; the TypeScript
sources still ship ints/. -
Updated dependencies [307158d]
-
Updated dependencies [eeb856f]
- pattern-key-compare@2.0.1
pattern-key-compare@2.0.1
Patch Changes
-
307158d: Upgrade
@changesets/clito v3. -
eeb856f: Build with tsdown instead of two
tscpasses.The published entry points, formats and file layout are unchanged, but the emitted
JavaScript differs and the per-module.d.tsfiles are now rolled up into a single
esm/index.d.ts. Declaration maps (.d.ts.map) are no longer emitted; the TypeScript
sources still ship ints/.
resolve.imports@2.0.3
Patch Changes
- cde5df7: Add missing slash in error message
resolve.imports@2.0.2
Patch Changes
-
b4d6e0c: Fix array pattern handling.
The array pattern actually does not return an array of resolved paths.
It returns the first match with condition support.i.e.:
//=> "./a.js" { "imports": { "#a": ["./a.js", "./b.js"] } } // `conditions: ["node"] => "./node.js"` // `conditions: undefined => "./browser.js"` { "imports": { "#a": [ { "node": "./node.js" }, "./browser.js" ] } }
resolve.imports@2.0.1
Patch Changes
-
691671b: Ignore
conditionsorder.The implementation in Node.js is not order-sensitive, so we should not be either.
resolve.imports@2.0.0
pattern-key-compare@2.0.0
Major Changes
- 392cf7c: Update to latest specification
resolve.imports@1.2.7
Patch Changes
-
1cb455e: Filter out non expensionKeys.
This does not affect the behavior of the package.
Just that it match closer to the spec.Even if the non expensionKeys are not filtered,
the behavior is the same.
It's actually not sure if doing a filter first is faster or not.
resolve.imports@1.2.6
resolve.imports@1.2.5
Patch Changes
- 1d87f1c: Remove
slice(). It is not needed.