Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-import

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-import - npm Package Versions

1
14

2.17.2

Diff

Changelog

Source

[2.17.2] - 2019-04-16

Fixed

  • [no-unused-modules]: avoid crash when using ignoreExports-option ([#1331], [#1323], thanks [@rfermann])
  • [no-unused-modules]: make sure that rule with no options will not fail ([#1330], [#1334], thanks [@kiwka])
ljharb
published 2.17.1 •

Changelog

Source

[2.17.1] - 2019-04-13

Fixed

  • require v2.4 of eslint-module-utils ([#1322])
ljharb
published 2.17.0 •

Changelog

Source

[2.17.0] - 2019-04-13

Added

  • [no-useless-path-segments]: Add noUselessIndex option ([#1290], thanks [@timkraut])
  • [no-duplicates]: Add autofix ([#1312], thanks [@lydell])
  • Add [no-unused-modules] rule ([#1142], thanks [@rfermann])
  • support export type named exports from TypeScript ([#1304], thanks [@bradennapier] and [@schmod])

Fixed

  • [order]: Fix interpreting some external modules being interpreted as internal modules ([#793], [#794] thanks [@ephys])
  • allow aliases that start with @ to be "internal" ([#1293], [#1294], thanks [@jeffshaver])
  • aliased internal modules that look like core modules ([#1297], thanks [@echenley])
  • [namespace]: add check for null ExportMap ([#1235], [#1144], thanks [@ljqx])
  • [ExportMap] fix condition for checking if block comment ([#1234], [#1233], thanks [@ljqx])
  • Fix overwriting of dynamic import() CallExpression ([no-cycle], [no-relative-parent-imports], [no-unresolved], [no-useless-path-segments]) ([#1218], [#1166], [#1035], thanks [@vikr01])
  • [export]: false positives for TypeScript type + value export ([#1319], thanks [@bradzacher])
  • [export]: Support TypeScript namespaces ([#1320], [#1300], thanks [@bradzacher])

Docs

  • Update readme for TypeScript ([#1256], [#1277], thanks [@kirill-konshin])
  • make rule names consistent ([#1112], thanks [@feychenie])

Tests

  • fix broken tests on master ([#1295], thanks [@jeffshaver] and [@ljharb])
  • [no-commonjs]: add tests that show corner cases ([#1308], thanks [@TakeScoop])
benmosher
published 2.16.0 •

Changelog

Source

[2.16.0] - 2019-01-29

Added

  • typescript config ([#1257], thanks [@kirill-konshin])

Fixed

  • Memory leak of SourceCode objects for all parsed dependencies, resolved. (issue [#1266], thanks [@asapach] and [@sergei-startsev] for digging in)
benmosher
published 2.15.0 •

Changelog

Source

[2.15.0] - 2019-01-22

Added

  • new rule: [no-named-export] ([#1157], thanks [@fsmaia])

Fixed

  • [no-extraneous-dependencies]: packageDir option with array value was clobbering package deps instead of merging them ([#1175]/[#1176], thanks [@aravindet] & [@pzhine])
  • [dynamic-import-chunkname]: Add proper webpack comment parsing ([#1163], thanks [@st-sloth])
  • [named]: fix destructuring assignment ([#1232], thanks [@ljqx])
ljharb
published 2.14.0 •

Changelog

Source

[2.14.0] - 2018-08-13

Added

  • [no-useless-path-segments]: add commonJS (CJS) support ([#1128], thanks [@1pete])
  • [namespace]: add JSX check ([#1151], thanks [@jf248])

Fixed

  • [no-cycle]: ignore Flow imports ([#1126], thanks [@gajus])
  • fix Flow type imports ([#1106], thanks [@syymza])
  • [no-relative-parent-imports]: resolve paths ([#1135], thanks [@chrislloyd])
  • [order]: fix autofixer when using typescript-eslint-parser ([#1137], thanks [@justinanastos])
  • repeat fix from [#797] for [#717], in another place (thanks [@ljharb])

Refactors

  • add explicit support for RestElement alongside ExperimentalRestProperty (thanks [@ljharb])
ljharb
published 2.13.0 •

Changelog

Source

[2.13.0] - 2018-06-24

Added

  • Add ESLint 5 support ([#1122], thanks [@ai] and [@ljharb])
  • Add [no-relative-parent-imports] rule: disallow relative imports from parent directories ([#1093], thanks [@chrislloyd])

Fixed

  • namespace rule: ensure it works in eslint 5/ecmaVersion 2018 (thanks [@ljharb])
benmosher
published 2.12.0 •

Changelog

Source

[2.12.0] - 2018-05-17

Added

  • Ignore type imports for [named] rule ([#931], thanks [@mattijsbliek])
  • Add documentation for [no-useless-path-segments] rule ([#1068], thanks [@manovotny])
  • packageDir option for [no-extraneous-dependencies] can be array-valued ([#1085], thanks [@hulkish])
benmosher
published 2.11.0 •

Changelog

Source

[2.11.0] - 2018-04-09

Added

  • Fixer for [first] ([#1046], thanks [@fengkfengk])
  • allow-require option for [no-commonjs] rule ([#880], thanks [@futpib])

Fixed

  • memory/CPU regression where ASTs were held in memory ([#1058], thanks [@klimashkin]/[@lukeapage])
benmosher
published 2.10.0 •

Changelog

Source

[2.10.0] - 2018-03-29

Added

  • Autofixer for [order] rule ([#908], thanks [@tihonove])
  • Add [no-cycle] rule: reports import cycles.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc