Skip to content

Commit

Permalink
Merge pull request babel#190 from nlfurniss/bump-more-deps
Browse files Browse the repository at this point in the history
Update `workerpool` to latest (avoiding deprecations)
# Conflicts:
#	package.json
#	yarn.lock
  • Loading branch information
rwjblue authored and CvX committed Jun 23, 2022
1 parent 74314ca commit 873b660
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 254 deletions.
2 changes: 1 addition & 1 deletion lib/parallel-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getWorkerPool() {
if (existingPool) {
pool = existingPool;
} else {
pool = workerpool.pool(path.join(__dirname, 'worker.js'), { nodeWorker: 'auto', maxWorkers: JOBS });
pool = workerpool.pool(path.join(__dirname, 'worker.js'), { workerType: 'auto', maxWorkers: JOBS });
process[globalPoolID] = pool;
}
return pool;
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,14 @@
"dependencies": {
"@babel/core": "^7.12.0",
"@babel/polyfill": "^7.11.5",
"broccoli-funnel": "^2.0.2",
"broccoli-merge-trees": "^3.0.2",
"broccoli-persistent-filter": "^2.2.1",
"clone": "^2.1.2",
"hash-for-dep": "^1.4.7",
"heimdalljs": "^0.2.1",
"heimdalljs-logger": "^0.1.9",
"json-stable-stringify": "^1.0.1",
"rsvp": "^4.8.4",
"workerpool": "^3.1.1"
"workerpool": "^6.0.2"
},
"devDependencies": {
"@babel/plugin-transform-block-scoping": "^7.11.1",
Expand Down
Loading

0 comments on commit 873b660

Please sign in to comment.