nx/packages/esbuild/package.json
Tyler Hendrickson 21bdb35a07
fix(esbuild): update peerDep range (#30402)
## Current Behavior
`esbuild` has a [security
advisory](https://github.com/advisories/GHSA-67mh-4wv8-2f99) for
versions older than 0.25.0. `@nx/esbuild` does not allow versions
greater than 0.19.2 due to the range specified in peer dependencies.

A fix for this was attempted in #30167, but it still does not allow any
versions greater than 0.19.x due to the way [0.x.x releases are
handled](https://github.com/npm/node-semver#caret-ranges-123-025-004).

## Expected Behavior
`@nx/esbuild` allows any version from the current 0.19.2 onwards, not
including a future 1.x.x version. This will allow non-vulnerable
versions of `esbuild` to be used.

## Related Issue(s)
Fixes #30009 
Fixes #30370
2025-05-14 16:00:34 +00:00

53 lines
1.1 KiB
JSON

{
"name": "@nx/esbuild",
"version": "0.0.1",
"private": false,
"description": "The Nx Plugin for esbuild contains executors and generators that support building applications using esbuild",
"repository": {
"type": "git",
"url": "https://github.com/nrwl/nx.git",
"directory": "packages/esbuild"
},
"keywords": [
"Monorepo",
"EsBuild",
"Web",
"CLI",
"Front-end",
"Backend"
],
"main": "./index",
"typings": "./index.d.ts",
"author": "Victor Savkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/nrwl/nx/issues"
},
"homepage": "https://nx.dev",
"generators": "./generators.json",
"executors": "./executors.json",
"ng-update": {
"requirements": {},
"migrations": "./migrations.json"
},
"dependencies": {
"@nx/devkit": "file:../devkit",
"@nx/js": "file:../js",
"tinyglobby": "^0.2.12",
"picocolors": "^1.1.0",
"tsconfig-paths": "^4.1.2",
"tslib": "^2.3.0"
},
"peerDependencies": {
"esbuild": ">=0.19.2 <1.0.0"
},
"peerDependenciesMeta": {
"esbuild": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
}