Skip to content

Commit ffad68e

Browse files
authored
chore(dev): Update ts-node to 10.7 (#4976)
This updates `ts-node` to latest, and adds a command to the Node 8 test setup to downgrade it again, for compatibility. (Unlike the other downgrading of packages for Node 8 and 10 tests, this has to happen outside of our `test.ts` script, because it's the thing that's running that script in the first place.)
1 parent 16e38fe commit ffad68e

File tree

3 files changed

+65
-8
lines changed

3 files changed

+65
-8
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ jobs:
254254
- name: Run tests
255255
env:
256256
NODE_VERSION: ${{ matrix.node }}
257-
run: yarn test-ci
257+
run: |
258+
[[ $NODE_VERSION == 8 ]] && yarn add --dev --ignore-engines --ignore-scripts --ignore-workspace-root-check [email protected]
259+
yarn test-ci
258260
- name: Compute test coverage
259261
uses: codecov/codecov-action@v1
260262

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"sinon": "^7.3.2",
9090
"size-limit": "^4.5.5",
9191
"ts-jest": "^27.1.4",
92-
"ts-node": "^8.10.2",
92+
"ts-node": "^10.7.0",
9393
"tslib": "^2.3.1",
9494
"typedoc": "^0.18.0",
9595
"typescript": "3.8.3"

yarn.lock

+61-6
Original file line numberDiff line numberDiff line change
@@ -2422,6 +2422,18 @@
24222422
exec-sh "^0.3.2"
24232423
minimist "^1.2.0"
24242424

2425+
"@cspotcode/[email protected]":
2426+
version "0.8.0"
2427+
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b"
2428+
integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==
2429+
2430+
"@cspotcode/[email protected]":
2431+
version "0.7.0"
2432+
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5"
2433+
integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==
2434+
dependencies:
2435+
"@cspotcode/source-map-consumer" "0.8.0"
2436+
24252437
"@ember-data/rfc395-data@^0.0.4":
24262438
version "0.0.4"
24272439
resolved "https://registry.yarnpkg.com/@ember-data/rfc395-data/-/rfc395-data-0.0.4.tgz#ecb86efdf5d7733a76ff14ea651a1b0ed1f8a843"
@@ -4402,6 +4414,26 @@
44024414
"@types/semver" "^7.3.9"
44034415
ts-type "^2.1.4"
44044416

4417+
"@tsconfig/node10@^1.0.7":
4418+
version "1.0.8"
4419+
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9"
4420+
integrity sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==
4421+
4422+
"@tsconfig/node12@^1.0.7":
4423+
version "1.0.9"
4424+
resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.9.tgz#62c1f6dee2ebd9aead80dc3afa56810e58e1a04c"
4425+
integrity sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==
4426+
4427+
"@tsconfig/node14@^1.0.0":
4428+
version "1.0.1"
4429+
resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.1.tgz#95f2d167ffb9b8d2068b0b235302fafd4df711f2"
4430+
integrity sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==
4431+
4432+
"@tsconfig/node16@^1.0.2":
4433+
version "1.0.2"
4434+
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e"
4435+
integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==
4436+
44054437
"@types/aria-query@^4.2.0":
44064438
version "4.2.1"
44074439
resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-4.2.1.tgz#78b5433344e2f92e8b306c06a5622c50c245bf6b"
@@ -5681,6 +5713,11 @@ acorn-walk@^8.0.0:
56815713
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.0.2.tgz#d4632bfc63fd93d0f15fd05ea0e984ffd3f5a8c3"
56825714
integrity sha512-+bpA9MJsHdZ4bgfDcpk0ozQyhhVct7rzOmO0s1IIr0AGGgKBljss8n2zp11rRP2wid5VGeh04CgeKzgat5/25A==
56835715

5716+
acorn-walk@^8.1.1:
5717+
version "8.2.0"
5718+
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
5719+
integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
5720+
56845721
acorn@^6.0.5, acorn@^6.4.1:
56855722
version "6.4.2"
56865723
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6"
@@ -9527,6 +9564,11 @@ create-react-context@^0.2.2:
95279564
fbjs "^0.8.0"
95289565
gud "^1.0.0"
95299566

9567+
create-require@^1.1.0:
9568+
version "1.1.1"
9569+
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
9570+
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
9571+
95309572
cross-env@^7.0.3:
95319573
version "7.0.3"
95329574
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
@@ -22668,7 +22710,7 @@ source-map-support@^0.4.15, source-map-support@^0.4.18:
2266822710
dependencies:
2266922711
source-map "^0.5.6"
2267022712

22671-
source-map-support@^0.5.17, source-map-support@^0.5.5, source-map-support@~0.5.20:
22713+
source-map-support@^0.5.5, source-map-support@~0.5.20:
2267222714
version "0.5.21"
2267322715
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
2267422716
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
@@ -24137,15 +24179,23 @@ ts-jest@^27.1.4:
2413724179
semver "7.x"
2413824180
yargs-parser "20.x"
2413924181

24140-
ts-node@^8.10.2:
24141-
version "8.10.2"
24142-
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.10.2.tgz#eee03764633b1234ddd37f8db9ec10b75ec7fb8d"
24143-
integrity sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==
24182+
ts-node@^10.7.0:
24183+
version "10.7.0"
24184+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.7.0.tgz#35d503d0fab3e2baa672a0e94f4b40653c2463f5"
24185+
integrity sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==
2414424186
dependencies:
24187+
"@cspotcode/source-map-support" "0.7.0"
24188+
"@tsconfig/node10" "^1.0.7"
24189+
"@tsconfig/node12" "^1.0.7"
24190+
"@tsconfig/node14" "^1.0.0"
24191+
"@tsconfig/node16" "^1.0.2"
24192+
acorn "^8.4.1"
24193+
acorn-walk "^8.1.1"
2414524194
arg "^4.1.0"
24195+
create-require "^1.1.0"
2414624196
diff "^4.0.1"
2414724197
make-error "^1.1.1"
24148-
source-map-support "^0.5.17"
24198+
v8-compile-cache-lib "^3.0.0"
2414924199
yn "3.1.1"
2415024200

2415124201
ts-pnp@^1.1.6:
@@ -24751,6 +24801,11 @@ uuid@^8.0.0, uuid@^8.3.0, uuid@^8.3.1, uuid@^8.3.2:
2475124801
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
2475224802
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
2475324803

24804+
v8-compile-cache-lib@^3.0.0:
24805+
version "3.0.1"
24806+
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
24807+
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
24808+
2475424809
v8-compile-cache@^2.0.3:
2475524810
version "2.3.0"
2475624811
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"

0 commit comments

Comments
 (0)