antigravity-mobile-proxy 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +5 -2
- package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/artifacts/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/artifacts/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/action/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/action/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/history/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/history/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/new/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/new/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/state/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/chat/state/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js +7 -3
- package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/conversations/route.js +7 -3
- package/.next/standalone/.next/server/app/api/v1/conversations/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/health/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/health/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/close/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/close/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/open/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/open/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/windows/select/route.js +6 -2
- package/.next/standalone/.next/server/app/api/v1/windows/select/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/debug/page.js +1 -1
- package/.next/standalone/.next/server/app/debug/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/debug/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/standalone/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page.js +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d31b133._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__133ac672._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__151eca3a._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1535be2d._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ee7d416._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__25f5f8ec._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__26662154._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__2f4a0b79._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__2ec5ba30._.js → [root-of-the-server]__3fe6d12c._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4b17d628._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4c540a38._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8d2624da._.js → [root-of-the-server]__4d161104._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__53c4f34d._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__68965284._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f8bd59f._.js +20 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9166d84a._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__94275f7f._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c34d50c8._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8fdd2340._.js → [root-of-the-server]__c696771d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0bd52b41._.js → [root-of-the-server]__cd7ccfdd._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d5818e20._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__360475ac._.js → [root-of-the-server]__db7b3604._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__eeb89c13._.js → [root-of-the-server]__dc1db6cb._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4effd91a._.js → [root-of-the-server]__e9181374._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb9ef4db._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4448d3d4._.js → [root-of-the-server]__ec32b318._.js} +2 -2
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__7f18ffd0._.js → [root-of-the-server]__f54bea3d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__fabd57e0._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__fd0215df._.js +3 -0
- package/.next/standalone/.next/server/chunks/lib_cdp_connection_ts_075c799e._.js +41 -0
- package/.next/standalone/.next/server/chunks/node_modules_151ca6ae._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_1f8a2929._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_2d9a2f12._.js +4 -0
- package/.next/standalone/.next/server/chunks/node_modules_3b486fee._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_64199bef._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_@puppeteer_browsers_lib_esm_main_83020de3.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_f81d3958._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +2 -2
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0272adf7.js +5 -0
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0b1e64d7.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_yargs_helpers_helpers_mjs_abe15519._.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_yargs_index_mjs_c4f6f97b._.js +56 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__703e5e24._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__edab6069._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/components_chat-container_tsx_fcbc457f._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_63dba3f8._.js +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/app/api/v1/chat/stream/route.ts +2 -2
- package/.next/standalone/app/api/v1/conversations/route.ts +6 -1
- package/.next/standalone/app/globals.css +6 -0
- package/.next/standalone/components/agent-message.tsx +4 -5
- package/.next/standalone/components/chat-container.tsx +0 -2
- package/.next/standalone/components/message-list.tsx +2 -6
- package/.next/standalone/diag.js +72 -0
- package/.next/standalone/hooks/use-chat.ts +18 -1
- package/.next/standalone/lib/scraper/agent-state.ts +43 -17
- package/.next/standalone/lib/scraper/chat-history.ts +4 -0
- package/.next/standalone/lib/scraper/workspace-filter.ts +209 -0
- package/.next/standalone/lib/sse/diff-states.ts +18 -3
- package/.next/standalone/next.config.js +19 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
- package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
- package/.next/standalone/node_modules/next/dist/build/generate-build-id.js +5 -1
- package/.next/standalone/package-lock.json +140 -129
- package/.next/standalone/package.json +4 -3
- package/.next/standalone/scripts/patch-next.js +69 -0
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/tsconfig.json +14 -4
- package/.next/standalone/tsconfig.tsbuildinfo +1 -1
- package/.next/static/chunks/{54866979a976deea.css → 073aeeb732614ba1.css} +1 -1
- package/.next/static/chunks/0b8f1079dec6b3ad.js +1 -0
- package/package.json +4 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08f06ee9._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__15c96786._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__19ee93c1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__324dc867._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__38025e07._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a837477._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4f9fdc77._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__556e6cd5._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6479a312._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__693625a1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6ec98c1f._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__7f696ede._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8aa4aa02._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9d217c47._.js +0 -7
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e54cdc1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a73e4e4f._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cd1b9505._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d850c12e._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ef121746._.js +0 -3
- package/.next/standalone/.next/server/chunks/_7273dcfc._.js +0 -3
- package/.next/standalone/.next/server/chunks/_8dd0f398._.js +0 -5
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4fe85c38._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85930638._.js +0 -3
- package/.next/standalone/next.config.ts +0 -10
- package/.next/standalone/node_modules/@puppeteer/browsers/package.json +0 -125
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
- package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
- package/.next/standalone/node_modules/agent-base/dist/helpers.js +0 -66
- package/.next/standalone/node_modules/agent-base/dist/index.js +0 -178
- package/.next/standalone/node_modules/agent-base/package.json +0 -46
- package/.next/standalone/node_modules/ast-types/def/babel-core.js +0 -256
- package/.next/standalone/node_modules/ast-types/def/babel.js +0 -11
- package/.next/standalone/node_modules/ast-types/def/core.js +0 -298
- package/.next/standalone/node_modules/ast-types/def/es-proposals.js +0 -33
- package/.next/standalone/node_modules/ast-types/def/es2020.js +0 -16
- package/.next/standalone/node_modules/ast-types/def/es6.js +0 -210
- package/.next/standalone/node_modules/ast-types/def/es7.js +0 -34
- package/.next/standalone/node_modules/ast-types/def/esprima.js +0 -49
- package/.next/standalone/node_modules/ast-types/def/flow.js +0 -292
- package/.next/standalone/node_modules/ast-types/def/jsx.js +0 -103
- package/.next/standalone/node_modules/ast-types/def/type-annotations.js +0 -40
- package/.next/standalone/node_modules/ast-types/def/typescript.js +0 -344
- package/.next/standalone/node_modules/ast-types/fork.js +0 -52
- package/.next/standalone/node_modules/ast-types/gen/namedTypes.js +0 -6
- package/.next/standalone/node_modules/ast-types/lib/equiv.js +0 -154
- package/.next/standalone/node_modules/ast-types/lib/node-path.js +0 -411
- package/.next/standalone/node_modules/ast-types/lib/path-visitor.js +0 -343
- package/.next/standalone/node_modules/ast-types/lib/path.js +0 -331
- package/.next/standalone/node_modules/ast-types/lib/scope.js +0 -318
- package/.next/standalone/node_modules/ast-types/lib/shared.js +0 -47
- package/.next/standalone/node_modules/ast-types/lib/types.js +0 -780
- package/.next/standalone/node_modules/ast-types/main.js +0 -53
- package/.next/standalone/node_modules/ast-types/package.json +0 -65
- package/.next/standalone/node_modules/b4a/index.js +0 -188
- package/.next/standalone/node_modules/b4a/package.json +0 -49
- package/.next/standalone/node_modules/basic-ftp/dist/Client.js +0 -782
- package/.next/standalone/node_modules/basic-ftp/dist/FileInfo.js +0 -92
- package/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +0 -365
- package/.next/standalone/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
- package/.next/standalone/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
- package/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +0 -23
- package/.next/standalone/node_modules/basic-ftp/dist/index.js +0 -28
- package/.next/standalone/node_modules/basic-ftp/dist/netUtils.js +0 -66
- package/.next/standalone/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
- package/.next/standalone/node_modules/basic-ftp/dist/parseList.js +0 -79
- package/.next/standalone/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
- package/.next/standalone/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
- package/.next/standalone/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
- package/.next/standalone/node_modules/basic-ftp/dist/transfer.js +0 -318
- package/.next/standalone/node_modules/basic-ftp/package.json +0 -52
- package/.next/standalone/node_modules/buffer-crc32/index.js +0 -111
- package/.next/standalone/node_modules/buffer-crc32/package.json +0 -39
- package/.next/standalone/node_modules/cliui/build/lib/index.js +0 -287
- package/.next/standalone/node_modules/cliui/build/lib/string-utils.js +0 -27
- package/.next/standalone/node_modules/cliui/index.mjs +0 -13
- package/.next/standalone/node_modules/cliui/package.json +0 -83
- package/.next/standalone/node_modules/data-uri-to-buffer/dist/common.js +0 -54
- package/.next/standalone/node_modules/data-uri-to-buffer/dist/node.js +0 -26
- package/.next/standalone/node_modules/data-uri-to-buffer/package.json +0 -48
- package/.next/standalone/node_modules/debug/package.json +0 -64
- package/.next/standalone/node_modules/debug/src/browser.js +0 -272
- package/.next/standalone/node_modules/debug/src/common.js +0 -292
- package/.next/standalone/node_modules/debug/src/index.js +0 -10
- package/.next/standalone/node_modules/debug/src/node.js +0 -263
- package/.next/standalone/node_modules/degenerator/dist/compile.js +0 -107
- package/.next/standalone/node_modules/degenerator/dist/degenerator.js +0 -156
- package/.next/standalone/node_modules/degenerator/dist/index.js +0 -19
- package/.next/standalone/node_modules/degenerator/package.json +0 -42
- package/.next/standalone/node_modules/end-of-stream/index.js +0 -96
- package/.next/standalone/node_modules/end-of-stream/package.json +0 -37
- package/.next/standalone/node_modules/escalade/package.json +0 -74
- package/.next/standalone/node_modules/escodegen/escodegen.js +0 -2667
- package/.next/standalone/node_modules/escodegen/package.json +0 -63
- package/.next/standalone/node_modules/esprima/dist/esprima.js +0 -6709
- package/.next/standalone/node_modules/esprima/package.json +0 -112
- package/.next/standalone/node_modules/estraverse/estraverse.js +0 -805
- package/.next/standalone/node_modules/estraverse/package.json +0 -40
- package/.next/standalone/node_modules/esutils/lib/ast.js +0 -144
- package/.next/standalone/node_modules/esutils/lib/code.js +0 -135
- package/.next/standalone/node_modules/esutils/lib/keyword.js +0 -165
- package/.next/standalone/node_modules/esutils/lib/utils.js +0 -33
- package/.next/standalone/node_modules/esutils/package.json +0 -44
- package/.next/standalone/node_modules/events-universal/default.js +0 -1
- package/.next/standalone/node_modules/events-universal/package.json +0 -39
- package/.next/standalone/node_modules/extract-zip/LICENSE +0 -23
- package/.next/standalone/node_modules/extract-zip/cli.js +0 -19
- package/.next/standalone/node_modules/extract-zip/index.js +0 -173
- package/.next/standalone/node_modules/extract-zip/package.json +0 -80
- package/.next/standalone/node_modules/extract-zip/readme.md +0 -57
- package/.next/standalone/node_modules/fast-fifo/fixed-size.js +0 -39
- package/.next/standalone/node_modules/fast-fifo/index.js +0 -48
- package/.next/standalone/node_modules/fast-fifo/package.json +0 -28
- package/.next/standalone/node_modules/fd-slicer/index.js +0 -296
- package/.next/standalone/node_modules/fd-slicer/package.json +0 -36
- package/.next/standalone/node_modules/get-stream/buffer-stream.js +0 -52
- package/.next/standalone/node_modules/get-stream/index.js +0 -60
- package/.next/standalone/node_modules/get-stream/package.json +0 -50
- package/.next/standalone/node_modules/get-uri/dist/data.js +0 -43
- package/.next/standalone/node_modules/get-uri/dist/file.js +0 -57
- package/.next/standalone/node_modules/get-uri/dist/ftp.js +0 -93
- package/.next/standalone/node_modules/get-uri/dist/http-error.js +0 -15
- package/.next/standalone/node_modules/get-uri/dist/http.js +0 -191
- package/.next/standalone/node_modules/get-uri/dist/https.js +0 -16
- package/.next/standalone/node_modules/get-uri/dist/index.js +0 -57
- package/.next/standalone/node_modules/get-uri/dist/notfound.js +0 -16
- package/.next/standalone/node_modules/get-uri/dist/notmodified.js +0 -17
- package/.next/standalone/node_modules/get-uri/package.json +0 -58
- package/.next/standalone/node_modules/has-flag/index.js +0 -8
- package/.next/standalone/node_modules/has-flag/package.json +0 -46
- package/.next/standalone/node_modules/http-proxy-agent/dist/index.js +0 -148
- package/.next/standalone/node_modules/http-proxy-agent/package.json +0 -47
- package/.next/standalone/node_modules/https-proxy-agent/dist/index.js +0 -180
- package/.next/standalone/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
- package/.next/standalone/node_modules/https-proxy-agent/package.json +0 -50
- package/.next/standalone/node_modules/ip-address/dist/address-error.js +0 -12
- package/.next/standalone/node_modules/ip-address/dist/common.js +0 -46
- package/.next/standalone/node_modules/ip-address/dist/ip-address.js +0 -35
- package/.next/standalone/node_modules/ip-address/dist/ipv4.js +0 -360
- package/.next/standalone/node_modules/ip-address/dist/ipv6.js +0 -1003
- package/.next/standalone/node_modules/ip-address/dist/v4/constants.js +0 -8
- package/.next/standalone/node_modules/ip-address/dist/v6/constants.js +0 -76
- package/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +0 -45
- package/.next/standalone/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
- package/.next/standalone/node_modules/ip-address/package.json +0 -78
- package/.next/standalone/node_modules/lru-cache/index.js +0 -1227
- package/.next/standalone/node_modules/lru-cache/package.json +0 -96
- package/.next/standalone/node_modules/ms/index.js +0 -162
- package/.next/standalone/node_modules/ms/package.json +0 -38
- package/.next/standalone/node_modules/netmask/lib/netmask.js +0 -208
- package/.next/standalone/node_modules/netmask/package.json +0 -36
- package/.next/standalone/node_modules/once/once.js +0 -42
- package/.next/standalone/node_modules/once/package.json +0 -33
- package/.next/standalone/node_modules/pac-proxy-agent/dist/index.js +0 -238
- package/.next/standalone/node_modules/pac-proxy-agent/package.json +0 -58
- package/.next/standalone/node_modules/pac-resolver/dist/dateRange.js +0 -73
- package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
- package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
- package/.next/standalone/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
- package/.next/standalone/node_modules/pac-resolver/dist/index.js +0 -87
- package/.next/standalone/node_modules/pac-resolver/dist/ip.js +0 -50
- package/.next/standalone/node_modules/pac-resolver/dist/isInNet.js +0 -42
- package/.next/standalone/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
- package/.next/standalone/node_modules/pac-resolver/dist/isResolvable.js +0 -23
- package/.next/standalone/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
- package/.next/standalone/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
- package/.next/standalone/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
- package/.next/standalone/node_modules/pac-resolver/dist/timeRange.js +0 -92
- package/.next/standalone/node_modules/pac-resolver/dist/util.js +0 -22
- package/.next/standalone/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
- package/.next/standalone/node_modules/pac-resolver/package.json +0 -47
- package/.next/standalone/node_modules/pend/index.js +0 -55
- package/.next/standalone/node_modules/pend/package.json +0 -18
- package/.next/standalone/node_modules/progress/index.js +0 -1
- package/.next/standalone/node_modules/progress/lib/node-progress.js +0 -236
- package/.next/standalone/node_modules/progress/package.json +0 -26
- package/.next/standalone/node_modules/proxy-agent/dist/index.js +0 -138
- package/.next/standalone/node_modules/proxy-agent/package.json +0 -60
- package/.next/standalone/node_modules/proxy-from-env/index.js +0 -108
- package/.next/standalone/node_modules/proxy-from-env/package.json +0 -34
- package/.next/standalone/node_modules/pump/index.js +0 -86
- package/.next/standalone/node_modules/pump/package.json +0 -30
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/package.json +0 -1
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +0 -204
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +0 -182
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +0 -68
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/DeviceRequestPrompt.js +0 -34
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +0 -90
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +0 -1406
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +0 -10
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +0 -904
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +0 -461
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +0 -56
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +0 -211
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +0 -227
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +0 -1511
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +0 -44
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +0 -49
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +0 -106
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +0 -22
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +0 -769
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +0 -83
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +0 -591
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +0 -162
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BluetoothEmulation.js +0 -26
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +0 -327
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +0 -26
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +0 -192
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +0 -39
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js +0 -129
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +0 -244
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +0 -372
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +0 -151
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +0 -23
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +0 -206
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +0 -458
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +0 -457
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +0 -175
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +0 -358
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +0 -455
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +0 -24
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +0 -91
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +0 -195
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +0 -126
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +0 -499
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +0 -157
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +0 -20
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +0 -101
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +0 -174
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +0 -162
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +0 -601
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +0 -1011
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +0 -69
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +0 -243
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManageEvents.js +0 -7
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +0 -320
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +0 -110
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +0 -73
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +0 -43
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +0 -216
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -54
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -129
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -39
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +0 -133
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -78
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +0 -114
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -109
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +0 -1604
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -94
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -128
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -75
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +0 -70
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +0 -142
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +0 -23
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +0 -21
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -58
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +0 -100
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -98
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -225
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +0 -51
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -69
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -24
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +0 -15
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -39
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -394
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +0 -197
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +0 -21
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +0 -35
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +0 -375
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -24
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +0 -9
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +0 -11
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +0 -8
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +0 -41
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -14
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +0 -29
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +0 -105
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +0 -41
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +0 -70
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +0 -46
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +0 -232
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +0 -342
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +0 -63
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +0 -18
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +0 -13
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +0 -10
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +0 -44
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +0 -196
- package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +0 -2887
- package/.next/standalone/node_modules/puppeteer-core/package.json +0 -169
- package/.next/standalone/node_modules/semver/functions/clean.js +0 -8
- package/.next/standalone/node_modules/semver/functions/compare-build.js +0 -9
- package/.next/standalone/node_modules/semver/functions/compare-loose.js +0 -5
- package/.next/standalone/node_modules/semver/functions/diff.js +0 -60
- package/.next/standalone/node_modules/semver/functions/inc.js +0 -21
- package/.next/standalone/node_modules/semver/functions/major.js +0 -5
- package/.next/standalone/node_modules/semver/functions/minor.js +0 -5
- package/.next/standalone/node_modules/semver/functions/patch.js +0 -5
- package/.next/standalone/node_modules/semver/functions/prerelease.js +0 -8
- package/.next/standalone/node_modules/semver/functions/rcompare.js +0 -5
- package/.next/standalone/node_modules/semver/functions/rsort.js +0 -5
- package/.next/standalone/node_modules/semver/functions/sort.js +0 -5
- package/.next/standalone/node_modules/semver/functions/valid.js +0 -8
- package/.next/standalone/node_modules/semver/index.js +0 -91
- package/.next/standalone/node_modules/semver/ranges/gtr.js +0 -6
- package/.next/standalone/node_modules/semver/ranges/intersects.js +0 -9
- package/.next/standalone/node_modules/semver/ranges/ltr.js +0 -6
- package/.next/standalone/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/.next/standalone/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/.next/standalone/node_modules/semver/ranges/min-version.js +0 -63
- package/.next/standalone/node_modules/semver/ranges/outside.js +0 -82
- package/.next/standalone/node_modules/semver/ranges/simplify.js +0 -49
- package/.next/standalone/node_modules/semver/ranges/subset.js +0 -249
- package/.next/standalone/node_modules/semver/ranges/to-comparators.js +0 -10
- package/.next/standalone/node_modules/semver/ranges/valid.js +0 -13
- package/.next/standalone/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
- package/.next/standalone/node_modules/smart-buffer/build/utils.js +0 -108
- package/.next/standalone/node_modules/smart-buffer/package.json +0 -79
- package/.next/standalone/node_modules/socks/build/client/socksclient.js +0 -793
- package/.next/standalone/node_modules/socks/build/common/constants.js +0 -108
- package/.next/standalone/node_modules/socks/build/common/helpers.js +0 -167
- package/.next/standalone/node_modules/socks/build/common/receivebuffer.js +0 -43
- package/.next/standalone/node_modules/socks/build/common/util.js +0 -25
- package/.next/standalone/node_modules/socks/build/index.js +0 -18
- package/.next/standalone/node_modules/socks/package.json +0 -58
- package/.next/standalone/node_modules/socks-proxy-agent/dist/index.js +0 -195
- package/.next/standalone/node_modules/socks-proxy-agent/package.json +0 -142
- package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
- package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
- package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
- package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
- package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
- package/.next/standalone/node_modules/source-map/package.json +0 -73
- package/.next/standalone/node_modules/source-map/source-map.js +0 -8
- package/.next/standalone/node_modules/streamx/index.js +0 -1184
- package/.next/standalone/node_modules/streamx/package.json +0 -34
- package/.next/standalone/node_modules/supports-color/index.js +0 -135
- package/.next/standalone/node_modules/supports-color/package.json +0 -53
- package/.next/standalone/node_modules/tar-stream/constants.js +0 -14
- package/.next/standalone/node_modules/tar-stream/extract.js +0 -406
- package/.next/standalone/node_modules/tar-stream/headers.js +0 -321
- package/.next/standalone/node_modules/tar-stream/index.js +0 -2
- package/.next/standalone/node_modules/tar-stream/pack.js +0 -287
- package/.next/standalone/node_modules/tar-stream/package.json +0 -42
- package/.next/standalone/node_modules/text-decoder/index.js +0 -64
- package/.next/standalone/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
- package/.next/standalone/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
- package/.next/standalone/node_modules/text-decoder/package.json +0 -39
- package/.next/standalone/node_modules/tslib/package.json +0 -47
- package/.next/standalone/node_modules/tslib/tslib.js +0 -484
- package/.next/standalone/node_modules/wrappy/package.json +0 -29
- package/.next/standalone/node_modules/wrappy/wrappy.js +0 -33
- package/.next/standalone/node_modules/ws/lib/buffer-util.js +0 -131
- package/.next/standalone/node_modules/ws/lib/constants.js +0 -19
- package/.next/standalone/node_modules/ws/lib/event-target.js +0 -292
- package/.next/standalone/node_modules/ws/lib/extension.js +0 -203
- package/.next/standalone/node_modules/ws/lib/limiter.js +0 -55
- package/.next/standalone/node_modules/ws/lib/permessage-deflate.js +0 -528
- package/.next/standalone/node_modules/ws/lib/receiver.js +0 -706
- package/.next/standalone/node_modules/ws/lib/sender.js +0 -602
- package/.next/standalone/node_modules/ws/lib/stream.js +0 -161
- package/.next/standalone/node_modules/ws/lib/subprotocol.js +0 -62
- package/.next/standalone/node_modules/ws/lib/validation.js +0 -152
- package/.next/standalone/node_modules/ws/lib/websocket-server.js +0 -554
- package/.next/standalone/node_modules/ws/lib/websocket.js +0 -1393
- package/.next/standalone/node_modules/ws/package.json +0 -69
- package/.next/standalone/node_modules/ws/wrapper.mjs +0 -8
- package/.next/standalone/node_modules/y18n/build/lib/index.js +0 -174
- package/.next/standalone/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- package/.next/standalone/node_modules/y18n/index.mjs +0 -8
- package/.next/standalone/node_modules/y18n/package.json +0 -70
- package/.next/standalone/node_modules/yargs/build/lib/argsert.js +0 -62
- package/.next/standalone/node_modules/yargs/build/lib/command.js +0 -449
- package/.next/standalone/node_modules/yargs/build/lib/completion-templates.js +0 -48
- package/.next/standalone/node_modules/yargs/build/lib/completion.js +0 -243
- package/.next/standalone/node_modules/yargs/build/lib/middleware.js +0 -88
- package/.next/standalone/node_modules/yargs/build/lib/parse-command.js +0 -32
- package/.next/standalone/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- package/.next/standalone/node_modules/yargs/build/lib/usage.js +0 -584
- package/.next/standalone/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- package/.next/standalone/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- package/.next/standalone/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
- package/.next/standalone/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- package/.next/standalone/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- package/.next/standalone/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- package/.next/standalone/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- package/.next/standalone/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- package/.next/standalone/node_modules/yargs/build/lib/validation.js +0 -305
- package/.next/standalone/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
- package/.next/standalone/node_modules/yargs/build/lib/yerror.js +0 -9
- package/.next/standalone/node_modules/yargs/helpers/helpers.mjs +0 -10
- package/.next/standalone/node_modules/yargs/index.mjs +0 -8
- package/.next/standalone/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
- package/.next/standalone/node_modules/yargs/package.json +0 -123
- package/.next/standalone/node_modules/yargs-parser/build/lib/index.js +0 -62
- package/.next/standalone/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- package/.next/standalone/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
- package/.next/standalone/node_modules/yargs-parser/package.json +0 -92
- package/.next/standalone/node_modules/yauzl/LICENSE +0 -21
- package/.next/standalone/node_modules/yauzl/README.md +0 -658
- package/.next/standalone/node_modules/yauzl/index.js +0 -796
- package/.next/standalone/node_modules/yauzl/package.json +0 -40
- package/.next/static/chunks/75f35cd5abea89f2.js +0 -1
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
- /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
- /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_buildManifest.js +0 -0
- /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_ssgManifest.js +0 -0
package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js
DELETED
|
@@ -1,601 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2017 Google Inc.
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { CDPSessionEvent } from '../api/CDPSession.js';
|
|
7
|
-
import { EventEmitter } from '../common/EventEmitter.js';
|
|
8
|
-
import { NetworkManagerEvent, } from '../common/NetworkManagerEvents.js';
|
|
9
|
-
import { debugError, isString } from '../common/util.js';
|
|
10
|
-
import { assert } from '../util/assert.js';
|
|
11
|
-
import { DisposableStack } from '../util/disposable.js';
|
|
12
|
-
import { isErrorLike } from '../util/ErrorLike.js';
|
|
13
|
-
import { isTargetClosedError } from './Connection.js';
|
|
14
|
-
import { CdpHTTPRequest } from './HTTPRequest.js';
|
|
15
|
-
import { CdpHTTPResponse } from './HTTPResponse.js';
|
|
16
|
-
import { NetworkEventManager, } from './NetworkEventManager.js';
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
export class NetworkManager extends EventEmitter {
|
|
21
|
-
#frameManager;
|
|
22
|
-
#networkEventManager = new NetworkEventManager();
|
|
23
|
-
#extraHTTPHeaders;
|
|
24
|
-
#credentials = null;
|
|
25
|
-
#attemptedAuthentications = new Set();
|
|
26
|
-
#userRequestInterceptionEnabled = false;
|
|
27
|
-
#protocolRequestInterceptionEnabled;
|
|
28
|
-
#userCacheDisabled;
|
|
29
|
-
#emulatedNetworkConditions;
|
|
30
|
-
#userAgent;
|
|
31
|
-
#userAgentMetadata;
|
|
32
|
-
#platform;
|
|
33
|
-
#handlers = [
|
|
34
|
-
['Fetch.requestPaused', this.#onRequestPaused],
|
|
35
|
-
['Fetch.authRequired', this.#onAuthRequired],
|
|
36
|
-
['Network.requestWillBeSent', this.#onRequestWillBeSent],
|
|
37
|
-
['Network.requestWillBeSentExtraInfo', this.#onRequestWillBeSentExtraInfo],
|
|
38
|
-
['Network.requestServedFromCache', this.#onRequestServedFromCache],
|
|
39
|
-
['Network.responseReceived', this.#onResponseReceived],
|
|
40
|
-
['Network.loadingFinished', this.#onLoadingFinished],
|
|
41
|
-
['Network.loadingFailed', this.#onLoadingFailed],
|
|
42
|
-
['Network.responseReceivedExtraInfo', this.#onResponseReceivedExtraInfo],
|
|
43
|
-
[CDPSessionEvent.Disconnected, this.#removeClient],
|
|
44
|
-
];
|
|
45
|
-
#clients = new Map();
|
|
46
|
-
#networkEnabled = true;
|
|
47
|
-
constructor(frameManager, networkEnabled) {
|
|
48
|
-
super();
|
|
49
|
-
this.#frameManager = frameManager;
|
|
50
|
-
this.#networkEnabled = networkEnabled ?? true;
|
|
51
|
-
}
|
|
52
|
-
#canIgnoreError(error) {
|
|
53
|
-
return (isErrorLike(error) &&
|
|
54
|
-
(isTargetClosedError(error) ||
|
|
55
|
-
error.message.includes('Not supported') ||
|
|
56
|
-
error.message.includes("wasn't found")));
|
|
57
|
-
}
|
|
58
|
-
async addClient(client) {
|
|
59
|
-
if (!this.#networkEnabled || this.#clients.has(client)) {
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
const subscriptions = new DisposableStack();
|
|
63
|
-
this.#clients.set(client, subscriptions);
|
|
64
|
-
const clientEmitter = subscriptions.use(new EventEmitter(client));
|
|
65
|
-
for (const [event, handler] of this.#handlers) {
|
|
66
|
-
clientEmitter.on(event, (arg) => {
|
|
67
|
-
return handler.bind(this)(client, arg);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
try {
|
|
71
|
-
await Promise.all([
|
|
72
|
-
client.send('Network.enable'),
|
|
73
|
-
this.#applyExtraHTTPHeaders(client),
|
|
74
|
-
this.#applyNetworkConditions(client),
|
|
75
|
-
this.#applyProtocolCacheDisabled(client),
|
|
76
|
-
this.#applyProtocolRequestInterception(client),
|
|
77
|
-
this.#applyUserAgent(client),
|
|
78
|
-
]);
|
|
79
|
-
}
|
|
80
|
-
catch (error) {
|
|
81
|
-
if (this.#canIgnoreError(error)) {
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
throw error;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
async #removeClient(client) {
|
|
88
|
-
this.#clients.get(client)?.dispose();
|
|
89
|
-
this.#clients.delete(client);
|
|
90
|
-
}
|
|
91
|
-
async authenticate(credentials) {
|
|
92
|
-
this.#credentials = credentials;
|
|
93
|
-
const enabled = this.#userRequestInterceptionEnabled || !!this.#credentials;
|
|
94
|
-
if (enabled === this.#protocolRequestInterceptionEnabled) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
this.#protocolRequestInterceptionEnabled = enabled;
|
|
98
|
-
await this.#applyToAllClients(this.#applyProtocolRequestInterception.bind(this));
|
|
99
|
-
}
|
|
100
|
-
async setExtraHTTPHeaders(headers) {
|
|
101
|
-
const extraHTTPHeaders = {};
|
|
102
|
-
for (const [key, value] of Object.entries(headers)) {
|
|
103
|
-
assert(isString(value), `Expected value of header "${key}" to be String, but "${typeof value}" is found.`);
|
|
104
|
-
extraHTTPHeaders[key.toLowerCase()] = value;
|
|
105
|
-
}
|
|
106
|
-
this.#extraHTTPHeaders = extraHTTPHeaders;
|
|
107
|
-
await this.#applyToAllClients(this.#applyExtraHTTPHeaders.bind(this));
|
|
108
|
-
}
|
|
109
|
-
async #applyExtraHTTPHeaders(client) {
|
|
110
|
-
if (this.#extraHTTPHeaders === undefined) {
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
try {
|
|
114
|
-
await client.send('Network.setExtraHTTPHeaders', {
|
|
115
|
-
headers: this.#extraHTTPHeaders,
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
catch (error) {
|
|
119
|
-
if (this.#canIgnoreError(error)) {
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
throw error;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
extraHTTPHeaders() {
|
|
126
|
-
return Object.assign({}, this.#extraHTTPHeaders);
|
|
127
|
-
}
|
|
128
|
-
inFlightRequestsCount() {
|
|
129
|
-
return this.#networkEventManager.inFlightRequestsCount();
|
|
130
|
-
}
|
|
131
|
-
async setOfflineMode(value) {
|
|
132
|
-
if (!this.#emulatedNetworkConditions) {
|
|
133
|
-
this.#emulatedNetworkConditions = {
|
|
134
|
-
offline: false,
|
|
135
|
-
upload: -1,
|
|
136
|
-
download: -1,
|
|
137
|
-
latency: 0,
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
this.#emulatedNetworkConditions.offline = value;
|
|
141
|
-
await this.#applyToAllClients(this.#applyNetworkConditions.bind(this));
|
|
142
|
-
}
|
|
143
|
-
async emulateNetworkConditions(networkConditions) {
|
|
144
|
-
if (!this.#emulatedNetworkConditions) {
|
|
145
|
-
this.#emulatedNetworkConditions = {
|
|
146
|
-
offline: networkConditions?.offline ?? false,
|
|
147
|
-
upload: -1,
|
|
148
|
-
download: -1,
|
|
149
|
-
latency: 0,
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
this.#emulatedNetworkConditions.upload = networkConditions
|
|
153
|
-
? networkConditions.upload
|
|
154
|
-
: -1;
|
|
155
|
-
this.#emulatedNetworkConditions.download = networkConditions
|
|
156
|
-
? networkConditions.download
|
|
157
|
-
: -1;
|
|
158
|
-
this.#emulatedNetworkConditions.latency = networkConditions
|
|
159
|
-
? networkConditions.latency
|
|
160
|
-
: 0;
|
|
161
|
-
this.#emulatedNetworkConditions.offline =
|
|
162
|
-
networkConditions?.offline ?? false;
|
|
163
|
-
await this.#applyToAllClients(this.#applyNetworkConditions.bind(this));
|
|
164
|
-
}
|
|
165
|
-
async #applyToAllClients(fn) {
|
|
166
|
-
await Promise.all(Array.from(this.#clients.keys()).map(client => {
|
|
167
|
-
return fn(client);
|
|
168
|
-
}));
|
|
169
|
-
}
|
|
170
|
-
async #applyNetworkConditions(client) {
|
|
171
|
-
if (this.#emulatedNetworkConditions === undefined) {
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
try {
|
|
175
|
-
await client.send('Network.emulateNetworkConditions', {
|
|
176
|
-
offline: this.#emulatedNetworkConditions.offline,
|
|
177
|
-
latency: this.#emulatedNetworkConditions.latency,
|
|
178
|
-
uploadThroughput: this.#emulatedNetworkConditions.upload,
|
|
179
|
-
downloadThroughput: this.#emulatedNetworkConditions.download,
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
catch (error) {
|
|
183
|
-
if (this.#canIgnoreError(error)) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
throw error;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
async setUserAgent(userAgent, userAgentMetadata, platform) {
|
|
190
|
-
this.#userAgent = userAgent;
|
|
191
|
-
this.#userAgentMetadata = userAgentMetadata;
|
|
192
|
-
this.#platform = platform;
|
|
193
|
-
await this.#applyToAllClients(this.#applyUserAgent.bind(this));
|
|
194
|
-
}
|
|
195
|
-
async #applyUserAgent(client) {
|
|
196
|
-
if (this.#userAgent === undefined) {
|
|
197
|
-
return;
|
|
198
|
-
}
|
|
199
|
-
try {
|
|
200
|
-
await client.send('Network.setUserAgentOverride', {
|
|
201
|
-
userAgent: this.#userAgent,
|
|
202
|
-
userAgentMetadata: this.#userAgentMetadata,
|
|
203
|
-
platform: this.#platform,
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
catch (error) {
|
|
207
|
-
if (this.#canIgnoreError(error)) {
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
throw error;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
async setCacheEnabled(enabled) {
|
|
214
|
-
this.#userCacheDisabled = !enabled;
|
|
215
|
-
await this.#applyToAllClients(this.#applyProtocolCacheDisabled.bind(this));
|
|
216
|
-
}
|
|
217
|
-
async setRequestInterception(value) {
|
|
218
|
-
this.#userRequestInterceptionEnabled = value;
|
|
219
|
-
const enabled = this.#userRequestInterceptionEnabled || !!this.#credentials;
|
|
220
|
-
if (enabled === this.#protocolRequestInterceptionEnabled) {
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
this.#protocolRequestInterceptionEnabled = enabled;
|
|
224
|
-
await this.#applyToAllClients(this.#applyProtocolRequestInterception.bind(this));
|
|
225
|
-
}
|
|
226
|
-
async #applyProtocolRequestInterception(client) {
|
|
227
|
-
if (this.#protocolRequestInterceptionEnabled === undefined) {
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
if (this.#userCacheDisabled === undefined) {
|
|
231
|
-
this.#userCacheDisabled = false;
|
|
232
|
-
}
|
|
233
|
-
try {
|
|
234
|
-
if (this.#protocolRequestInterceptionEnabled) {
|
|
235
|
-
await Promise.all([
|
|
236
|
-
this.#applyProtocolCacheDisabled(client),
|
|
237
|
-
client.send('Fetch.enable', {
|
|
238
|
-
handleAuthRequests: true,
|
|
239
|
-
patterns: [{ urlPattern: '*' }],
|
|
240
|
-
}),
|
|
241
|
-
]);
|
|
242
|
-
}
|
|
243
|
-
else {
|
|
244
|
-
await Promise.all([
|
|
245
|
-
this.#applyProtocolCacheDisabled(client),
|
|
246
|
-
client.send('Fetch.disable'),
|
|
247
|
-
]);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
catch (error) {
|
|
251
|
-
if (this.#canIgnoreError(error)) {
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
|
-
throw error;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
async #applyProtocolCacheDisabled(client) {
|
|
258
|
-
if (this.#userCacheDisabled === undefined) {
|
|
259
|
-
return;
|
|
260
|
-
}
|
|
261
|
-
try {
|
|
262
|
-
await client.send('Network.setCacheDisabled', {
|
|
263
|
-
cacheDisabled: this.#userCacheDisabled,
|
|
264
|
-
});
|
|
265
|
-
}
|
|
266
|
-
catch (error) {
|
|
267
|
-
if (this.#canIgnoreError(error)) {
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
throw error;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
#onRequestWillBeSent(client, event) {
|
|
274
|
-
// Request interception doesn't happen for data URLs with Network Service.
|
|
275
|
-
if (this.#userRequestInterceptionEnabled &&
|
|
276
|
-
!event.request.url.startsWith('data:')) {
|
|
277
|
-
const { requestId: networkRequestId } = event;
|
|
278
|
-
this.#networkEventManager.storeRequestWillBeSent(networkRequestId, event);
|
|
279
|
-
/**
|
|
280
|
-
* CDP may have sent a Fetch.requestPaused event already. Check for it.
|
|
281
|
-
*/
|
|
282
|
-
const requestPausedEvent = this.#networkEventManager.getRequestPaused(networkRequestId);
|
|
283
|
-
if (requestPausedEvent) {
|
|
284
|
-
const { requestId: fetchRequestId } = requestPausedEvent;
|
|
285
|
-
this.#patchRequestEventHeaders(event, requestPausedEvent);
|
|
286
|
-
this.#onRequest(client, event, fetchRequestId);
|
|
287
|
-
this.#networkEventManager.forgetRequestPaused(networkRequestId);
|
|
288
|
-
}
|
|
289
|
-
return;
|
|
290
|
-
}
|
|
291
|
-
this.#onRequest(client, event, undefined);
|
|
292
|
-
}
|
|
293
|
-
#onAuthRequired(client, event) {
|
|
294
|
-
let response = 'Default';
|
|
295
|
-
if (this.#attemptedAuthentications.has(event.requestId)) {
|
|
296
|
-
response = 'CancelAuth';
|
|
297
|
-
}
|
|
298
|
-
else if (this.#credentials) {
|
|
299
|
-
response = 'ProvideCredentials';
|
|
300
|
-
this.#attemptedAuthentications.add(event.requestId);
|
|
301
|
-
}
|
|
302
|
-
const { username, password } = this.#credentials || {
|
|
303
|
-
username: undefined,
|
|
304
|
-
password: undefined,
|
|
305
|
-
};
|
|
306
|
-
client
|
|
307
|
-
.send('Fetch.continueWithAuth', {
|
|
308
|
-
requestId: event.requestId,
|
|
309
|
-
authChallengeResponse: { response, username, password },
|
|
310
|
-
})
|
|
311
|
-
.catch(debugError);
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* CDP may send a Fetch.requestPaused without or before a
|
|
315
|
-
* Network.requestWillBeSent
|
|
316
|
-
*
|
|
317
|
-
* CDP may send multiple Fetch.requestPaused
|
|
318
|
-
* for the same Network.requestWillBeSent.
|
|
319
|
-
*/
|
|
320
|
-
#onRequestPaused(client, event) {
|
|
321
|
-
if (!this.#userRequestInterceptionEnabled &&
|
|
322
|
-
this.#protocolRequestInterceptionEnabled) {
|
|
323
|
-
client
|
|
324
|
-
.send('Fetch.continueRequest', {
|
|
325
|
-
requestId: event.requestId,
|
|
326
|
-
})
|
|
327
|
-
.catch(debugError);
|
|
328
|
-
}
|
|
329
|
-
const { networkId: networkRequestId, requestId: fetchRequestId } = event;
|
|
330
|
-
if (!networkRequestId) {
|
|
331
|
-
this.#onRequestWithoutNetworkInstrumentation(client, event);
|
|
332
|
-
return;
|
|
333
|
-
}
|
|
334
|
-
const requestWillBeSentEvent = (() => {
|
|
335
|
-
const requestWillBeSentEvent = this.#networkEventManager.getRequestWillBeSent(networkRequestId);
|
|
336
|
-
// redirect requests have the same `requestId`,
|
|
337
|
-
if (requestWillBeSentEvent &&
|
|
338
|
-
(requestWillBeSentEvent.request.url !== event.request.url ||
|
|
339
|
-
requestWillBeSentEvent.request.method !== event.request.method)) {
|
|
340
|
-
this.#networkEventManager.forgetRequestWillBeSent(networkRequestId);
|
|
341
|
-
return;
|
|
342
|
-
}
|
|
343
|
-
return requestWillBeSentEvent;
|
|
344
|
-
})();
|
|
345
|
-
if (requestWillBeSentEvent) {
|
|
346
|
-
this.#patchRequestEventHeaders(requestWillBeSentEvent, event);
|
|
347
|
-
this.#onRequest(client, requestWillBeSentEvent, fetchRequestId);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
this.#networkEventManager.storeRequestPaused(networkRequestId, event);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
#patchRequestEventHeaders(requestWillBeSentEvent, requestPausedEvent) {
|
|
354
|
-
requestWillBeSentEvent.request.headers = {
|
|
355
|
-
...requestWillBeSentEvent.request.headers,
|
|
356
|
-
// includes extra headers, like: Accept, Origin
|
|
357
|
-
...requestPausedEvent.request.headers,
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
#onRequestWithoutNetworkInstrumentation(client, event) {
|
|
361
|
-
// If an event has no networkId it should not have any network events. We
|
|
362
|
-
// still want to dispatch it for the interception by the user.
|
|
363
|
-
const frame = event.frameId
|
|
364
|
-
? this.#frameManager.frame(event.frameId)
|
|
365
|
-
: null;
|
|
366
|
-
const request = new CdpHTTPRequest(client, frame, event.requestId, this.#userRequestInterceptionEnabled, event, []);
|
|
367
|
-
this.emit(NetworkManagerEvent.Request, request);
|
|
368
|
-
void request.finalizeInterceptions();
|
|
369
|
-
}
|
|
370
|
-
#onRequest(client, event, fetchRequestId, fromMemoryCache = false) {
|
|
371
|
-
let redirectChain = [];
|
|
372
|
-
if (event.redirectResponse) {
|
|
373
|
-
// We want to emit a response and requestfinished for the
|
|
374
|
-
// redirectResponse, but we can't do so unless we have a
|
|
375
|
-
// responseExtraInfo ready to pair it up with. If we don't have any
|
|
376
|
-
// responseExtraInfos saved in our queue, they we have to wait until
|
|
377
|
-
// the next one to emit response and requestfinished, *and* we should
|
|
378
|
-
// also wait to emit this Request too because it should come after the
|
|
379
|
-
// response/requestfinished.
|
|
380
|
-
let redirectResponseExtraInfo = null;
|
|
381
|
-
if (event.redirectHasExtraInfo) {
|
|
382
|
-
redirectResponseExtraInfo = this.#networkEventManager
|
|
383
|
-
.responseExtraInfo(event.requestId)
|
|
384
|
-
.shift();
|
|
385
|
-
if (!redirectResponseExtraInfo) {
|
|
386
|
-
this.#networkEventManager.queueRedirectInfo(event.requestId, {
|
|
387
|
-
event,
|
|
388
|
-
fetchRequestId,
|
|
389
|
-
});
|
|
390
|
-
return;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
const request = this.#networkEventManager.getRequest(event.requestId);
|
|
394
|
-
// If we connect late to the target, we could have missed the
|
|
395
|
-
// requestWillBeSent event.
|
|
396
|
-
if (request) {
|
|
397
|
-
this.#handleRequestRedirect(client, request, event.redirectResponse, redirectResponseExtraInfo);
|
|
398
|
-
redirectChain = request._redirectChain;
|
|
399
|
-
const extraInfo = this.#networkEventManager
|
|
400
|
-
.requestExtraInfo(event.requestId)
|
|
401
|
-
.shift();
|
|
402
|
-
if (extraInfo) {
|
|
403
|
-
request.updateHeaders(extraInfo.headers);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
const frame = event.frameId
|
|
408
|
-
? this.#frameManager.frame(event.frameId)
|
|
409
|
-
: null;
|
|
410
|
-
const request = new CdpHTTPRequest(client, frame, fetchRequestId, this.#userRequestInterceptionEnabled, event, redirectChain);
|
|
411
|
-
const extraInfo = this.#networkEventManager
|
|
412
|
-
.requestExtraInfo(event.requestId)
|
|
413
|
-
.shift();
|
|
414
|
-
if (extraInfo) {
|
|
415
|
-
request.updateHeaders(extraInfo.headers);
|
|
416
|
-
}
|
|
417
|
-
request._fromMemoryCache = fromMemoryCache;
|
|
418
|
-
this.#networkEventManager.storeRequest(event.requestId, request);
|
|
419
|
-
this.emit(NetworkManagerEvent.Request, request);
|
|
420
|
-
void request.finalizeInterceptions();
|
|
421
|
-
}
|
|
422
|
-
#onRequestWillBeSentExtraInfo(_client, event) {
|
|
423
|
-
const request = this.#networkEventManager.getRequest(event.requestId);
|
|
424
|
-
if (request) {
|
|
425
|
-
request.updateHeaders(event.headers);
|
|
426
|
-
}
|
|
427
|
-
else {
|
|
428
|
-
this.#networkEventManager.requestExtraInfo(event.requestId).push(event);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
#onRequestServedFromCache(client, event) {
|
|
432
|
-
const requestWillBeSentEvent = this.#networkEventManager.getRequestWillBeSent(event.requestId);
|
|
433
|
-
let request = this.#networkEventManager.getRequest(event.requestId);
|
|
434
|
-
// Requests served from memory cannot be intercepted.
|
|
435
|
-
if (request) {
|
|
436
|
-
request._fromMemoryCache = true;
|
|
437
|
-
}
|
|
438
|
-
// If request ended up being served from cache, we need to convert
|
|
439
|
-
// requestWillBeSentEvent to a HTTP request.
|
|
440
|
-
if (!request && requestWillBeSentEvent) {
|
|
441
|
-
this.#onRequest(client, requestWillBeSentEvent, undefined, true);
|
|
442
|
-
request = this.#networkEventManager.getRequest(event.requestId);
|
|
443
|
-
}
|
|
444
|
-
if (!request) {
|
|
445
|
-
debugError(new Error(`Request ${event.requestId} was served from cache but we could not find the corresponding request object`));
|
|
446
|
-
return;
|
|
447
|
-
}
|
|
448
|
-
this.emit(NetworkManagerEvent.RequestServedFromCache, request);
|
|
449
|
-
}
|
|
450
|
-
#handleRequestRedirect(_client, request, responsePayload, extraInfo) {
|
|
451
|
-
const response = new CdpHTTPResponse(request, responsePayload, extraInfo);
|
|
452
|
-
request._response = response;
|
|
453
|
-
request._redirectChain.push(request);
|
|
454
|
-
response._resolveBody(new Error('Response body is unavailable for redirect responses'));
|
|
455
|
-
this.#forgetRequest(request, false);
|
|
456
|
-
this.emit(NetworkManagerEvent.Response, response);
|
|
457
|
-
this.emit(NetworkManagerEvent.RequestFinished, request);
|
|
458
|
-
}
|
|
459
|
-
#emitResponseEvent(_client, responseReceived, extraInfo) {
|
|
460
|
-
const request = this.#networkEventManager.getRequest(responseReceived.requestId);
|
|
461
|
-
// FileUpload sends a response without a matching request.
|
|
462
|
-
if (!request) {
|
|
463
|
-
return;
|
|
464
|
-
}
|
|
465
|
-
const extraInfos = this.#networkEventManager.responseExtraInfo(responseReceived.requestId);
|
|
466
|
-
if (extraInfos.length) {
|
|
467
|
-
debugError(new Error('Unexpected extraInfo events for request ' +
|
|
468
|
-
responseReceived.requestId));
|
|
469
|
-
}
|
|
470
|
-
// Chromium sends wrong extraInfo events for responses served from cache.
|
|
471
|
-
// See https://github.com/puppeteer/puppeteer/issues/9965 and
|
|
472
|
-
// https://crbug.com/1340398.
|
|
473
|
-
if (responseReceived.response.fromDiskCache) {
|
|
474
|
-
extraInfo = null;
|
|
475
|
-
}
|
|
476
|
-
const response = new CdpHTTPResponse(request, responseReceived.response, extraInfo);
|
|
477
|
-
request._response = response;
|
|
478
|
-
this.emit(NetworkManagerEvent.Response, response);
|
|
479
|
-
}
|
|
480
|
-
#onResponseReceived(client, event) {
|
|
481
|
-
const request = this.#networkEventManager.getRequest(event.requestId);
|
|
482
|
-
let extraInfo = null;
|
|
483
|
-
if (request && !request._fromMemoryCache && event.hasExtraInfo) {
|
|
484
|
-
extraInfo = this.#networkEventManager
|
|
485
|
-
.responseExtraInfo(event.requestId)
|
|
486
|
-
.shift();
|
|
487
|
-
if (!extraInfo) {
|
|
488
|
-
// Wait until we get the corresponding ExtraInfo event.
|
|
489
|
-
this.#networkEventManager.queueEventGroup(event.requestId, {
|
|
490
|
-
responseReceivedEvent: event,
|
|
491
|
-
});
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
this.#emitResponseEvent(client, event, extraInfo);
|
|
496
|
-
}
|
|
497
|
-
#onResponseReceivedExtraInfo(client, event) {
|
|
498
|
-
// We may have skipped a redirect response/request pair due to waiting for
|
|
499
|
-
// this ExtraInfo event. If so, continue that work now that we have the
|
|
500
|
-
// request.
|
|
501
|
-
const redirectInfo = this.#networkEventManager.takeQueuedRedirectInfo(event.requestId);
|
|
502
|
-
if (redirectInfo) {
|
|
503
|
-
this.#networkEventManager.responseExtraInfo(event.requestId).push(event);
|
|
504
|
-
this.#onRequest(client, redirectInfo.event, redirectInfo.fetchRequestId);
|
|
505
|
-
return;
|
|
506
|
-
}
|
|
507
|
-
// We may have skipped response and loading events because we didn't have
|
|
508
|
-
// this ExtraInfo event yet. If so, emit those events now.
|
|
509
|
-
const queuedEvents = this.#networkEventManager.getQueuedEventGroup(event.requestId);
|
|
510
|
-
if (queuedEvents) {
|
|
511
|
-
this.#networkEventManager.forgetQueuedEventGroup(event.requestId);
|
|
512
|
-
this.#emitResponseEvent(client, queuedEvents.responseReceivedEvent, event);
|
|
513
|
-
if (queuedEvents.loadingFinishedEvent) {
|
|
514
|
-
this.#emitLoadingFinished(client, queuedEvents.loadingFinishedEvent);
|
|
515
|
-
}
|
|
516
|
-
if (queuedEvents.loadingFailedEvent) {
|
|
517
|
-
this.#emitLoadingFailed(client, queuedEvents.loadingFailedEvent);
|
|
518
|
-
}
|
|
519
|
-
return;
|
|
520
|
-
}
|
|
521
|
-
// Wait until we get another event that can use this ExtraInfo event.
|
|
522
|
-
this.#networkEventManager.responseExtraInfo(event.requestId).push(event);
|
|
523
|
-
}
|
|
524
|
-
#forgetRequest(request, events) {
|
|
525
|
-
const requestId = request.id;
|
|
526
|
-
const interceptionId = request._interceptionId;
|
|
527
|
-
this.#networkEventManager.forgetRequest(requestId);
|
|
528
|
-
if (interceptionId !== undefined) {
|
|
529
|
-
this.#attemptedAuthentications.delete(interceptionId);
|
|
530
|
-
}
|
|
531
|
-
if (events) {
|
|
532
|
-
this.#networkEventManager.forget(requestId);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
#onLoadingFinished(client, event) {
|
|
536
|
-
// If the response event for this request is still waiting on a
|
|
537
|
-
// corresponding ExtraInfo event, then wait to emit this event too.
|
|
538
|
-
const queuedEvents = this.#networkEventManager.getQueuedEventGroup(event.requestId);
|
|
539
|
-
if (queuedEvents) {
|
|
540
|
-
queuedEvents.loadingFinishedEvent = event;
|
|
541
|
-
}
|
|
542
|
-
else {
|
|
543
|
-
this.#emitLoadingFinished(client, event);
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
#emitLoadingFinished(client, event) {
|
|
547
|
-
const request = this.#networkEventManager.getRequest(event.requestId);
|
|
548
|
-
// For certain requestIds we never receive requestWillBeSent event.
|
|
549
|
-
// @see https://crbug.com/750469
|
|
550
|
-
if (!request) {
|
|
551
|
-
return;
|
|
552
|
-
}
|
|
553
|
-
this.#adoptCdpSessionIfNeeded(client, request);
|
|
554
|
-
// Under certain conditions we never get the Network.responseReceived
|
|
555
|
-
// event from protocol. @see https://crbug.com/883475
|
|
556
|
-
if (request.response()) {
|
|
557
|
-
request.response()?._resolveBody();
|
|
558
|
-
}
|
|
559
|
-
this.#forgetRequest(request, true);
|
|
560
|
-
this.emit(NetworkManagerEvent.RequestFinished, request);
|
|
561
|
-
}
|
|
562
|
-
#onLoadingFailed(client, event) {
|
|
563
|
-
// If the response event for this request is still waiting on a
|
|
564
|
-
// corresponding ExtraInfo event, then wait to emit this event too.
|
|
565
|
-
const queuedEvents = this.#networkEventManager.getQueuedEventGroup(event.requestId);
|
|
566
|
-
if (queuedEvents) {
|
|
567
|
-
queuedEvents.loadingFailedEvent = event;
|
|
568
|
-
}
|
|
569
|
-
else {
|
|
570
|
-
this.#emitLoadingFailed(client, event);
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
#emitLoadingFailed(client, event) {
|
|
574
|
-
const request = this.#networkEventManager.getRequest(event.requestId);
|
|
575
|
-
// For certain requestIds we never receive requestWillBeSent event.
|
|
576
|
-
// @see https://crbug.com/750469
|
|
577
|
-
if (!request) {
|
|
578
|
-
return;
|
|
579
|
-
}
|
|
580
|
-
this.#adoptCdpSessionIfNeeded(client, request);
|
|
581
|
-
request._failureText = event.errorText;
|
|
582
|
-
const response = request.response();
|
|
583
|
-
if (response) {
|
|
584
|
-
response._resolveBody();
|
|
585
|
-
}
|
|
586
|
-
this.#forgetRequest(request, true);
|
|
587
|
-
this.emit(NetworkManagerEvent.RequestFailed, request);
|
|
588
|
-
}
|
|
589
|
-
#adoptCdpSessionIfNeeded(client, request) {
|
|
590
|
-
// Document requests for OOPIFs start in the parent frame but are
|
|
591
|
-
// adopted by their child frame, meaning their loadingFinished and
|
|
592
|
-
// loadingFailed events are fired on the child session. In this case
|
|
593
|
-
// we reassign the request CDPSession to ensure all subsequent
|
|
594
|
-
// actions use the correct session (e.g. retrieving response body in
|
|
595
|
-
// HTTPResponse). The same applies to main worker script requests.
|
|
596
|
-
if (client !== request.client) {
|
|
597
|
-
request.client = client;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
//# sourceMappingURL=NetworkManager.js.map
|