Releases: iambumblehead/resolvewithplus
Release list
wildcard-issue resolved
mostly resolves a recently-discovered issue resolving certain wildcard-pattern export keys
- increment ci/test node version and remove c8,
- migrate to @eslint/markdown
- increment devDependencies and github actions
- use faster startsWith and endsWith rather than regexp match start end
- resolve wildcard replacement issue thanks @AdaptivChris
match exact export paths
match exact export paths, thanks @matz3
correctly resolve openai package
fix problem resolving the openai module
- resolve issue preventing correct resolution of openai import specifier
- update eslint to latest major version
improve wildcard nesting expansion
Essentially, this release enables resolvewithplus to resolve the following esm export
{
"exports": {
"./*": {
"require": "./*.js",
"import": "./*.js"
}
}
}Full list of changes,
- add tests for path pattern resolver
- resolve more nested export wildcard-scenarious
resolve wildcard-using pattern resolution
resolve nested exports defined on named-properties with wildcards, eg exports: { './*': { default: './src/*/index.js' } } resolves this issue at esmock
resolves criticaal error
resolve full path from package.json "main", "browser" and "module" definitions. resolves this issue at esmock.
remove unused condition
remove unused condition and resolved error where fileurl path was not correctly resolved for package.json "main", "browser" and "module" definitions
support user-defined `priority` list
when user-defined priority list includes "import" return packagejson.module before packagejson.main
support user-defined priority list when resolving nested export expressions
resolve error preventing module resolution
resolve error preventing module resolution. There is a condition that alters lookup paths for the situation when resolvewithplus is being developed and tested from inside another package's node_modules. The condition caused lookup errors. The condition was changed and a unit-test added
remove un-necessary sort
remove un-necessary sorting to provide faster lookups