-
Notifications
You must be signed in to change notification settings - Fork 2
⬆️ Override esbuild@<=0.24.2
to ^0.25.0
#76
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
📝 WalkthroughWalkthroughUpdated pnpm-workspace.yaml to adjust esbuild handling: added ignoredBuiltDependencies for esbuild and set an overrides rule to force esbuild versions <=0.24.2 to ^0.25.0. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Pre-Merge Checks (1 passed, 2 warnings)❌ Failed Checks (2 warnings)
✅ Passed Checks (1 passed)
✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
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 (2)
pnpm-workspace.yaml (2)
4-5
: Optional: pin Node via workspace config to prevent incompatible installs.If your repo targets Node < 18 anywhere, installs may fail after this override. Consider adding
useNodeVersion
(ornodeVersion
+engineStrict
) inpnpm-workspace.yaml
to enforce a compatible runtime in CI/dev. (pnpm.io)
4-5
: Wrap override key/value in quotes and reference GHSA advisoryOverride correctly remaps all esbuild@<=0.24.2 instances to ^0.25.0 (no vulnerable versions remain). Please update pnpm-workspace.yaml:
overrides: - esbuild@<=0.24.2: ^0.25.0 + # GHSA-67mh-4wv8-2f99 + "esbuild@<=0.24.2": "^0.25.0"Also verify your Node engine in package.json is set to ≥18 to match esbuild’s requirement since 0.23.x.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
pnpm-workspace.yaml
(1 hunks)
🔇 Additional comments (1)
pnpm-workspace.yaml (1)
1-2
: Confirm esbuild still functions with ignoredBuiltDependencies: [esbuild]
The workspace script didn’t match any packages—rerun in a folder that depends on esbuild (for example,packages/your-app
) afterpnpm install
:cd packages/your-app pnpm exec node -e "console.log('esbuild', require('esbuild').version)" pnpm exec esbuild --versionIf
require('esbuild')
or theesbuild
CLI fails, remove theignoredBuiltDependencies: [esbuild]
entry or switch to usingonlyBuiltDependencies
.
📝 Description
📓 References
Summary by CodeRabbit
Chores
Bug Fixes
Impact: