Skip to content

Commit 5a7f757

Browse files
author
rocketraccoon
committed
chore(puppeteer-core): INFRADUTY-29312: update puppeteer-core
1 parent 808d431 commit 5a7f757

File tree

7 files changed

+21
-73
lines changed

7 files changed

+21
-73
lines changed

e2e/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,36 +44,36 @@
4444
"@testing-library/svelte": "^4.0.5",
4545
"@testing-library/user-event": "^14.5.2",
4646
"@testing-library/vue": "^8.0.1",
47+
"@testplane/wdio-config": "workspace:*",
48+
"@testplane/wdio-repl": "workspace:*",
49+
"@testplane/wdio-types": "workspace:*",
50+
"@testplane/webdriver": "workspace:*",
51+
"@testplane/webdriverio": "workspace:*",
4752
"@types/mocha": "^10.0.6",
4853
"@types/testing-library__jest-dom": "^5.14.9",
4954
"@vue/compiler-dom": "^3.4.19",
5055
"@vue/test-utils": "^2.4.3",
5156
"@wdio/browser-runner": "workspace:*",
52-
"@testplane/wdio-config": "workspace:*",
5357
"@wdio/cli": "workspace:*",
5458
"@wdio/dot-reporter": "workspace:*",
5559
"@wdio/globals": "workspace:*",
5660
"@wdio/junit-reporter": "workspace:*",
5761
"@wdio/lighthouse-service": "workspace:*",
5862
"@wdio/local-runner": "workspace:*",
5963
"@wdio/mocha-framework": "workspace:*",
60-
"@testplane/wdio-repl": "workspace:*",
6164
"@wdio/sauce-service": "workspace:*",
6265
"@wdio/shared-store-service": "workspace:*",
6366
"@wdio/spec-reporter": "workspace:*",
64-
"@testplane/wdio-types": "workspace:*",
6567
"babel-plugin-transform-hook-names": "^1.0.2",
6668
"cross-env": "^7.0.3",
6769
"expect": "^29.7.0",
6870
"graphql-request": "^6.1.0",
6971
"is-url": "^1.2.4",
7072
"mocha": "^10.2.0",
71-
"puppeteer-core": "^22.2.0",
73+
"puppeteer-core": "^23.11.1",
7274
"string-width": "^7.1.0",
7375
"tailwindcss": "^3.4.1",
74-
"vite": "^5.1.3",
75-
"@testplane/webdriver": "workspace:*",
76-
"@testplane/webdriverio": "workspace:*"
76+
"vite": "^5.1.3"
7777
},
7878
"dependencies": {
7979
"@stencil-community/router": "^1.0.2",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
"@serenity-js/core": "^3.25.3",
7474
"@stencil/core": "^4.20.0",
7575
"@sveltejs/vite-plugin-svelte": "^3.1.1",
76+
"@testplane/wdio-config": "workspace:*",
77+
"@testplane/wdio-repl": "workspace:*",
7678
"@types/archiver": "^6.0.2",
7779
"@types/cheerio": "^0.22.35",
7880
"@types/inquirer": "^9.0.7",
@@ -89,9 +91,7 @@
8991
"@vitejs/plugin-react": "^4.3.1",
9092
"@vitejs/plugin-vue": "^5.1.2",
9193
"@vitest/coverage-v8": "^2.0.5",
92-
"@testplane/wdio-config": "workspace:*",
9394
"@wdio/eslint": "^0.0.5",
94-
"@testplane/wdio-repl": "workspace:*",
9595
"camelcase": "^8.0.0",
9696
"cddl": "^0.8.5",
9797
"cddl2ts": "^0.2.2",
@@ -114,7 +114,7 @@
114114
"lerna-changelog": "^2.2.0",
115115
"mime-types": "^2.1.35",
116116
"npm-run-all2": "^6.2.2",
117-
"puppeteer-core": "^23.0.2",
117+
"puppeteer-core": "^23.11.1",
118118
"recast": "^0.23.9",
119119
"recursive-readdir": "^2.2.3",
120120
"rimraf": "^6.0.1",

packages/webdriverio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"lodash.clonedeep": "^4.5.0",
9797
"lodash.zip": "^4.2.0",
9898
"minimatch": "9.0.0",
99-
"puppeteer-core": "^20.9.0",
99+
"puppeteer-core": "^23.11.1",
100100
"query-selector-shadow-dom": "^1.0.1",
101101
"resq": "^1.11.0",
102102
"rgb2hex": "0.2.5",

packages/webdriverio/src/commands/browser/mock.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getBrowserObject } from '@testplane/wdio-utils'
77
import type { MockFilterOptions } from '../../utils/interception/types.js'
88
import BidiInterception from '../../utils/interception/bidi.js'
99
import { getContextManager } from '../../session/context.js'
10-
import type { CDPSession } from 'puppeteer-core/lib/esm/puppeteer/common/Connection.js'
10+
import type { CDPSession, Protocol, Handler } from 'puppeteer-core'
1111

1212
export const SESSION_MOCKS: Record<string, Set<Interception>> = {}
1313
export const SESSION_BIDI_MOCKS: Record<string, Set<BidiInterception>> = {}
@@ -181,7 +181,7 @@ export async function mock(
181181
client.on(
182182
'Fetch.requestPaused',
183183
(NetworkInterception as unknown as typeof DevtoolsNetworkInterception)
184-
.handleRequestInterception(client, SESSION_MOCKS[handle])
184+
.handleRequestInterception(client, SESSION_MOCKS[handle]) as unknown as Handler<Protocol.Fetch.RequestPausedEvent>
185185
)
186186
}
187187

packages/webdriverio/src/utils/interception/devtools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'node:fs/promises'
22
import path from 'node:path'
33
import logger from '@testplane/wdio-logger'
4-
import type { CDPSession } from 'puppeteer-core/lib/esm/puppeteer/common/Connection.js'
4+
import type { CDPSession } from 'puppeteer-core'
55
import type { Protocol } from 'devtools-protocol'
66

77
import Interception from './index.js'

packages/webdriverio/src/utils/interception/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { local } from '@testplane/webdriver'
22
import type { Cookie } from '@testplane/wdio-protocols'
33

4-
import type { CDPSession } from 'puppeteer-core/lib/esm/puppeteer/common/Connection.js'
4+
import type { CDPSession } from 'puppeteer-core'
55
import type { JsonCompatible } from '@testplane/wdio-types'
66

77
// export type MockFilterOptions = {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)