The eslint-plugin-import package offers sanity checks for JavaScript and TypeScript import statements, enhancing code quality and preventing runtime errors. Version 2.23.0 introduces several updates compared to the previous stable version, 2.22.1. In the dependencies, resolve is updated from version 1.17.0 to 1.20.0, doctrine from 1.5.0 to ^2.1.0, contains-path from 0.1.0 to ^1.0.0, object.values from 1.1.1 to ^1.1.3, array-includes from 3.1.1 to ^3.1.3, and array.prototype.flat from 1.2.3 to ^1.2.4. These dependency upgrades likely include bug fixes, performance improvements, and potentially new features within those packages. Moreover, is-core-module and eslint-module-utils are new entries in the dependencies, suggesting enhanced support for core Node.js modules and improved utility functions for ESLint module handling.
The devDependencies also see changes, reflecting updates to testing and development tools. Notably, typescript is changed from a strict version constraint ~3.9.5 to a more flexible ^2.8.1 || ~3.9.5. The @typescript-eslint/parser also sees an update to ^2.23.0 || ^3.3.0, likely ensuring compatibility with a broader range of TypeScript versions and enhancing parsing capabilities. The dist metadata reveals a slight increase in the package's file count and unpacked size. For developers, upgrading to version 2.23.0 offers improved dependency management and enhanced TypeScript compatibility, potentially leading to a smoother development experience and better code analysis.
The are not vulnerabilities for the version 2.23.0 of the package eslint-plugin-import