@babel/eslint-parser versions 7.22.7 and 7.22.6 are ESLint parsers designed to enable developers to lint JavaScript code containing experimental syntax, leveraging Babel's transformations. Both versions share the same core functionality and dependencies, including eslint-visitor-keys, @nicolo-ribaudo/semver-v6, and @nicolo-ribaudo/eslint-scope-5-internals, ensuring consistent handling of ESLint's abstract syntax tree traversal and scope analysis. Crucially, they maintain compatibility with ESLint versions 7.5.0 or 8.0.0 and above and require @babel/core version 7.11.0 or higher as peer dependencies, enabling seamless integration with existing Babel-powered projects.
The primary difference between the two versions lies in their @babel/core dev dependency: version 7.22.7 depends on @babel/core":"^7.22.7" while the previous version depends on @babel/core":"^7.22.6". This change implies bug fixes, performance improvements, or new features within Babel that are specifically targeted for linting contexts. Another apparent difference, despite the common file count of 39, is a slightly increased unpacked size in version 7.22.7 (134597 bytes) compared to 7.22.6 (134296 bytes), suggesting potential additions or adjustments to the parser's internal logic. Finally, version 7.22.7 was released on July 6, 2023, whereas version 7.22.6 was released on July 4, 2023. Developers should upgrade to version 7.22.7 to benefit from the latest enhancements, bug fixes, and improved compatibility with newer Babel features when linting projects with experimental JavaScript syntax.
The are not vulnerabilities for the version 7.22.7 of the package @babel/eslint-parser