antigravity-mobile-proxy 0.1.2 → 0.1.3
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/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 +6 -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 +6 -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/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/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]__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]__22df301c._.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]__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]__8cb67283._.js +5 -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_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/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/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/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/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,296 +0,0 @@
|
|
|
1
|
-
var fs = require('fs');
|
|
2
|
-
var util = require('util');
|
|
3
|
-
var stream = require('stream');
|
|
4
|
-
var Readable = stream.Readable;
|
|
5
|
-
var Writable = stream.Writable;
|
|
6
|
-
var PassThrough = stream.PassThrough;
|
|
7
|
-
var Pend = require('pend');
|
|
8
|
-
var EventEmitter = require('events').EventEmitter;
|
|
9
|
-
|
|
10
|
-
exports.createFromBuffer = createFromBuffer;
|
|
11
|
-
exports.createFromFd = createFromFd;
|
|
12
|
-
exports.BufferSlicer = BufferSlicer;
|
|
13
|
-
exports.FdSlicer = FdSlicer;
|
|
14
|
-
|
|
15
|
-
util.inherits(FdSlicer, EventEmitter);
|
|
16
|
-
function FdSlicer(fd, options) {
|
|
17
|
-
options = options || {};
|
|
18
|
-
EventEmitter.call(this);
|
|
19
|
-
|
|
20
|
-
this.fd = fd;
|
|
21
|
-
this.pend = new Pend();
|
|
22
|
-
this.pend.max = 1;
|
|
23
|
-
this.refCount = 0;
|
|
24
|
-
this.autoClose = !!options.autoClose;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
|
|
28
|
-
var self = this;
|
|
29
|
-
self.pend.go(function(cb) {
|
|
30
|
-
fs.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
|
|
31
|
-
cb();
|
|
32
|
-
callback(err, bytesRead, buffer);
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
|
|
38
|
-
var self = this;
|
|
39
|
-
self.pend.go(function(cb) {
|
|
40
|
-
fs.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
|
|
41
|
-
cb();
|
|
42
|
-
callback(err, written, buffer);
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
FdSlicer.prototype.createReadStream = function(options) {
|
|
48
|
-
return new ReadStream(this, options);
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
FdSlicer.prototype.createWriteStream = function(options) {
|
|
52
|
-
return new WriteStream(this, options);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
FdSlicer.prototype.ref = function() {
|
|
56
|
-
this.refCount += 1;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
FdSlicer.prototype.unref = function() {
|
|
60
|
-
var self = this;
|
|
61
|
-
self.refCount -= 1;
|
|
62
|
-
|
|
63
|
-
if (self.refCount > 0) return;
|
|
64
|
-
if (self.refCount < 0) throw new Error("invalid unref");
|
|
65
|
-
|
|
66
|
-
if (self.autoClose) {
|
|
67
|
-
fs.close(self.fd, onCloseDone);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function onCloseDone(err) {
|
|
71
|
-
if (err) {
|
|
72
|
-
self.emit('error', err);
|
|
73
|
-
} else {
|
|
74
|
-
self.emit('close');
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
util.inherits(ReadStream, Readable);
|
|
80
|
-
function ReadStream(context, options) {
|
|
81
|
-
options = options || {};
|
|
82
|
-
Readable.call(this, options);
|
|
83
|
-
|
|
84
|
-
this.context = context;
|
|
85
|
-
this.context.ref();
|
|
86
|
-
|
|
87
|
-
this.start = options.start || 0;
|
|
88
|
-
this.endOffset = options.end;
|
|
89
|
-
this.pos = this.start;
|
|
90
|
-
this.destroyed = false;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
ReadStream.prototype._read = function(n) {
|
|
94
|
-
var self = this;
|
|
95
|
-
if (self.destroyed) return;
|
|
96
|
-
|
|
97
|
-
var toRead = Math.min(self._readableState.highWaterMark, n);
|
|
98
|
-
if (self.endOffset != null) {
|
|
99
|
-
toRead = Math.min(toRead, self.endOffset - self.pos);
|
|
100
|
-
}
|
|
101
|
-
if (toRead <= 0) {
|
|
102
|
-
self.destroyed = true;
|
|
103
|
-
self.push(null);
|
|
104
|
-
self.context.unref();
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
self.context.pend.go(function(cb) {
|
|
108
|
-
if (self.destroyed) return cb();
|
|
109
|
-
var buffer = new Buffer(toRead);
|
|
110
|
-
fs.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
|
|
111
|
-
if (err) {
|
|
112
|
-
self.destroy(err);
|
|
113
|
-
} else if (bytesRead === 0) {
|
|
114
|
-
self.destroyed = true;
|
|
115
|
-
self.push(null);
|
|
116
|
-
self.context.unref();
|
|
117
|
-
} else {
|
|
118
|
-
self.pos += bytesRead;
|
|
119
|
-
self.push(buffer.slice(0, bytesRead));
|
|
120
|
-
}
|
|
121
|
-
cb();
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
ReadStream.prototype.destroy = function(err) {
|
|
127
|
-
if (this.destroyed) return;
|
|
128
|
-
err = err || new Error("stream destroyed");
|
|
129
|
-
this.destroyed = true;
|
|
130
|
-
this.emit('error', err);
|
|
131
|
-
this.context.unref();
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
util.inherits(WriteStream, Writable);
|
|
135
|
-
function WriteStream(context, options) {
|
|
136
|
-
options = options || {};
|
|
137
|
-
Writable.call(this, options);
|
|
138
|
-
|
|
139
|
-
this.context = context;
|
|
140
|
-
this.context.ref();
|
|
141
|
-
|
|
142
|
-
this.start = options.start || 0;
|
|
143
|
-
this.endOffset = (options.end == null) ? Infinity : +options.end;
|
|
144
|
-
this.bytesWritten = 0;
|
|
145
|
-
this.pos = this.start;
|
|
146
|
-
this.destroyed = false;
|
|
147
|
-
|
|
148
|
-
this.on('finish', this.destroy.bind(this));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
WriteStream.prototype._write = function(buffer, encoding, callback) {
|
|
152
|
-
var self = this;
|
|
153
|
-
if (self.destroyed) return;
|
|
154
|
-
|
|
155
|
-
if (self.pos + buffer.length > self.endOffset) {
|
|
156
|
-
var err = new Error("maximum file length exceeded");
|
|
157
|
-
err.code = 'ETOOBIG';
|
|
158
|
-
self.destroy();
|
|
159
|
-
callback(err);
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
self.context.pend.go(function(cb) {
|
|
163
|
-
if (self.destroyed) return cb();
|
|
164
|
-
fs.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
|
|
165
|
-
if (err) {
|
|
166
|
-
self.destroy();
|
|
167
|
-
cb();
|
|
168
|
-
callback(err);
|
|
169
|
-
} else {
|
|
170
|
-
self.bytesWritten += bytes;
|
|
171
|
-
self.pos += bytes;
|
|
172
|
-
self.emit('progress');
|
|
173
|
-
cb();
|
|
174
|
-
callback();
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
});
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
WriteStream.prototype.destroy = function() {
|
|
181
|
-
if (this.destroyed) return;
|
|
182
|
-
this.destroyed = true;
|
|
183
|
-
this.context.unref();
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
util.inherits(BufferSlicer, EventEmitter);
|
|
187
|
-
function BufferSlicer(buffer, options) {
|
|
188
|
-
EventEmitter.call(this);
|
|
189
|
-
|
|
190
|
-
options = options || {};
|
|
191
|
-
this.refCount = 0;
|
|
192
|
-
this.buffer = buffer;
|
|
193
|
-
this.maxChunkSize = options.maxChunkSize || Number.MAX_SAFE_INTEGER;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
BufferSlicer.prototype.read = function(buffer, offset, length, position, callback) {
|
|
197
|
-
var end = position + length;
|
|
198
|
-
var delta = end - this.buffer.length;
|
|
199
|
-
var written = (delta > 0) ? delta : length;
|
|
200
|
-
this.buffer.copy(buffer, offset, position, end);
|
|
201
|
-
setImmediate(function() {
|
|
202
|
-
callback(null, written);
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
BufferSlicer.prototype.write = function(buffer, offset, length, position, callback) {
|
|
207
|
-
buffer.copy(this.buffer, position, offset, offset + length);
|
|
208
|
-
setImmediate(function() {
|
|
209
|
-
callback(null, length, buffer);
|
|
210
|
-
});
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
BufferSlicer.prototype.createReadStream = function(options) {
|
|
214
|
-
options = options || {};
|
|
215
|
-
var readStream = new PassThrough(options);
|
|
216
|
-
readStream.destroyed = false;
|
|
217
|
-
readStream.start = options.start || 0;
|
|
218
|
-
readStream.endOffset = options.end;
|
|
219
|
-
// by the time this function returns, we'll be done.
|
|
220
|
-
readStream.pos = readStream.endOffset || this.buffer.length;
|
|
221
|
-
|
|
222
|
-
// respect the maxChunkSize option to slice up the chunk into smaller pieces.
|
|
223
|
-
var entireSlice = this.buffer.slice(readStream.start, readStream.pos);
|
|
224
|
-
var offset = 0;
|
|
225
|
-
while (true) {
|
|
226
|
-
var nextOffset = offset + this.maxChunkSize;
|
|
227
|
-
if (nextOffset >= entireSlice.length) {
|
|
228
|
-
// last chunk
|
|
229
|
-
if (offset < entireSlice.length) {
|
|
230
|
-
readStream.write(entireSlice.slice(offset, entireSlice.length));
|
|
231
|
-
}
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
readStream.write(entireSlice.slice(offset, nextOffset));
|
|
235
|
-
offset = nextOffset;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
readStream.end();
|
|
239
|
-
readStream.destroy = function() {
|
|
240
|
-
readStream.destroyed = true;
|
|
241
|
-
};
|
|
242
|
-
return readStream;
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
BufferSlicer.prototype.createWriteStream = function(options) {
|
|
246
|
-
var bufferSlicer = this;
|
|
247
|
-
options = options || {};
|
|
248
|
-
var writeStream = new Writable(options);
|
|
249
|
-
writeStream.start = options.start || 0;
|
|
250
|
-
writeStream.endOffset = (options.end == null) ? this.buffer.length : +options.end;
|
|
251
|
-
writeStream.bytesWritten = 0;
|
|
252
|
-
writeStream.pos = writeStream.start;
|
|
253
|
-
writeStream.destroyed = false;
|
|
254
|
-
writeStream._write = function(buffer, encoding, callback) {
|
|
255
|
-
if (writeStream.destroyed) return;
|
|
256
|
-
|
|
257
|
-
var end = writeStream.pos + buffer.length;
|
|
258
|
-
if (end > writeStream.endOffset) {
|
|
259
|
-
var err = new Error("maximum file length exceeded");
|
|
260
|
-
err.code = 'ETOOBIG';
|
|
261
|
-
writeStream.destroyed = true;
|
|
262
|
-
callback(err);
|
|
263
|
-
return;
|
|
264
|
-
}
|
|
265
|
-
buffer.copy(bufferSlicer.buffer, writeStream.pos, 0, buffer.length);
|
|
266
|
-
|
|
267
|
-
writeStream.bytesWritten += buffer.length;
|
|
268
|
-
writeStream.pos = end;
|
|
269
|
-
writeStream.emit('progress');
|
|
270
|
-
callback();
|
|
271
|
-
};
|
|
272
|
-
writeStream.destroy = function() {
|
|
273
|
-
writeStream.destroyed = true;
|
|
274
|
-
};
|
|
275
|
-
return writeStream;
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
BufferSlicer.prototype.ref = function() {
|
|
279
|
-
this.refCount += 1;
|
|
280
|
-
};
|
|
281
|
-
|
|
282
|
-
BufferSlicer.prototype.unref = function() {
|
|
283
|
-
this.refCount -= 1;
|
|
284
|
-
|
|
285
|
-
if (this.refCount < 0) {
|
|
286
|
-
throw new Error("invalid unref");
|
|
287
|
-
}
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
function createFromBuffer(buffer, options) {
|
|
291
|
-
return new BufferSlicer(buffer, options);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
function createFromFd(fd, options) {
|
|
295
|
-
return new FdSlicer(fd, options);
|
|
296
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fd-slicer",
|
|
3
|
-
"version": "1.1.0",
|
|
4
|
-
"description": "safely create multiple ReadStream or WriteStream objects from the same file descriptor",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "mocha --reporter spec --check-leaks",
|
|
8
|
-
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/test.js",
|
|
9
|
-
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 10000 --reporter spec --check-leaks test/test.js"
|
|
10
|
-
},
|
|
11
|
-
"author": "Andrew Kelley <superjoe30@gmail.com>",
|
|
12
|
-
"license": "MIT",
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"istanbul": "~0.3.3",
|
|
15
|
-
"mocha": "~2.0.1",
|
|
16
|
-
"stream-equal": "~0.1.5",
|
|
17
|
-
"streamsink": "~1.2.0"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"pend": "~1.2.0"
|
|
21
|
-
},
|
|
22
|
-
"directories": {
|
|
23
|
-
"test": "test"
|
|
24
|
-
},
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git://github.com/andrewrk/node-fd-slicer.git"
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/andrewrk/node-fd-slicer/issues"
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"createReadStream",
|
|
34
|
-
"createWriteStream"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const {PassThrough: PassThroughStream} = require('stream');
|
|
3
|
-
|
|
4
|
-
module.exports = options => {
|
|
5
|
-
options = {...options};
|
|
6
|
-
|
|
7
|
-
const {array} = options;
|
|
8
|
-
let {encoding} = options;
|
|
9
|
-
const isBuffer = encoding === 'buffer';
|
|
10
|
-
let objectMode = false;
|
|
11
|
-
|
|
12
|
-
if (array) {
|
|
13
|
-
objectMode = !(encoding || isBuffer);
|
|
14
|
-
} else {
|
|
15
|
-
encoding = encoding || 'utf8';
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (isBuffer) {
|
|
19
|
-
encoding = null;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const stream = new PassThroughStream({objectMode});
|
|
23
|
-
|
|
24
|
-
if (encoding) {
|
|
25
|
-
stream.setEncoding(encoding);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
let length = 0;
|
|
29
|
-
const chunks = [];
|
|
30
|
-
|
|
31
|
-
stream.on('data', chunk => {
|
|
32
|
-
chunks.push(chunk);
|
|
33
|
-
|
|
34
|
-
if (objectMode) {
|
|
35
|
-
length = chunks.length;
|
|
36
|
-
} else {
|
|
37
|
-
length += chunk.length;
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
stream.getBufferedValue = () => {
|
|
42
|
-
if (array) {
|
|
43
|
-
return chunks;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return isBuffer ? Buffer.concat(chunks, length) : chunks.join('');
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
stream.getBufferedLength = () => length;
|
|
50
|
-
|
|
51
|
-
return stream;
|
|
52
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const {constants: BufferConstants} = require('buffer');
|
|
3
|
-
const pump = require('pump');
|
|
4
|
-
const bufferStream = require('./buffer-stream');
|
|
5
|
-
|
|
6
|
-
class MaxBufferError extends Error {
|
|
7
|
-
constructor() {
|
|
8
|
-
super('maxBuffer exceeded');
|
|
9
|
-
this.name = 'MaxBufferError';
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
async function getStream(inputStream, options) {
|
|
14
|
-
if (!inputStream) {
|
|
15
|
-
return Promise.reject(new Error('Expected a stream'));
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
options = {
|
|
19
|
-
maxBuffer: Infinity,
|
|
20
|
-
...options
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const {maxBuffer} = options;
|
|
24
|
-
|
|
25
|
-
let stream;
|
|
26
|
-
await new Promise((resolve, reject) => {
|
|
27
|
-
const rejectPromise = error => {
|
|
28
|
-
// Don't retrieve an oversized buffer.
|
|
29
|
-
if (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {
|
|
30
|
-
error.bufferedData = stream.getBufferedValue();
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
reject(error);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
stream = pump(inputStream, bufferStream(options), error => {
|
|
37
|
-
if (error) {
|
|
38
|
-
rejectPromise(error);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
resolve();
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
stream.on('data', () => {
|
|
46
|
-
if (stream.getBufferedLength() > maxBuffer) {
|
|
47
|
-
rejectPromise(new MaxBufferError());
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
return stream.getBufferedValue();
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
module.exports = getStream;
|
|
56
|
-
// TODO: Remove this for the next major release
|
|
57
|
-
module.exports.default = getStream;
|
|
58
|
-
module.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});
|
|
59
|
-
module.exports.array = (stream, options) => getStream(stream, {...options, array: true});
|
|
60
|
-
module.exports.MaxBufferError = MaxBufferError;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "get-stream",
|
|
3
|
-
"version": "5.2.0",
|
|
4
|
-
"description": "Get a stream as a string, buffer, or array",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/get-stream",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=8"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"test": "xo && ava && tsd"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"index.js",
|
|
21
|
-
"index.d.ts",
|
|
22
|
-
"buffer-stream.js"
|
|
23
|
-
],
|
|
24
|
-
"keywords": [
|
|
25
|
-
"get",
|
|
26
|
-
"stream",
|
|
27
|
-
"promise",
|
|
28
|
-
"concat",
|
|
29
|
-
"string",
|
|
30
|
-
"text",
|
|
31
|
-
"buffer",
|
|
32
|
-
"read",
|
|
33
|
-
"data",
|
|
34
|
-
"consume",
|
|
35
|
-
"readable",
|
|
36
|
-
"readablestream",
|
|
37
|
-
"array",
|
|
38
|
-
"object"
|
|
39
|
-
],
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"pump": "^3.0.0"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@types/node": "^12.0.7",
|
|
45
|
-
"ava": "^2.0.0",
|
|
46
|
-
"into-stream": "^5.0.0",
|
|
47
|
-
"tsd": "^0.7.2",
|
|
48
|
-
"xo": "^0.24.0"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.data = void 0;
|
|
7
|
-
const debug_1 = __importDefault(require("debug"));
|
|
8
|
-
const stream_1 = require("stream");
|
|
9
|
-
const crypto_1 = require("crypto");
|
|
10
|
-
const data_uri_to_buffer_1 = require("data-uri-to-buffer");
|
|
11
|
-
const notmodified_1 = __importDefault(require("./notmodified"));
|
|
12
|
-
const debug = (0, debug_1.default)('get-uri:data');
|
|
13
|
-
class DataReadable extends stream_1.Readable {
|
|
14
|
-
constructor(hash, buf) {
|
|
15
|
-
super();
|
|
16
|
-
this.push(buf);
|
|
17
|
-
this.push(null);
|
|
18
|
-
this.hash = hash;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Returns a Readable stream from a "data:" URI.
|
|
23
|
-
*/
|
|
24
|
-
const data = async ({ href: uri }, { cache } = {}) => {
|
|
25
|
-
// need to create a SHA1 hash of the URI string, for cacheability checks
|
|
26
|
-
// in future `getUri()` calls with the same data URI passed in.
|
|
27
|
-
const shasum = (0, crypto_1.createHash)('sha1');
|
|
28
|
-
shasum.update(uri);
|
|
29
|
-
const hash = shasum.digest('hex');
|
|
30
|
-
debug('generated SHA1 hash for "data:" URI: %o', hash);
|
|
31
|
-
// check if the cache is the same "data:" URI that was previously passed in.
|
|
32
|
-
if (cache?.hash === hash) {
|
|
33
|
-
debug('got matching cache SHA1 hash: %o', hash);
|
|
34
|
-
throw new notmodified_1.default();
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
debug('creating Readable stream from "data:" URI buffer');
|
|
38
|
-
const { buffer } = (0, data_uri_to_buffer_1.dataUriToBuffer)(uri);
|
|
39
|
-
return new DataReadable(hash, Buffer.from(buffer));
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.data = data;
|
|
43
|
-
//# sourceMappingURL=data.js.map
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.file = void 0;
|
|
7
|
-
const debug_1 = __importDefault(require("debug"));
|
|
8
|
-
const fs_1 = require("fs");
|
|
9
|
-
const notfound_1 = __importDefault(require("./notfound"));
|
|
10
|
-
const notmodified_1 = __importDefault(require("./notmodified"));
|
|
11
|
-
const url_1 = require("url");
|
|
12
|
-
const debug = (0, debug_1.default)('get-uri:file');
|
|
13
|
-
/**
|
|
14
|
-
* Returns a `fs.ReadStream` instance from a "file:" URI.
|
|
15
|
-
*/
|
|
16
|
-
const file = async ({ href: uri }, opts = {}) => {
|
|
17
|
-
const { cache, flags = 'r', mode = 438, // =0666
|
|
18
|
-
} = opts;
|
|
19
|
-
try {
|
|
20
|
-
// Convert URI → Path
|
|
21
|
-
const filepath = (0, url_1.fileURLToPath)(uri);
|
|
22
|
-
debug('Normalized pathname: %o', filepath);
|
|
23
|
-
// `open()` first to get a file descriptor and ensure that the file
|
|
24
|
-
// exists.
|
|
25
|
-
const fdHandle = await fs_1.promises.open(filepath, flags, mode);
|
|
26
|
-
// extract the numeric file descriptor
|
|
27
|
-
const fd = fdHandle.fd;
|
|
28
|
-
// store the stat object for the cache.
|
|
29
|
-
const stat = await fdHandle.stat();
|
|
30
|
-
// if a `cache` was provided, check if the file has not been modified
|
|
31
|
-
if (cache && cache.stat && stat && isNotModified(cache.stat, stat)) {
|
|
32
|
-
await fdHandle.close();
|
|
33
|
-
throw new notmodified_1.default();
|
|
34
|
-
}
|
|
35
|
-
// `fs.ReadStream` takes care of calling `fs.close()` on the
|
|
36
|
-
// fd after it's done reading
|
|
37
|
-
const rs = (0, fs_1.createReadStream)(filepath, {
|
|
38
|
-
autoClose: true,
|
|
39
|
-
...opts,
|
|
40
|
-
fd,
|
|
41
|
-
});
|
|
42
|
-
rs.stat = stat;
|
|
43
|
-
return rs;
|
|
44
|
-
}
|
|
45
|
-
catch (err) {
|
|
46
|
-
if (err.code === 'ENOENT') {
|
|
47
|
-
throw new notfound_1.default();
|
|
48
|
-
}
|
|
49
|
-
throw err;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
exports.file = file;
|
|
53
|
-
// returns `true` if the `mtime` of the 2 stat objects are equal
|
|
54
|
-
function isNotModified(prev, curr) {
|
|
55
|
-
return +prev.mtime === +curr.mtime;
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=file.js.map
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ftp = void 0;
|
|
7
|
-
const basic_ftp_1 = require("basic-ftp");
|
|
8
|
-
const stream_1 = require("stream");
|
|
9
|
-
const path_1 = require("path");
|
|
10
|
-
const debug_1 = __importDefault(require("debug"));
|
|
11
|
-
const notfound_1 = __importDefault(require("./notfound"));
|
|
12
|
-
const notmodified_1 = __importDefault(require("./notmodified"));
|
|
13
|
-
const debug = (0, debug_1.default)('get-uri:ftp');
|
|
14
|
-
/**
|
|
15
|
-
* Returns a Readable stream from an "ftp:" URI.
|
|
16
|
-
*/
|
|
17
|
-
const ftp = async (url, opts = {}) => {
|
|
18
|
-
const { cache } = opts;
|
|
19
|
-
const filepath = decodeURIComponent(url.pathname);
|
|
20
|
-
let lastModified;
|
|
21
|
-
if (!filepath) {
|
|
22
|
-
throw new TypeError('No "pathname"!');
|
|
23
|
-
}
|
|
24
|
-
const client = new basic_ftp_1.Client();
|
|
25
|
-
try {
|
|
26
|
-
const host = url.hostname || url.host || 'localhost';
|
|
27
|
-
const port = parseInt(url.port || '0', 10) || 21;
|
|
28
|
-
const user = url.username
|
|
29
|
-
? decodeURIComponent(url.username)
|
|
30
|
-
: undefined;
|
|
31
|
-
const password = url.password
|
|
32
|
-
? decodeURIComponent(url.password)
|
|
33
|
-
: undefined;
|
|
34
|
-
await client.access({
|
|
35
|
-
host,
|
|
36
|
-
port,
|
|
37
|
-
user,
|
|
38
|
-
password,
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
// first we have to figure out the Last Modified date.
|
|
42
|
-
// try the MDTM command first, which is an optional extension command.
|
|
43
|
-
try {
|
|
44
|
-
lastModified = await client.lastMod(filepath);
|
|
45
|
-
}
|
|
46
|
-
catch (err) {
|
|
47
|
-
// handle the "file not found" error code
|
|
48
|
-
if (err.code === 550) {
|
|
49
|
-
throw new notfound_1.default();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
if (!lastModified) {
|
|
53
|
-
// Try to get the last modified date via the LIST command (uses
|
|
54
|
-
// more bandwidth, but is more compatible with older FTP servers
|
|
55
|
-
const list = await client.list((0, path_1.dirname)(filepath));
|
|
56
|
-
// attempt to find the "entry" with a matching "name"
|
|
57
|
-
const name = (0, path_1.basename)(filepath);
|
|
58
|
-
const entry = list.find((e) => e.name === name);
|
|
59
|
-
if (entry) {
|
|
60
|
-
lastModified = entry.modifiedAt;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
if (lastModified) {
|
|
64
|
-
if (isNotModified()) {
|
|
65
|
-
throw new notmodified_1.default();
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
throw new notfound_1.default();
|
|
70
|
-
}
|
|
71
|
-
const stream = new stream_1.PassThrough();
|
|
72
|
-
const rs = stream;
|
|
73
|
-
client.downloadTo(stream, filepath).then((result) => {
|
|
74
|
-
debug(result.message);
|
|
75
|
-
client.close();
|
|
76
|
-
});
|
|
77
|
-
rs.lastModified = lastModified;
|
|
78
|
-
return rs;
|
|
79
|
-
}
|
|
80
|
-
catch (err) {
|
|
81
|
-
client.close();
|
|
82
|
-
throw err;
|
|
83
|
-
}
|
|
84
|
-
// called when `lastModified` is set, and a "cache" stream was provided
|
|
85
|
-
function isNotModified() {
|
|
86
|
-
if (cache?.lastModified && lastModified) {
|
|
87
|
-
return +cache.lastModified === +lastModified;
|
|
88
|
-
}
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
exports.ftp = ftp;
|
|
93
|
-
//# sourceMappingURL=ftp.js.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const http_1 = require("http");
|
|
4
|
-
/**
|
|
5
|
-
* Error subclass to use when an HTTP application error has occurred.
|
|
6
|
-
*/
|
|
7
|
-
class HTTPError extends Error {
|
|
8
|
-
constructor(statusCode, message = http_1.STATUS_CODES[statusCode]) {
|
|
9
|
-
super(message);
|
|
10
|
-
this.statusCode = statusCode;
|
|
11
|
-
this.code = `E${String(message).toUpperCase().replace(/\s+/g, '')}`;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.default = HTTPError;
|
|
15
|
-
//# sourceMappingURL=http-error.js.map
|