Skip to content

Releases: import-js/eslint-import-resolver-typescript

v4.2.0

18 Mar 03:17
3b0edff
Compare
Choose a tag to compare

Minor Changes

  • #391 c8121e5 Thanks @JounQin! - feat: mark is-bun-module as optional peer dependency

    Technically 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:

    1. install is-bun-module dependency manually and use bun: true option
    2. run eslint with bun --bun eslint w/o bun: true option
    3. enable run#bun in bunfig.toml w/o bun: true option

Full Changelog: v4.1.1...v4.2.0

v4.1.1

17 Mar 13:17
458fdaf
Compare
Choose a tag to compare

Patch Changes

  • #389 1b97d8a Thanks @JounQin! - fix: should prefer module.isBuiltin when process.versions.bun available

Full Changelog: v4.1.0...v4.1.1

v4.1.0

17 Mar 09:57
79a453b
Compare
Choose a tag to compare

Minor Changes

  • #387 ef5cd10 Thanks @JounQin! - feat: add a new bun?: boolean option for bun users - close #386

    process.versions.bun is unavailable even with bun 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 enabled

Full Changelog: v4.0.0...v4.1.0

v4.0.0

16 Mar 23:38
19205f5
Compare
Choose a tag to compare

Major Changes

  • #368 2fd7c2e Thanks @JounQin! - feat!: rewrite, speed up by using rspack-resolver which supports references natively under the hood

    BREAKING CHANGES:

    • drop Node 14 support, Node ^16.17.0 || >=18.6 is now required
    • alwaysTryTypes is enabled by default, you can set it as false to opt-out
    • array type of project is discouraged but still supported, single project with references is encouraged for better performance, you can enable noWarnOnMultipleProjects option to supress the warning message
    • root tsconfig.json or jsconfig.json will be used automatically if no project provided

Full Changelog: v3.9.1...v4.0.0

v3.9.1

16 Mar 10:14
a4a65dd
Compare
Choose a tag to compare

Patch Changes

Full Changelog: v3.9.0...v3.9.1

v3.9.0

15 Mar 03:26
c894d76
Compare
Choose a tag to compare

Minor Changes

Full Changelog: v3.8.7...v3.9.0

v3.8.7

13 Mar 17:29
904356b
Compare
Choose a tag to compare

Patch Changes

Full Changelog: v3.8.6...v3.8.7

v3.8.6

12 Mar 18:28
7fdfd80
Compare
Choose a tag to compare

Patch Changes

  • #374 c9d5ab0 Thanks @JounQin! - fix: add support for importing with .js extension as tsx importee

Full Changelog: v3.8.5...v3.8.6

v3.8.5

11 Mar 22:55
7d63ec7
Compare
Choose a tag to compare

Patch Changes

  • #372 366eeaf Thanks @carlocorradini! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.

Full Changelog: v3.8.4...v3.8.5

v3.8.4

10 Mar 19:35
b813788
Compare
Choose a tag to compare

Patch Changes

Full Changelog: v3.8.3...v3.8.4