Skip to content

Commit 237c1dc

Browse files
alan-agius4Keen Yee Liau
authored and
Keen Yee Liau
committed
build: update jest-worker to version 25.1.0
1 parent 0480b8b commit 237c1dc

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"file-loader": "5.0.2",
3030
"find-cache-dir": "3.2.0",
3131
"glob": "7.1.6",
32-
"jest-worker": "24.9.0",
32+
"jest-worker": "25.1.0",
3333
"karma-source-map-support": "1.4.0",
3434
"less": "3.10.3",
3535
"less-loader": "5.0.0",

packages/angular_devkit/build_angular/src/browser/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ export function buildWebpackBrowser(
565565
}
566566
}
567567
} finally {
568-
executor.stop();
568+
await executor.stop();
569569
}
570570

571571
// Copy assets

packages/angular_devkit/build_angular/src/utils/action-executor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ export class BundleActionExecutor {
142142
}
143143
}
144144

145-
stop(): void {
145+
async stop(): Promise<void> {
146146
if (this.largeWorker) {
147-
this.largeWorker.end();
147+
await this.largeWorker.end();
148148
}
149149
if (this.smallWorker) {
150-
this.smallWorker.end();
150+
await this.smallWorker.end();
151151
}
152152
}
153153
}

packages/angular_devkit/build_angular/src/utils/i18n-inlining.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function i18nInlineEmittedFiles(
112112

113113
return false;
114114
} finally {
115-
executor.stop();
115+
await executor.stop();
116116
}
117117

118118
if (hasErrors) {

yarn.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4900,7 +4900,6 @@ fsevents@^1.2.7:
49004900
dependencies:
49014901
bindings "^1.5.0"
49024902
nan "^2.12.1"
4903-
node-pre-gyp "*"
49044903

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

6306-
[email protected], jest-worker@^24.9.0:
6305+
6306+
version "25.1.0"
6307+
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-25.1.0.tgz#75d038bad6fdf58eba0d2ec1835856c497e3907a"
6308+
integrity sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg==
6309+
dependencies:
6310+
merge-stream "^2.0.0"
6311+
supports-color "^7.0.0"
6312+
6313+
jest-worker@^24.9.0:
63076314
version "24.9.0"
63086315
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"
63096316
integrity sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==
@@ -9815,7 +9822,6 @@ [email protected], sass@^1.23.0:
98159822

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

98219827
saucelabs@^1.5.0:
@@ -10728,7 +10734,7 @@ supports-color@^6.1.0:
1072810734
dependencies:
1072910735
has-flag "^3.0.0"
1073010736

10731-
supports-color@^7.1.0:
10737+
supports-color@^7.0.0, supports-color@^7.1.0:
1073210738
version "7.1.0"
1073310739
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1"
1073410740
integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==

0 commit comments

Comments
 (0)