Skip to content

Commit 0f74254

Browse files
committed
refactor: update Piscina to version 5
Update code to reflect changes.
1 parent 7170f40 commit 0f74254

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

packages/angular/build/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"mrmime": "2.0.1",
3737
"parse5-html-rewriting-stream": "7.1.0",
3838
"picomatch": "4.0.2",
39-
"piscina": "4.9.2",
39+
"piscina": "5.0.0",
4040
"rollup": "4.40.1",
4141
"sass": "1.87.0",
4242
"semver": "7.7.1",

packages/angular/build/src/utils/worker-pool.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class WorkerPool extends Piscina {
1818
idleTimeout: 1000,
1919
// Web containers do not support transferable objects with receiveOnMessagePort which
2020
// is used when the Atomics based wait loop is enable.
21-
useAtomics: !process.versions.webcontainer,
21+
atomics: process.versions.webcontainer ? 'disabled' : 'sync',
2222
recordTiming: false,
2323
...options,
2424
};

packages/angular_devkit/build_angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"open": "10.1.2",
4444
"ora": "5.4.1",
4545
"picomatch": "4.0.2",
46-
"piscina": "4.9.2",
46+
"piscina": "5.0.0",
4747
"postcss": "8.5.3",
4848
"postcss-loader": "8.1.1",
4949
"resolve-url-loader": "5.0.0",

pnpm-lock.yaml

+12-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)