The @typescript-eslint/parser package, a cornerstone for ESLint users working with TypeScript, has a new stable release: version 8.31.0. Comparing it to its predecessor, version 8.30.1, reveals subtle but important updates primarily affecting internal dependencies. Both versions share identical descriptions, file counts, unpacked sizes, and development dependencies, including tools for testing, formatting, and code coverage. Crucially, the peer dependencies, specifying compatible ESLint and TypeScript versions, remain consistent, ensuring seamless integration with existing projects using ESLint 8.57.0 or 9.0.0 and TypeScript versions between 4.8.4 and below 5.9.0.
The primary differentiation lies within the core dependencies. Version 8.31.0 updates its internal dependencies: @typescript-eslint/types, @typescript-eslint/visitor-keys, @typescript-eslint/scope-manager, and @typescript-eslint/typescript-estree all receive a bump to version 8.31.0, aligning them with the parser's version. This suggests internal improvements within the TypeScript ESTree representation and related utilities. While these changes are largely internal, developers benefit from enhanced stability and accuracy in parsing and linting TypeScript code, promising more reliable static analysis and fewer unexpected errors. For projects already using @typescript-eslint/parser, upgrading from 8.30.1 to 8.31.0 is recommended to leverage these incremental improvements and maintain compatibility with the broader @typescript-eslint ecosystem. Both version share the same license, repository and funding.
The are not vulnerabilities for the version 8.31.0 of the package @typescript-eslint/parser