Skip to content

Commit ba4bcbe

Browse files
authored
Bump jsdom to latest version as was getting error TS2305: Module '"parse5"' has no exported member 'ElementLocation'. (#945)
1 parent df9d5bb commit ba4bcbe

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

packages/rrweb-snapshot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"devDependencies": {
4343
"@types/chai": "^4.1.4",
4444
"@types/jest": "^27.0.2",
45-
"@types/jsdom": "^16.2.4",
45+
"@types/jsdom": "^20.0.0",
4646
"@types/node": "^10.11.3",
4747
"@types/puppeteer": "^1.12.4",
4848
"cross-env": "^5.2.0",

yarn.lock

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,14 +2054,14 @@
20542054
jest-matcher-utils "^27.0.0"
20552055
pretty-format "^27.0.0"
20562056

2057-
"@types/jsdom@^16.2.4":
2058-
version "16.2.13"
2059-
resolved "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.13.tgz"
2060-
integrity sha512-8JQCjdeAidptSsOcRWk2iTm9wCcwn9l+kRG6k5bzUacrnm1ezV4forq0kWjUih/tumAeoG+OspOvQEbbRucBTw==
2057+
"@types/jsdom@^20.0.0":
2058+
version "20.0.0"
2059+
resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-20.0.0.tgz#4414fb629465167f8b7b3804b9e067bdd99f1791"
2060+
integrity sha512-YfAchFs0yM1QPDrLm2VHe+WHGtqms3NXnXAMolrgrVP6fgBHHXy1ozAbo/dFtPNtZC/m66bPiCTWYmqp1F14gA==
20612061
dependencies:
20622062
"@types/node" "*"
2063-
"@types/parse5" "*"
20642063
"@types/tough-cookie" "*"
2064+
parse5 "^7.0.0"
20652065

20662066
"@types/json-schema@^7.0.9":
20672067
version "7.0.11"
@@ -2113,11 +2113,6 @@
21132113
resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz"
21142114
integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==
21152115

2116-
"@types/parse5@*":
2117-
version "6.0.1"
2118-
resolved "https://registry.npmjs.org/@types/parse5/-/parse5-6.0.1.tgz"
2119-
integrity sha512-ARATsLdrGPUnaBvxLhUlnltcMgn7pQG312S8ccdYlnyijabrX9RN/KN/iGj9Am96CoW8e/K9628BA7Bv4XHdrA==
2120-
21212116
"@types/pixelmatch@*":
21222117
version "5.2.4"
21232118
resolved "https://registry.npmjs.org/@types/pixelmatch/-/pixelmatch-5.2.4.tgz"
@@ -3915,7 +3910,6 @@ csso@^4.0.2:
39153910

39163911
cssom@^0.4.4, "cssom@https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz":
39173912
version "0.6.0"
3918-
uid ed298055b97cbddcdeb278f904857629dec5e0e1
39193913
resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz#ed298055b97cbddcdeb278f904857629dec5e0e1"
39203914

39213915
cssom@^0.5.0:
@@ -4287,6 +4281,11 @@ entities@^2.0.0:
42874281
resolved "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz"
42884282
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==
42894283

4284+
entities@^4.3.0:
4285+
version "4.3.1"
4286+
resolved "https://registry.yarnpkg.com/entities/-/entities-4.3.1.tgz#c34062a94c865c322f9d67b4384e4169bcede6a4"
4287+
integrity sha512-o4q/dYJlmyjP2zfnaWDUC6A3BQFmVTX+tZPezK7k0GLSU9QYCauscf5Y+qcEPzKL+EixVouYDgLQK5H9GrLpkg==
4288+
42904289
entities@~2.1.0:
42914290
version "2.1.0"
42924291
resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5"
@@ -8672,6 +8671,13 @@ [email protected], parse5@^6.0.1:
86728671
resolved "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz"
86738672
integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==
86748673

8674+
parse5@^7.0.0:
8675+
version "7.0.0"
8676+
resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.0.0.tgz#51f74a5257f5fcc536389e8c2d0b3802e1bfa91a"
8677+
integrity sha512-y/t8IXSPWTuRZqXc0ajH/UwDj4mnqLEbSttNbThcFhGrZuOyoyvNBO85PBp2jQa55wY9d07PBNjsK8ZP3K5U6g==
8678+
dependencies:
8679+
entities "^4.3.0"
8680+
86758681
parseurl@~1.3.3:
86768682
version "1.3.3"
86778683
resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz"

0 commit comments

Comments
 (0)