Version 5.46.1 of @typescript-eslint/parser represents a minor update to version 5.46.0, both of which are integral to ESLint workflows for TypeScript projects. The core functionality remains consistent: providing a custom parser that allows ESLint to effectively analyze and lint TypeScript code by leveraging TypeScript ESTree.
The primary distinctions between the versions lie in their dependency versions and internal details. Specifically, 5.46.1 updates its dependencies to @typescript-eslint/types, @typescript-eslint/scope-manager, and @typescript-eslint/typescript-estree to version 5.46.1. Version 5.46.0 had these dependencies set to 5.46.0. This likely includes bug fixes, performance improvements, or new features within those related packages. Another minor change occurs in the unpackedSize, which has changed from 17944 bytes in 5.46.0 to 17934 bytes in 5.46.1, indicating possibly a code refactor or content update decreasing its size.
Crucially, both versions maintain identical peer dependency requirements, requiring ESLint versions 6, 7, or 8. This ensures compatibility with a wide range of ESLint setups. Developers using @typescript-eslint/parser benefit from its ability to accurately parse TypeScript syntax, enabling consistent code style and helping catch potential errors early in the development process. The update to 5.46.1 is likely a worthwhile upgrade, bringing with it improvements from its core dependencies, but should not require a full refactor, since changes appear to be targeted to internal dependencies.
The are not vulnerabilities for the version 5.46.1 of the package @typescript-eslint/parser