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,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseControlResponse = parseControlResponse;
|
|
4
|
-
exports.isSingleLine = isSingleLine;
|
|
5
|
-
exports.isMultiline = isMultiline;
|
|
6
|
-
exports.positiveCompletion = positiveCompletion;
|
|
7
|
-
exports.positiveIntermediate = positiveIntermediate;
|
|
8
|
-
const LF = "\n";
|
|
9
|
-
/**
|
|
10
|
-
* Parse an FTP control response as a collection of messages. A message is a complete
|
|
11
|
-
* single- or multiline response. A response can also contain multiple multiline responses
|
|
12
|
-
* that will each be represented by a message. A response can also be incomplete
|
|
13
|
-
* and be completed on the next incoming data chunk for which case this function also
|
|
14
|
-
* describes a `rest`. This function converts all CRLF to LF.
|
|
15
|
-
*/
|
|
16
|
-
function parseControlResponse(text) {
|
|
17
|
-
const lines = text.split(/\r?\n/).filter(isNotBlank);
|
|
18
|
-
const messages = [];
|
|
19
|
-
let startAt = 0;
|
|
20
|
-
let tokenRegex;
|
|
21
|
-
for (let i = 0; i < lines.length; i++) {
|
|
22
|
-
const line = lines[i];
|
|
23
|
-
// No group has been opened.
|
|
24
|
-
if (!tokenRegex) {
|
|
25
|
-
if (isMultiline(line)) {
|
|
26
|
-
// Open a group by setting an expected token.
|
|
27
|
-
const token = line.substr(0, 3);
|
|
28
|
-
tokenRegex = new RegExp(`^${token}(?:$| )`);
|
|
29
|
-
startAt = i;
|
|
30
|
-
}
|
|
31
|
-
else if (isSingleLine(line)) {
|
|
32
|
-
// Single lines can be grouped immediately.
|
|
33
|
-
messages.push(line);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
// Group has been opened, expect closing token.
|
|
37
|
-
else if (tokenRegex.test(line)) {
|
|
38
|
-
tokenRegex = undefined;
|
|
39
|
-
messages.push(lines.slice(startAt, i + 1).join(LF));
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
// The last group might not have been closed, report it as a rest.
|
|
43
|
-
const rest = tokenRegex ? lines.slice(startAt).join(LF) + LF : "";
|
|
44
|
-
return { messages, rest };
|
|
45
|
-
}
|
|
46
|
-
function isSingleLine(line) {
|
|
47
|
-
return /^\d\d\d(?:$| )/.test(line);
|
|
48
|
-
}
|
|
49
|
-
function isMultiline(line) {
|
|
50
|
-
return /^\d\d\d-/.test(line);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Return true if an FTP return code describes a positive completion.
|
|
54
|
-
*/
|
|
55
|
-
function positiveCompletion(code) {
|
|
56
|
-
return code >= 200 && code < 300;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Return true if an FTP return code describes a positive intermediate response.
|
|
60
|
-
*/
|
|
61
|
-
function positiveIntermediate(code) {
|
|
62
|
-
return code >= 300 && code < 400;
|
|
63
|
-
}
|
|
64
|
-
function isNotBlank(str) {
|
|
65
|
-
return str.trim() !== "";
|
|
66
|
-
}
|
|
@@ -1,79 +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 () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.parseList = parseList;
|
|
37
|
-
const dosParser = __importStar(require("./parseListDOS"));
|
|
38
|
-
const unixParser = __importStar(require("./parseListUnix"));
|
|
39
|
-
const mlsdParser = __importStar(require("./parseListMLSD"));
|
|
40
|
-
/**
|
|
41
|
-
* Available directory listing parsers. These are candidates that will be tested
|
|
42
|
-
* in the order presented. The first candidate will be used to parse the whole list.
|
|
43
|
-
*/
|
|
44
|
-
const availableParsers = [
|
|
45
|
-
dosParser,
|
|
46
|
-
unixParser,
|
|
47
|
-
mlsdParser // Keep MLSD last, may accept filename only
|
|
48
|
-
];
|
|
49
|
-
function firstCompatibleParser(line, parsers) {
|
|
50
|
-
return parsers.find(parser => parser.testLine(line) === true);
|
|
51
|
-
}
|
|
52
|
-
function isNotBlank(str) {
|
|
53
|
-
return str.trim() !== "";
|
|
54
|
-
}
|
|
55
|
-
function isNotMeta(str) {
|
|
56
|
-
return !str.startsWith("total");
|
|
57
|
-
}
|
|
58
|
-
const REGEX_NEWLINE = /\r?\n/;
|
|
59
|
-
/**
|
|
60
|
-
* Parse raw directory listing.
|
|
61
|
-
*/
|
|
62
|
-
function parseList(rawList) {
|
|
63
|
-
const lines = rawList
|
|
64
|
-
.split(REGEX_NEWLINE)
|
|
65
|
-
.filter(isNotBlank)
|
|
66
|
-
.filter(isNotMeta);
|
|
67
|
-
if (lines.length === 0) {
|
|
68
|
-
return [];
|
|
69
|
-
}
|
|
70
|
-
const testLine = lines[lines.length - 1];
|
|
71
|
-
const parser = firstCompatibleParser(testLine, availableParsers);
|
|
72
|
-
if (!parser) {
|
|
73
|
-
throw new Error("This library only supports MLSD, Unix- or DOS-style directory listing. Your FTP server seems to be using another format. You can see the transmitted listing when setting `client.ftp.verbose = true`. You can then provide a custom parser to `client.parseList`, see the documentation for details.");
|
|
74
|
-
}
|
|
75
|
-
const files = lines
|
|
76
|
-
.map(parser.parseLine)
|
|
77
|
-
.filter((info) => info !== undefined);
|
|
78
|
-
return parser.transformList(files);
|
|
79
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.testLine = testLine;
|
|
4
|
-
exports.parseLine = parseLine;
|
|
5
|
-
exports.transformList = transformList;
|
|
6
|
-
const FileInfo_1 = require("./FileInfo");
|
|
7
|
-
/**
|
|
8
|
-
* This parser is based on the FTP client library source code in Apache Commons Net provided
|
|
9
|
-
* under the Apache 2.0 license. It has been simplified and rewritten to better fit the Javascript language.
|
|
10
|
-
*
|
|
11
|
-
* https://github.com/apache/commons-net/blob/master/src/main/java/org/apache/commons/net/ftp/parser/NTFTPEntryParser.java
|
|
12
|
-
*/
|
|
13
|
-
const RE_LINE = new RegExp("(\\S+)\\s+(\\S+)\\s+" // MM-dd-yy whitespace hh:mma|kk:mm swallow trailing spaces
|
|
14
|
-
+ "(?:(<DIR>)|([0-9]+))\\s+" // <DIR> or ddddd swallow trailing spaces
|
|
15
|
-
+ "(\\S.*)" // First non-space followed by rest of line (name)
|
|
16
|
-
);
|
|
17
|
-
/**
|
|
18
|
-
* Returns true if a given line might be a DOS-style listing.
|
|
19
|
-
*
|
|
20
|
-
* - Example: `12-05-96 05:03PM <DIR> myDir`
|
|
21
|
-
*/
|
|
22
|
-
function testLine(line) {
|
|
23
|
-
return /^\d{2}/.test(line) && RE_LINE.test(line);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Parse a single line of a DOS-style directory listing.
|
|
27
|
-
*/
|
|
28
|
-
function parseLine(line) {
|
|
29
|
-
const groups = line.match(RE_LINE);
|
|
30
|
-
if (groups === null) {
|
|
31
|
-
return undefined;
|
|
32
|
-
}
|
|
33
|
-
const name = groups[5];
|
|
34
|
-
if (name === "." || name === "..") { // Ignore parent directory links
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
const file = new FileInfo_1.FileInfo(name);
|
|
38
|
-
const fileType = groups[3];
|
|
39
|
-
if (fileType === "<DIR>") {
|
|
40
|
-
file.type = FileInfo_1.FileType.Directory;
|
|
41
|
-
file.size = 0;
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
file.type = FileInfo_1.FileType.File;
|
|
45
|
-
file.size = parseInt(groups[4], 10);
|
|
46
|
-
}
|
|
47
|
-
file.rawModifiedAt = groups[1] + " " + groups[2];
|
|
48
|
-
return file;
|
|
49
|
-
}
|
|
50
|
-
function transformList(files) {
|
|
51
|
-
return files;
|
|
52
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.testLine = testLine;
|
|
4
|
-
exports.parseLine = parseLine;
|
|
5
|
-
exports.transformList = transformList;
|
|
6
|
-
exports.parseMLSxDate = parseMLSxDate;
|
|
7
|
-
const FileInfo_1 = require("./FileInfo");
|
|
8
|
-
function parseSize(value, info) {
|
|
9
|
-
info.size = parseInt(value, 10);
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Parsers for MLSD facts.
|
|
13
|
-
*/
|
|
14
|
-
const factHandlersByName = {
|
|
15
|
-
"size": parseSize, // File size
|
|
16
|
-
"sizd": parseSize, // Directory size
|
|
17
|
-
"unique": (value, info) => {
|
|
18
|
-
info.uniqueID = value;
|
|
19
|
-
},
|
|
20
|
-
"modify": (value, info) => {
|
|
21
|
-
info.modifiedAt = parseMLSxDate(value);
|
|
22
|
-
info.rawModifiedAt = info.modifiedAt.toISOString();
|
|
23
|
-
},
|
|
24
|
-
"type": (value, info) => {
|
|
25
|
-
// There seems to be confusion on how to handle symbolic links for Unix. RFC 3659 doesn't describe
|
|
26
|
-
// this but mentions some examples using the syntax `type=OS.unix=slink:<target>`. But according to
|
|
27
|
-
// an entry in the Errata (https://www.rfc-editor.org/errata/eid1500) this syntax can't be valid.
|
|
28
|
-
// Instead it proposes to use `type=OS.unix=symlink` and to then list the actual target of the
|
|
29
|
-
// symbolic link as another entry in the directory listing. The unique identifiers can then be used
|
|
30
|
-
// to derive the connection between link(s) and target. We'll have to handle both cases as there
|
|
31
|
-
// are differing opinions on how to deal with this. Here are some links on this topic:
|
|
32
|
-
// - ProFTPD source: https://github.com/proftpd/proftpd/blob/56e6dfa598cbd4ef5c6cba439bcbcd53a63e3b21/modules/mod_facts.c#L531
|
|
33
|
-
// - ProFTPD bug: http://bugs.proftpd.org/show_bug.cgi?id=3318
|
|
34
|
-
// - ProFTPD statement: http://www.proftpd.org/docs/modules/mod_facts.html
|
|
35
|
-
// – FileZilla bug: https://trac.filezilla-project.org/ticket/9310
|
|
36
|
-
if (value.startsWith("OS.unix=slink")) {
|
|
37
|
-
info.type = FileInfo_1.FileType.SymbolicLink;
|
|
38
|
-
info.link = value.substr(value.indexOf(":") + 1);
|
|
39
|
-
return 1 /* FactHandlerResult.Continue */;
|
|
40
|
-
}
|
|
41
|
-
switch (value) {
|
|
42
|
-
case "file":
|
|
43
|
-
info.type = FileInfo_1.FileType.File;
|
|
44
|
-
break;
|
|
45
|
-
case "dir":
|
|
46
|
-
info.type = FileInfo_1.FileType.Directory;
|
|
47
|
-
break;
|
|
48
|
-
case "OS.unix=symlink":
|
|
49
|
-
info.type = FileInfo_1.FileType.SymbolicLink;
|
|
50
|
-
// The target of the symbolic link might be defined in another line in the directory listing.
|
|
51
|
-
// We'll handle this in `transformList()` below.
|
|
52
|
-
break;
|
|
53
|
-
case "cdir": // Current directory being listed
|
|
54
|
-
case "pdir": // Parent directory
|
|
55
|
-
return 2 /* FactHandlerResult.IgnoreFile */; // Don't include these entries in the listing
|
|
56
|
-
default:
|
|
57
|
-
info.type = FileInfo_1.FileType.Unknown;
|
|
58
|
-
}
|
|
59
|
-
return 1 /* FactHandlerResult.Continue */;
|
|
60
|
-
},
|
|
61
|
-
"unix.mode": (value, info) => {
|
|
62
|
-
const digits = value.substr(-3);
|
|
63
|
-
info.permissions = {
|
|
64
|
-
user: parseInt(digits[0], 10),
|
|
65
|
-
group: parseInt(digits[1], 10),
|
|
66
|
-
world: parseInt(digits[2], 10)
|
|
67
|
-
};
|
|
68
|
-
},
|
|
69
|
-
"unix.ownername": (value, info) => {
|
|
70
|
-
info.user = value;
|
|
71
|
-
},
|
|
72
|
-
"unix.owner": (value, info) => {
|
|
73
|
-
if (info.user === undefined)
|
|
74
|
-
info.user = value;
|
|
75
|
-
},
|
|
76
|
-
get "unix.uid"() {
|
|
77
|
-
return this["unix.owner"];
|
|
78
|
-
},
|
|
79
|
-
"unix.groupname": (value, info) => {
|
|
80
|
-
info.group = value;
|
|
81
|
-
},
|
|
82
|
-
"unix.group": (value, info) => {
|
|
83
|
-
if (info.group === undefined)
|
|
84
|
-
info.group = value;
|
|
85
|
-
},
|
|
86
|
-
get "unix.gid"() {
|
|
87
|
-
return this["unix.group"];
|
|
88
|
-
}
|
|
89
|
-
// Regarding the fact "perm":
|
|
90
|
-
// We don't handle permission information stored in "perm" because its information is conceptually
|
|
91
|
-
// different from what users of FTP clients usually associate with "permissions". Those that have
|
|
92
|
-
// some expectations (and probably want to edit them with a SITE command) often unknowingly expect
|
|
93
|
-
// the Unix permission system. The information passed by "perm" describes what FTP commands can be
|
|
94
|
-
// executed with a file/directory. But even this can be either incomplete or just meant as a "guide"
|
|
95
|
-
// as the spec mentions. From https://tools.ietf.org/html/rfc3659#section-7.5.5: "The permissions are
|
|
96
|
-
// described here as they apply to FTP commands. They may not map easily into particular permissions
|
|
97
|
-
// available on the server's operating system." The parser by Apache Commons tries to translate these
|
|
98
|
-
// to Unix permissions – this is misleading users and might not even be correct.
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Split a string once at the first position of a delimiter. For example
|
|
102
|
-
* `splitStringOnce("a b c d", " ")` returns `["a", "b c d"]`.
|
|
103
|
-
*/
|
|
104
|
-
function splitStringOnce(str, delimiter) {
|
|
105
|
-
const pos = str.indexOf(delimiter);
|
|
106
|
-
const a = str.substr(0, pos);
|
|
107
|
-
const b = str.substr(pos + delimiter.length);
|
|
108
|
-
return [a, b];
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Returns true if a given line might be part of an MLSD listing.
|
|
112
|
-
*
|
|
113
|
-
* - Example 1: `size=15227;type=dir;perm=el;modify=20190419065730; test one`
|
|
114
|
-
* - Example 2: ` file name` (leading space)
|
|
115
|
-
*/
|
|
116
|
-
function testLine(line) {
|
|
117
|
-
return /^\S+=\S+;/.test(line) || line.startsWith(" ");
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Parse single line as MLSD listing, see specification at https://tools.ietf.org/html/rfc3659#section-7.
|
|
121
|
-
*/
|
|
122
|
-
function parseLine(line) {
|
|
123
|
-
const [packedFacts, name] = splitStringOnce(line, " ");
|
|
124
|
-
if (name === "" || name === "." || name === "..") {
|
|
125
|
-
return undefined;
|
|
126
|
-
}
|
|
127
|
-
const info = new FileInfo_1.FileInfo(name);
|
|
128
|
-
const facts = packedFacts.split(";");
|
|
129
|
-
for (const fact of facts) {
|
|
130
|
-
const [factName, factValue] = splitStringOnce(fact, "=");
|
|
131
|
-
if (!factValue) {
|
|
132
|
-
continue;
|
|
133
|
-
}
|
|
134
|
-
const factHandler = factHandlersByName[factName.toLowerCase()];
|
|
135
|
-
if (!factHandler) {
|
|
136
|
-
continue;
|
|
137
|
-
}
|
|
138
|
-
const result = factHandler(factValue, info);
|
|
139
|
-
if (result === 2 /* FactHandlerResult.IgnoreFile */) {
|
|
140
|
-
return undefined;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
return info;
|
|
144
|
-
}
|
|
145
|
-
function transformList(files) {
|
|
146
|
-
// Create a map of all files that are not symbolic links by their unique ID
|
|
147
|
-
const nonLinksByID = new Map();
|
|
148
|
-
for (const file of files) {
|
|
149
|
-
if (!file.isSymbolicLink && file.uniqueID !== undefined) {
|
|
150
|
-
nonLinksByID.set(file.uniqueID, file);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
const resolvedFiles = [];
|
|
154
|
-
for (const file of files) {
|
|
155
|
-
// Try to associate unresolved symbolic links with a target file/directory.
|
|
156
|
-
if (file.isSymbolicLink && file.uniqueID !== undefined && file.link === undefined) {
|
|
157
|
-
const target = nonLinksByID.get(file.uniqueID);
|
|
158
|
-
if (target !== undefined) {
|
|
159
|
-
file.link = target.name;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
// The target of a symbolic link is listed as an entry in the directory listing but might
|
|
163
|
-
// have a path pointing outside of this directory. In that case we don't want this entry
|
|
164
|
-
// to be part of the listing. We generally don't want these kind of entries at all.
|
|
165
|
-
const isPartOfDirectory = !file.name.includes("/");
|
|
166
|
-
if (isPartOfDirectory) {
|
|
167
|
-
resolvedFiles.push(file);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
return resolvedFiles;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Parse date as specified in https://tools.ietf.org/html/rfc3659#section-2.3.
|
|
174
|
-
*
|
|
175
|
-
* Message contains response code and modified time in the format: YYYYMMDDHHMMSS[.sss]
|
|
176
|
-
* For example `19991005213102` or `19980615100045.014`.
|
|
177
|
-
*/
|
|
178
|
-
function parseMLSxDate(fact) {
|
|
179
|
-
return new Date(Date.UTC(+fact.slice(0, 4), // Year
|
|
180
|
-
+fact.slice(4, 6) - 1, // Month
|
|
181
|
-
+fact.slice(6, 8), // Date
|
|
182
|
-
+fact.slice(8, 10), // Hours
|
|
183
|
-
+fact.slice(10, 12), // Minutes
|
|
184
|
-
+fact.slice(12, 14), // Seconds
|
|
185
|
-
+fact.slice(15, 18) // Milliseconds
|
|
186
|
-
));
|
|
187
|
-
}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.testLine = testLine;
|
|
4
|
-
exports.parseLine = parseLine;
|
|
5
|
-
exports.transformList = transformList;
|
|
6
|
-
const FileInfo_1 = require("./FileInfo");
|
|
7
|
-
const JA_MONTH = "\u6708";
|
|
8
|
-
const JA_DAY = "\u65e5";
|
|
9
|
-
const JA_YEAR = "\u5e74";
|
|
10
|
-
/**
|
|
11
|
-
* This parser is based on the FTP client library source code in Apache Commons Net provided
|
|
12
|
-
* under the Apache 2.0 license. It has been simplified and rewritten to better fit the Javascript language.
|
|
13
|
-
*
|
|
14
|
-
* https://github.com/apache/commons-net/blob/master/src/main/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParser.java
|
|
15
|
-
*
|
|
16
|
-
* Below is the regular expression used by this parser.
|
|
17
|
-
*
|
|
18
|
-
* Permissions:
|
|
19
|
-
* r the file is readable
|
|
20
|
-
* w the file is writable
|
|
21
|
-
* x the file is executable
|
|
22
|
-
* - the indicated permission is not granted
|
|
23
|
-
* L mandatory locking occurs during access (the set-group-ID bit is
|
|
24
|
-
* on and the group execution bit is off)
|
|
25
|
-
* s the set-user-ID or set-group-ID bit is on, and the corresponding
|
|
26
|
-
* user or group execution bit is also on
|
|
27
|
-
* S undefined bit-state (the set-user-ID bit is on and the user
|
|
28
|
-
* execution bit is off)
|
|
29
|
-
* t the 1000 (octal) bit, or sticky bit, is on [see chmod(1)], and
|
|
30
|
-
* execution is on
|
|
31
|
-
* T the 1000 bit is turned on, and execution is off (undefined bit-
|
|
32
|
-
* state)
|
|
33
|
-
* e z/OS external link bit
|
|
34
|
-
* Final letter may be appended:
|
|
35
|
-
* + file has extended security attributes (e.g. ACL)
|
|
36
|
-
* Note: local listings on MacOSX also use '@'
|
|
37
|
-
* this is not allowed for here as does not appear to be shown by FTP servers
|
|
38
|
-
* {@code @} file has extended attributes
|
|
39
|
-
*/
|
|
40
|
-
const RE_LINE = new RegExp("([bcdelfmpSs-])" // file type
|
|
41
|
-
+ "(((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]))((r|-)(w|-)([xsStTL-]?)))\\+?" // permissions
|
|
42
|
-
+ "\\s*" // separator TODO why allow it to be omitted??
|
|
43
|
-
+ "(\\d+)" // link count
|
|
44
|
-
+ "\\s+" // separator
|
|
45
|
-
+ "(?:(\\S+(?:\\s\\S+)*?)\\s+)?" // owner name (optional spaces)
|
|
46
|
-
+ "(?:(\\S+(?:\\s\\S+)*)\\s+)?" // group name (optional spaces)
|
|
47
|
-
+ "(\\d+(?:,\\s*\\d+)?)" // size or n,m
|
|
48
|
-
+ "\\s+" // separator
|
|
49
|
-
/**
|
|
50
|
-
* numeric or standard format date:
|
|
51
|
-
* yyyy-mm-dd (expecting hh:mm to follow)
|
|
52
|
-
* MMM [d]d
|
|
53
|
-
* [d]d MMM
|
|
54
|
-
* N.B. use non-space for MMM to allow for languages such as German which use
|
|
55
|
-
* diacritics (e.g. umlaut) in some abbreviations.
|
|
56
|
-
* Japanese uses numeric day and month with suffixes to distinguish them
|
|
57
|
-
* [d]dXX [d]dZZ
|
|
58
|
-
*/
|
|
59
|
-
+ "(" +
|
|
60
|
-
"(?:\\d+[-/]\\d+[-/]\\d+)" + // yyyy-mm-dd
|
|
61
|
-
"|(?:\\S{3}\\s+\\d{1,2})" + // MMM [d]d
|
|
62
|
-
"|(?:\\d{1,2}\\s+\\S{3})" + // [d]d MMM
|
|
63
|
-
"|(?:\\d{1,2}" + JA_MONTH + "\\s+\\d{1,2}" + JA_DAY + ")" +
|
|
64
|
-
")"
|
|
65
|
-
+ "\\s+" // separator
|
|
66
|
-
/**
|
|
67
|
-
* year (for non-recent standard format) - yyyy
|
|
68
|
-
* or time (for numeric or recent standard format) [h]h:mm
|
|
69
|
-
* or Japanese year - yyyyXX
|
|
70
|
-
*/
|
|
71
|
-
+ "((?:\\d+(?::\\d+)?)|(?:\\d{4}" + JA_YEAR + "))" // (20)
|
|
72
|
-
+ "\\s" // separator
|
|
73
|
-
+ "(.*)"); // the rest (21)
|
|
74
|
-
/**
|
|
75
|
-
* Returns true if a given line might be a Unix-style listing.
|
|
76
|
-
*
|
|
77
|
-
* - Example: `-rw-r--r--+ 1 patrick staff 1057 Dec 11 14:35 test.txt`
|
|
78
|
-
*/
|
|
79
|
-
function testLine(line) {
|
|
80
|
-
return RE_LINE.test(line);
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Parse a single line of a Unix-style directory listing.
|
|
84
|
-
*/
|
|
85
|
-
function parseLine(line) {
|
|
86
|
-
const groups = line.match(RE_LINE);
|
|
87
|
-
if (groups === null) {
|
|
88
|
-
return undefined;
|
|
89
|
-
}
|
|
90
|
-
const name = groups[21];
|
|
91
|
-
if (name === "." || name === "..") { // Ignore parent directory links
|
|
92
|
-
return undefined;
|
|
93
|
-
}
|
|
94
|
-
const file = new FileInfo_1.FileInfo(name);
|
|
95
|
-
file.size = parseInt(groups[18], 10);
|
|
96
|
-
file.user = groups[16];
|
|
97
|
-
file.group = groups[17];
|
|
98
|
-
file.hardLinkCount = parseInt(groups[15], 10);
|
|
99
|
-
file.rawModifiedAt = groups[19] + " " + groups[20];
|
|
100
|
-
file.permissions = {
|
|
101
|
-
user: parseMode(groups[4], groups[5], groups[6]),
|
|
102
|
-
group: parseMode(groups[8], groups[9], groups[10]),
|
|
103
|
-
world: parseMode(groups[12], groups[13], groups[14]),
|
|
104
|
-
};
|
|
105
|
-
// Set file type
|
|
106
|
-
switch (groups[1].charAt(0)) {
|
|
107
|
-
case "d":
|
|
108
|
-
file.type = FileInfo_1.FileType.Directory;
|
|
109
|
-
break;
|
|
110
|
-
case "e": // NET-39 => z/OS external link
|
|
111
|
-
file.type = FileInfo_1.FileType.SymbolicLink;
|
|
112
|
-
break;
|
|
113
|
-
case "l":
|
|
114
|
-
file.type = FileInfo_1.FileType.SymbolicLink;
|
|
115
|
-
break;
|
|
116
|
-
case "b":
|
|
117
|
-
case "c":
|
|
118
|
-
file.type = FileInfo_1.FileType.File; // TODO change this if DEVICE_TYPE implemented
|
|
119
|
-
break;
|
|
120
|
-
case "f":
|
|
121
|
-
case "-":
|
|
122
|
-
file.type = FileInfo_1.FileType.File;
|
|
123
|
-
break;
|
|
124
|
-
default:
|
|
125
|
-
// A 'whiteout' file is an ARTIFICIAL entry in any of several types of
|
|
126
|
-
// 'translucent' filesystems, of which a 'union' filesystem is one.
|
|
127
|
-
file.type = FileInfo_1.FileType.Unknown;
|
|
128
|
-
}
|
|
129
|
-
// Separate out the link name for symbolic links
|
|
130
|
-
if (file.isSymbolicLink) {
|
|
131
|
-
const end = name.indexOf(" -> ");
|
|
132
|
-
if (end !== -1) {
|
|
133
|
-
file.name = name.substring(0, end);
|
|
134
|
-
file.link = name.substring(end + 4);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return file;
|
|
138
|
-
}
|
|
139
|
-
function transformList(files) {
|
|
140
|
-
return files;
|
|
141
|
-
}
|
|
142
|
-
function parseMode(r, w, x) {
|
|
143
|
-
let value = 0;
|
|
144
|
-
if (r !== "-") {
|
|
145
|
-
value += FileInfo_1.FileInfo.UnixPermission.Read;
|
|
146
|
-
}
|
|
147
|
-
if (w !== "-") {
|
|
148
|
-
value += FileInfo_1.FileInfo.UnixPermission.Write;
|
|
149
|
-
}
|
|
150
|
-
const execToken = x.charAt(0);
|
|
151
|
-
if (execToken !== "-" && execToken.toUpperCase() !== execToken) {
|
|
152
|
-
value += FileInfo_1.FileInfo.UnixPermission.Execute;
|
|
153
|
-
}
|
|
154
|
-
return value;
|
|
155
|
-
}
|