Skip to content

Commit

Permalink
fix(esbuild): update peerDep range (#30167)
Browse files Browse the repository at this point in the history
## Current Behavior
`esbuild` has a security advisory for versions up to 0.24. 
If users attempted to install a version greater than 0.19, they would
face peer dep issues with the `@nx/esbuild` package.


## Expected Behavior
Expand the peerDep range for `esbuild` on the `@nx/esbuild` package to
allow users to upgrade.
Keep the base version at a lower version to support older OS and VMs
which are unsupported by newer versions of `esbuild`.

Closes #30009
  • Loading branch information
Coly010 authored Feb 25, 2025
1 parent c35862d commit 9cbd476
Show file tree
Hide file tree
Showing 3 changed files with 468 additions and 210 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"ejs": "^3.1.7",
"emnapi": "^1.2.0",
"enhanced-resolve": "^5.8.3",
"esbuild": "0.19.5",
"esbuild": "0.25.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.16",
"eslint-config-prettier": "9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"esbuild": "~0.19.2"
"esbuild": "^0.19.2"
},
"peerDependenciesMeta": {
"esbuild": {
Expand Down
Loading

0 comments on commit 9cbd476

Please sign in to comment.