Eslint-plugin-import version 2.2.0 is a minor update to version 2.1.0, both designed to enhance ESLint with static analysis of ECMAScript import statements, improving code quality and preventing common import-related errors. The core functionality remains consistent: ensuring all imported modules are resolvable, flagging unused imports, and enforcing import style conventions. Both versions maintain the same peer dependency on ESLint (versions 2.x to 3.x) and share a broad set of development dependencies aimed at testing, building, and linting the plugin itself.
However, a key difference lies in the dependencies: version 2.2.0 upgrades eslint-module-utils from version 1.0.0 to version 2.0.0. This update likely incorporates improvements and bug fixes within the module resolution utilities, potentially affecting how the plugin handles complex import paths or module aliases. Developers upgrading should investigate the changes within eslint-module-utils to understand any compatibility implications for their configurations. Both versions include a suite of resolvers configured as development dependencies as local files, providing flexibility in how modules are resolved during development with tools like webpack and node. The consistent MIT license and the active repository indicate continued maintenance and community support. The release date indicates that 2.2.0 followed shortly after 2.1.0, suggesting a quick patch or enhancement based on user feedback or internal improvements.
The are not vulnerabilities for the version 2.2.0 of the package eslint-plugin-import