Skip to content

Commit

Permalink
deps: update to [email protected] (yarnpkg#6387)
Browse files Browse the repository at this point in the history
**What's the problem this PR addresses?**

- We haven't updated esbuild for a few years so we're a bit behind on
new features, bugfixes, and improvements.
- We're building Yarn with one esbuild version and running from
sources/tests with another.

**How did you fix it?**

Update to the latest version.

**Checklist**
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
- [x] I have set the packages that need to be released for my changes to
be effective.
- [x] I will check that all automated PR checks pass before the PR gets
reviewed.

---------

Co-authored-by: Maël Nison <[email protected]>
  • Loading branch information
merceyz and arcanis authored Jul 29, 2024
1 parent d087538 commit 9daddcf
Show file tree
Hide file tree
Showing 16 changed files with 286 additions and 235 deletions.
407 changes: 221 additions & 186 deletions .pnp.cjs

Large diffs are not rendered by default.

54 changes: 32 additions & 22 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions .yarn/versions/d8bd4f19.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
releases:
"@yarnpkg/builder": patch

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-exec"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- vscode-zipfs
- "@yarnpkg/cli"
- "@yarnpkg/core"
- "@yarnpkg/pnp"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@yarnpkg/libzip": "workspace:^",
"@yarnpkg/sdks": "workspace:^",
"clipanion": "^4.0.0-rc.2",
"esbuild-wasm": "0.17.5",
"esbuild": "npm:esbuild-wasm@^0.23.0",
"eslint": "^8.57.0",
"jest": "^29.2.1",
"pirates": "^4.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-zipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@types/vscode": "^1.54.0",
"@yarnpkg/fslib": "workspace:^",
"@yarnpkg/libzip": "workspace:^",
"esbuild": "npm:esbuild-wasm@^0.15.15",
"esbuild": "npm:esbuild-wasm@^0.23.0",
"rollup": "^2.59.0",
"rollup-plugin-esbuild": "^3.0.2",
"rollup-plugin-terser": "^7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@yarnpkg/fslib": "workspace:^",
"chalk": "^3.0.0",
"clipanion": "^4.0.0-rc.2",
"esbuild": "npm:esbuild-wasm@^0.15.15",
"esbuild": "npm:esbuild-wasm@^0.23.0",
"semver": "^7.1.2",
"tslib": "^2.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@yarnpkg/plugin-npm": "workspace:^",
"@yarnpkg/plugin-pnp": "workspace:^",
"comment-json": "^2.2.0",
"esbuild": "npm:esbuild-wasm@^0.15.15",
"esbuild": "npm:esbuild-wasm@^0.23.0",
"rollup": "^2.59.0",
"rollup-plugin-esbuild": "^3.0.2",
"rollup-plugin-terser": "^7.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-core/sources/worker-zip/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/yarnpkg-pnp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/semver": "^7.1.0",
"@yarnpkg/libzip": "workspace:^",
"arg": "^5.0.2",
"esbuild": "npm:esbuild-wasm@^0.15.15",
"esbuild": "npm:esbuild-wasm@^0.23.0",
"rollup": "^2.59.0",
"rollup-plugin-esbuild": "^3.0.2",
"semver": "^7.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-pnp/sources/esm-loader/built-loader.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/yarnpkg-pnp/sources/hook.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/setup-ts-cache.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const crypto = require(`crypto`);
const esbuild = require(`esbuild-wasm`);
const esbuild = require(`esbuild`);
const fs = require(`fs`);
const path = require(`path`);
const v8 = require(`v8`);
Expand Down
27 changes: 9 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5425,7 +5425,7 @@ __metadata:
"@yarnpkg/monorepo": "workspace:^"
chalk: "npm:^3.0.0"
clipanion: "npm:^4.0.0-rc.2"
esbuild: "npm:esbuild-wasm@^0.15.15"
esbuild: "npm:esbuild-wasm@^0.23.0"
semver: "npm:^7.1.2"
tslib: "npm:^2.4.0"
typescript: "npm:^5.5.2"
Expand Down Expand Up @@ -5515,7 +5515,7 @@ __metadata:
cross-spawn: "npm:7.0.3"
diff: "npm:^5.1.0"
dotenv: "npm:^16.3.1"
esbuild: "npm:esbuild-wasm@^0.15.15"
esbuild: "npm:esbuild-wasm@^0.23.0"
fast-glob: "npm:^3.2.2"
got: "npm:^11.7.0"
lodash: "npm:^4.17.15"
Expand Down Expand Up @@ -5735,7 +5735,7 @@ __metadata:
"@yarnpkg/types": "workspace:^"
chalk: "npm:^3.0.0"
clipanion: "npm:^4.0.0-rc.2"
esbuild-wasm: "npm:0.17.5"
esbuild: "npm:esbuild-wasm@^0.23.0"
eslint: "npm:^8.57.0"
jest: "npm:^29.2.1"
micromatch: "npm:^4.0.2"
Expand Down Expand Up @@ -6223,7 +6223,7 @@ __metadata:
"@yarnpkg/fslib": "workspace:^"
"@yarnpkg/libzip": "workspace:^"
arg: "npm:^5.0.2"
esbuild: "npm:esbuild-wasm@^0.15.15"
esbuild: "npm:esbuild-wasm@^0.23.0"
rollup: "npm:^2.59.0"
rollup-plugin-esbuild: "npm:^3.0.2"
semver: "npm:^7.1.2"
Expand Down Expand Up @@ -9830,15 +9830,6 @@ __metadata:
languageName: node
linkType: hard

"esbuild-wasm@npm:0.17.5":
version: 0.17.5
resolution: "esbuild-wasm@npm:0.17.5"
bin:
esbuild: bin/esbuild
checksum: 10/94e32490fe9db9db4f470cccf014a344f968e247f51c57107882d52857855f0b463c71c573b3649bd484de8567d2a10e71468b5ba76bce7e6ca4dd85ba08909e
languageName: node
linkType: hard

"esbuild-windows-32@npm:0.15.11":
version: 0.15.11
resolution: "esbuild-windows-32@npm:0.15.11"
Expand Down Expand Up @@ -10017,12 +10008,12 @@ __metadata:
languageName: node
linkType: hard

"esbuild@npm:esbuild-wasm@^0.15.15":
version: 0.15.15
resolution: "esbuild-wasm@npm:0.15.15"
"esbuild@npm:esbuild-wasm@^0.23.0":
version: 0.23.0
resolution: "esbuild-wasm@npm:0.23.0"
bin:
esbuild: bin/esbuild
checksum: 10/2f001c14557d8484bbaf9d19c4fa347de4f123eab7b846573a1c7b16d83cea5bf5801aa20aecdc58fcad5517f601fd5e6f316dbf0777485ae0d1a7c92791b852
checksum: 10/1ab1ba5eb31b3705d22800e8cb70f3912390ef2af6a2f0335f1b580b467482717d7133cfffafea0fd8b1c9e45d3f36f68a6aaeb0ecce5f4c3899c6421bb310ed
languageName: node
linkType: hard

Expand Down Expand Up @@ -21123,7 +21114,7 @@ pem@dexus/pem:
"@types/vscode": "npm:^1.54.0"
"@yarnpkg/fslib": "workspace:^"
"@yarnpkg/libzip": "workspace:^"
esbuild: "npm:esbuild-wasm@^0.15.15"
esbuild: "npm:esbuild-wasm@^0.23.0"
rollup: "npm:^2.59.0"
rollup-plugin-esbuild: "npm:^3.0.2"
rollup-plugin-terser: "npm:^7.0.2"
Expand Down

0 comments on commit 9daddcf

Please sign in to comment.