Eslint-plugin-import version 2.18.1 is a minor update to the popular ESLint plugin that helps enforce import best practices and prevent common errors in JavaScript and TypeScript projects. Compared to the previous stable version, 2.18.0, the most notable difference lies in the dependencies. Specifically, version 2.18.1 removes the direct dependency on lodash, a utility library. This change likely reduces the overall bundle size of the plugin and potentially improves its performance by eliminating an unnecessary dependency. The update also introduces a direct dependency to object.values and contains-path.
For developers using this plugin, the upgrade from 2.18.0 to 2.18.1 should be seamless in most cases. As the functionalities is not affected it is worth upgrading. Both versions maintain the same core features, such as support for resolving and validating import statements, enforcing consistent module resolution, and preventing circular dependencies. Developers can still rely on the plugin to automatically detect and fix import-related issues, ensuring code quality and maintainability. The peer dependency on ESLint remains consistent (2.x - 6.x), indicating compatibility with a wide range of ESLint versions. This update underscores the ongoing maintenance and refinement of the eslint-plugin-import, demonstrating a commitment to providing a reliable and efficient tool for modern JavaScript development. The unpacked size increase is also an indication of new features or changes in the code base that can improve the tooling capabilities.
The are not vulnerabilities for the version 2.18.1 of the package eslint-plugin-import