Socket
Socket
Sign inDemoInstall

eslint-module-utils

Package Overview
Dependencies
2
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

2.5.2

Diff

ljharb
published 2.5.1 •

ljharb
published 2.5.0 •

Changelog

Source

[2.5.0] - 2017-06-22

Re-releasing v[2.4.0] after discovering that the memory leak is isolated to the [memo-parser], which is more or less experimental anyway.

Added

  • Autofixer for newline-after-import. ([#686] + [#696], thanks [@eelyafi])
ljharb
published 2.4.1 •

ljharb
published 2.4.0 •

Changelog

Source

[2.4.0] - 2017-06-02 [YANKED]

Yanked due to critical issue in eslint-module-utils with cache key resulting from [#839].

Added

  • Add filePath into parserOptions passed to parser ([#839], thanks [@sompylasar])
  • Add allow option to [no-unassigned-import] to allow for files that match the globs ([#671], [#737], thanks [@kevin940726]).
benmosher
published 2.3.0 •

Changelog

Source

[2.3.0] - 2017-05-18

Added

  • [no-anonymous-default-export] rule: report anonymous default exports ([#712], thanks [@duncanbeevers]).
  • Add new value to [order]'s newlines-between option to allow newlines inside import groups ([#627], [#628], thanks [@giodamelio])
  • Add count option to the [newline-after-import] rule to allow configuration of number of newlines expected ([#742], thanks [@ntdb])

Changed

  • [no-extraneous-dependencies]: use read-pkg-up to simplify finding + loading package.json ([#680], thanks [@wtgtybhertgeghgtwtg])
  • Add support to specify the package.json [no-extraneous-dependencies] ([#685], thanks [@ramasilveyra])

Fixed

  • attempt to fix crash in [no-mutable-exports]. ([#660])
  • "default is a reserved keyword" in no-maned-default tests by locking down babylon to 6.15.0 (#756, thanks @gmathieu)
  • support scoped modules containing non word characters
benmosher
published 2.2.0 •

Changelog

Source

[2.2.0] - 2016-11-07

Fixed

  • Corrected a few gaffs in the auto-ignore logic to fix major performance issues with projects that did not explicitly ignore node_modules. ([#654])
  • [import/ignore setting] was only being respected if the ignored module didn't start with an import or export JS statement
  • [prefer-default-export]: fixed crash on export extensions ([#653])
benmosher
published 2.1.1 •

benmosher
published 2.0.0 •

Changelog

Source

[2.0.0]! - 2016-09-30

Added

  • [unambiguous] rule: report modules that are not unambiguously ES modules.
  • recommended shared config. Roughly errors and warnings mixed together, with some parserOptions in the mix. ([#402])
  • react shared config: added jsx: true to parserOptions.ecmaFeatures.
  • Added [no-webpack-loader-syntax] rule: forbid custom Webpack loader syntax in imports. ([#586], thanks [@fson]!)
  • Add option newlines-between: "ignore" to [order] ([#519])
  • Added [no-unassigned-import] rule ([#529])

Breaking

  • [import/extensions setting] defaults to ['.js']. ([#306])
  • [import/ignore setting] defaults to nothing, and ambiguous modules are ignored natively. This means importing from CommonJS modules will no longer be reported by [default], [named], or [namespace], regardless of import/ignore. ([#270])
  • [newline-after-import]: Removed need for an empty line after an inline require call ([#570])
  • [order]: Default value for newlines-between option is now ignore ([#519])

Changed

  • imports-first is renamed to [first]. imports-first alias will continue to exist, but may be removed in a future major release.
  • Case-sensitivity: now specifically (and optionally) reported by [no-unresolved]. Other rules will ignore case-mismatches on paths on case-insensitive filesystems. ([#311])

Fixed

  • [no-internal-modules]: support @-scoped packages ([#577]+[#578], thanks [@spalger])
benmosher
published 1.0.0 •

Changelog

Source

[1.0.0] - 2016-02-24

Added

  • [no-deprecated]: WIP rule to let you know at lint time if you're using deprecated functions, constants, classes, or modules.

Changed

  • [namespace]: support deep namespaces ([#119] via [#157])
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc