-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
refactor: Upgrade @babel/eslint-parser from 7.27.1 to 7.28.0 #9835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Snyk has created this PR to upgrade @babel/eslint-parser from 7.27.1 to 7.28.0. See this package in npm: @babel/eslint-parser See this project in Snyk: https://app.snyk.io/org/acinader/project/21343059-02d9-4182-87d7-718a44b181ef?utm_source=github&utm_medium=referral&page=upgrade-pr
I will reformat the title to use the proper commit message syntax. |
🚀 Thanks for opening this pull request! |
📝 WalkthroughWalkthroughThe dependency "@babel/eslint-parser" in the package.json file was updated from version 7.27.1 to 7.28.0. No other files or configurations were modified. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
package.json (1)
22-26
: Move@babel/eslint-parser
todevDependencies
to avoid shipping lint-time code in productionThe parser is needed only by ESLint during development/CI; bundling it under
"dependencies"
means it is installed in production images and lambda layers where it is never used, increasing cold-start time and supply-chain surface."dependencies": { "@apollo/server": "4.12.1", - "@babel/eslint-parser": "7.28.0", ... }, "devDependencies": { ... + "@babel/eslint-parser": "7.28.0", }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
package-lock.json
is excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: mtrezza
PR: parse-community/parse-server#9445
File: spec/ParseLiveQuery.spec.js:1312-1338
Timestamp: 2025-05-04T20:41:05.147Z
Learning: New tests in the parse-server repository should use async/await with promise-based patterns rather than callback patterns with `done()`.
Learnt from: mtrezza
PR: parse-community/parse-server#9445
File: spec/ParseLiveQuery.spec.js:1340-1375
Timestamp: 2025-05-09T09:59:06.289Z
Learning: New tests in the parse-server repository should use async/await with promise-based patterns rather than callback patterns with `done()`. The preferred pattern is to create a Promise that resolves when an expected event occurs, then await that Promise.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
- GitHub Check: Redis Cache
- GitHub Check: MongoDB 6, ReplicaSet
- GitHub Check: Node 18
- GitHub Check: Node 20
- GitHub Check: MongoDB 7, ReplicaSet
- GitHub Check: PostgreSQL 17, PostGIS 3.5
- GitHub Check: MongoDB 8, ReplicaSet
- GitHub Check: PostgreSQL 16, PostGIS 3.5
- GitHub Check: PostgreSQL 15, PostGIS 3.4
- GitHub Check: PostgreSQL 15, PostGIS 3.5
- GitHub Check: PostgreSQL 15, PostGIS 3.3
- GitHub Check: Docker Build
🔇 Additional comments (1)
package.json (1)
22-26
: Check Babel minor version skew before merging
@babel/eslint-parser
is now7.28.0
, while most other Babel packages (@babel/cli
,@babel/core
, etc.) are still7.27.x
.
This is usually fine inside the same major (Babel guarantees semver compatibility), but occasionally the parser relies on syntax support introduced in the same minor across the tool-chain.Run the existing
npm run lint
andnpm test
workflows to ensure there are no new parse errors or ESLint crashes.If problems arise, bump the remaining Babel packages to
7.28.x
in one sweep.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #9835 +/- ##
=======================================
Coverage 93.01% 93.01%
=======================================
Files 187 187
Lines 15096 15096
Branches 174 174
=======================================
Hits 14041 14041
Misses 1043 1043
Partials 12 12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🎉 This change has been released in version 8.2.3 |
Snyk has created this PR to upgrade @babel/eslint-parser from 7.27.1 to 7.28.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 2 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: @babel/eslint-parser
v7.28.0 (2025-07-02)
🚀 New Feature
babel-node
babel-types
babel-compat-data
,babel-preset-env
babel-core
,babel-parser
sourceType: "commonjs"
(@ JLHwung)babel-generator
,babel-parser
explicitResourceManagement
parser plugin (@ JLHwung)babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-plugin-transform-object-rest-spread
,babel-traverse
,babel-types
babel-parser
,babel-traverse
,babel-types
t.bigIntLiteral
factory (@ JLHwung)babel-generator
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-discard-binding
,babel-plugin-transform-destructuring
,babel-plugin-transform-explicit-resource-management
,babel-plugin-transform-react-display-name
,babel-types
babel-generator
,babel-parser
,babel-plugin-proposal-destructuring-private
,babel-plugin-transform-block-scoping
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-typescript
,babel-traverse
,babel-types
🐛 Bug Fix
babel-helper-globals
,babel-plugin-transform-classes
,babel-traverse
babel-types
🏠 Internal
babel-compat-data
,babel-plugin-proposal-decorators
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-json-modules
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs3
babel-polyfill
packages (@ nicolo-ribaudo)Committers: 5
v7.27.5 (2025-06-03)
Thanks @ NullVoxPopuli for your first PR!
🐛 Bug Fix
babel-plugin-transform-regenerator
regenerator
fortry
(@ liuxingbaoyu)sourceType: commonjs
to script (@ JLHwung)💅 Polish
babel-parser
Committers: 4
v7.27.1 (2025-04-30)
Thanks @ kermanx and @ woaitsAryan for your first PRs!
👓 Spec Compliance
babel-parser
using of
as lexical declaration within for (@ JLHwung)babel-parser
,babel-types
🐛 Bug Fix
babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-traverse
babel-helper-wrap-function
,babel-plugin-transform-async-to-generator
babel-helper-remap-async-to-generator
,babel-plugin-transform-async-to-generator
babel-helper-fixtures
,babel-parser
babel-generator
,babel-parser
babel-parser
babel-compat-data
,babel-preset-env
babel-traverse
babel-generator
💅 Polish
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-decorators
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-class-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-traverse
🏠 Internal
babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
regenerator-runtime
dep in@ babel/runtime
(@ nicolo-ribaudo)babel-compat-data
,babel-preset-env
babel-compat-data
,babel-standalone
babel-register
@ babel/register
to cts (@ liuxingbaoyu)babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
🔬 Output optimization
babel-helpers
,babel-plugin-transform-modules-commonjs
,babel-runtime-corejs3
interopRequireWildcard
size (@ liuxingbaoyu)babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
regeneratorRuntime
size (@ liuxingbaoyu)Committers: 9
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by CodeRabbit