⬆️ Updates eslint-import-resolver-typescript to v4 #1055
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.0.0
->^4.0.0
Release Notes
import-js/eslint-import-resolver-typescript (eslint-import-resolver-typescript)
v4.2.2
Compare Source
Patch Changes
#397
14a7688
Thanks @JounQin! - chore: bumprspack-resolver
for better P'n'P supportNow
rspack-resolver
resolvespnpapi
natively.v4.2.1
Compare Source
Patch Changes
#394
9f11f6b
Thanks @JounQin! - fix: don't set emptyconfigFile
when notsconfig
found#394
9f11f6b
Thanks @JounQin! - chore: bumprspack-resolver
to v1.2.0v4.2.0
Compare Source
Minor Changes
#391
c8121e5
Thanks @JounQin! - feat: makeis-bun-module
as optional peer dependencyTechnically this is a BREAKING CHANGE, but considering we just raise out v4 recently and this only affects
bun
users,bun --bun eslint
even works without this dependency, so I'd consider this as a minor change.So for
bun
users, there are three options:is-bun-module
dependency manually and usebun: true
optioneslint
withbun --bun eslint
w/obun: true
optionrun#bun
inbunfig.toml
w/obun: true
optionv4.1.1
Compare Source
Patch Changes
1b97d8a
Thanks @JounQin! - fix: should prefermodule.isBuiltin
whenprocess.versions.bun
availablev4.1.0
Compare Source
Minor Changes
#387
ef5cd10
Thanks @JounQin! - feat: add a newbun?: boolean
option forbun
users - close #386process.versions.bun
is unavailable even withbun eslint
due to its own design,but checking
bun
modules for non-bun users is incorrect behavior and just wasting time,so a new option is added for such case, you can still run with
bun --bun eslint
without this option enabledv4.0.0
Compare Source
Major Changes
#368
2fd7c2e
Thanks @JounQin! - feat!: rewrite, speed up by usingrspack-resolver
which supportsreferences
natively under the hoodBREAKING CHANGES:
^16.17.0 || >=18.6
is now requiredalwaysTryTypes
is enabled by default, you can set it asfalse
to opt-outproject
is discouraged but still supported, singleproject
withreferences
are encouraged for better performance, you can enablenoWarnOnMultipleProjects
option to supress the warning messagetsconfig.json
orjsconfig.json
will be used automatically if noproject
providedv3.9.1
Compare Source
Patch Changes
4a9176e
Thanks @JounQin! - fix: userspack-resolver
fork for pnp supportv3.9.0
Compare Source
Minor Changes
6814443
Thanks @JounQin! - feat: migrateenhanced-resolve
tooxc-resolver
v3.8.7
Compare Source
Patch Changes
a14fdd9
Thanks @carlocorradini! - fix: include mapper with no files and force non-dynamic projects to use absolute pathsv3.8.6
Compare Source
Patch Changes
c9d5ab0
Thanks @JounQin! - fix: add support for importing with .js extension as tsx importeev3.8.5
Compare Source
Patch Changes
366eeaf
Thanks @carlocorradini! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.v3.8.4
Compare Source
Patch Changes
c940785
Thanks @JounQin! - fix: support multiple matching ts pathsv3.8.3
Compare Source
Patch Changes
#360
8192976
Thanks @carlocorradini! - Force tiniglobby to expand dot directories#360
8192976
Thanks @carlocorradini! - Update tinyglobby to latest versionv3.8.2
Compare Source
Patch Changes
5fd349e
Thanks @carlocorradini! - Update thetinyglobby
to the latest version to solve performance regressions.v3.8.1
Compare Source
Patch Changes
0c6303d
Thanks @carlocorradini! - Set cwd while resolving tsconfig includev3.8.0
Compare Source
Minor Changes
#345
fcc8883
Thanks @carlocorradini! - Enable the mapper function just for a set of allowed files. Improves project discovery using glob and POSIX separator.#346
c124e87
Thanks @carlocorradini! - Update get-tsconfig to the the latest version. We now support the${configDir}
variable, introduced in TypeScript 5.5.v3.7.0
Compare Source
Minor Changes
#326
93ea130
Thanks @SukkaW! - This version has implemented theeslint-plugin-import-x
's v3 resolver interface. This allows you to use import/require to referenceeslint-import-resolver-typescript
directly in your ESLint flat config:Previously
Now
Note that this only works with
eslint-plugin-import-x@>=4.5.0
. You can't usecreateTypeScriptImportResolver
with the older versions ofeslint-plugin-import-x
or any existing versions ofeslint-plugin-import
.v3.6.3
Compare Source
Patch Changes
#305
f8d7b82
Thanks @SukkaW! - Fix resolve fornode:test
,node:sea
, andnode:sqlite
without sacrificing installation size#288
a4c6c78
Thanks @SunsetTechuila! - fix: ignore bun built-in modulesv3.6.1
Compare Source
Patch Changes
cf5d67f
Thanks @klippx! - Fix CJS import to make it compatible with ESM projectsv3.6.0
Compare Source
Minor Changes
b5ea367
Thanks @SukkaW! - refactor: dropglobby
andsynckit
v3.5.5
Compare Source
Patch Changes
84b0649
Thanks @JounQin! - fix: mark eslint-module-utils as depv3.5.4
Compare Source
Patch Changes
25f3920
Thanks @JounQin! - fix: enhanced-resolve is commonjs only - close #213#219
0bf6ffb
Thanks @lsmurray! - fix: check if cwd changed to bust mapper cachev3.5.3
Compare Source
Patch Changes
6531bad
Thanks @marvinhagemeister! - Only try to resolve a module directory when we know that the path is a directory. This can lead to a 15% speedup on projects with many files.v3.5.2
Compare Source
Patch Changes
#193
8756a26
Thanks @Rialgar! - chore(package): remove node 12 from engines field#187
7a91daf
Thanks @scott-ut! - fix: resolve modules if folder contains a package.json filev3.5.1
Compare Source
Patch Changes
afeb928
Thanks @chenxinyanc! - perf: disablethrowIfNoEntry
on Node 14+v3.5.0
Compare Source
Minor Changes
66a3e6c
Thanks @JounQin! - feat: reuseeslint-module-utils/hash.js
for better cachingPatch Changes
00abb6f
Thanks @JounQin! - fix: incorrect exports mappingv3.4.2
Compare Source
Patch Changes
594df9c
Thanks @HanSeo0507! - chore(deps): update dependency synckit to ^0.8.3 for yarn PnP (#169)v3.4.1
Compare Source
Patch Changes
8892a8c
Thanks @thatsmydoing! - perf: add filesystem caching supportv3.4.0
Compare Source
Minor Changes
82d090b
Thanks @rbong! - feat: add support forjsconfig.json
v3.3.0
Compare Source
Minor Changes
#154
42f2dd6
Thanks @JounQin! - feat: addexternsionAlias
option support,.d.([cm]?ts|tsx)
are always preferred than.([cm]?js|jsx)
typescript
resolvestypescript/lib/typescript.d.ts
instead oftypescript/lib/typescript.js
by default#154
42f2dd6
Thanks @JounQin! - feat: exportsglobSync
,defaultExtensions
,defaultMainFields
,defaultConditionNames
anddefaultExtensionAlias
for reusingPatch Changes
#154
42f2dd6
Thanks @JounQin! - perf: cacheoptions
andresolver
#154
42f2dd6
Thanks @JounQin! - chore: align with Angular Package Format correctlyreference: https://angular.io/guide/angular-package-format
#156
4bd60c3
Thanks @JounQin! - docs: document options fromenhanced-resolve
v3.2.7
Compare Source
Patch Changes
60ff431
Thanks @JounQin! - chore: bump synckitv3.2.6
Compare Source
Patch Changes
7edb823
Thanks @JounQin! - chore: use latestget-tsconfig
packagev3.2.5
Compare Source
Patch Changes
abf8907
Thanks @JounQin! - build: use pnpm as manager, yarn pnp is still supportedv3.2.4
Compare Source
Patch Changes
3e93659
Thanks @JounQin! - fix: run prerelease manually for yarn v3, 2nd tryv3.2.2
Compare Source
Patch Changes
d944b26
Thanks @JounQin! - fix: use yarn v3 with PnP linker, close #130v3.2.1
Compare Source
Patch Changes
fb88af2
Thanks @JounQin! - fix: try index file with extensions automaticallyv3.2.0
Compare Source
Minor Changes
#128
56775b3
Thanks @JounQin! - refactor: support custom extensions on resolving#128
56775b3
Thanks @JounQin! - feat: try extensionless file by defaultv3.1.5
Compare Source
Patch Changes
9cf60cb
Thanks @JounQin! - fix: auto try extensionsv3.1.4
Compare Source
Patch Changes
f88a8c9
Thanks @JounQin! - refactor: use non-capturing groups for perfv3.1.3
Compare Source
Patch Changes
35d3022
Thanks @JounQin! - fix: try index.d.ts automaticallyv3.1.2
Compare Source
Patch Changes
01f525e
Thanks @JounQin! - docs: update repository, documentexports
support3.1.1 (2022-06-27)
Bug Fixes
v3.1.1
Compare Source
v3.1.0
Compare Source
⚠ BREAKING CHANGES
Features
v3.0.0
Compare Source
⚠ BREAKING CHANGES
Features
bump globby, use synckit for sync fn (322cb29)
ignore
node_modules
folder inprojects
option glob (#105) (1e1b5a6)remove depracated directory option (67c8d59)
use get-tsconfig to replace tsconfig-paths (78a08e0)
deps: bump tsconfig-paths to ^4.0.0 (#104) (b2edbc8)
2.7.1 (2022-04-03)
Bug Fixes
v2.7.1
Compare Source
v2.7.0
Compare Source
Features
.cjs
.mjs
.cts
.mts
extensions (#84) (1e39028)v2.6.0
Compare Source
Bug Fixes
v2.5.0
Compare Source
Features
Bug Fixes
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.