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,584 +0,0 @@
|
|
|
1
|
-
import { objFilter } from './utils/obj-filter.js';
|
|
2
|
-
import { YError } from './yerror.js';
|
|
3
|
-
import setBlocking from './utils/set-blocking.js';
|
|
4
|
-
function isBoolean(fail) {
|
|
5
|
-
return typeof fail === 'boolean';
|
|
6
|
-
}
|
|
7
|
-
export function usage(yargs, shim) {
|
|
8
|
-
const __ = shim.y18n.__;
|
|
9
|
-
const self = {};
|
|
10
|
-
const fails = [];
|
|
11
|
-
self.failFn = function failFn(f) {
|
|
12
|
-
fails.push(f);
|
|
13
|
-
};
|
|
14
|
-
let failMessage = null;
|
|
15
|
-
let globalFailMessage = null;
|
|
16
|
-
let showHelpOnFail = true;
|
|
17
|
-
self.showHelpOnFail = function showHelpOnFailFn(arg1 = true, arg2) {
|
|
18
|
-
const [enabled, message] = typeof arg1 === 'string' ? [true, arg1] : [arg1, arg2];
|
|
19
|
-
if (yargs.getInternalMethods().isGlobalContext()) {
|
|
20
|
-
globalFailMessage = message;
|
|
21
|
-
}
|
|
22
|
-
failMessage = message;
|
|
23
|
-
showHelpOnFail = enabled;
|
|
24
|
-
return self;
|
|
25
|
-
};
|
|
26
|
-
let failureOutput = false;
|
|
27
|
-
self.fail = function fail(msg, err) {
|
|
28
|
-
const logger = yargs.getInternalMethods().getLoggerInstance();
|
|
29
|
-
if (fails.length) {
|
|
30
|
-
for (let i = fails.length - 1; i >= 0; --i) {
|
|
31
|
-
const fail = fails[i];
|
|
32
|
-
if (isBoolean(fail)) {
|
|
33
|
-
if (err)
|
|
34
|
-
throw err;
|
|
35
|
-
else if (msg)
|
|
36
|
-
throw Error(msg);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
fail(msg, err, self);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
if (yargs.getExitProcess())
|
|
45
|
-
setBlocking(true);
|
|
46
|
-
if (!failureOutput) {
|
|
47
|
-
failureOutput = true;
|
|
48
|
-
if (showHelpOnFail) {
|
|
49
|
-
yargs.showHelp('error');
|
|
50
|
-
logger.error();
|
|
51
|
-
}
|
|
52
|
-
if (msg || err)
|
|
53
|
-
logger.error(msg || err);
|
|
54
|
-
const globalOrCommandFailMessage = failMessage || globalFailMessage;
|
|
55
|
-
if (globalOrCommandFailMessage) {
|
|
56
|
-
if (msg || err)
|
|
57
|
-
logger.error('');
|
|
58
|
-
logger.error(globalOrCommandFailMessage);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
err = err || new YError(msg);
|
|
62
|
-
if (yargs.getExitProcess()) {
|
|
63
|
-
return yargs.exit(1);
|
|
64
|
-
}
|
|
65
|
-
else if (yargs.getInternalMethods().hasParseCallback()) {
|
|
66
|
-
return yargs.exit(1, err);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
throw err;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
let usages = [];
|
|
74
|
-
let usageDisabled = false;
|
|
75
|
-
self.usage = (msg, description) => {
|
|
76
|
-
if (msg === null) {
|
|
77
|
-
usageDisabled = true;
|
|
78
|
-
usages = [];
|
|
79
|
-
return self;
|
|
80
|
-
}
|
|
81
|
-
usageDisabled = false;
|
|
82
|
-
usages.push([msg, description || '']);
|
|
83
|
-
return self;
|
|
84
|
-
};
|
|
85
|
-
self.getUsage = () => {
|
|
86
|
-
return usages;
|
|
87
|
-
};
|
|
88
|
-
self.getUsageDisabled = () => {
|
|
89
|
-
return usageDisabled;
|
|
90
|
-
};
|
|
91
|
-
self.getPositionalGroupName = () => {
|
|
92
|
-
return __('Positionals:');
|
|
93
|
-
};
|
|
94
|
-
let examples = [];
|
|
95
|
-
self.example = (cmd, description) => {
|
|
96
|
-
examples.push([cmd, description || '']);
|
|
97
|
-
};
|
|
98
|
-
let commands = [];
|
|
99
|
-
self.command = function command(cmd, description, isDefault, aliases, deprecated = false) {
|
|
100
|
-
if (isDefault) {
|
|
101
|
-
commands = commands.map(cmdArray => {
|
|
102
|
-
cmdArray[2] = false;
|
|
103
|
-
return cmdArray;
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
commands.push([cmd, description || '', isDefault, aliases, deprecated]);
|
|
107
|
-
};
|
|
108
|
-
self.getCommands = () => commands;
|
|
109
|
-
let descriptions = {};
|
|
110
|
-
self.describe = function describe(keyOrKeys, desc) {
|
|
111
|
-
if (Array.isArray(keyOrKeys)) {
|
|
112
|
-
keyOrKeys.forEach(k => {
|
|
113
|
-
self.describe(k, desc);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
else if (typeof keyOrKeys === 'object') {
|
|
117
|
-
Object.keys(keyOrKeys).forEach(k => {
|
|
118
|
-
self.describe(k, keyOrKeys[k]);
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
descriptions[keyOrKeys] = desc;
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
self.getDescriptions = () => descriptions;
|
|
126
|
-
let epilogs = [];
|
|
127
|
-
self.epilog = msg => {
|
|
128
|
-
epilogs.push(msg);
|
|
129
|
-
};
|
|
130
|
-
let wrapSet = false;
|
|
131
|
-
let wrap;
|
|
132
|
-
self.wrap = cols => {
|
|
133
|
-
wrapSet = true;
|
|
134
|
-
wrap = cols;
|
|
135
|
-
};
|
|
136
|
-
self.getWrap = () => {
|
|
137
|
-
if (shim.getEnv('YARGS_DISABLE_WRAP')) {
|
|
138
|
-
return null;
|
|
139
|
-
}
|
|
140
|
-
if (!wrapSet) {
|
|
141
|
-
wrap = windowWidth();
|
|
142
|
-
wrapSet = true;
|
|
143
|
-
}
|
|
144
|
-
return wrap;
|
|
145
|
-
};
|
|
146
|
-
const deferY18nLookupPrefix = '__yargsString__:';
|
|
147
|
-
self.deferY18nLookup = str => deferY18nLookupPrefix + str;
|
|
148
|
-
self.help = function help() {
|
|
149
|
-
if (cachedHelpMessage)
|
|
150
|
-
return cachedHelpMessage;
|
|
151
|
-
normalizeAliases();
|
|
152
|
-
const base$0 = yargs.customScriptName
|
|
153
|
-
? yargs.$0
|
|
154
|
-
: shim.path.basename(yargs.$0);
|
|
155
|
-
const demandedOptions = yargs.getDemandedOptions();
|
|
156
|
-
const demandedCommands = yargs.getDemandedCommands();
|
|
157
|
-
const deprecatedOptions = yargs.getDeprecatedOptions();
|
|
158
|
-
const groups = yargs.getGroups();
|
|
159
|
-
const options = yargs.getOptions();
|
|
160
|
-
let keys = [];
|
|
161
|
-
keys = keys.concat(Object.keys(descriptions));
|
|
162
|
-
keys = keys.concat(Object.keys(demandedOptions));
|
|
163
|
-
keys = keys.concat(Object.keys(demandedCommands));
|
|
164
|
-
keys = keys.concat(Object.keys(options.default));
|
|
165
|
-
keys = keys.filter(filterHiddenOptions);
|
|
166
|
-
keys = Object.keys(keys.reduce((acc, key) => {
|
|
167
|
-
if (key !== '_')
|
|
168
|
-
acc[key] = true;
|
|
169
|
-
return acc;
|
|
170
|
-
}, {}));
|
|
171
|
-
const theWrap = self.getWrap();
|
|
172
|
-
const ui = shim.cliui({
|
|
173
|
-
width: theWrap,
|
|
174
|
-
wrap: !!theWrap,
|
|
175
|
-
});
|
|
176
|
-
if (!usageDisabled) {
|
|
177
|
-
if (usages.length) {
|
|
178
|
-
usages.forEach(usage => {
|
|
179
|
-
ui.div({ text: `${usage[0].replace(/\$0/g, base$0)}` });
|
|
180
|
-
if (usage[1]) {
|
|
181
|
-
ui.div({ text: `${usage[1]}`, padding: [1, 0, 0, 0] });
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
ui.div();
|
|
185
|
-
}
|
|
186
|
-
else if (commands.length) {
|
|
187
|
-
let u = null;
|
|
188
|
-
if (demandedCommands._) {
|
|
189
|
-
u = `${base$0} <${__('command')}>\n`;
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
u = `${base$0} [${__('command')}]\n`;
|
|
193
|
-
}
|
|
194
|
-
ui.div(`${u}`);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
if (commands.length > 1 || (commands.length === 1 && !commands[0][2])) {
|
|
198
|
-
ui.div(__('Commands:'));
|
|
199
|
-
const context = yargs.getInternalMethods().getContext();
|
|
200
|
-
const parentCommands = context.commands.length
|
|
201
|
-
? `${context.commands.join(' ')} `
|
|
202
|
-
: '';
|
|
203
|
-
if (yargs.getInternalMethods().getParserConfiguration()['sort-commands'] ===
|
|
204
|
-
true) {
|
|
205
|
-
commands = commands.sort((a, b) => a[0].localeCompare(b[0]));
|
|
206
|
-
}
|
|
207
|
-
const prefix = base$0 ? `${base$0} ` : '';
|
|
208
|
-
commands.forEach(command => {
|
|
209
|
-
const commandString = `${prefix}${parentCommands}${command[0].replace(/^\$0 ?/, '')}`;
|
|
210
|
-
ui.span({
|
|
211
|
-
text: commandString,
|
|
212
|
-
padding: [0, 2, 0, 2],
|
|
213
|
-
width: maxWidth(commands, theWrap, `${base$0}${parentCommands}`) + 4,
|
|
214
|
-
}, { text: command[1] });
|
|
215
|
-
const hints = [];
|
|
216
|
-
if (command[2])
|
|
217
|
-
hints.push(`[${__('default')}]`);
|
|
218
|
-
if (command[3] && command[3].length) {
|
|
219
|
-
hints.push(`[${__('aliases:')} ${command[3].join(', ')}]`);
|
|
220
|
-
}
|
|
221
|
-
if (command[4]) {
|
|
222
|
-
if (typeof command[4] === 'string') {
|
|
223
|
-
hints.push(`[${__('deprecated: %s', command[4])}]`);
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
hints.push(`[${__('deprecated')}]`);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
if (hints.length) {
|
|
230
|
-
ui.div({
|
|
231
|
-
text: hints.join(' '),
|
|
232
|
-
padding: [0, 0, 0, 2],
|
|
233
|
-
align: 'right',
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
ui.div();
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
ui.div();
|
|
241
|
-
}
|
|
242
|
-
const aliasKeys = (Object.keys(options.alias) || []).concat(Object.keys(yargs.parsed.newAliases) || []);
|
|
243
|
-
keys = keys.filter(key => !yargs.parsed.newAliases[key] &&
|
|
244
|
-
aliasKeys.every(alias => (options.alias[alias] || []).indexOf(key) === -1));
|
|
245
|
-
const defaultGroup = __('Options:');
|
|
246
|
-
if (!groups[defaultGroup])
|
|
247
|
-
groups[defaultGroup] = [];
|
|
248
|
-
addUngroupedKeys(keys, options.alias, groups, defaultGroup);
|
|
249
|
-
const isLongSwitch = (sw) => /^--/.test(getText(sw));
|
|
250
|
-
const displayedGroups = Object.keys(groups)
|
|
251
|
-
.filter(groupName => groups[groupName].length > 0)
|
|
252
|
-
.map(groupName => {
|
|
253
|
-
const normalizedKeys = groups[groupName]
|
|
254
|
-
.filter(filterHiddenOptions)
|
|
255
|
-
.map(key => {
|
|
256
|
-
if (aliasKeys.includes(key))
|
|
257
|
-
return key;
|
|
258
|
-
for (let i = 0, aliasKey; (aliasKey = aliasKeys[i]) !== undefined; i++) {
|
|
259
|
-
if ((options.alias[aliasKey] || []).includes(key))
|
|
260
|
-
return aliasKey;
|
|
261
|
-
}
|
|
262
|
-
return key;
|
|
263
|
-
});
|
|
264
|
-
return { groupName, normalizedKeys };
|
|
265
|
-
})
|
|
266
|
-
.filter(({ normalizedKeys }) => normalizedKeys.length > 0)
|
|
267
|
-
.map(({ groupName, normalizedKeys }) => {
|
|
268
|
-
const switches = normalizedKeys.reduce((acc, key) => {
|
|
269
|
-
acc[key] = [key]
|
|
270
|
-
.concat(options.alias[key] || [])
|
|
271
|
-
.map(sw => {
|
|
272
|
-
if (groupName === self.getPositionalGroupName())
|
|
273
|
-
return sw;
|
|
274
|
-
else {
|
|
275
|
-
return ((/^[0-9]$/.test(sw)
|
|
276
|
-
? options.boolean.includes(key)
|
|
277
|
-
? '-'
|
|
278
|
-
: '--'
|
|
279
|
-
: sw.length > 1
|
|
280
|
-
? '--'
|
|
281
|
-
: '-') + sw);
|
|
282
|
-
}
|
|
283
|
-
})
|
|
284
|
-
.sort((sw1, sw2) => isLongSwitch(sw1) === isLongSwitch(sw2)
|
|
285
|
-
? 0
|
|
286
|
-
: isLongSwitch(sw1)
|
|
287
|
-
? 1
|
|
288
|
-
: -1)
|
|
289
|
-
.join(', ');
|
|
290
|
-
return acc;
|
|
291
|
-
}, {});
|
|
292
|
-
return { groupName, normalizedKeys, switches };
|
|
293
|
-
});
|
|
294
|
-
const shortSwitchesUsed = displayedGroups
|
|
295
|
-
.filter(({ groupName }) => groupName !== self.getPositionalGroupName())
|
|
296
|
-
.some(({ normalizedKeys, switches }) => !normalizedKeys.every(key => isLongSwitch(switches[key])));
|
|
297
|
-
if (shortSwitchesUsed) {
|
|
298
|
-
displayedGroups
|
|
299
|
-
.filter(({ groupName }) => groupName !== self.getPositionalGroupName())
|
|
300
|
-
.forEach(({ normalizedKeys, switches }) => {
|
|
301
|
-
normalizedKeys.forEach(key => {
|
|
302
|
-
if (isLongSwitch(switches[key])) {
|
|
303
|
-
switches[key] = addIndentation(switches[key], '-x, '.length);
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
|
-
});
|
|
307
|
-
}
|
|
308
|
-
displayedGroups.forEach(({ groupName, normalizedKeys, switches }) => {
|
|
309
|
-
ui.div(groupName);
|
|
310
|
-
normalizedKeys.forEach(key => {
|
|
311
|
-
const kswitch = switches[key];
|
|
312
|
-
let desc = descriptions[key] || '';
|
|
313
|
-
let type = null;
|
|
314
|
-
if (desc.includes(deferY18nLookupPrefix))
|
|
315
|
-
desc = __(desc.substring(deferY18nLookupPrefix.length));
|
|
316
|
-
if (options.boolean.includes(key))
|
|
317
|
-
type = `[${__('boolean')}]`;
|
|
318
|
-
if (options.count.includes(key))
|
|
319
|
-
type = `[${__('count')}]`;
|
|
320
|
-
if (options.string.includes(key))
|
|
321
|
-
type = `[${__('string')}]`;
|
|
322
|
-
if (options.normalize.includes(key))
|
|
323
|
-
type = `[${__('string')}]`;
|
|
324
|
-
if (options.array.includes(key))
|
|
325
|
-
type = `[${__('array')}]`;
|
|
326
|
-
if (options.number.includes(key))
|
|
327
|
-
type = `[${__('number')}]`;
|
|
328
|
-
const deprecatedExtra = (deprecated) => typeof deprecated === 'string'
|
|
329
|
-
? `[${__('deprecated: %s', deprecated)}]`
|
|
330
|
-
: `[${__('deprecated')}]`;
|
|
331
|
-
const extra = [
|
|
332
|
-
key in deprecatedOptions
|
|
333
|
-
? deprecatedExtra(deprecatedOptions[key])
|
|
334
|
-
: null,
|
|
335
|
-
type,
|
|
336
|
-
key in demandedOptions ? `[${__('required')}]` : null,
|
|
337
|
-
options.choices && options.choices[key]
|
|
338
|
-
? `[${__('choices:')} ${self.stringifiedValues(options.choices[key])}]`
|
|
339
|
-
: null,
|
|
340
|
-
defaultString(options.default[key], options.defaultDescription[key]),
|
|
341
|
-
]
|
|
342
|
-
.filter(Boolean)
|
|
343
|
-
.join(' ');
|
|
344
|
-
ui.span({
|
|
345
|
-
text: getText(kswitch),
|
|
346
|
-
padding: [0, 2, 0, 2 + getIndentation(kswitch)],
|
|
347
|
-
width: maxWidth(switches, theWrap) + 4,
|
|
348
|
-
}, desc);
|
|
349
|
-
const shouldHideOptionExtras = yargs.getInternalMethods().getUsageConfiguration()['hide-types'] ===
|
|
350
|
-
true;
|
|
351
|
-
if (extra && !shouldHideOptionExtras)
|
|
352
|
-
ui.div({ text: extra, padding: [0, 0, 0, 2], align: 'right' });
|
|
353
|
-
else
|
|
354
|
-
ui.div();
|
|
355
|
-
});
|
|
356
|
-
ui.div();
|
|
357
|
-
});
|
|
358
|
-
if (examples.length) {
|
|
359
|
-
ui.div(__('Examples:'));
|
|
360
|
-
examples.forEach(example => {
|
|
361
|
-
example[0] = example[0].replace(/\$0/g, base$0);
|
|
362
|
-
});
|
|
363
|
-
examples.forEach(example => {
|
|
364
|
-
if (example[1] === '') {
|
|
365
|
-
ui.div({
|
|
366
|
-
text: example[0],
|
|
367
|
-
padding: [0, 2, 0, 2],
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
else {
|
|
371
|
-
ui.div({
|
|
372
|
-
text: example[0],
|
|
373
|
-
padding: [0, 2, 0, 2],
|
|
374
|
-
width: maxWidth(examples, theWrap) + 4,
|
|
375
|
-
}, {
|
|
376
|
-
text: example[1],
|
|
377
|
-
});
|
|
378
|
-
}
|
|
379
|
-
});
|
|
380
|
-
ui.div();
|
|
381
|
-
}
|
|
382
|
-
if (epilogs.length > 0) {
|
|
383
|
-
const e = epilogs
|
|
384
|
-
.map(epilog => epilog.replace(/\$0/g, base$0))
|
|
385
|
-
.join('\n');
|
|
386
|
-
ui.div(`${e}\n`);
|
|
387
|
-
}
|
|
388
|
-
return ui.toString().replace(/\s*$/, '');
|
|
389
|
-
};
|
|
390
|
-
function maxWidth(table, theWrap, modifier) {
|
|
391
|
-
let width = 0;
|
|
392
|
-
if (!Array.isArray(table)) {
|
|
393
|
-
table = Object.values(table).map(v => [v]);
|
|
394
|
-
}
|
|
395
|
-
table.forEach(v => {
|
|
396
|
-
width = Math.max(shim.stringWidth(modifier ? `${modifier} ${getText(v[0])}` : getText(v[0])) + getIndentation(v[0]), width);
|
|
397
|
-
});
|
|
398
|
-
if (theWrap)
|
|
399
|
-
width = Math.min(width, parseInt((theWrap * 0.5).toString(), 10));
|
|
400
|
-
return width;
|
|
401
|
-
}
|
|
402
|
-
function normalizeAliases() {
|
|
403
|
-
const demandedOptions = yargs.getDemandedOptions();
|
|
404
|
-
const options = yargs.getOptions();
|
|
405
|
-
(Object.keys(options.alias) || []).forEach(key => {
|
|
406
|
-
options.alias[key].forEach(alias => {
|
|
407
|
-
if (descriptions[alias])
|
|
408
|
-
self.describe(key, descriptions[alias]);
|
|
409
|
-
if (alias in demandedOptions)
|
|
410
|
-
yargs.demandOption(key, demandedOptions[alias]);
|
|
411
|
-
if (options.boolean.includes(alias))
|
|
412
|
-
yargs.boolean(key);
|
|
413
|
-
if (options.count.includes(alias))
|
|
414
|
-
yargs.count(key);
|
|
415
|
-
if (options.string.includes(alias))
|
|
416
|
-
yargs.string(key);
|
|
417
|
-
if (options.normalize.includes(alias))
|
|
418
|
-
yargs.normalize(key);
|
|
419
|
-
if (options.array.includes(alias))
|
|
420
|
-
yargs.array(key);
|
|
421
|
-
if (options.number.includes(alias))
|
|
422
|
-
yargs.number(key);
|
|
423
|
-
});
|
|
424
|
-
});
|
|
425
|
-
}
|
|
426
|
-
let cachedHelpMessage;
|
|
427
|
-
self.cacheHelpMessage = function () {
|
|
428
|
-
cachedHelpMessage = this.help();
|
|
429
|
-
};
|
|
430
|
-
self.clearCachedHelpMessage = function () {
|
|
431
|
-
cachedHelpMessage = undefined;
|
|
432
|
-
};
|
|
433
|
-
self.hasCachedHelpMessage = function () {
|
|
434
|
-
return !!cachedHelpMessage;
|
|
435
|
-
};
|
|
436
|
-
function addUngroupedKeys(keys, aliases, groups, defaultGroup) {
|
|
437
|
-
let groupedKeys = [];
|
|
438
|
-
let toCheck = null;
|
|
439
|
-
Object.keys(groups).forEach(group => {
|
|
440
|
-
groupedKeys = groupedKeys.concat(groups[group]);
|
|
441
|
-
});
|
|
442
|
-
keys.forEach(key => {
|
|
443
|
-
toCheck = [key].concat(aliases[key]);
|
|
444
|
-
if (!toCheck.some(k => groupedKeys.indexOf(k) !== -1)) {
|
|
445
|
-
groups[defaultGroup].push(key);
|
|
446
|
-
}
|
|
447
|
-
});
|
|
448
|
-
return groupedKeys;
|
|
449
|
-
}
|
|
450
|
-
function filterHiddenOptions(key) {
|
|
451
|
-
return (yargs.getOptions().hiddenOptions.indexOf(key) < 0 ||
|
|
452
|
-
yargs.parsed.argv[yargs.getOptions().showHiddenOpt]);
|
|
453
|
-
}
|
|
454
|
-
self.showHelp = (level) => {
|
|
455
|
-
const logger = yargs.getInternalMethods().getLoggerInstance();
|
|
456
|
-
if (!level)
|
|
457
|
-
level = 'error';
|
|
458
|
-
const emit = typeof level === 'function' ? level : logger[level];
|
|
459
|
-
emit(self.help());
|
|
460
|
-
};
|
|
461
|
-
self.functionDescription = fn => {
|
|
462
|
-
const description = fn.name
|
|
463
|
-
? shim.Parser.decamelize(fn.name, '-')
|
|
464
|
-
: __('generated-value');
|
|
465
|
-
return ['(', description, ')'].join('');
|
|
466
|
-
};
|
|
467
|
-
self.stringifiedValues = function stringifiedValues(values, separator) {
|
|
468
|
-
let string = '';
|
|
469
|
-
const sep = separator || ', ';
|
|
470
|
-
const array = [].concat(values);
|
|
471
|
-
if (!values || !array.length)
|
|
472
|
-
return string;
|
|
473
|
-
array.forEach(value => {
|
|
474
|
-
if (string.length)
|
|
475
|
-
string += sep;
|
|
476
|
-
string += JSON.stringify(value);
|
|
477
|
-
});
|
|
478
|
-
return string;
|
|
479
|
-
};
|
|
480
|
-
function defaultString(value, defaultDescription) {
|
|
481
|
-
let string = `[${__('default:')} `;
|
|
482
|
-
if (value === undefined && !defaultDescription)
|
|
483
|
-
return null;
|
|
484
|
-
if (defaultDescription) {
|
|
485
|
-
string += defaultDescription;
|
|
486
|
-
}
|
|
487
|
-
else {
|
|
488
|
-
switch (typeof value) {
|
|
489
|
-
case 'string':
|
|
490
|
-
string += `"${value}"`;
|
|
491
|
-
break;
|
|
492
|
-
case 'object':
|
|
493
|
-
string += JSON.stringify(value);
|
|
494
|
-
break;
|
|
495
|
-
default:
|
|
496
|
-
string += value;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
return `${string}]`;
|
|
500
|
-
}
|
|
501
|
-
function windowWidth() {
|
|
502
|
-
const maxWidth = 80;
|
|
503
|
-
if (shim.process.stdColumns) {
|
|
504
|
-
return Math.min(maxWidth, shim.process.stdColumns);
|
|
505
|
-
}
|
|
506
|
-
else {
|
|
507
|
-
return maxWidth;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
let version = null;
|
|
511
|
-
self.version = ver => {
|
|
512
|
-
version = ver;
|
|
513
|
-
};
|
|
514
|
-
self.showVersion = level => {
|
|
515
|
-
const logger = yargs.getInternalMethods().getLoggerInstance();
|
|
516
|
-
if (!level)
|
|
517
|
-
level = 'error';
|
|
518
|
-
const emit = typeof level === 'function' ? level : logger[level];
|
|
519
|
-
emit(version);
|
|
520
|
-
};
|
|
521
|
-
self.reset = function reset(localLookup) {
|
|
522
|
-
failMessage = null;
|
|
523
|
-
failureOutput = false;
|
|
524
|
-
usages = [];
|
|
525
|
-
usageDisabled = false;
|
|
526
|
-
epilogs = [];
|
|
527
|
-
examples = [];
|
|
528
|
-
commands = [];
|
|
529
|
-
descriptions = objFilter(descriptions, k => !localLookup[k]);
|
|
530
|
-
return self;
|
|
531
|
-
};
|
|
532
|
-
const frozens = [];
|
|
533
|
-
self.freeze = function freeze() {
|
|
534
|
-
frozens.push({
|
|
535
|
-
failMessage,
|
|
536
|
-
failureOutput,
|
|
537
|
-
usages,
|
|
538
|
-
usageDisabled,
|
|
539
|
-
epilogs,
|
|
540
|
-
examples,
|
|
541
|
-
commands,
|
|
542
|
-
descriptions,
|
|
543
|
-
});
|
|
544
|
-
};
|
|
545
|
-
self.unfreeze = function unfreeze(defaultCommand = false) {
|
|
546
|
-
const frozen = frozens.pop();
|
|
547
|
-
if (!frozen)
|
|
548
|
-
return;
|
|
549
|
-
if (defaultCommand) {
|
|
550
|
-
descriptions = { ...frozen.descriptions, ...descriptions };
|
|
551
|
-
commands = [...frozen.commands, ...commands];
|
|
552
|
-
usages = [...frozen.usages, ...usages];
|
|
553
|
-
examples = [...frozen.examples, ...examples];
|
|
554
|
-
epilogs = [...frozen.epilogs, ...epilogs];
|
|
555
|
-
}
|
|
556
|
-
else {
|
|
557
|
-
({
|
|
558
|
-
failMessage,
|
|
559
|
-
failureOutput,
|
|
560
|
-
usages,
|
|
561
|
-
usageDisabled,
|
|
562
|
-
epilogs,
|
|
563
|
-
examples,
|
|
564
|
-
commands,
|
|
565
|
-
descriptions,
|
|
566
|
-
} = frozen);
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
return self;
|
|
570
|
-
}
|
|
571
|
-
function isIndentedText(text) {
|
|
572
|
-
return typeof text === 'object';
|
|
573
|
-
}
|
|
574
|
-
function addIndentation(text, indent) {
|
|
575
|
-
return isIndentedText(text)
|
|
576
|
-
? { text: text.text, indentation: text.indentation + indent }
|
|
577
|
-
: { text, indentation: indent };
|
|
578
|
-
}
|
|
579
|
-
function getIndentation(text) {
|
|
580
|
-
return isIndentedText(text) ? text.indentation : 0;
|
|
581
|
-
}
|
|
582
|
-
function getText(text) {
|
|
583
|
-
return isIndentedText(text) ? text.text : text;
|
|
584
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { YError } from '../yerror.js';
|
|
2
|
-
let previouslyVisitedConfigs = [];
|
|
3
|
-
let shim;
|
|
4
|
-
export function applyExtends(config, cwd, mergeExtends, _shim) {
|
|
5
|
-
shim = _shim;
|
|
6
|
-
let defaultConfig = {};
|
|
7
|
-
if (Object.prototype.hasOwnProperty.call(config, 'extends')) {
|
|
8
|
-
if (typeof config.extends !== 'string')
|
|
9
|
-
return defaultConfig;
|
|
10
|
-
const isPath = /\.json|\..*rc$/.test(config.extends);
|
|
11
|
-
let pathToDefault = null;
|
|
12
|
-
if (!isPath) {
|
|
13
|
-
try {
|
|
14
|
-
pathToDefault = require.resolve(config.extends);
|
|
15
|
-
}
|
|
16
|
-
catch (_err) {
|
|
17
|
-
return config;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
pathToDefault = getPathToDefaultConfig(cwd, config.extends);
|
|
22
|
-
}
|
|
23
|
-
checkForCircularExtends(pathToDefault);
|
|
24
|
-
previouslyVisitedConfigs.push(pathToDefault);
|
|
25
|
-
defaultConfig = isPath
|
|
26
|
-
? JSON.parse(shim.readFileSync(pathToDefault, 'utf8'))
|
|
27
|
-
: require(config.extends);
|
|
28
|
-
delete config.extends;
|
|
29
|
-
defaultConfig = applyExtends(defaultConfig, shim.path.dirname(pathToDefault), mergeExtends, shim);
|
|
30
|
-
}
|
|
31
|
-
previouslyVisitedConfigs = [];
|
|
32
|
-
return mergeExtends
|
|
33
|
-
? mergeDeep(defaultConfig, config)
|
|
34
|
-
: Object.assign({}, defaultConfig, config);
|
|
35
|
-
}
|
|
36
|
-
function checkForCircularExtends(cfgPath) {
|
|
37
|
-
if (previouslyVisitedConfigs.indexOf(cfgPath) > -1) {
|
|
38
|
-
throw new YError(`Circular extended configurations: '${cfgPath}'.`);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
function getPathToDefaultConfig(cwd, pathToExtend) {
|
|
42
|
-
return shim.path.resolve(cwd, pathToExtend);
|
|
43
|
-
}
|
|
44
|
-
function mergeDeep(config1, config2) {
|
|
45
|
-
const target = {};
|
|
46
|
-
function isObject(obj) {
|
|
47
|
-
return obj && typeof obj === 'object' && !Array.isArray(obj);
|
|
48
|
-
}
|
|
49
|
-
Object.assign(target, config1);
|
|
50
|
-
for (const key of Object.keys(config2)) {
|
|
51
|
-
if (isObject(config2[key]) && isObject(target[key])) {
|
|
52
|
-
target[key] = mergeDeep(config1[key], config2[key]);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
target[key] = config2[key];
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return target;
|
|
59
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export function levenshtein(a, b) {
|
|
2
|
-
if (a.length === 0)
|
|
3
|
-
return b.length;
|
|
4
|
-
if (b.length === 0)
|
|
5
|
-
return a.length;
|
|
6
|
-
const matrix = [];
|
|
7
|
-
let i;
|
|
8
|
-
for (i = 0; i <= b.length; i++) {
|
|
9
|
-
matrix[i] = [i];
|
|
10
|
-
}
|
|
11
|
-
let j;
|
|
12
|
-
for (j = 0; j <= a.length; j++) {
|
|
13
|
-
matrix[0][j] = j;
|
|
14
|
-
}
|
|
15
|
-
for (i = 1; i <= b.length; i++) {
|
|
16
|
-
for (j = 1; j <= a.length; j++) {
|
|
17
|
-
if (b.charAt(i - 1) === a.charAt(j - 1)) {
|
|
18
|
-
matrix[i][j] = matrix[i - 1][j - 1];
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
if (i > 1 &&
|
|
22
|
-
j > 1 &&
|
|
23
|
-
b.charAt(i - 2) === a.charAt(j - 1) &&
|
|
24
|
-
b.charAt(i - 1) === a.charAt(j - 2)) {
|
|
25
|
-
matrix[i][j] = matrix[i - 2][j - 2] + 1;
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
matrix[i][j] = Math.min(matrix[i - 1][j - 1] + 1, Math.min(matrix[i][j - 1] + 1, matrix[i - 1][j] + 1));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return matrix[b.length][a.length];
|
|
34
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { isPromise } from './is-promise.js';
|
|
2
|
-
export function maybeAsyncResult(getResult, resultHandler, errorHandler = (err) => {
|
|
3
|
-
throw err;
|
|
4
|
-
}) {
|
|
5
|
-
try {
|
|
6
|
-
const result = isFunction(getResult) ? getResult() : getResult;
|
|
7
|
-
return isPromise(result)
|
|
8
|
-
? result.then((result) => resultHandler(result))
|
|
9
|
-
: resultHandler(result);
|
|
10
|
-
}
|
|
11
|
-
catch (err) {
|
|
12
|
-
return errorHandler(err);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function isFunction(arg) {
|
|
16
|
-
return typeof arg === 'function';
|
|
17
|
-
}
|