Eslint-plugin-import version 1.8.1 is a minor update to version 1.8.0 of this popular ESLint plugin designed to enhance JavaScript code quality by providing static analysis of ECMAScript 6+ import statements. Both versions share the same core functionality: ensuring imports are correctly resolved, flagging common mistakes like importing non-existent files or identifiers, and generally improving the clarity and maintainability of JavaScript codebases. They both depend on packages like pkg-up, es6-map, es6-set and doctrine for core functionality.
Looking at the dependencies, the notable difference lies in the addition of lodash.findindex":"^4.3.0" and in the peerDependecies and devDepencies. Specifically,eslint-import-resolver-node and eslint-import-resolver-webpack are defined as files and not external depencies. Version 1.8.1 includes this new utility function that improves its features. From an user point of view, these packages manage the import statements, and improve performance to let it work properly.
Version 1.8.0 was released on May 11, 2016, while V1.8.1 was released on May 26, 2016. Developers already using eslint-plugin-import should consider upgrading to version 1.8.1, as it likely contains bug fixes and minor improvements over 1.8.0, while offering continued import statement handling features. It's advisable to check the changelog for detailed information on specific changes and potential breaking changes, if any exist, before upgrading.
The are not vulnerabilities for the version 1.8.1 of the package eslint-plugin-import