Skip to content

Commit cbe84e1

Browse files
lobsterkatieAbhiPrasad
authored andcommitted
chore(dev): Update jest and friends (#4897)
This updates `jest`, `ts-jest`, and `jest-environment-node` to the latest versions, in order to facilitate code transformations during `ts-jest`'s on-the-fly compilation that will become necessary once we move to ES6. (More detail on this to come in the PR which actually introduces said transformation, but TL;DR the way we use and extend `global` is fine if it's a `var` (which it is in ES5 Land) but less fine if it's a `const` (which it becomes under ES6), and we need to fix that for tests to run.) It also updates `jsdom`. Together these updates meant that a larger number of packages needed to be downgraded in order for tests to run in node 8 and 10. This therefore also reworks the test script a bit to account for those changes. Finally, this removes the test environment from our main jest config, as its value has become the default in latest version of jest.
1 parent 7cfe065 commit cbe84e1

File tree

1 file changed

+82
-12
lines changed

1 file changed

+82
-12
lines changed

yarn.lock

Lines changed: 82 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,15 @@
395395
jsesc "^2.5.1"
396396
source-map "^0.5.0"
397397

398+
"@babel/generator@^7.17.9", "@babel/generator@^7.7.2":
399+
version "7.17.9"
400+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.9.tgz#f4af9fd38fa8de143c29fce3f71852406fc1e2fc"
401+
integrity sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==
402+
dependencies:
403+
"@babel/types" "^7.17.0"
404+
jsesc "^2.5.1"
405+
source-map "^0.5.0"
406+
398407
"@babel/helper-annotate-as-pure@^7.12.13":
399408
version "7.12.13"
400409
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab"
@@ -462,6 +471,16 @@
462471
browserslist "^4.17.5"
463472
semver "^6.3.0"
464473

474+
"@babel/helper-compilation-targets@^7.17.7":
475+
version "7.17.7"
476+
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz#a3c2924f5e5f0379b356d4cfb313d1414dc30e46"
477+
integrity sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==
478+
dependencies:
479+
"@babel/compat-data" "^7.17.7"
480+
"@babel/helper-validator-option" "^7.16.7"
481+
browserslist "^4.17.5"
482+
semver "^6.3.0"
483+
465484
"@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.5.5":
466485
version "7.13.11"
467486
resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6"
@@ -730,6 +749,20 @@
730749
"@babel/traverse" "^7.16.0"
731750
"@babel/types" "^7.16.0"
732751

752+
"@babel/helper-module-transforms@^7.17.7":
753+
version "7.17.7"
754+
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz#3943c7f777139e7954a5355c815263741a9c1cbd"
755+
integrity sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==
756+
dependencies:
757+
"@babel/helper-environment-visitor" "^7.16.7"
758+
"@babel/helper-module-imports" "^7.16.7"
759+
"@babel/helper-simple-access" "^7.17.7"
760+
"@babel/helper-split-export-declaration" "^7.16.7"
761+
"@babel/helper-validator-identifier" "^7.16.7"
762+
"@babel/template" "^7.16.7"
763+
"@babel/traverse" "^7.17.3"
764+
"@babel/types" "^7.17.0"
765+
733766
"@babel/helper-optimise-call-expression@^7.12.13", "@babel/helper-optimise-call-expression@^7.15.4":
734767
version "7.15.4"
735768
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz#f310a5121a3b9cc52d9ab19122bd729822dee171"
@@ -938,6 +971,15 @@
938971
"@babel/traverse" "^7.15.4"
939972
"@babel/types" "^7.15.4"
940973

974+
"@babel/helpers@^7.17.9":
975+
version "7.17.9"
976+
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.9.tgz#b2af120821bfbe44f9907b1826e168e819375a1a"
977+
integrity sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==
978+
dependencies:
979+
"@babel/template" "^7.16.7"
980+
"@babel/traverse" "^7.17.9"
981+
"@babel/types" "^7.17.0"
982+
941983
"@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5":
942984
version "7.14.5"
943985
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9"
@@ -1420,6 +1462,13 @@
14201462
dependencies:
14211463
"@babel/helper-plugin-utils" "^7.12.13"
14221464

1465+
"@babel/plugin-syntax-top-level-await@^7.8.3":
1466+
version "7.14.5"
1467+
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c"
1468+
integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==
1469+
dependencies:
1470+
"@babel/helper-plugin-utils" "^7.14.5"
1471+
14231472
"@babel/plugin-syntax-typescript@^7.12.13", "@babel/plugin-syntax-typescript@^7.2.0":
14241473
version "7.12.13"
14251474
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.13.tgz#9dff111ca64154cef0f4dc52cf843d9f12ce4474"
@@ -2359,6 +2408,22 @@
23592408
debug "^4.1.0"
23602409
globals "^11.1.0"
23612410

2411+
"@babel/traverse@^7.17.3", "@babel/traverse@^7.17.9", "@babel/traverse@^7.7.2":
2412+
version "7.17.9"
2413+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.9.tgz#1f9b207435d9ae4a8ed6998b2b82300d83c37a0d"
2414+
integrity sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==
2415+
dependencies:
2416+
"@babel/code-frame" "^7.16.7"
2417+
"@babel/generator" "^7.17.9"
2418+
"@babel/helper-environment-visitor" "^7.16.7"
2419+
"@babel/helper-function-name" "^7.17.9"
2420+
"@babel/helper-hoist-variables" "^7.16.7"
2421+
"@babel/helper-split-export-declaration" "^7.16.7"
2422+
"@babel/parser" "^7.17.9"
2423+
"@babel/types" "^7.17.0"
2424+
debug "^4.1.0"
2425+
globals "^11.1.0"
2426+
23622427
23632428
version "7.8.3"
23642429
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c"
@@ -6274,11 +6339,6 @@ async-each@^1.0.1:
62746339
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
62756340
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==
62766341

6277-
async-limiter@~1.0.0:
6278-
version "1.0.1"
6279-
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
6280-
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
6281-
62826342
async-mutex@^0.3.2:
62836343
version "0.3.2"
62846344
resolved "https://registry.yarnpkg.com/async-mutex/-/async-mutex-0.3.2.tgz#1485eda5bda1b0ec7c8df1ac2e815757ad1831df"
@@ -14461,13 +14521,13 @@ import-local@^1.0.0:
1446114521
pkg-dir "^2.0.0"
1446214522
resolve-cwd "^2.0.0"
1446314523

14464-
import-local@^2.0.0:
14465-
version "2.0.0"
14466-
resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d"
14467-
integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==
14524+
import-local@^3.0.2:
14525+
version "3.1.0"
14526+
resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4"
14527+
integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==
1446814528
dependencies:
14469-
pkg-dir "^3.0.0"
14470-
resolve-cwd "^2.0.0"
14529+
pkg-dir "^4.2.0"
14530+
resolve-cwd "^3.0.0"
1447114531

1447214532
import-local@^3.0.2:
1447314533
version "3.1.0"
@@ -15696,6 +15756,16 @@ jest-matcher-utils@^27.2.5:
1569615756
jest-get-type "^27.4.0"
1569715757
pretty-format "^27.4.2"
1569815758

15759+
jest-matcher-utils@^27.5.1:
15760+
version "27.5.1"
15761+
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab"
15762+
integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==
15763+
dependencies:
15764+
chalk "^4.0.0"
15765+
jest-diff "^27.5.1"
15766+
jest-get-type "^27.5.1"
15767+
pretty-format "^27.5.1"
15768+
1569915769
jest-message-util@^24.9.0:
1570015770
version "24.9.0"
1570115771
resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3"
@@ -17277,7 +17347,7 @@ make-dir@^1.0.0:
1727717347
dependencies:
1727817348
pify "^3.0.0"
1727917349

17280-
make-dir@^2.0.0, make-dir@^2.1.0:
17350+
make-dir@^2.0.0:
1728117351
version "2.1.0"
1728217352
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
1728317353
integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==

0 commit comments

Comments
 (0)