From 7209e16b6d508f708ac46af048089e3047e17417 Mon Sep 17 00:00:00 2001 From: Jason Kuhrt Date: Wed, 11 Dec 2024 11:35:37 -0500 Subject: [PATCH] chore: replace puppeteer with playwright (#3540) --- .../__integration-tests__/sveltekit.spec.ts | 11 +- examples/sveltekit/package.json | 11 +- .../__integration-tests__/browser.spec.ts | 10 +- packages/graphql-yoga/package.json | 5 +- pnpm-lock.yaml | 309 +++++------------- renovate.json | 2 +- 6 files changed, 96 insertions(+), 252 deletions(-) diff --git a/examples/sveltekit/__integration-tests__/sveltekit.spec.ts b/examples/sveltekit/__integration-tests__/sveltekit.spec.ts index c795eb2228..38aa723dc6 100644 --- a/examples/sveltekit/__integration-tests__/sveltekit.spec.ts +++ b/examples/sveltekit/__integration-tests__/sveltekit.spec.ts @@ -1,5 +1,5 @@ import { execSync, spawn } from 'node:child_process'; -import puppeteer, { Browser, Page } from 'puppeteer'; +import { Browser, chromium, ElementHandle, Page } from 'playwright'; import { promises as fsPromises } from 'node:fs'; import { join } from 'node:path'; import { setTimeout as setTimeout$ } from 'node:timers/promises'; @@ -58,11 +58,8 @@ describe('SvelteKit integration', () => { // Wait for sveltekit to start await setTimeout$(timings.setup.waitAfterPreview); - // Launch puppeteer - browser = await puppeteer.launch({ - // If you wanna run tests with open browser - // set your PUPPETEER_HEADLESS env to "false" - headless: process.env.PUPPETEER_HEADLESS !== 'false', + browser = await chromium.launch({ + headless: process.env.PLAYWRIGHT_HEADLESS !== 'false', args: ['--incognito', '--no-sandbox', '--disable-setuid-sandbox'] }); @@ -73,7 +70,7 @@ describe('SvelteKit integration', () => { if (page !== undefined) { await page.close(); } - const context = await browser.createBrowserContext(); + const context = await browser.newContext(); page = await context.newPage(); }); diff --git a/examples/sveltekit/package.json b/examples/sveltekit/package.json index 121a56778f..0c9748a464 100644 --- a/examples/sveltekit/package.json +++ b/examples/sveltekit/package.json @@ -13,12 +13,13 @@ "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .", "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .", - "postinstall": "node node_modules/puppeteer/install.mjs" + "postinstall": "playwright install --with-deps" }, "devDependencies": { + "@playwright/browser-chromium": "^1.49.1", "@sveltejs/adapter-auto": "3.2.2", - "@sveltejs/vite-plugin-svelte": "5.0.1", "@sveltejs/kit": "2.10.1", + "@sveltejs/vite-plugin-svelte": "5.0.1", "@types/jest": "^29.0.0", "@typescript-eslint/eslint-plugin": "8.18.0", "@typescript-eslint/parser": "8.18.0", @@ -27,9 +28,9 @@ "eslint-config-prettier": "9.0.0", "eslint-plugin-svelte3": "4.0.0", "jest": "^29.0.0", + "playwright": "^1.49.1", "prettier": "3.4.2", "prettier-plugin-svelte": "3.3.2", - "puppeteer": "23.10.3", "svelte": "5.10.1", "svelte-check": "4.1.1", "svelte-preprocess": "6.0.3", @@ -39,9 +40,9 @@ }, "dependencies": { "@envelop/graphql-jit": "8.0.4", - "graphql-yoga": "workspace:*", "@graphql-yoga/render-graphiql": "workspace:*", - "graphql": "16.9.0" + "graphql": "16.9.0", + "graphql-yoga": "workspace:*" }, "type": "module" } diff --git a/packages/graphql-yoga/__integration-tests__/browser.spec.ts b/packages/graphql-yoga/__integration-tests__/browser.spec.ts index 7dd611771a..60bd2abdf1 100644 --- a/packages/graphql-yoga/__integration-tests__/browser.spec.ts +++ b/packages/graphql-yoga/__integration-tests__/browser.spec.ts @@ -17,7 +17,7 @@ import 'json-bigint-patch'; import { createServer, Server } from 'node:http'; import { AddressInfo } from 'node:net'; import { setTimeout as setTimeout$ } from 'node:timers/promises'; -import puppeteer, { Browser, ElementHandle, Page } from 'puppeteer'; +import { Browser, chromium, ElementHandle, Page } from 'playwright'; import { fakePromise } from '@whatwg-node/server'; import { CORSOptions, createYoga, Repeater } from '../src/index.js'; @@ -230,10 +230,8 @@ describe('browser', () => { beforeAll(async () => { await new Promise(resolve => server.listen(0, resolve)); port = (server.address() as AddressInfo).port; - browser = await puppeteer.launch({ - // If you wanna run tests with open browser - // set your PUPPETEER_HEADLESS env to "false" - headless: process.env.PUPPETEER_HEADLESS !== 'false', + browser = await chromium.launch({ + headless: process.env.PLAYWRIGHT_HEADLESS !== 'false', args: ['--incognito', '--no-sandbox', '--disable-setuid-sandbox'], }); }); @@ -241,7 +239,7 @@ describe('browser', () => { if (page !== undefined) { await page.close(); } - const context = await browser.createBrowserContext(); + const context = await browser.newContext(); const pages = await context.pages(); page = pages[0] || (await context.newPage()); }); diff --git a/packages/graphql-yoga/package.json b/packages/graphql-yoga/package.json index 742f0c8d6e..ab1b027333 100644 --- a/packages/graphql-yoga/package.json +++ b/packages/graphql-yoga/package.json @@ -43,7 +43,7 @@ "check": "tsc --pretty --noEmit", "generate-graphiql-html": "node scripts/generate-graphiql-html.js", "inject-version": "node scripts/inject-version.js", - "postinstall": "node node_modules/puppeteer/install.mjs", + "postinstall": "playwright install --with-deps", "prepack": "bob prepack" }, "peerDependencies": { @@ -69,6 +69,7 @@ "@graphql-yoga/render-graphiql": "workspace:*", "@jest/globals": "^29.2.1", "@n1ru4l/in-memory-live-query-store": "0.10.0", + "@playwright/browser-chromium": "^1.49.1", "@repeaterjs/repeater": "^3.0.4", "@types/node": "22.9.0", "globby": "^14.0.2", @@ -78,7 +79,7 @@ "graphql-sse": "2.1.3", "html-minifier-terser": "7.2.0", "json-bigint-patch": "0.0.8", - "puppeteer": "23.10.3" + "playwright": "^1.49.1" }, "publishConfig": { "directory": "dist", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3c24acfdbf..0f364fba1f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1352,6 +1352,9 @@ importers: specifier: workspace:* version: link:../../packages/graphql-yoga/dist devDependencies: + '@playwright/browser-chromium': + specifier: ^1.49.1 + version: 1.49.1 '@sveltejs/adapter-auto': specifier: 3.2.2 version: 3.2.2(@sveltejs/kit@2.10.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1))) @@ -1385,15 +1388,15 @@ importers: jest: specifier: ^29.0.0 version: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2)) + playwright: + specifier: ^1.49.1 + version: 1.49.1 prettier: specifier: 3.4.2 version: 3.4.2 prettier-plugin-svelte: specifier: 3.3.2 version: 3.3.2(prettier@3.4.2)(svelte@5.10.1) - puppeteer: - specifier: 23.10.3 - version: 23.10.3(typescript@5.7.2) svelte: specifier: 5.10.1 version: 5.10.1 @@ -1626,6 +1629,9 @@ importers: '@n1ru4l/in-memory-live-query-store': specifier: 0.10.0 version: 0.10.0(graphql@16.9.0) + '@playwright/browser-chromium': + specifier: ^1.49.1 + version: 1.49.1 '@repeaterjs/repeater': specifier: ^3.0.4 version: 3.0.6 @@ -1653,9 +1659,9 @@ importers: json-bigint-patch: specifier: 0.0.8 version: 0.0.8 - puppeteer: - specifier: 23.10.3 - version: 23.10.3(typescript@5.7.2) + playwright: + specifier: ^1.49.1 + version: 1.49.1 publishDirectory: dist packages/logger: @@ -6561,6 +6567,10 @@ packages: resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@playwright/browser-chromium@1.49.1': + resolution: {integrity: sha512-LLeyllKSucbojsJBOpdJshwW27ZXZs3oypqffkVWLUvxX2azHJMOevsOcWpjCfoYbpevkaEozM2xHeSUGF00lg==} + engines: {node: '>=18'} + '@pnpm/config.env-replace@1.1.0': resolution: {integrity: sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==} engines: {node: '>=12.22.0'} @@ -6686,11 +6696,6 @@ packages: '@pulumi/query@0.3.0': resolution: {integrity: sha512-xfo+yLRM2zVjVEA4p23IjQWzyWl1ZhWOGobsBqRpIarzLvwNH/RAGaoehdxlhx4X92302DrpdIFgTICMN4P38w==} - '@puppeteer/browsers@2.6.1': - resolution: {integrity: sha512-aBSREisdsGH890S2rQqK82qmQYU3uFpSH8wcZWHgHzl3LfzsxAKbLNiAG9mO8v1Y0UICBeClICxPJvyr0rcuxg==} - engines: {node: '>=18'} - hasBin: true - '@radix-ui/primitive@1.1.0': resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==} @@ -7586,9 +7591,6 @@ packages: resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} - '@tootallnate/quickjs-emscripten@0.23.0': - resolution: {integrity: sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==} - '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -8610,10 +8612,6 @@ packages: ast-types-flow@0.0.8: resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} - ast-types@0.13.4: - resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==} - engines: {node: '>=4'} - astral-regex@2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} @@ -8814,10 +8812,6 @@ packages: resolution: {integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==} engines: {node: ^4.5.0 || >= 5.9} - basic-ftp@5.0.5: - resolution: {integrity: sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==} - engines: {node: '>=10.0.0'} - before-after-hook@2.2.3: resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} @@ -9136,11 +9130,6 @@ packages: resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} engines: {node: '>=6.0'} - chromium-bidi@0.8.0: - resolution: {integrity: sha512-uJydbGdTw0DEUjhoogGveneJVWX/9YuqkWePzMmkBYwtdAqo5d3J/ovNKFr+/2hWXYmYCr6it8mSSTIj6SS6Ug==} - peerDependencies: - devtools-protocol: '*' - ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} @@ -9517,15 +9506,6 @@ packages: typescript: optional: true - cosmiconfig@9.0.0: - resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} - engines: {node: '>=14'} - peerDependencies: - typescript: '>=4.9.5' - peerDependenciesMeta: - typescript: - optional: true - cp-file@10.0.0: resolution: {integrity: sha512-vy2Vi1r2epK5WqxOLnskeKeZkdZvTKfFZQCplE3XWsP+SUJyd5XAUFC9lFgTjjXJF2GMne/UML14iEmkAaDfFg==} engines: {node: '>=14.16'} @@ -9788,10 +9768,6 @@ packages: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} - data-uri-to-buffer@6.0.2: - resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==} - engines: {node: '>= 14'} - data-view-buffer@1.0.1: resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} engines: {node: '>= 0.4'} @@ -9931,10 +9907,6 @@ packages: defu@6.1.4: resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} - degenerator@5.0.1: - resolution: {integrity: sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==} - engines: {node: '>= 14'} - delaunator@5.0.1: resolution: {integrity: sha512-8nvh+XBe96aCESrGOqMp/84b13H9cdKbG5P2ejQCh4d4sK9RL4371qou9drQjMhvnPmhWl5hnmqbEE0fXr9Xnw==} @@ -10034,9 +10006,6 @@ packages: devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} - devtools-protocol@0.0.1367902: - resolution: {integrity: sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==} - dezalgo@1.0.4: resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} @@ -11184,10 +11153,6 @@ packages: get-tsconfig@4.8.1: resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==} - get-uri@6.0.4: - resolution: {integrity: sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==} - engines: {node: '>= 14'} - gh-release-fetch@4.0.3: resolution: {integrity: sha512-TOiP1nwLsH5shG85Yt6v6Kjq5JU/44jXyEpbcfPgmj3C829yeXIlx9nAEwQRaxtRF3SJinn2lz7XUkfG9W/U4g==} engines: {node: ^14.18.0 || ^16.13.0 || >=18.0.0} @@ -13349,9 +13314,6 @@ packages: resolution: {integrity: sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==} engines: {node: '>= 18'} - mitt@3.0.1: - resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} - mj-context-menu@0.6.1: resolution: {integrity: sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA==} @@ -13502,10 +13464,6 @@ packages: resolution: {integrity: sha512-PLw+IskyiY+GZNvheR0JgBXIuwebKowY/JU1QBArnXT5Tza1cFbSRr2LJVdiAJCvtbYY73CapfJeSMp36nRjjQ==} engines: {node: ^14.16.0 || >=16.0.0} - netmask@2.0.2: - resolution: {integrity: sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==} - engines: {node: '>= 0.4.0'} - next-auth@4.24.11: resolution: {integrity: sha512-pCFXzIDQX7xmHFs4KVH4luCjaCbuPRtZ9oBUjUhOk84mZ9WVPf94n87TxYI4rSRf9HmfHEF8Yep3JrYDVOo3Cw==} peerDependencies: @@ -14011,14 +13969,6 @@ packages: resolution: {integrity: sha512-lwx6u1CotQYPVju77R+D0vFomni/AqRfqLmqQ8hekklqZ6gAY9rONh7lBQ0uxWMkC2AuX9b2DVAl8To0NyP1JA==} engines: {node: '>=12'} - pac-proxy-agent@7.1.0: - resolution: {integrity: sha512-Z5FnLVVZSnX7WjBg0mhDtydeRZ1xMcATZThjySQUHqr+0ksP8kqaw23fNKkaaN/Z8gwLUs/W7xdl0I75eP2Xyw==} - engines: {node: '>= 14'} - - pac-resolver@7.0.1: - resolution: {integrity: sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==} - engines: {node: '>= 14'} - package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} @@ -14241,6 +14191,16 @@ packages: pkg-types@1.2.1: resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==} + playwright-core@1.49.1: + resolution: {integrity: sha512-BzmpVcs4kE2CH15rWfzpjzVGhWERJfmnXmniSyKeRZUs9Ws65m+RGIi7mjJK/euCegfn3i7jvqWeWyHe9y3Vgg==} + engines: {node: '>=18'} + hasBin: true + + playwright@1.49.1: + resolution: {integrity: sha512-VYL8zLoNTBxVOrJBbDuRgDWa3i+mfQgDTrL8Ah9QXZ7ax4Dsj0MSq5bYgytRnDVVe+njoKnfsYkH3HzqVj5UZA==} + engines: {node: '>=18'} + hasBin: true + pluralize@8.0.0: resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} engines: {node: '>=4'} @@ -14430,10 +14390,6 @@ packages: resolution: {integrity: sha512-69agxLtnI8xBs9gUGqEnK26UfiexpHy+KUpBQWabiytQjnn5wFY8rklAi7GRfABIuPNnQ/ik48+LGLkYYJcy4A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - progress@2.0.3: - resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} - engines: {node: '>=0.4.0'} - prom-client@15.1.3: resolution: {integrity: sha512-6ZiOBfCywsD4k1BN9IX0uZhF+tJkV8q8llP64G5Hajs4JOeVLPCwpPVcpXy3BwYiUGgyJzsJJQeOIv7+hDSq8g==} engines: {node: ^16 || ^18 || >=20} @@ -14483,13 +14439,6 @@ packages: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} - proxy-agent@6.5.0: - resolution: {integrity: sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==} - engines: {node: '>= 14'} - - proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - ps-list@8.1.1: resolution: {integrity: sha512-OPS9kEJYVmiO48u/B9qneqhkMvgCxT+Tm28VCEJpheTpl8cJ0ffZRRNgS5mrQRTrX5yRTpaJ+hRDeefXYmmorQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -14519,15 +14468,6 @@ packages: resolution: {integrity: sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==} engines: {node: '>=12.20'} - puppeteer-core@23.10.3: - resolution: {integrity: sha512-7JG8klL2qHLyH8t2pOmM9zgykhaulUf7cxnmmqupjdwGfNMiGaYehQka20iUB9R/fwVyG8mFMZcsmw1FHrgKVw==} - engines: {node: '>=18'} - - puppeteer@23.10.3: - resolution: {integrity: sha512-ODG+L9vCSPkQ1j+yDtNDdkSsWt2NXNrQO5C8MlwkYgE2hYnXdqVRbBpsHnoP7+EULJJKbWyR2Q4BdfohjQor3A==} - engines: {node: '>=18'} - hasBin: true - pure-rand@6.1.0: resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==} @@ -16177,9 +16117,6 @@ packages: resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==} engines: {node: '>= 0.4'} - typed-query-selector@2.12.0: - resolution: {integrity: sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==} - typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} @@ -18068,7 +18005,7 @@ snapshots: '@babel/traverse': 7.26.4 '@babel/types': 7.26.3 convert-source-map: 1.9.0 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -18088,7 +18025,7 @@ snapshots: '@babel/traverse': 7.26.4 '@babel/types': 7.26.3 convert-source-map: 2.0.0 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -19496,7 +19433,7 @@ snapshots: '@babel/parser': 7.26.3 '@babel/template': 7.25.9 '@babel/types': 7.26.3 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -19864,7 +19801,7 @@ snapshots: '@envelop/core@5.0.2': dependencies: '@envelop/types': 5.0.0 - tslib: 2.8.1 + tslib: 2.6.3 '@envelop/disable-introspection@6.0.0(@envelop/core@5.0.2)(graphql@16.9.0)': dependencies: @@ -19938,7 +19875,7 @@ snapshots: '@envelop/types@5.0.0': dependencies: - tslib: 2.8.1 + tslib: 2.6.3 '@esbuild-plugins/node-globals-polyfill@0.2.3(esbuild@0.17.19)': dependencies: @@ -20436,7 +20373,7 @@ snapshots: '@eslint/config-array@0.19.1': dependencies: '@eslint/object-schema': 2.1.5 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -20448,7 +20385,7 @@ snapshots: '@eslint/eslintrc@3.2.0': dependencies: ajv: 6.12.6 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 espree: 10.3.0 globals: 14.0.0 ignore: 5.3.2 @@ -23101,6 +23038,10 @@ snapshots: '@pkgr/core@0.1.1': {} + '@playwright/browser-chromium@1.49.1': + dependencies: + playwright-core: 1.49.1 + '@pnpm/config.env-replace@1.1.0': {} '@pnpm/network.ca-file@1.0.2': @@ -23307,19 +23248,6 @@ snapshots: '@pulumi/query@0.3.0': {} - '@puppeteer/browsers@2.6.1': - dependencies: - debug: 4.4.0(supports-color@9.4.0) - extract-zip: 2.0.1 - progress: 2.0.3 - proxy-agent: 6.5.0 - semver: 7.6.3 - tar-fs: 3.0.6 - unbzip2-stream: 1.4.3 - yargs: 17.7.2 - transitivePeerDependencies: - - supports-color - '@radix-ui/primitive@1.1.0': {} '@radix-ui/react-arrow@1.1.0(@types/react-dom@19.0.2(@types/react@19.0.1))(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': @@ -24152,7 +24080,7 @@ snapshots: '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1))': dependencies: '@sveltejs/vite-plugin-svelte': 5.0.1(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1)) - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 svelte: 5.10.1 vite: 6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1) transitivePeerDependencies: @@ -24161,7 +24089,7 @@ snapshots: '@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1))': dependencies: '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.1(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1)))(svelte@5.10.1)(vite@6.0.1(@types/node@22.10.1)(jiti@2.4.1)(lightningcss@1.28.2)(terser@5.37.0)(tsx@4.19.2)(yaml@2.6.1)) - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.15 @@ -24285,7 +24213,7 @@ snapshots: eslint: 9.16.0(jiti@2.4.1) eslint-config-prettier: 9.1.0(eslint@9.16.0(jiti@2.4.1)) eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@9.16.0(jiti@2.4.1)) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint@9.16.0(jiti@2.4.1)))(eslint@9.16.0(jiti@2.4.1)))(eslint@9.16.0(jiti@2.4.1)) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.18.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@9.16.0(jiti@2.4.1)) eslint-plugin-jsonc: 2.18.2(eslint@9.16.0(jiti@2.4.1)) eslint-plugin-jsx-a11y: 6.10.2(eslint@9.16.0(jiti@2.4.1)) eslint-plugin-mdx: 3.1.5(eslint@9.16.0(jiti@2.4.1)) @@ -24338,8 +24266,6 @@ snapshots: '@tootallnate/once@2.0.0': {} - '@tootallnate/quickjs-emscripten@0.23.0': {} - '@trysound/sax@0.2.0': {} '@ts-morph/common@0.23.0': @@ -24900,7 +24826,7 @@ snapshots: '@typescript-eslint/types': 8.18.0 '@typescript-eslint/typescript-estree': 8.18.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.18.0 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 eslint: 9.16.0(jiti@2.4.1) typescript: 5.7.2 transitivePeerDependencies: @@ -24932,7 +24858,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 8.18.0(typescript@5.7.2) '@typescript-eslint/utils': 8.18.0(eslint@9.16.0(jiti@2.4.1))(typescript@5.7.2) - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 eslint: 9.16.0(jiti@2.4.1) ts-api-utils: 1.4.3(typescript@5.7.2) typescript: 5.7.2 @@ -24978,7 +24904,7 @@ snapshots: dependencies: '@typescript-eslint/types': 8.18.0 '@typescript-eslint/visitor-keys': 8.18.0 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -25618,10 +25544,6 @@ snapshots: ast-types-flow@0.0.8: {} - ast-types@0.13.4: - dependencies: - tslib: 2.8.1 - astral-regex@2.0.0: {} astring@1.9.0: {} @@ -25894,8 +25816,6 @@ snapshots: base64id@2.0.0: {} - basic-ftp@5.0.5: {} - before-after-hook@2.2.3: {} better-ajv-errors@1.2.0(ajv@8.17.1): @@ -26298,13 +26218,6 @@ snapshots: chrome-trace-event@1.0.4: {} - chromium-bidi@0.8.0(devtools-protocol@0.0.1367902): - dependencies: - devtools-protocol: 0.0.1367902 - mitt: 3.0.1 - urlpattern-polyfill: 10.0.0 - zod: 3.23.8 - ci-info@3.9.0: {} ci-info@4.1.0: {} @@ -26669,15 +26582,6 @@ snapshots: optionalDependencies: typescript: 5.7.2 - cosmiconfig@9.0.0(typescript@5.7.2): - dependencies: - env-paths: 2.2.1 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - optionalDependencies: - typescript: 5.7.2 - cp-file@10.0.0: dependencies: graceful-fs: 4.2.11 @@ -26999,8 +26903,6 @@ snapshots: data-uri-to-buffer@4.0.1: {} - data-uri-to-buffer@6.0.2: {} - data-view-buffer@1.0.1: dependencies: call-bind: 1.0.8 @@ -27051,6 +26953,10 @@ snapshots: dependencies: ms: 2.1.3 + debug@4.4.0: + dependencies: + ms: 2.1.3 + debug@4.4.0(supports-color@9.4.0): dependencies: ms: 2.1.3 @@ -27124,12 +27030,6 @@ snapshots: defu@6.1.4: {} - degenerator@5.0.1: - dependencies: - ast-types: 0.13.4 - escodegen: 2.1.0 - esprima: 4.0.1 - delaunator@5.0.1: dependencies: robust-predicates: 3.0.2 @@ -27213,8 +27113,6 @@ snapshots: dependencies: dequal: 2.0.3 - devtools-protocol@0.0.1367902: {} - dezalgo@1.0.4: dependencies: asap: 2.0.6 @@ -27817,7 +27715,6 @@ snapshots: eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0)(eslint@9.16.0(jiti@2.4.1)) transitivePeerDependencies: - supports-color - optional: true eslint-plugin-es-x@7.8.0(eslint@9.16.0(jiti@2.4.1)): dependencies: @@ -27883,7 +27780,6 @@ snapshots: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - optional: true eslint-plugin-jsonc@2.18.2(eslint@9.16.0(jiti@2.4.1)): dependencies: @@ -28077,7 +27973,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 escape-string-regexp: 4.0.0 eslint-scope: 8.2.0 eslint-visitor-keys: 4.2.0 @@ -28929,14 +28825,6 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 - get-uri@6.0.4: - dependencies: - basic-ftp: 5.0.5 - data-uri-to-buffer: 6.0.2 - debug: 4.4.0(supports-color@9.4.0) - transitivePeerDependencies: - - supports-color - gh-release-fetch@4.0.3: dependencies: '@xhmikosr/downloader': 13.0.1 @@ -30100,7 +29988,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.4.0(supports-color@9.4.0) + debug: 4.4.0 istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -30267,7 +30155,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 22.10.1 - ts-node: 10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2) + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.7.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -31931,8 +31819,6 @@ snapshots: minipass: 7.1.2 rimraf: 5.0.10 - mitt@3.0.1: {} - mj-context-menu@0.6.1: {} mkdirp-classic@0.5.3: {} @@ -32237,8 +32123,6 @@ snapshots: p-wait-for: 4.1.0 qs: 6.13.1 - netmask@2.0.2: {} - next-auth@4.24.11(next@15.1.0(@babel/core@7.22.1)(@opentelemetry/api@1.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 @@ -32829,24 +32713,6 @@ snapshots: dependencies: p-timeout: 6.1.3 - pac-proxy-agent@7.1.0: - dependencies: - '@tootallnate/quickjs-emscripten': 0.23.0 - agent-base: 7.1.3 - debug: 4.4.0(supports-color@9.4.0) - get-uri: 6.0.4 - http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.6(supports-color@9.4.0) - pac-resolver: 7.0.1 - socks-proxy-agent: 8.0.5 - transitivePeerDependencies: - - supports-color - - pac-resolver@7.0.1: - dependencies: - degenerator: 5.0.1 - netmask: 2.0.2 - package-json-from-dist@1.0.1: {} package-json@10.0.1: @@ -33104,6 +32970,14 @@ snapshots: mlly: 1.7.3 pathe: 1.1.2 + playwright-core@1.49.1: {} + + playwright@1.49.1: + dependencies: + playwright-core: 1.49.1 + optionalDependencies: + fsevents: 2.3.2 + pluralize@8.0.0: {} points-on-curve@0.2.0: {} @@ -33173,7 +33047,7 @@ snapshots: yaml: 2.6.1 optionalDependencies: postcss: 8.4.49 - ts-node: 10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2) + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.7.2) optional: true postcss-load-config@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)): @@ -33333,8 +33207,6 @@ snapshots: proggy@2.0.0: {} - progress@2.0.3: {} - prom-client@15.1.3: dependencies: '@opentelemetry/api': 1.9.0 @@ -33392,21 +33264,6 @@ snapshots: forwarded: 0.2.0 ipaddr.js: 1.9.1 - proxy-agent@6.5.0: - dependencies: - agent-base: 7.1.3 - debug: 4.4.0(supports-color@9.4.0) - http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.6(supports-color@9.4.0) - lru-cache: 7.18.3 - pac-proxy-agent: 7.1.0 - proxy-from-env: 1.1.0 - socks-proxy-agent: 8.0.5 - transitivePeerDependencies: - - supports-color - - proxy-from-env@1.1.0: {} - ps-list@8.1.1: {} ps-tree@1.2.0: @@ -33433,33 +33290,6 @@ snapshots: dependencies: escape-goat: 4.0.0 - puppeteer-core@23.10.3: - dependencies: - '@puppeteer/browsers': 2.6.1 - chromium-bidi: 0.8.0(devtools-protocol@0.0.1367902) - debug: 4.4.0(supports-color@9.4.0) - devtools-protocol: 0.0.1367902 - typed-query-selector: 2.12.0 - ws: 8.18.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - puppeteer@23.10.3(typescript@5.7.2): - dependencies: - '@puppeteer/browsers': 2.6.1 - chromium-bidi: 0.8.0(devtools-protocol@0.0.1367902) - cosmiconfig: 9.0.0(typescript@5.7.2) - devtools-protocol: 0.0.1367902 - puppeteer-core: 23.10.3 - typed-query-selector: 2.12.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - typescript - - utf-8-validate - pure-rand@6.1.0: {} pvtsutils@1.3.6: @@ -35408,6 +35238,25 @@ snapshots: optionalDependencies: '@swc/core': 1.10.1(@swc/helpers@0.5.15) + ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 22.10.1 + acorn: 8.14.0 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.7.2 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + optional: true + ts-toolbelt@9.6.0: {} tsconfig-paths-webpack-plugin@4.2.0: @@ -35539,8 +35388,6 @@ snapshots: possible-typed-array-names: 1.0.0 reflect.getprototypeof: 1.0.8 - typed-query-selector@2.12.0: {} - typedarray-to-buffer@3.1.5: dependencies: is-typedarray: 1.0.0 diff --git a/renovate.json b/renovate.json index 61369bb4b8..5f5b440d40 100644 --- a/renovate.json +++ b/renovate.json @@ -40,7 +40,7 @@ "groupSlug": "all-minor-patch" } ], - "ignoreDeps": ["@sveltejs/kit", "graphiql", "puppeteer", "graphql-yoga"], + "ignoreDeps": ["@sveltejs/kit", "graphiql", "graphql-yoga"], "ignorePaths": ["**/__tests__/**", "**/test/**", "**/tests/**", "**/__fixtures__/**"], "baseBranches": ["main"] }