Skip to content

Commit 4c644c0

Browse files
authored
chore: fix yarn.lock file (#18068)
There are some missing entries in the `yarn.lock` file, breaking the validation that we have on this. The validation script should have always failed the build (even on the build server), but it was not because it didn't properly handle uncaught rejected promises, and whether that would fail or not depended on the Node.js version. Rectify both issues. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent aca4d8b commit 4c644c0

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

scripts/check-yarn-lock.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ async function main() {
5252
});
5353
}
5454

55-
main();
55+
main().catch(e => {
56+
console.error(e)
57+
process.exitCode = 1;
58+
});

yarn.lock

+1-18
Original file line numberDiff line numberDiff line change
@@ -760,14 +760,6 @@
760760
chalk "^4.1.2"
761761
semver "^7.3.5"
762762

763-
764-
version "1.47.0"
765-
resolved "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.47.0.tgz#746a548b9de6b4fced4d57d6fa0384943e6a9576"
766-
integrity sha512-LSlbKTpMVYw1R3Be70sJJdJbuLWEFAMbGEHE731Je1QDTXTRm6Gc3NDvPUvTTuHEry8f2Wys+1pXNX06X4PKxQ==
767-
dependencies:
768-
chalk "^4.1.2"
769-
semver "^7.3.5"
770-
771763
"@jsii/[email protected]", "@jsii/spec@^1.47.0":
772764
version "1.47.0"
773765
resolved "https://registry.npmjs.org/@jsii/spec/-/spec-1.47.0.tgz#6bc24dbf9f4949a0260d9fb51a2f9d7b30c6b4f4"
@@ -1878,7 +1870,7 @@
18781870
dependencies:
18791871
"@types/istanbul-lib-report" "*"
18801872

1881-
"@types/jest@^26.0.24":
1873+
"@types/jest@^26.0.22", "@types/jest@^26.0.24":
18821874
version "26.0.24"
18831875
resolved "https://registry.npmjs.org/@types/jest/-/jest-26.0.24.tgz#943d11976b16739185913a1936e0de0c4a7d595a"
18841876
integrity sha512-E/X5Vib8BWqZNRlDxj9vYXhsDwPYbPINqKF9BsnSoon4RQ0D9moEuLD8txgyypFLH7J4+Lho9Nr/c8H0Fi+17w==
@@ -3113,15 +3105,6 @@ codemaker@^1.47.0:
31133105
decamelize "^5.0.1"
31143106
fs-extra "^9.1.0"
31153107

3116-
codemaker@^1.47.0:
3117-
version "1.47.0"
3118-
resolved "https://registry.npmjs.org/codemaker/-/codemaker-1.47.0.tgz#f54ba966fd6e7bec9fd3394cca9cea6bcc528505"
3119-
integrity sha512-3Ab891O2IKCAOJE1rrgHS1z91AKlxoeQ2gfvL9bDv2K7zSrEN0IwI/YCgrIsUsf1RQFIOKDnizhFjn2PAap8Wg==
3120-
dependencies:
3121-
camelcase "^6.2.1"
3122-
decamelize "^5.0.1"
3123-
fs-extra "^9.1.0"
3124-
31253108
collect-v8-coverage@^1.0.0:
31263109
version "1.0.1"
31273110
resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59"

0 commit comments

Comments
 (0)