Socket
Socket
Sign inDemoInstall

eslint-plugin-import

Package Overview
Dependencies
Maintainers
1
Versions
130
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
13

1.10.2

Diff

Changelog

Source

[1.10.2] - 2016-07-04

Fixed

  • Something horrible happened during npm prepublish of 1.10.1. Several rm -rf node_modules && npm i and gulp clean && npm prepublishs later, it is rebuilt and republished as 1.10.2. Thanks [@rhettlivingston] for noticing and reporting!
benmosher
published 1.10.0 •

Changelog

Source

[1.10.0] - 2016-06-30

Added

  • Added new rule [no-restricted-paths]. ([#155]/[#371], thanks [@lo1tuma])
  • [import/core-modules setting]: allow configuration of additional module names, to be treated as builtin modules (a la path, etc. in Node). ([#275] + [#365], thanks [@sindresorhus] for driving)
  • React Native shared config (based on comment from [#283])

Fixed

  • Fixed crash with newline-after-import related to the use of switch cases. (fixes [#386], thanks [@ljharb] for reporting) ([#395])
benmosher
published 1.9.2 •

Changelog

Source

[1.9.2] - 2016-06-21

Fixed

  • Issues with ignored/CJS files in [export] and [no-deprecated] rules. ([#348], [#370])
benmosher
published 1.9.1 •

Changelog

Source

[1.9.1] - 2016-06-16

Fixed

  • Reordered precedence for loading resolvers. ([#373])
benmosher
published 1.9.0 •

Changelog

Source

[1.9.0] - 2016-06-10

Added

  • Added support TomDoc comments to [no-deprecated]. ([#321], thanks [@josh])
  • Added support for loading custom resolvers ([#314], thanks [@le0nik])

Fixed

  • [prefer-default-export] handles export function and export const in same file ([#359], thanks [@scottnonnenberg])
benmosher
published 1.8.1 •

Changelog

Source

[1.8.1] - 2016-05-23

Fixed

  • export * from 'foo' now properly ignores a default export from foo, if any. ([#328]/[#332], thanks [@jkimbo]) This impacts all static analysis of imported names. ([default], [named], [namespace], [export])
  • Make [order]'s newline-between option handle multiline import statements ([#313], thanks [@singles])
  • Make [order]'s newline-between option handle not assigned import statements ([#313], thanks [@singles])
  • Make [order]'s newline-between option ignore require statements inside object literals ([#313], thanks [@singles])
  • [prefer-default-export] properly handles deep destructuring, export * from ..., and files with no exports. ([#342]+[#343], thanks [@scottnonnenberg])
benmosher
published 1.8.0 •

Changelog

Source

[1.8.0] - 2016-05-11

Added

  • [prefer-default-export], new rule. ([#308], thanks [@gavriguy])

Fixed

  • Ignore namespace / ES7 re-exports in [no-mutable-exports]. ([#317], fixed by [#322]. thanks [@borisyankov] + [@jfmengels])
  • Make [no-extraneous-dependencies] handle scoped packages ([#316], thanks [@jfmengels])
benmosher
published 1.7.0 •

Changelog

Source

[1.7.0] - 2016-05-06

Added

  • [newline-after-import], new rule. ([#245], thanks [@singles])
  • Added an optionalDependencies option to [no-extraneous-dependencies] to allow/forbid optional dependencies ([#266], thanks [@jfmengels]).
  • Added newlines-between option to [order] rule ([#298], thanks [@singles])
  • add [no-mutable-exports] rule ([#290], thanks [@josh])
  • [import/extensions setting]: a list of file extensions to parse as modules and search for exports. If unspecified, all extensions are considered valid (for now). In v2, this will likely default to ['.js', MODULE_EXT]. ([#297], to fix [#267])

Fixed

  • [extensions]: fallback to source path for extension enforcement if imported module is not resolved. Also, never report for builtins (i.e. path). ([#296])
benmosher
published 1.6.1 •

Changelog

Source

[1.6.1] - 2016-04-28

Fixed

  • [no-named-as-default-member]: don't crash on rest props. ([#281], thanks [@SimenB])
  • support for Node 6: don't pass null to path functions. Thanks to [@strawbrary] for bringing this up ([#272]) and adding OSX support to the Travis config ([#288]).
benmosher
published 1.6.0 •

Changelog

Source

[1.6.0] - 2016-04-25

Added

  • add [no-named-as-default-member] to warnings canned config
  • add [no-extraneous-dependencies] rule ([#241], thanks [@jfmengels])
  • add [extensions] rule ([#250], thanks [@lo1tuma])
  • add [no-nodejs-modules] rule ([#261], thanks [@jfmengels])
  • add [order] rule ([#247], thanks [@jfmengels])
  • consider resolve.fallback config option in the webpack resolver ([#254])

Changed

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

Fixed

  • [named] now properly ignores the source module if a name is re-exported from an ignored file (i.e. node_modules). Also improved the reported error. (thanks to [@jimbolla] for reporting)
  • [no-named-as-default-member] had a crash on destructuring in loops (thanks for heads up from [@lemonmade])
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