Packages

eslint-plugin-import

2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed

Upgrading eslint-plugin-import From 1.4.0 to 1.16.0

20 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.4.0Latest2.32.0
  1. 1.4.0yours
  2. 1.5.0breaking
  3. 18 releases
  4. 1.16.0target

Before you upgrade

Tick each one off as you go
  • Breaking1.5.0

Release by release

  1. 1.16.0

    23 Sep 20163 new · 2 fixes
    • New

      Added [no-dynamic-require] rule: forbid require() calls with expressions. ([#567], [#568], thanks [@jfmengels])

    • New

      Added [no-internal-modules] rule: restrict deep package imports to specific folders. ([#485], thanks [@spalger]!)

    • New

      [extensions]: allow override of a chosen default with options object ([#555], thanks [@ljharb]!)

    • Fixed

      [no-named-as-default] no longer false-positives on export default from '...' ([#566], thanks [@preco21])

    • Fixed

      [default]: allow re-export of values from ignored files as default ([#545], thanks [@skyrpex])

  2. 1.15.0

    13 Sep 20164 new · 1 fix
    • New

      Added an allow option to [no-nodejs-modules] to allow exceptions ([#452], [#509], thanks [@jfmengels] and [@ljharb]).

    • New

      Added [no-absolute-path] rule ([#530], [#538], thanks [@jfmengels])

    • New

      [max-dependencies] for specifying the maximum number of dependencies (both import and require) a module can have. (see [#489], thanks [@tizmagik])

    • New

      Added glob option to config for [no-extraneous-dependencies], after much bikeshedding. Thanks, [@knpwrs]!

    • Fixed

      [no-named-as-default-member] Allow default import to have a property named "default" ([#507], [#508], thanks [@jquense] for both!)

  3. 1.14.0

    22 Aug 20161 new · 1 fix
    • New

      [import/parsers setting]: parse some dependencies (i.e. TypeScript!) with a different parser than the ESLint-configured parser. ([#503], thanks [@benmosher])

    • Fixed

      [namespace] exception for get property from namespace import, which are re-export from commonjs module ([#499] fixes [#416], thanks [@wKich])

  4. 1.13.0

    11 Aug 20161 new · 1 fix
    • New

      allowComputed option for [namespace] rule. If set to true, won't report computed member references to namespaces. (see [#456])

    • Fixed

      [import/extensions setting] is respected in spite of the appearance of imports in an imported file. (fixes [#478], thanks [@rhys-vdw])

  5. 1.12.0

    26 Jul 20161 new
    • New

      [import/external-module-folders setting]: a possibility to configure folders for "external" modules ([#444], thanks [@zloirock])

  6. 1.11.1

    20 Jul 20161 fix
    • Fixed

      [newline-after-import] exception for switch branches with requires iff parsed as sourceType:'module'. (still [#441], thanks again [@ljharb])

  7. 1.11.0

    17 Jul 20161 new · 1 fix
    • New

      Added an peerDependencies option to [no-extraneous-dependencies] to allow/forbid peer dependencies ([#423], [#428], thanks [@jfmengels]!).

    • Fixed

      [newline-after-import] exception for multiple requires in an arrow function expression (e.g. () => require('a') || require('b')). ([#441], thanks [@ljharb])

  8. 1.10.3

    12 Jul 20161 fix
    • Fixed

      Removing Symbol dependencies (i.e. for-of loops) due to Node 0.10 polyfill issue (see [#415]). Should not make any discernible semantic difference.

3 other lines we could not sort, mostly version bumps
  • Modified [no-nodejs-modules] error message to include the module's name ([#453], [#461], thanks [@jfmengels] and [@ljharb])

    1.13.0
  • [imports-first] now allows directives (i.e. 'use strict') strictly before any imports ([#256], thanks [@lemonmade])

    1.6.0
  • Rearranged rule groups in README in preparation for more style guide rules

    1.5.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.