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
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.PacProxyAgent = void 0;
|
|
30
|
-
const net = __importStar(require("net"));
|
|
31
|
-
const tls = __importStar(require("tls"));
|
|
32
|
-
const crypto = __importStar(require("crypto"));
|
|
33
|
-
const events_1 = require("events");
|
|
34
|
-
const debug_1 = __importDefault(require("debug"));
|
|
35
|
-
const url_1 = require("url");
|
|
36
|
-
const agent_base_1 = require("agent-base");
|
|
37
|
-
const get_uri_1 = require("get-uri");
|
|
38
|
-
const pac_resolver_1 = require("pac-resolver");
|
|
39
|
-
const quickjs_emscripten_1 = require("@tootallnate/quickjs-emscripten");
|
|
40
|
-
const debug = (0, debug_1.default)('pac-proxy-agent');
|
|
41
|
-
const setServernameFromNonIpHost = (options) => {
|
|
42
|
-
if (options.servername === undefined &&
|
|
43
|
-
options.host &&
|
|
44
|
-
!net.isIP(options.host)) {
|
|
45
|
-
return {
|
|
46
|
-
...options,
|
|
47
|
-
servername: options.host,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
return options;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* The `PacProxyAgent` class.
|
|
54
|
-
*
|
|
55
|
-
* A few different "protocol" modes are supported (supported protocols are
|
|
56
|
-
* backed by the `get-uri` module):
|
|
57
|
-
*
|
|
58
|
-
* - "pac+data", "data" - refers to an embedded "data:" URI
|
|
59
|
-
* - "pac+file", "file" - refers to a local file
|
|
60
|
-
* - "pac+ftp", "ftp" - refers to a file located on an FTP server
|
|
61
|
-
* - "pac+http", "http" - refers to an HTTP endpoint
|
|
62
|
-
* - "pac+https", "https" - refers to an HTTPS endpoint
|
|
63
|
-
*/
|
|
64
|
-
class PacProxyAgent extends agent_base_1.Agent {
|
|
65
|
-
constructor(uri, opts) {
|
|
66
|
-
super(opts);
|
|
67
|
-
this.clearResolverPromise = () => {
|
|
68
|
-
this.resolverPromise = undefined;
|
|
69
|
-
};
|
|
70
|
-
// Strip the "pac+" prefix
|
|
71
|
-
const uriStr = typeof uri === 'string' ? uri : uri.href;
|
|
72
|
-
this.uri = new url_1.URL(uriStr.replace(/^pac\+/i, ''));
|
|
73
|
-
debug('Creating PacProxyAgent with URI %o', this.uri.href);
|
|
74
|
-
// @ts-expect-error Not sure why TS is complaining here…
|
|
75
|
-
this.opts = { ...opts };
|
|
76
|
-
this.cache = undefined;
|
|
77
|
-
this.resolver = undefined;
|
|
78
|
-
this.resolverHash = '';
|
|
79
|
-
this.resolverPromise = undefined;
|
|
80
|
-
// For `PacResolver`
|
|
81
|
-
if (!this.opts.filename) {
|
|
82
|
-
this.opts.filename = this.uri.href;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Loads the PAC proxy file from the source if necessary, and returns
|
|
87
|
-
* a generated `FindProxyForURL()` resolver function to use.
|
|
88
|
-
*/
|
|
89
|
-
getResolver() {
|
|
90
|
-
if (!this.resolverPromise) {
|
|
91
|
-
this.resolverPromise = this.loadResolver();
|
|
92
|
-
this.resolverPromise.then(this.clearResolverPromise, this.clearResolverPromise);
|
|
93
|
-
}
|
|
94
|
-
return this.resolverPromise;
|
|
95
|
-
}
|
|
96
|
-
async loadResolver() {
|
|
97
|
-
try {
|
|
98
|
-
// (Re)load the contents of the PAC file URI
|
|
99
|
-
const [qjs, code] = await Promise.all([
|
|
100
|
-
(0, quickjs_emscripten_1.getQuickJS)(),
|
|
101
|
-
this.loadPacFile(),
|
|
102
|
-
]);
|
|
103
|
-
// Create a sha1 hash of the JS code
|
|
104
|
-
const hash = crypto.createHash('sha1').update(code).digest('hex');
|
|
105
|
-
if (this.resolver && this.resolverHash === hash) {
|
|
106
|
-
debug('Same sha1 hash for code - contents have not changed, reusing previous proxy resolver');
|
|
107
|
-
return this.resolver;
|
|
108
|
-
}
|
|
109
|
-
// Cache the resolver
|
|
110
|
-
debug('Creating new proxy resolver instance');
|
|
111
|
-
this.resolver = (0, pac_resolver_1.createPacResolver)(qjs, code, this.opts);
|
|
112
|
-
// Store that sha1 hash for future comparison purposes
|
|
113
|
-
this.resolverHash = hash;
|
|
114
|
-
return this.resolver;
|
|
115
|
-
}
|
|
116
|
-
catch (err) {
|
|
117
|
-
if (this.resolver &&
|
|
118
|
-
err.code === 'ENOTMODIFIED') {
|
|
119
|
-
debug('Got ENOTMODIFIED response, reusing previous proxy resolver');
|
|
120
|
-
return this.resolver;
|
|
121
|
-
}
|
|
122
|
-
throw err;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Loads the contents of the PAC proxy file.
|
|
127
|
-
*
|
|
128
|
-
* @api private
|
|
129
|
-
*/
|
|
130
|
-
async loadPacFile() {
|
|
131
|
-
debug('Loading PAC file: %o', this.uri);
|
|
132
|
-
const rs = await (0, get_uri_1.getUri)(this.uri, { ...this.opts, cache: this.cache });
|
|
133
|
-
debug('Got `Readable` instance for URI');
|
|
134
|
-
this.cache = rs;
|
|
135
|
-
const buf = await (0, agent_base_1.toBuffer)(rs);
|
|
136
|
-
debug('Read %o byte PAC file from URI', buf.length);
|
|
137
|
-
return buf.toString('utf8');
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Called when the node-core HTTP client library is creating a new HTTP request.
|
|
141
|
-
*/
|
|
142
|
-
async connect(req, opts) {
|
|
143
|
-
const { secureEndpoint } = opts;
|
|
144
|
-
const isWebSocket = req.getHeader('upgrade') === 'websocket';
|
|
145
|
-
// First, get a generated `FindProxyForURL()` function,
|
|
146
|
-
// either cached or retrieved from the source
|
|
147
|
-
const resolver = await this.getResolver();
|
|
148
|
-
// Calculate the `url` parameter
|
|
149
|
-
const protocol = secureEndpoint ? 'https:' : 'http:';
|
|
150
|
-
const host = opts.host && net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host;
|
|
151
|
-
const defaultPort = secureEndpoint ? 443 : 80;
|
|
152
|
-
const url = Object.assign(new url_1.URL(req.path, `${protocol}//${host}`), defaultPort ? undefined : { port: opts.port });
|
|
153
|
-
debug('url: %s', url);
|
|
154
|
-
let result = await resolver(url);
|
|
155
|
-
// Default to "DIRECT" if a falsey value was returned (or nothing)
|
|
156
|
-
if (!result) {
|
|
157
|
-
result = 'DIRECT';
|
|
158
|
-
}
|
|
159
|
-
const proxies = String(result)
|
|
160
|
-
.trim()
|
|
161
|
-
.split(/\s*;\s*/g)
|
|
162
|
-
.filter(Boolean);
|
|
163
|
-
if (this.opts.fallbackToDirect && !proxies.includes('DIRECT')) {
|
|
164
|
-
proxies.push('DIRECT');
|
|
165
|
-
}
|
|
166
|
-
for (const proxy of proxies) {
|
|
167
|
-
let agent = null;
|
|
168
|
-
let socket = null;
|
|
169
|
-
const [type, target] = proxy.split(/\s+/);
|
|
170
|
-
debug('Attempting to use proxy: %o', proxy);
|
|
171
|
-
if (type === 'DIRECT') {
|
|
172
|
-
// Direct connection to the destination endpoint
|
|
173
|
-
if (secureEndpoint) {
|
|
174
|
-
socket = tls.connect(setServernameFromNonIpHost(opts));
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
socket = net.connect(opts);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
else if (type === 'SOCKS' || type === 'SOCKS5') {
|
|
181
|
-
// Use a SOCKSv5h proxy
|
|
182
|
-
const { SocksProxyAgent } = await Promise.resolve().then(() => __importStar(require('socks-proxy-agent')));
|
|
183
|
-
agent = new SocksProxyAgent(`socks://${target}`, this.opts);
|
|
184
|
-
}
|
|
185
|
-
else if (type === 'SOCKS4') {
|
|
186
|
-
// Use a SOCKSv4a proxy
|
|
187
|
-
const { SocksProxyAgent } = await Promise.resolve().then(() => __importStar(require('socks-proxy-agent')));
|
|
188
|
-
agent = new SocksProxyAgent(`socks4a://${target}`, this.opts);
|
|
189
|
-
}
|
|
190
|
-
else if (type === 'PROXY' ||
|
|
191
|
-
type === 'HTTP' ||
|
|
192
|
-
type === 'HTTPS') {
|
|
193
|
-
// Use an HTTP or HTTPS proxy
|
|
194
|
-
// http://dev.chromium.org/developers/design-documents/secure-web-proxy
|
|
195
|
-
const proxyURL = `${type === 'HTTPS' ? 'https' : 'http'}://${target}`;
|
|
196
|
-
if (secureEndpoint || isWebSocket) {
|
|
197
|
-
const { HttpsProxyAgent } = await Promise.resolve().then(() => __importStar(require('https-proxy-agent')));
|
|
198
|
-
agent = new HttpsProxyAgent(proxyURL, this.opts);
|
|
199
|
-
}
|
|
200
|
-
else {
|
|
201
|
-
const { HttpProxyAgent } = await Promise.resolve().then(() => __importStar(require('http-proxy-agent')));
|
|
202
|
-
agent = new HttpProxyAgent(proxyURL, this.opts);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
try {
|
|
206
|
-
if (socket) {
|
|
207
|
-
// "DIRECT" connection, wait for connection confirmation
|
|
208
|
-
await (0, events_1.once)(socket, 'connect');
|
|
209
|
-
req.emit('proxy', { proxy, socket });
|
|
210
|
-
return socket;
|
|
211
|
-
}
|
|
212
|
-
if (agent) {
|
|
213
|
-
const s = await agent.connect(req, opts);
|
|
214
|
-
if (!(s instanceof net.Socket)) {
|
|
215
|
-
throw new Error('Expected a `net.Socket` to be returned from agent');
|
|
216
|
-
}
|
|
217
|
-
req.emit('proxy', { proxy, socket: s });
|
|
218
|
-
return s;
|
|
219
|
-
}
|
|
220
|
-
throw new Error(`Could not determine proxy type for: ${proxy}`);
|
|
221
|
-
}
|
|
222
|
-
catch (err) {
|
|
223
|
-
debug('Got error for proxy %o: %o', proxy, err);
|
|
224
|
-
req.emit('proxy', { proxy, error: err });
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
throw new Error(`Failed to establish a socket connection to proxies: ${JSON.stringify(proxies)}`);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
PacProxyAgent.protocols = [
|
|
231
|
-
'pac+data',
|
|
232
|
-
'pac+file',
|
|
233
|
-
'pac+ftp',
|
|
234
|
-
'pac+http',
|
|
235
|
-
'pac+https',
|
|
236
|
-
];
|
|
237
|
-
exports.PacProxyAgent = PacProxyAgent;
|
|
238
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pac-proxy-agent",
|
|
3
|
-
"version": "7.2.0",
|
|
4
|
-
"description": "A PAC file proxy `http.Agent` implementation for HTTP",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
],
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "https://github.com/TooTallNate/proxy-agents.git",
|
|
13
|
-
"directory": "packages/pac-proxy-agent"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"pac",
|
|
17
|
-
"proxy",
|
|
18
|
-
"agent",
|
|
19
|
-
"http",
|
|
20
|
-
"https",
|
|
21
|
-
"socks",
|
|
22
|
-
"request",
|
|
23
|
-
"access"
|
|
24
|
-
],
|
|
25
|
-
"author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
|
|
26
|
-
"license": "MIT",
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@tootallnate/quickjs-emscripten": "^0.23.0",
|
|
29
|
-
"agent-base": "^7.1.2",
|
|
30
|
-
"debug": "^4.3.4",
|
|
31
|
-
"get-uri": "^6.0.1",
|
|
32
|
-
"http-proxy-agent": "^7.0.0",
|
|
33
|
-
"https-proxy-agent": "^7.0.6",
|
|
34
|
-
"pac-resolver": "^7.0.1",
|
|
35
|
-
"socks-proxy-agent": "^8.0.5"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/debug": "^4.1.7",
|
|
39
|
-
"@types/jest": "^29.5.1",
|
|
40
|
-
"@types/node": "^14.18.45",
|
|
41
|
-
"async-listen": "^3.0.0",
|
|
42
|
-
"jest": "^29.5.0",
|
|
43
|
-
"socksv5": "0.0.6",
|
|
44
|
-
"ts-jest": "^29.1.0",
|
|
45
|
-
"typescript": "^5.0.4",
|
|
46
|
-
"proxy": "2.2.0",
|
|
47
|
-
"tsconfig": "0.0.0"
|
|
48
|
-
},
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">= 14"
|
|
51
|
-
},
|
|
52
|
-
"scripts": {
|
|
53
|
-
"build": "tsc",
|
|
54
|
-
"test": "jest --env node --verbose --bail",
|
|
55
|
-
"lint": "eslint --ext .ts",
|
|
56
|
-
"pack": "node ../../scripts/pack.mjs"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* If only a single value is specified (from each category: day, month, year), the
|
|
4
|
-
* function returns a true value only on days that match that specification. If
|
|
5
|
-
* both values are specified, the result is true between those times, including
|
|
6
|
-
* bounds.
|
|
7
|
-
*
|
|
8
|
-
* Even though the examples don't show, the "GMT" parameter can be specified
|
|
9
|
-
* in any of the 9 different call profiles, always as the last parameter.
|
|
10
|
-
*
|
|
11
|
-
* Examples:
|
|
12
|
-
*
|
|
13
|
-
* ``` js
|
|
14
|
-
* dateRange(1)
|
|
15
|
-
* true on the first day of each month, local timezone.
|
|
16
|
-
*
|
|
17
|
-
* dateRange(1, "GMT")
|
|
18
|
-
* true on the first day of each month, GMT timezone.
|
|
19
|
-
*
|
|
20
|
-
* dateRange(1, 15)
|
|
21
|
-
* true on the first half of each month.
|
|
22
|
-
*
|
|
23
|
-
* dateRange(24, "DEC")
|
|
24
|
-
* true on 24th of December each year.
|
|
25
|
-
*
|
|
26
|
-
* dateRange(24, "DEC", 1995)
|
|
27
|
-
* true on 24th of December, 1995.
|
|
28
|
-
*
|
|
29
|
-
* dateRange("JAN", "MAR")
|
|
30
|
-
* true on the first quarter of the year.
|
|
31
|
-
*
|
|
32
|
-
* dateRange(1, "JUN", 15, "AUG")
|
|
33
|
-
* true from June 1st until August 15th, each year (including June 1st and August
|
|
34
|
-
* 15th).
|
|
35
|
-
*
|
|
36
|
-
* dateRange(1, "JUN", 15, 1995, "AUG", 1995)
|
|
37
|
-
* true from June 1st, 1995, until August 15th, same year.
|
|
38
|
-
*
|
|
39
|
-
* dateRange("OCT", 1995, "MAR", 1996)
|
|
40
|
-
* true from October 1995 until March 1996 (including the entire month of October
|
|
41
|
-
* 1995 and March 1996).
|
|
42
|
-
*
|
|
43
|
-
* dateRange(1995)
|
|
44
|
-
* true during the entire year 1995.
|
|
45
|
-
*
|
|
46
|
-
* dateRange(1995, 1997)
|
|
47
|
-
* true from beginning of year 1995 until the end of year 1997.
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* dateRange(day)
|
|
51
|
-
* dateRange(day1, day2)
|
|
52
|
-
* dateRange(mon)
|
|
53
|
-
* dateRange(month1, month2)
|
|
54
|
-
* dateRange(year)
|
|
55
|
-
* dateRange(year1, year2)
|
|
56
|
-
* dateRange(day1, month1, day2, month2)
|
|
57
|
-
* dateRange(month1, year1, month2, year2)
|
|
58
|
-
* dateRange(day1, month1, year1, day2, month2, year2)
|
|
59
|
-
* dateRange(day1, month1, year1, day2, month2, year2, gmt)
|
|
60
|
-
*
|
|
61
|
-
* @param {String} day is the day of month between 1 and 31 (as an integer).
|
|
62
|
-
* @param {String} month is one of the month strings: JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC
|
|
63
|
-
* @param {String} year is the full year number, for example 1995 (but not 95). Integer.
|
|
64
|
-
* @param {String} gmt is either the string "GMT", which makes time comparison occur in GMT timezone; if left unspecified, times are taken to be in the local timezone.
|
|
65
|
-
* @return {Boolean}
|
|
66
|
-
*/
|
|
67
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
68
|
-
function dateRange() {
|
|
69
|
-
// TODO: implement me!
|
|
70
|
-
return false;
|
|
71
|
-
}
|
|
72
|
-
exports.default = dateRange;
|
|
73
|
-
//# sourceMappingURL=dateRange.js.map
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* Returns true iff the domain of hostname matches.
|
|
5
|
-
*
|
|
6
|
-
* Examples:
|
|
7
|
-
*
|
|
8
|
-
* ``` js
|
|
9
|
-
* dnsDomainIs("www.netscape.com", ".netscape.com")
|
|
10
|
-
* // is true.
|
|
11
|
-
*
|
|
12
|
-
* dnsDomainIs("www", ".netscape.com")
|
|
13
|
-
* // is false.
|
|
14
|
-
*
|
|
15
|
-
* dnsDomainIs("www.mcom.com", ".netscape.com")
|
|
16
|
-
* // is false.
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @param {String} host is the hostname from the URL.
|
|
21
|
-
* @param {String} domain is the domain name to test the hostname against.
|
|
22
|
-
* @return {Boolean} true iff the domain of the hostname matches.
|
|
23
|
-
*/
|
|
24
|
-
function dnsDomainIs(host, domain) {
|
|
25
|
-
host = String(host);
|
|
26
|
-
domain = String(domain);
|
|
27
|
-
return host.substr(domain.length * -1) === domain;
|
|
28
|
-
}
|
|
29
|
-
exports.default = dnsDomainIs;
|
|
30
|
-
//# sourceMappingURL=dnsDomainIs.js.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* Returns the number (integer) of DNS domain levels (number of dots) in the
|
|
5
|
-
* hostname.
|
|
6
|
-
*
|
|
7
|
-
* Examples:
|
|
8
|
-
*
|
|
9
|
-
* ``` js
|
|
10
|
-
* dnsDomainLevels("www")
|
|
11
|
-
* // returns 0.
|
|
12
|
-
* dnsDomainLevels("www.netscape.com")
|
|
13
|
-
* // returns 2.
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
* @param {String} host is the hostname from the URL.
|
|
17
|
-
* @return {Number} number of domain levels
|
|
18
|
-
*/
|
|
19
|
-
function dnsDomainLevels(host) {
|
|
20
|
-
const match = String(host).match(/\./g);
|
|
21
|
-
let levels = 0;
|
|
22
|
-
if (match) {
|
|
23
|
-
levels = match.length;
|
|
24
|
-
}
|
|
25
|
-
return levels;
|
|
26
|
-
}
|
|
27
|
-
exports.default = dnsDomainLevels;
|
|
28
|
-
//# sourceMappingURL=dnsDomainLevels.js.map
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const util_1 = require("./util");
|
|
4
|
-
/**
|
|
5
|
-
* Resolves the given DNS hostname into an IP address, and returns it in the dot
|
|
6
|
-
* separated format as a string.
|
|
7
|
-
*
|
|
8
|
-
* Example:
|
|
9
|
-
*
|
|
10
|
-
* ``` js
|
|
11
|
-
* dnsResolve("home.netscape.com")
|
|
12
|
-
* // returns the string "198.95.249.79".
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
* @param {String} host hostname to resolve
|
|
16
|
-
* @return {String} resolved IP address
|
|
17
|
-
*/
|
|
18
|
-
async function dnsResolve(host) {
|
|
19
|
-
const family = 4;
|
|
20
|
-
try {
|
|
21
|
-
const r = await (0, util_1.dnsLookup)(host, { family });
|
|
22
|
-
if (typeof r === 'string') {
|
|
23
|
-
return r;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
catch (err) {
|
|
27
|
-
// @ignore
|
|
28
|
-
}
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
exports.default = dnsResolve;
|
|
32
|
-
//# sourceMappingURL=dnsResolve.js.map
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.sandbox = exports.createPacResolver = void 0;
|
|
7
|
-
const degenerator_1 = require("degenerator");
|
|
8
|
-
/**
|
|
9
|
-
* Built-in PAC functions.
|
|
10
|
-
*/
|
|
11
|
-
const dateRange_1 = __importDefault(require("./dateRange"));
|
|
12
|
-
const dnsDomainIs_1 = __importDefault(require("./dnsDomainIs"));
|
|
13
|
-
const dnsDomainLevels_1 = __importDefault(require("./dnsDomainLevels"));
|
|
14
|
-
const dnsResolve_1 = __importDefault(require("./dnsResolve"));
|
|
15
|
-
const isInNet_1 = __importDefault(require("./isInNet"));
|
|
16
|
-
const isPlainHostName_1 = __importDefault(require("./isPlainHostName"));
|
|
17
|
-
const isResolvable_1 = __importDefault(require("./isResolvable"));
|
|
18
|
-
const localHostOrDomainIs_1 = __importDefault(require("./localHostOrDomainIs"));
|
|
19
|
-
const myIpAddress_1 = __importDefault(require("./myIpAddress"));
|
|
20
|
-
const shExpMatch_1 = __importDefault(require("./shExpMatch"));
|
|
21
|
-
const timeRange_1 = __importDefault(require("./timeRange"));
|
|
22
|
-
const weekdayRange_1 = __importDefault(require("./weekdayRange"));
|
|
23
|
-
/**
|
|
24
|
-
* Returns an asynchronous `FindProxyForURL()` function
|
|
25
|
-
* from the given JS string (from a PAC file).
|
|
26
|
-
*/
|
|
27
|
-
function createPacResolver(qjs, _str, _opts = {}) {
|
|
28
|
-
const str = Buffer.isBuffer(_str) ? _str.toString('utf8') : _str;
|
|
29
|
-
// The sandbox to use for the `vm` context.
|
|
30
|
-
const context = {
|
|
31
|
-
...exports.sandbox,
|
|
32
|
-
..._opts.sandbox,
|
|
33
|
-
};
|
|
34
|
-
// Construct the array of async function names to add `await` calls to.
|
|
35
|
-
const names = Object.keys(context).filter((k) => isAsyncFunction(context[k]));
|
|
36
|
-
const opts = {
|
|
37
|
-
filename: 'proxy.pac',
|
|
38
|
-
names,
|
|
39
|
-
..._opts,
|
|
40
|
-
sandbox: context,
|
|
41
|
-
};
|
|
42
|
-
// Compile the JS `FindProxyForURL()` function into an async function.
|
|
43
|
-
const resolver = (0, degenerator_1.compile)(qjs, str, 'FindProxyForURL', opts);
|
|
44
|
-
function FindProxyForURL(url, _host) {
|
|
45
|
-
const urlObj = typeof url === 'string' ? new URL(url) : url;
|
|
46
|
-
const host = _host || urlObj.hostname;
|
|
47
|
-
if (!host) {
|
|
48
|
-
throw new TypeError('Could not determine `host`');
|
|
49
|
-
}
|
|
50
|
-
return resolver(urlObj.href, host);
|
|
51
|
-
}
|
|
52
|
-
Object.defineProperty(FindProxyForURL, 'toString', {
|
|
53
|
-
value: () => resolver.toString(),
|
|
54
|
-
enumerable: false,
|
|
55
|
-
});
|
|
56
|
-
return FindProxyForURL;
|
|
57
|
-
}
|
|
58
|
-
exports.createPacResolver = createPacResolver;
|
|
59
|
-
exports.sandbox = Object.freeze({
|
|
60
|
-
alert: (message = '') => console.log('%s', message),
|
|
61
|
-
dateRange: dateRange_1.default,
|
|
62
|
-
dnsDomainIs: dnsDomainIs_1.default,
|
|
63
|
-
dnsDomainLevels: dnsDomainLevels_1.default,
|
|
64
|
-
dnsResolve: dnsResolve_1.default,
|
|
65
|
-
isInNet: isInNet_1.default,
|
|
66
|
-
isPlainHostName: isPlainHostName_1.default,
|
|
67
|
-
isResolvable: isResolvable_1.default,
|
|
68
|
-
localHostOrDomainIs: localHostOrDomainIs_1.default,
|
|
69
|
-
myIpAddress: myIpAddress_1.default,
|
|
70
|
-
shExpMatch: shExpMatch_1.default,
|
|
71
|
-
timeRange: timeRange_1.default,
|
|
72
|
-
weekdayRange: weekdayRange_1.default,
|
|
73
|
-
});
|
|
74
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
75
|
-
function isAsyncFunction(v) {
|
|
76
|
-
if (typeof v !== 'function')
|
|
77
|
-
return false;
|
|
78
|
-
// Native `AsyncFunction`
|
|
79
|
-
if (v.constructor.name === 'AsyncFunction')
|
|
80
|
-
return true;
|
|
81
|
-
// TypeScript compiled
|
|
82
|
-
if (String(v).indexOf('__awaiter(') !== -1)
|
|
83
|
-
return true;
|
|
84
|
-
// Legacy behavior - set `async` property on the function
|
|
85
|
-
return Boolean(v.async);
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ip = void 0;
|
|
7
|
-
const os_1 = __importDefault(require("os"));
|
|
8
|
-
exports.ip = {
|
|
9
|
-
address() {
|
|
10
|
-
const interfaces = os_1.default.networkInterfaces();
|
|
11
|
-
// Default to `ipv4`
|
|
12
|
-
const family = normalizeFamily();
|
|
13
|
-
const all = Object.values(interfaces).map((addrs = []) => {
|
|
14
|
-
const addresses = addrs.filter((details) => {
|
|
15
|
-
const detailsFamily = normalizeFamily(details.family);
|
|
16
|
-
if (detailsFamily !== family || exports.ip.isLoopback(details.address)) {
|
|
17
|
-
return false;
|
|
18
|
-
}
|
|
19
|
-
return true;
|
|
20
|
-
});
|
|
21
|
-
return addresses.length ? addresses[0].address : undefined;
|
|
22
|
-
}).filter(Boolean);
|
|
23
|
-
return !all.length ? exports.ip.loopback(family) : all[0];
|
|
24
|
-
},
|
|
25
|
-
isLoopback(addr) {
|
|
26
|
-
return /^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/
|
|
27
|
-
.test(addr)
|
|
28
|
-
|| /^fe80::1$/.test(addr)
|
|
29
|
-
|| /^::1$/.test(addr)
|
|
30
|
-
|| /^::$/.test(addr);
|
|
31
|
-
},
|
|
32
|
-
loopback(family) {
|
|
33
|
-
// Default to `ipv4`
|
|
34
|
-
family = normalizeFamily(family);
|
|
35
|
-
if (family !== 'ipv4' && family !== 'ipv6') {
|
|
36
|
-
throw new Error('family must be ipv4 or ipv6');
|
|
37
|
-
}
|
|
38
|
-
return family === 'ipv4' ? '127.0.0.1' : 'fe80::1';
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
function normalizeFamily(family) {
|
|
42
|
-
if (family === 4) {
|
|
43
|
-
return 'ipv4';
|
|
44
|
-
}
|
|
45
|
-
if (family === 6) {
|
|
46
|
-
return 'ipv6';
|
|
47
|
-
}
|
|
48
|
-
return family ? family.toLowerCase() : 'ipv4';
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=ip.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const netmask_1 = require("netmask");
|
|
4
|
-
const util_1 = require("./util");
|
|
5
|
-
/**
|
|
6
|
-
* True iff the IP address of the host matches the specified IP address pattern.
|
|
7
|
-
*
|
|
8
|
-
* Pattern and mask specification is done the same way as for SOCKS configuration.
|
|
9
|
-
*
|
|
10
|
-
* Examples:
|
|
11
|
-
*
|
|
12
|
-
* ``` js
|
|
13
|
-
* isInNet(host, "198.95.249.79", "255.255.255.255")
|
|
14
|
-
* // is true iff the IP address of host matches exactly 198.95.249.79.
|
|
15
|
-
*
|
|
16
|
-
* isInNet(host, "198.95.0.0", "255.255.0.0")
|
|
17
|
-
* // is true iff the IP address of the host matches 198.95.*.*.
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @param {String} host a DNS hostname, or IP address. If a hostname is passed,
|
|
21
|
-
* it will be resoved into an IP address by this function.
|
|
22
|
-
* @param {String} pattern an IP address pattern in the dot-separated format mask.
|
|
23
|
-
* @param {String} mask for the IP address pattern informing which parts of the
|
|
24
|
-
* IP address should be matched against. 0 means ignore, 255 means match.
|
|
25
|
-
* @return {Boolean}
|
|
26
|
-
*/
|
|
27
|
-
async function isInNet(host, pattern, mask) {
|
|
28
|
-
const family = 4;
|
|
29
|
-
try {
|
|
30
|
-
const ip = await (0, util_1.dnsLookup)(host, { family });
|
|
31
|
-
if (typeof ip === 'string') {
|
|
32
|
-
const netmask = new netmask_1.Netmask(pattern, mask);
|
|
33
|
-
return netmask.contains(ip);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (err) {
|
|
37
|
-
// ignore
|
|
38
|
-
}
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
exports.default = isInNet;
|
|
42
|
-
//# sourceMappingURL=isInNet.js.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* True iff there is no domain name in the hostname (no dots).
|
|
4
|
-
*
|
|
5
|
-
* Examples:
|
|
6
|
-
*
|
|
7
|
-
* ``` js
|
|
8
|
-
* isPlainHostName("www")
|
|
9
|
-
* // is true.
|
|
10
|
-
*
|
|
11
|
-
* isPlainHostName("www.netscape.com")
|
|
12
|
-
* // is false.
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
* @param {String} host The hostname from the URL (excluding port number).
|
|
16
|
-
* @return {Boolean}
|
|
17
|
-
*/
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
function isPlainHostName(host) {
|
|
20
|
-
return !/\./.test(host);
|
|
21
|
-
}
|
|
22
|
-
exports.default = isPlainHostName;
|
|
23
|
-
//# sourceMappingURL=isPlainHostName.js.map
|