Skip to content

Commit

Permalink
patch @testing-library/svelte to support Svelte 5 based on testing-li…
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold authored and yannbf committed Mar 5, 2024
1 parent a9b74e5 commit f721c8e
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 9 deletions.
125 changes: 125 additions & 0 deletions code/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion code/renderers/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/svelte": "^4.1.0",
"@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch",
"expect-type": "^0.15.0",
"fs-extra": "^11.1.0",
"jsdom": "^24.0.0",
Expand Down
90 changes: 82 additions & 8 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,30 @@ __metadata:
languageName: node
linkType: hard

"@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":
"@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":
version: 7.23.7
resolution: "@babel/core@npm:7.23.7"
dependencies:
"@ampproject/remapping": "npm:^2.2.0"
"@babel/code-frame": "npm:^7.23.5"
"@babel/generator": "npm:^7.23.6"
"@babel/helper-compilation-targets": "npm:^7.23.6"
"@babel/helper-module-transforms": "npm:^7.23.3"
"@babel/helpers": "npm:^7.23.7"
"@babel/parser": "npm:^7.23.6"
"@babel/template": "npm:^7.22.15"
"@babel/traverse": "npm:^7.23.7"
"@babel/types": "npm:^7.23.6"
convert-source-map: "npm:^2.0.0"
debug: "npm:^4.1.0"
gensync: "npm:^1.0.0-beta.2"
json5: "npm:^2.2.3"
semver: "npm:^6.3.1"
checksum: 38c9934973d384ed83369712978453eac91dc3f22167404dbdb272b64f602e74728a6f37012c53ee57e521b8ae2da60097f050497d9b6a212d28b59cdfb2cd1d
languageName: node
linkType: hard

"@babel/core@npm:^7.23.9":
version: 7.23.9
resolution: "@babel/core@npm:7.23.9"
dependencies:
Expand Down Expand Up @@ -740,6 +763,17 @@ __metadata:
languageName: node
linkType: hard

"@babel/helpers@npm:^7.23.7":
version: 7.23.8
resolution: "@babel/helpers@npm:7.23.8"
dependencies:
"@babel/template": "npm:^7.22.15"
"@babel/traverse": "npm:^7.23.7"
"@babel/types": "npm:^7.23.6"
checksum: d9fce49278a31aaa017a40c1fcdaa450999c49e33582cce8138058c58b1acbe3a2d2488f010f28e91dedf0d35795ea32f0ee18745bbb6c7f54052ae0fd7e6a3f
languageName: node
linkType: hard

"@babel/highlight@npm:^7.23.4":
version: 7.23.4
resolution: "@babel/highlight@npm:7.23.4"
Expand Down Expand Up @@ -2238,6 +2272,24 @@ __metadata:
languageName: node
linkType: hard

"@babel/traverse@npm:^7.23.7":
version: 7.23.7
resolution: "@babel/traverse@npm:7.23.7"
dependencies:
"@babel/code-frame": "npm:^7.23.5"
"@babel/generator": "npm:^7.23.6"
"@babel/helper-environment-visitor": "npm:^7.22.20"
"@babel/helper-function-name": "npm:^7.23.0"
"@babel/helper-hoist-variables": "npm:^7.22.5"
"@babel/helper-split-export-declaration": "npm:^7.22.6"
"@babel/parser": "npm:^7.23.6"
"@babel/types": "npm:^7.23.6"
debug: "npm:^4.3.1"
globals: "npm:^11.1.0"
checksum: e32fceb4249beec2bde83968ddffe17444221c1ee5cd18c543a2feaf94e3ca83f2a4dfbc2dcca87cf226e0105973e0fe3717063a21e982a9de9945615ab3f3f5
languageName: node
linkType: hard

"@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":
version: 7.23.9
resolution: "@babel/types@npm:7.23.9"
Expand Down Expand Up @@ -6841,7 +6893,7 @@ __metadata:
"@storybook/types": "workspace:*"
"@sveltejs/vite-plugin-svelte": "npm:^3.0.2"
"@testing-library/jest-dom": "npm:^6.4.1"
"@testing-library/svelte": "npm:^4.1.0"
"@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch"
expect-type: "npm:^0.15.0"
fs-extra: "npm:^11.1.0"
jsdom: "npm:^24.0.0"
Expand Down Expand Up @@ -7281,14 +7333,25 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/svelte@npm:^4.1.0":
version: 4.2.1
resolution: "@testing-library/svelte@npm:4.2.1"
"@testing-library/svelte@npm:4.1.0":
version: 4.1.0
resolution: "@testing-library/svelte@npm:4.1.0"
dependencies:
"@testing-library/dom": "npm:^9.3.1"
peerDependencies:
svelte: ^3 || ^4
checksum: 4335d8be01bd1e6475062be218577fa1d1b24e9dc97c33db523c5af6b044b97625f65a58bb5f73225064c5a2bf9ae9696948a2bcd2d82c1c25423014d635dce2
languageName: node
linkType: hard

"@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
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"
dependencies:
"@testing-library/dom": "npm:^9.3.1"
peerDependencies:
svelte: ^3 || ^4 || ^5
checksum: 1fbac26915ce7ce3d3cbd02e9231f34a3f2798c7c7d1db2f555579779037aa463ffad0657af9e06f131205e8d4409808125b18dba308652bc3e7a4402f6b46a8
svelte: ^3 || ^4
checksum: 80f213b04582d0d64755e01d8a9a8b556883d2fb58f4b34902025b0459b1bb9beab4dc128d9dbee4c7d6ceb3d3107fd450cde0940176a4c2eecb513f2575514e
languageName: node
linkType: hard

Expand Down Expand Up @@ -8165,7 +8228,18 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:*, @types/react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, @types/react@npm:^18.0.37":
"@types/react@npm:*, @types/react@npm:^18.0.37":
version: 18.2.43
resolution: "@types/react@npm:18.2.43"
dependencies:
"@types/prop-types": "npm:*"
"@types/scheduler": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10477a50fbd3c0cc5b8a2ade679f442717f68fb27c8460b2aa1d3256cd18c48f742bbe5b9ee37a8c4c5f832ffa37b3a23c09fd96dd880a8e3182d8929c05e803
languageName: node
linkType: hard

"@types/react@npm:^16.8.0 || ^17.0.0 || ^18.0.0":
version: 18.2.55
resolution: "@types/react@npm:18.2.55"
dependencies:
Expand Down

0 comments on commit f721c8e

Please sign in to comment.