The @typescript-eslint/eslint-plugin package, a crucial tool for TypeScript developers leveraging ESLint, saw a minor version bump from 4.31.0 to 4.31.1 in September 2021. While seemingly small, this increment includes important updates for those aiming to maintain consistent and high-quality TypeScript code. The core functionality, centered around providing ESLint rules specifically tailored for TypeScript, remains the same: enforcing code style, catching potential errors, and promoting best practices within TypeScript projects.
A key difference lies in the updated dependencies. Version 4.31.1 relies on "@typescript-eslint/scope-manager" and "@typescript-eslint/experimental-utils" at version 4.31.1, incremented from 4.31.0 in the previous release. These updated internal packages likely contain bug fixes, performance improvements, or new experimental features that enhance the overall linting capabilities. The unpacked size of the package also increased slightly, from 2330152 to 2330338, hinting at potentially new code or resources.
For developers upgrading from 4.31.0, it's essential to review the changelog of "@typescript-eslint/scope-manager" and "@typescript-eslint/experimental-utils" to understand the specific changes included. While the changes may not be breaking, staying informed ensures a smooth transition and allows developers to take advantage of any new features or bug fixes. Both versions maintain the same peer dependencies, requiring compatible versions of ESLint and "@typescript-eslint/parser," so those dependencies should already be satisfied in most projects. Ensure your tooling supports the peer dependencies to allow seamless upgrades between minor versions.
The are not vulnerabilities for the version 4.31.1 of the package @typescript-eslint/eslint-plugin