Skip to content

Commit

Permalink
build: update jest-worker to version 25.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 authored and Keen Yee Liau committed Jan 23, 2020
1 parent 0480b8b commit 237c1dc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"file-loader": "5.0.2",
"find-cache-dir": "3.2.0",
"glob": "7.1.6",
"jest-worker": "24.9.0",
"jest-worker": "25.1.0",
"karma-source-map-support": "1.4.0",
"less": "3.10.3",
"less-loader": "5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/src/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ export function buildWebpackBrowser(
}
}
} finally {
executor.stop();
await executor.stop();
}

// Copy assets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ export class BundleActionExecutor {
}
}

stop(): void {
async stop(): Promise<void> {
if (this.largeWorker) {
this.largeWorker.end();
await this.largeWorker.end();
}
if (this.smallWorker) {
this.smallWorker.end();
await this.smallWorker.end();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export async function i18nInlineEmittedFiles(

return false;
} finally {
executor.stop();
await executor.stop();
}

if (hasErrors) {
Expand Down
14 changes: 10 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4900,7 +4900,6 @@ fsevents@^1.2.7:
dependencies:
bindings "^1.5.0"
nan "^2.12.1"
node-pre-gyp "*"

fsevents@~2.1.2:
version "2.1.2"
Expand Down Expand Up @@ -6303,7 +6302,15 @@ jasminewd2@^2.1.0:
resolved "https://registry.yarnpkg.com/jasminewd2/-/jasminewd2-2.2.0.tgz#e37cf0b17f199cce23bea71b2039395246b4ec4e"
integrity sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4=

[email protected], jest-worker@^24.9.0:
[email protected]:
version "25.1.0"
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.1.0.tgz#75d038bad6fdf58eba0d2ec1835856c497e3907a"
integrity sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg==
dependencies:
merge-stream "^2.0.0"
supports-color "^7.0.0"

jest-worker@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"
integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==
Expand Down Expand Up @@ -9815,7 +9822,6 @@ [email protected], sass@^1.23.0:

"sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.5.4-linux.tar.gz":
version "0.0.0"
uid dc5efcd2be24ddb099a85b923d6e754754651fa8
resolved "https://saucelabs.com/downloads/sc-4.5.4-linux.tar.gz#dc5efcd2be24ddb099a85b923d6e754754651fa8"

saucelabs@^1.5.0:
Expand Down Expand Up @@ -10728,7 +10734,7 @@ supports-color@^6.1.0:
dependencies:
has-flag "^3.0.0"

supports-color@^7.1.0:
supports-color@^7.0.0, supports-color@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1"
integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==
Expand Down

0 comments on commit 237c1dc

Please sign in to comment.