eslint-module-utils
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -8,2 +8,11 @@ # Change Log | ||
## v2.4.0 - 2019-04-13 | ||
### Added | ||
- no-useless-path-segments: Add noUselessIndex option ([#1290], thanks [@timkraut]) | ||
### Fixed | ||
- Fix overwriting of dynamic import() CallExpression ([`no-cycle`], [`no-relative-parent-import`], [`no-unresolved`], [`no-useless-path-segments`]) ([#1218], [#1166], [#1035], thanks [@vikr01]) | ||
## v2.3.0 - 2019-01-22 | ||
@@ -41,4 +50,10 @@ ### Fixed | ||
[#1290]: https://github.com/benmosher/eslint-plugin-import/pull/1290 | ||
[#1218]: https://github.com/benmosher/eslint-plugin-import/pull/1218 | ||
[#1166]: https://github.com/benmosher/eslint-plugin-import/issues/1166 | ||
[#1160]: https://github.com/benmosher/eslint-plugin-import/pull/1160 | ||
[#1035]: https://github.com/benmosher/eslint-plugin-import/issues/1035 | ||
[@hulkish]: https://github.com/hulkish | ||
[@timkraut]: https://github.com/timkraut | ||
[@vikr01]: https://github.com/vikr01 |
@@ -1,2 +0,2 @@ | ||
"use strict" | ||
'use strict' | ||
exports.__esModule = true | ||
@@ -37,2 +37,3 @@ | ||
} | ||
exports.getFileExtensions = makeValidExtensionSet | ||
@@ -39,0 +40,0 @@ exports.default = function ignore(path, context) { |
@@ -94,3 +94,5 @@ 'use strict' | ||
if (options.commonjs || options.amd) { | ||
const currentCallExpression = visitors['CallExpression'] | ||
visitors['CallExpression'] = function (call) { | ||
if (currentCallExpression) currentCallExpression(call) | ||
if (options.commonjs) checkCommon(call) | ||
@@ -97,0 +99,0 @@ if (options.amd) checkAMD(call) |
{ | ||
"name": "eslint-module-utils", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Core utilities to support eslint-plugin-import and other module-related plugins.", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19702
523
1