Skip to content

Commit ff50660

Browse files
committed
Bump version
1 parent d974437 commit ff50660

File tree

4 files changed

+29
-20
lines changed

4 files changed

+29
-20
lines changed

.changeset/fair-papayas-doubt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"sveltekit-playwright-fetch-mock": patch
3+
---
4+
5+
Update Playwright TypeScript import

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
"devDependencies": {
88
"@babel/preset-typescript": "^7.18.6",
99
"@changesets/cli": "^2.26.0",
10-
"@playwright/test": "^1.29",
10+
"@playwright/test": "^1.38.0",
1111
"@sveltejs/kit": "^1.0",
12+
"playwright-core": "^1.38.0",
1213
"tsup": "^6.5.0",
1314
"typescript": "^4.9.4",
1415
"vite": "^4.0"
1516
},
1617
"name": "sveltekit-playwright-fetch-mock",
17-
"version": "0.5.0",
18+
"version": "0.5.1",
1819
"description": "Tools for mocking SSR fetch() requests in SvelteKit for use in Playwright",
1920
"main": "dist/index.js",
2021
"module": "dist/index.mjs",
@@ -24,7 +25,7 @@
2425
"license": "MIT",
2526
"dependencies": {},
2627
"peerDependencies": {
27-
"@playwright/test": "^1.29",
28+
"@playwright/test": "^1.38",
2829
"@sveltejs/kit": "^1.0.0",
2930
"vite": "^4.0"
3031
}

src/mockFetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Page } from "@playwright/test";
1+
import type { Page } from "playwright-core";
22
import { COOKIE_NAME } from "./handle";
33

44
type MockResponseData = {

yarn.lock

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -594,13 +594,12 @@
594594
"@nodelib/fs.scandir" "2.1.5"
595595
fastq "^1.6.0"
596596

597-
"@playwright/test@^1.29":
598-
version "1.29.1"
599-
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.29.1.tgz#f2ed4dc143b9c7825a7ad2703b2f1ac4354e1145"
600-
integrity sha512-iQxk2DX5U9wOGV3+/Jh9OHPsw5H3mleUL2S4BgQuwtlAfK3PnKvn38m4Rg9zIViGHVW24opSm99HQm/UFLEy6w==
597+
"@playwright/test@^1.38.0":
598+
version "1.38.0"
599+
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.38.0.tgz#0ad33f62394d6a9cb768d0ddfa93b12304c64e13"
600+
integrity sha512-xis/RXXsLxwThKnlIXouxmIvvT3zvQj1JE39GsNieMUrMpb3/GySHDh2j8itCG22qKVD4MYLBp7xB73cUW/UUw==
601601
dependencies:
602-
"@types/node" "*"
603-
playwright-core "1.29.1"
602+
playwright "1.38.0"
604603

605604
"@polka/url@^1.0.0-next.20":
606605
version "1.0.0-next.21"
@@ -655,11 +654,6 @@
655654
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
656655
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
657656

658-
"@types/node@*":
659-
version "18.11.18"
660-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f"
661-
integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==
662-
663657
"@types/node@^12.7.1":
664658
version "12.20.55"
665659
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240"
@@ -1395,7 +1389,7 @@ fs.realpath@^1.0.0:
13951389
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
13961390
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
13971391

1398-
fsevents@~2.3.2:
1392+
fsevents@2.3.2, fsevents@~2.3.2:
13991393
version "2.3.2"
14001394
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
14011395
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
@@ -2189,10 +2183,19 @@ pkg-dir@^4.2.0:
21892183
dependencies:
21902184
find-up "^4.0.0"
21912185

2192-
playwright-core@1.29.1:
2193-
version "1.29.1"
2194-
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.29.1.tgz#9ec15d61c4bd2f386ddf6ce010db53a030345a47"
2195-
integrity sha512-20Ai3d+lMkWpI9YZYlxk8gxatfgax5STW8GaMozAHwigLiyiKQrdkt7gaoT9UQR8FIVDg6qVXs9IoZUQrDjIIg==
2186+
playwright-core@1.38.0, playwright-core@^1.38.0:
2187+
version "1.38.0"
2188+
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.38.0.tgz#cb8e135da1c0b1918b070642372040ed9aa7009a"
2189+
integrity sha512-f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==
2190+
2191+
playwright@1.38.0:
2192+
version "1.38.0"
2193+
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.38.0.tgz#0ee19d38512b7b1f961c0eb44008a6fed373d206"
2194+
integrity sha512-fJGw+HO0YY+fU/F1N57DMO+TmXHTrmr905J05zwAQE9xkuwP/QLDk63rVhmyxh03dYnEhnRbsdbH9B0UVVRB3A==
2195+
dependencies:
2196+
playwright-core "1.38.0"
2197+
optionalDependencies:
2198+
fsevents "2.3.2"
21962199

21972200
postcss-load-config@^3.0.1:
21982201
version "3.1.4"

0 commit comments

Comments
 (0)