Skip to content

Commit f721c8e

Browse files
JReinholdyannbf
authored andcommitted
patch @testing-library/svelte to support Svelte 5 based on testing-library/svelte-testing-library#285
1 parent a9b74e5 commit f721c8e

File tree

3 files changed

+208
-9
lines changed

3 files changed

+208
-9
lines changed

code/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch

Lines changed: 125 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

code/renderers/svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"devDependencies": {
6464
"@sveltejs/vite-plugin-svelte": "^3.0.2",
6565
"@testing-library/jest-dom": "^6.4.1",
66-
"@testing-library/svelte": "^4.1.0",
66+
"@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch",
6767
"expect-type": "^0.15.0",
6868
"fs-extra": "^11.1.0",
6969
"jsdom": "^24.0.0",

code/yarn.lock

Lines changed: 82 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,30 @@ __metadata:
444444
languageName: node
445445
linkType: hard
446446

447-
"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.18.9, @babel/core@npm:^7.20.12, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.9, @babel/core@npm:^7.3.4, @babel/core@npm:^7.7.5":
447+
"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.13.16, @babel/core@npm:^7.18.9, @babel/core@npm:^7.20.12, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.3.4, @babel/core@npm:^7.7.5":
448+
version: 7.23.7
449+
resolution: "@babel/core@npm:7.23.7"
450+
dependencies:
451+
"@ampproject/remapping": "npm:^2.2.0"
452+
"@babel/code-frame": "npm:^7.23.5"
453+
"@babel/generator": "npm:^7.23.6"
454+
"@babel/helper-compilation-targets": "npm:^7.23.6"
455+
"@babel/helper-module-transforms": "npm:^7.23.3"
456+
"@babel/helpers": "npm:^7.23.7"
457+
"@babel/parser": "npm:^7.23.6"
458+
"@babel/template": "npm:^7.22.15"
459+
"@babel/traverse": "npm:^7.23.7"
460+
"@babel/types": "npm:^7.23.6"
461+
convert-source-map: "npm:^2.0.0"
462+
debug: "npm:^4.1.0"
463+
gensync: "npm:^1.0.0-beta.2"
464+
json5: "npm:^2.2.3"
465+
semver: "npm:^6.3.1"
466+
checksum: 38c9934973d384ed83369712978453eac91dc3f22167404dbdb272b64f602e74728a6f37012c53ee57e521b8ae2da60097f050497d9b6a212d28b59cdfb2cd1d
467+
languageName: node
468+
linkType: hard
469+
470+
"@babel/core@npm:^7.23.9":
448471
version: 7.23.9
449472
resolution: "@babel/core@npm:7.23.9"
450473
dependencies:
@@ -740,6 +763,17 @@ __metadata:
740763
languageName: node
741764
linkType: hard
742765

766+
"@babel/helpers@npm:^7.23.7":
767+
version: 7.23.8
768+
resolution: "@babel/helpers@npm:7.23.8"
769+
dependencies:
770+
"@babel/template": "npm:^7.22.15"
771+
"@babel/traverse": "npm:^7.23.7"
772+
"@babel/types": "npm:^7.23.6"
773+
checksum: d9fce49278a31aaa017a40c1fcdaa450999c49e33582cce8138058c58b1acbe3a2d2488f010f28e91dedf0d35795ea32f0ee18745bbb6c7f54052ae0fd7e6a3f
774+
languageName: node
775+
linkType: hard
776+
743777
"@babel/highlight@npm:^7.23.4":
744778
version: 7.23.4
745779
resolution: "@babel/highlight@npm:7.23.4"
@@ -2238,6 +2272,24 @@ __metadata:
22382272
languageName: node
22392273
linkType: hard
22402274

2275+
"@babel/traverse@npm:^7.23.7":
2276+
version: 7.23.7
2277+
resolution: "@babel/traverse@npm:7.23.7"
2278+
dependencies:
2279+
"@babel/code-frame": "npm:^7.23.5"
2280+
"@babel/generator": "npm:^7.23.6"
2281+
"@babel/helper-environment-visitor": "npm:^7.22.20"
2282+
"@babel/helper-function-name": "npm:^7.23.0"
2283+
"@babel/helper-hoist-variables": "npm:^7.22.5"
2284+
"@babel/helper-split-export-declaration": "npm:^7.22.6"
2285+
"@babel/parser": "npm:^7.23.6"
2286+
"@babel/types": "npm:^7.23.6"
2287+
debug: "npm:^4.3.1"
2288+
globals: "npm:^11.1.0"
2289+
checksum: e32fceb4249beec2bde83968ddffe17444221c1ee5cd18c543a2feaf94e3ca83f2a4dfbc2dcca87cf226e0105973e0fe3717063a21e982a9de9945615ab3f3f5
2290+
languageName: node
2291+
linkType: hard
2292+
22412293
"@babel/types@npm:^7.0.0, @babel/types@npm:^7.11.5, @babel/types@npm:^7.18.9, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.4, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.4, @babel/types@npm:^7.23.6, @babel/types@npm:^7.23.9, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.6.1, @babel/types@npm:^7.7.2, @babel/types@npm:^7.8.3, @babel/types@npm:^7.9.6":
22422294
version: 7.23.9
22432295
resolution: "@babel/types@npm:7.23.9"
@@ -6841,7 +6893,7 @@ __metadata:
68416893
"@storybook/types": "workspace:*"
68426894
"@sveltejs/vite-plugin-svelte": "npm:^3.0.2"
68436895
"@testing-library/jest-dom": "npm:^6.4.1"
6844-
"@testing-library/svelte": "npm:^4.1.0"
6896+
"@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch"
68456897
expect-type: "npm:^0.15.0"
68466898
fs-extra: "npm:^11.1.0"
68476899
jsdom: "npm:^24.0.0"
@@ -7281,14 +7333,25 @@ __metadata:
72817333
languageName: node
72827334
linkType: hard
72837335

7284-
"@testing-library/svelte@npm:^4.1.0":
7285-
version: 4.2.1
7286-
resolution: "@testing-library/svelte@npm:4.2.1"
7336+
"@testing-library/svelte@npm:4.1.0":
7337+
version: 4.1.0
7338+
resolution: "@testing-library/svelte@npm:4.1.0"
7339+
dependencies:
7340+
"@testing-library/dom": "npm:^9.3.1"
7341+
peerDependencies:
7342+
svelte: ^3 || ^4
7343+
checksum: 4335d8be01bd1e6475062be218577fa1d1b24e9dc97c33db523c5af6b044b97625f65a58bb5f73225064c5a2bf9ae9696948a2bcd2d82c1c25423014d635dce2
7344+
languageName: node
7345+
linkType: hard
7346+
7347+
"@testing-library/svelte@patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch":
7348+
version: 4.1.0
7349+
resolution: "@testing-library/svelte@patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch::version=4.1.0&hash=b98ce0"
72877350
dependencies:
72887351
"@testing-library/dom": "npm:^9.3.1"
72897352
peerDependencies:
7290-
svelte: ^3 || ^4 || ^5
7291-
checksum: 1fbac26915ce7ce3d3cbd02e9231f34a3f2798c7c7d1db2f555579779037aa463ffad0657af9e06f131205e8d4409808125b18dba308652bc3e7a4402f6b46a8
7353+
svelte: ^3 || ^4
7354+
checksum: 80f213b04582d0d64755e01d8a9a8b556883d2fb58f4b34902025b0459b1bb9beab4dc128d9dbee4c7d6ceb3d3107fd450cde0940176a4c2eecb513f2575514e
72927355
languageName: node
72937356
linkType: hard
72947357

@@ -8165,7 +8228,18 @@ __metadata:
81658228
languageName: node
81668229
linkType: hard
81678230

8168-
"@types/react@npm:*, @types/react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, @types/react@npm:^18.0.37":
8231+
"@types/react@npm:*, @types/react@npm:^18.0.37":
8232+
version: 18.2.43
8233+
resolution: "@types/react@npm:18.2.43"
8234+
dependencies:
8235+
"@types/prop-types": "npm:*"
8236+
"@types/scheduler": "npm:*"
8237+
csstype: "npm:^3.0.2"
8238+
checksum: 10477a50fbd3c0cc5b8a2ade679f442717f68fb27c8460b2aa1d3256cd18c48f742bbe5b9ee37a8c4c5f832ffa37b3a23c09fd96dd880a8e3182d8929c05e803
8239+
languageName: node
8240+
linkType: hard
8241+
8242+
"@types/react@npm:^16.8.0 || ^17.0.0 || ^18.0.0":
81698243
version: 18.2.55
81708244
resolution: "@types/react@npm:18.2.55"
81718245
dependencies:

0 commit comments

Comments
 (0)