Skip to content

Commit c7153b7

Browse files
committed
Newer versions of nswapi break rrdom-nodejs tests.
Example: FAIL test/document-nodejs.test.ts > RRDocument for nodejs environment > RRDocument API > querySelectorAll TypeError: e[api] is not a function ❯ byTag ../../node_modules/nwsapi/src/nwsapi.js:390:37 ❯ Array.<anonymous> ../../node_modules/nwsapi/src/nwsapi.js:327:113 ❯ collect ../../node_modules/nwsapi/src/nwsapi.js:1578:32 ❯ Object._querySelectorAll [as select] ../../node_modules/nwsapi/src/nwsapi.js:1533:36 ❯ RRDocument.querySelectorAll src/document-nodejs.ts:96:24
1 parent 2872d0e commit c7153b7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/rrdom-nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"dependencies": {
5555
"cssom": "^0.5.0",
5656
"cssstyle": "^2.3.0",
57-
"nwsapi": "^2.2.0",
57+
"nwsapi": "2.2.0",
5858
"rrdom": "^2.0.0-alpha.16",
5959
"rrweb-snapshot": "^2.0.0-alpha.16"
6060
}

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7812,6 +7812,11 @@ nth-check@^2.0.1:
78127812
dependencies:
78137813
boolbase "^1.0.0"
78147814

7815+
7816+
version "2.2.0"
7817+
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
7818+
integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
7819+
78157820
nwsapi@^2.2.0:
78167821
version "2.2.10"
78177822
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.10.tgz#0b77a68e21a0b483db70b11fad055906e867cda8"
@@ -10033,12 +10038,7 @@ [email protected]:
1003310038
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372"
1003410039
integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==
1003510040

10036-
typescript@^5.0.3:
10037-
version "5.4.5"
10038-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611"
10039-
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==
10040-
10041-
typescript@^5.4.5:
10041+
typescript@^5.0.3, typescript@^5.4.5:
1004210042
version "5.4.5"
1004310043
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611"
1004410044
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==
@@ -10272,7 +10272,7 @@ vite-plugin-zip-pack@^1.2.2:
1027210272
dependencies:
1027310273
jszip "^3.10.1"
1027410274

10275-
vite@^5.0.0, "vite@^5.0.0 || ^4.1.4", vite@^5.2.8:
10275+
vite@^5.0.0, "vite@^5.0.0 || ^4.1.4":
1027610276
version "5.2.13"
1027710277
resolved "https://registry.yarnpkg.com/vite/-/vite-5.2.13.tgz#945ababcbe3d837ae2479c29f661cd20bc5e1a80"
1027810278
integrity sha512-SSq1noJfY9pR3I1TUENL3rQYDQCFqgD+lM6fTRAM8Nv6Lsg5hDLaXkjETVeBt+7vZBCMoibD+6IWnT2mJ+Zb/A==

0 commit comments

Comments
 (0)