diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 3aab30d30..d6b3005d7 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -21,13 +21,13 @@ jobs: include: - node-version: 20.x os: ubuntu-latest - browser: chrome-119-0 + browser: chrome-120-0 - node-version: 20.x os: ubuntu-latest - browser: chrome-116-0 + browser: chrome-115-0 - node-version: 20.x os: ubuntu-latest - browser: chrome-113-0 + browser: chrome-110-0 - node-version: 20.x os: ubuntu-latest browser: chrome-103-0 diff --git a/.github/workflows/new-profiles.yml b/.github/workflows/new-profiles.yml index a6c559d98..9a15e9134 100644 --- a/.github/workflows/new-profiles.yml +++ b/.github/workflows/new-profiles.yml @@ -90,5 +90,6 @@ jobs: with: branch: main repository: ./unblocked + commit_options: '--no-verify' push_options: '--no-verify' commit_message: "chore(profiles): automatic updates" diff --git a/agent/main/package.json b/agent/main/package.json index 72f1fb7fa..20b8aa95a 100644 --- a/agent/main/package.json +++ b/agent/main/package.json @@ -4,7 +4,7 @@ "description": "Fully programmable Devtools Protocol based browser", "main": "index.js", "dependencies": { - "@ulixee/chrome-120-0": "^6099.225.8", + "@ulixee/chrome-121-0": "^6167.86.8", "@ulixee/chrome-app": "^1.0.3", "@ulixee/commons": "2.0.0-alpha.25", "@ulixee/js-path": "2.0.0-alpha.25", diff --git a/plugins/default-browser-emulator/test/detection.test.ts b/plugins/default-browser-emulator/test/detection.test.ts index 3bd85fce7..c374eda71 100644 --- a/plugins/default-browser-emulator/test/detection.test.ts +++ b/plugins/default-browser-emulator/test/detection.test.ts @@ -481,7 +481,9 @@ test('stack overflow test should match chrome', async () => { }>(`window.betrayalResult`); expect(result.message).toBe('Maximum call stack size exceeded'); expect(result.name).toBe('RangeError'); - expect(result.stack).toContain(`at iWillBetrayYouWithMyLongName (${koaServer.baseUrl}/betrayal:5:9)`); + expect(result.stack).toContain( + `at iWillBetrayYouWithMyLongName (${koaServer.baseUrl}/betrayal:5:9)`, + ); }); test('should properly maintain stack traces in toString', async () => { @@ -717,10 +719,12 @@ describe('Proxy detections', () => { const targetStackLine = ((error.stack || '').split('\n') || [])[1]; if (method === '__proto__') { - const targetStack = - chromeVersion >= 102 - ? ` at set __proto__ [as __proto__]` - : ` at Function.set __proto__ [as __proto__]`; + let targetStack = ` at Function.set __proto__ [as __proto__]`; + if (chromeVersion >= 121) { + targetStack = ` at set __proto__ ()`; + } else if (chromeVersion >= 102) { + targetStack = ` at set __proto__ [as __proto__]`; + } if (chromeVersion >= 102 && !targetStackLine.startsWith(targetStack)) { return `Stack doesnt have "${targetStack.trim()}": ${error.stack}`; } diff --git a/yarn.lock b/yarn.lock index f9f4d0b93..a0676ccad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1812,10 +1812,10 @@ dependencies: "@ulixee/chrome-app" "^1.0.3" -"@ulixee/chrome-120-0@^6099.225.8": - version "6099.225.8" - resolved "https://registry.npmjs.org/@ulixee/chrome-120-0/-/chrome-120-0-6099.225.8.tgz" - integrity sha512-W86E+tGbZoKmzVBwTnxPMozvG2G676xXa6MptwbrCT1Txx3v2NQKMDL9KUew4r+NSg0pmImN8s/8xhzVSI80LQ== +"@ulixee/chrome-121-0@^6167.86.8": + version "6167.86.8" + resolved "https://registry.yarnpkg.com/@ulixee/chrome-121-0/-/chrome-121-0-6167.86.8.tgz#433f59f75b9657b316f12b6c7d959c4aa0038f03" + integrity sha512-FcvH16fTBWJypsn2ODZueqp8I1gaq/4pzfeS/jTgids+FrivA4krvb74+1A+bh4R4shujTRyZYWMuC3NHmmREw== dependencies: "@ulixee/chrome-app" "^1.0.3"