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,321 +0,0 @@
|
|
|
1
|
-
const b4a = require('b4a')
|
|
2
|
-
|
|
3
|
-
const ZEROS = '0000000000000000000'
|
|
4
|
-
const SEVENS = '7777777777777777777'
|
|
5
|
-
const ZERO_OFFSET = '0'.charCodeAt(0)
|
|
6
|
-
const USTAR_MAGIC = b4a.from([0x75, 0x73, 0x74, 0x61, 0x72, 0x00]) // ustar\x00
|
|
7
|
-
const USTAR_VER = b4a.from([ZERO_OFFSET, ZERO_OFFSET])
|
|
8
|
-
const GNU_MAGIC = b4a.from([0x75, 0x73, 0x74, 0x61, 0x72, 0x20]) // ustar\x20
|
|
9
|
-
const GNU_VER = b4a.from([0x20, 0x00])
|
|
10
|
-
const MASK = 0o7777
|
|
11
|
-
const MAGIC_OFFSET = 257
|
|
12
|
-
const VERSION_OFFSET = 263
|
|
13
|
-
|
|
14
|
-
exports.decodeLongPath = function decodeLongPath (buf, encoding) {
|
|
15
|
-
return decodeStr(buf, 0, buf.length, encoding)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
exports.encodePax = function encodePax (opts) { // TODO: encode more stuff in pax
|
|
19
|
-
let result = ''
|
|
20
|
-
if (opts.name) result += addLength(' path=' + opts.name + '\n')
|
|
21
|
-
if (opts.linkname) result += addLength(' linkpath=' + opts.linkname + '\n')
|
|
22
|
-
const pax = opts.pax
|
|
23
|
-
if (pax) {
|
|
24
|
-
for (const key in pax) {
|
|
25
|
-
result += addLength(' ' + key + '=' + pax[key] + '\n')
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return b4a.from(result)
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.decodePax = function decodePax (buf) {
|
|
32
|
-
const result = {}
|
|
33
|
-
|
|
34
|
-
while (buf.length) {
|
|
35
|
-
let i = 0
|
|
36
|
-
while (i < buf.length && buf[i] !== 32) i++
|
|
37
|
-
const len = parseInt(b4a.toString(buf.subarray(0, i)), 10)
|
|
38
|
-
if (!len) return result
|
|
39
|
-
|
|
40
|
-
const b = b4a.toString(buf.subarray(i + 1, len - 1))
|
|
41
|
-
const keyIndex = b.indexOf('=')
|
|
42
|
-
if (keyIndex === -1) return result
|
|
43
|
-
result[b.slice(0, keyIndex)] = b.slice(keyIndex + 1)
|
|
44
|
-
|
|
45
|
-
buf = buf.subarray(len)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return result
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
exports.encode = function encode (opts) {
|
|
52
|
-
const buf = b4a.alloc(512)
|
|
53
|
-
let name = opts.name
|
|
54
|
-
let prefix = ''
|
|
55
|
-
|
|
56
|
-
if (opts.typeflag === 5 && name[name.length - 1] !== '/') name += '/'
|
|
57
|
-
if (b4a.byteLength(name) !== name.length) return null // utf-8
|
|
58
|
-
|
|
59
|
-
while (b4a.byteLength(name) > 100) {
|
|
60
|
-
const i = name.indexOf('/')
|
|
61
|
-
if (i === -1) return null
|
|
62
|
-
prefix += prefix ? '/' + name.slice(0, i) : name.slice(0, i)
|
|
63
|
-
name = name.slice(i + 1)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
if (b4a.byteLength(name) > 100 || b4a.byteLength(prefix) > 155) return null
|
|
67
|
-
if (opts.linkname && b4a.byteLength(opts.linkname) > 100) return null
|
|
68
|
-
|
|
69
|
-
b4a.write(buf, name)
|
|
70
|
-
b4a.write(buf, encodeOct(opts.mode & MASK, 6), 100)
|
|
71
|
-
b4a.write(buf, encodeOct(opts.uid, 6), 108)
|
|
72
|
-
b4a.write(buf, encodeOct(opts.gid, 6), 116)
|
|
73
|
-
encodeSize(opts.size, buf, 124)
|
|
74
|
-
b4a.write(buf, encodeOct((opts.mtime.getTime() / 1000) | 0, 11), 136)
|
|
75
|
-
|
|
76
|
-
buf[156] = ZERO_OFFSET + toTypeflag(opts.type)
|
|
77
|
-
|
|
78
|
-
if (opts.linkname) b4a.write(buf, opts.linkname, 157)
|
|
79
|
-
|
|
80
|
-
b4a.copy(USTAR_MAGIC, buf, MAGIC_OFFSET)
|
|
81
|
-
b4a.copy(USTAR_VER, buf, VERSION_OFFSET)
|
|
82
|
-
if (opts.uname) b4a.write(buf, opts.uname, 265)
|
|
83
|
-
if (opts.gname) b4a.write(buf, opts.gname, 297)
|
|
84
|
-
b4a.write(buf, encodeOct(opts.devmajor || 0, 6), 329)
|
|
85
|
-
b4a.write(buf, encodeOct(opts.devminor || 0, 6), 337)
|
|
86
|
-
|
|
87
|
-
if (prefix) b4a.write(buf, prefix, 345)
|
|
88
|
-
|
|
89
|
-
b4a.write(buf, encodeOct(cksum(buf), 6), 148)
|
|
90
|
-
|
|
91
|
-
return buf
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
exports.decode = function decode (buf, filenameEncoding, allowUnknownFormat) {
|
|
95
|
-
let typeflag = buf[156] === 0 ? 0 : buf[156] - ZERO_OFFSET
|
|
96
|
-
|
|
97
|
-
let name = decodeStr(buf, 0, 100, filenameEncoding)
|
|
98
|
-
const mode = decodeOct(buf, 100, 8)
|
|
99
|
-
const uid = decodeOct(buf, 108, 8)
|
|
100
|
-
const gid = decodeOct(buf, 116, 8)
|
|
101
|
-
const size = decodeOct(buf, 124, 12)
|
|
102
|
-
const mtime = decodeOct(buf, 136, 12)
|
|
103
|
-
const type = toType(typeflag)
|
|
104
|
-
const linkname = buf[157] === 0 ? null : decodeStr(buf, 157, 100, filenameEncoding)
|
|
105
|
-
const uname = decodeStr(buf, 265, 32)
|
|
106
|
-
const gname = decodeStr(buf, 297, 32)
|
|
107
|
-
const devmajor = decodeOct(buf, 329, 8)
|
|
108
|
-
const devminor = decodeOct(buf, 337, 8)
|
|
109
|
-
|
|
110
|
-
const c = cksum(buf)
|
|
111
|
-
|
|
112
|
-
// checksum is still initial value if header was null.
|
|
113
|
-
if (c === 8 * 32) return null
|
|
114
|
-
|
|
115
|
-
// valid checksum
|
|
116
|
-
if (c !== decodeOct(buf, 148, 8)) throw new Error('Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?')
|
|
117
|
-
|
|
118
|
-
if (isUSTAR(buf)) {
|
|
119
|
-
// ustar (posix) format.
|
|
120
|
-
// prepend prefix, if present.
|
|
121
|
-
if (buf[345]) name = decodeStr(buf, 345, 155, filenameEncoding) + '/' + name
|
|
122
|
-
} else if (isGNU(buf)) {
|
|
123
|
-
// 'gnu'/'oldgnu' format. Similar to ustar, but has support for incremental and
|
|
124
|
-
// multi-volume tarballs.
|
|
125
|
-
} else {
|
|
126
|
-
if (!allowUnknownFormat) {
|
|
127
|
-
throw new Error('Invalid tar header: unknown format.')
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// to support old tar versions that use trailing / to indicate dirs
|
|
132
|
-
if (typeflag === 0 && name && name[name.length - 1] === '/') typeflag = 5
|
|
133
|
-
|
|
134
|
-
return {
|
|
135
|
-
name,
|
|
136
|
-
mode,
|
|
137
|
-
uid,
|
|
138
|
-
gid,
|
|
139
|
-
size,
|
|
140
|
-
mtime: new Date(1000 * mtime),
|
|
141
|
-
type,
|
|
142
|
-
linkname,
|
|
143
|
-
uname,
|
|
144
|
-
gname,
|
|
145
|
-
devmajor,
|
|
146
|
-
devminor,
|
|
147
|
-
pax: null
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
function isUSTAR (buf) {
|
|
152
|
-
return b4a.equals(USTAR_MAGIC, buf.subarray(MAGIC_OFFSET, MAGIC_OFFSET + 6))
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
function isGNU (buf) {
|
|
156
|
-
return b4a.equals(GNU_MAGIC, buf.subarray(MAGIC_OFFSET, MAGIC_OFFSET + 6)) &&
|
|
157
|
-
b4a.equals(GNU_VER, buf.subarray(VERSION_OFFSET, VERSION_OFFSET + 2))
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
function clamp (index, len, defaultValue) {
|
|
161
|
-
if (typeof index !== 'number') return defaultValue
|
|
162
|
-
index = ~~index // Coerce to integer.
|
|
163
|
-
if (index >= len) return len
|
|
164
|
-
if (index >= 0) return index
|
|
165
|
-
index += len
|
|
166
|
-
if (index >= 0) return index
|
|
167
|
-
return 0
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
function toType (flag) {
|
|
171
|
-
switch (flag) {
|
|
172
|
-
case 0:
|
|
173
|
-
return 'file'
|
|
174
|
-
case 1:
|
|
175
|
-
return 'link'
|
|
176
|
-
case 2:
|
|
177
|
-
return 'symlink'
|
|
178
|
-
case 3:
|
|
179
|
-
return 'character-device'
|
|
180
|
-
case 4:
|
|
181
|
-
return 'block-device'
|
|
182
|
-
case 5:
|
|
183
|
-
return 'directory'
|
|
184
|
-
case 6:
|
|
185
|
-
return 'fifo'
|
|
186
|
-
case 7:
|
|
187
|
-
return 'contiguous-file'
|
|
188
|
-
case 72:
|
|
189
|
-
return 'pax-header'
|
|
190
|
-
case 55:
|
|
191
|
-
return 'pax-global-header'
|
|
192
|
-
case 27:
|
|
193
|
-
return 'gnu-long-link-path'
|
|
194
|
-
case 28:
|
|
195
|
-
case 30:
|
|
196
|
-
return 'gnu-long-path'
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
return null
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function toTypeflag (flag) {
|
|
203
|
-
switch (flag) {
|
|
204
|
-
case 'file':
|
|
205
|
-
return 0
|
|
206
|
-
case 'link':
|
|
207
|
-
return 1
|
|
208
|
-
case 'symlink':
|
|
209
|
-
return 2
|
|
210
|
-
case 'character-device':
|
|
211
|
-
return 3
|
|
212
|
-
case 'block-device':
|
|
213
|
-
return 4
|
|
214
|
-
case 'directory':
|
|
215
|
-
return 5
|
|
216
|
-
case 'fifo':
|
|
217
|
-
return 6
|
|
218
|
-
case 'contiguous-file':
|
|
219
|
-
return 7
|
|
220
|
-
case 'pax-header':
|
|
221
|
-
return 72
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
return 0
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
function indexOf (block, num, offset, end) {
|
|
228
|
-
for (; offset < end; offset++) {
|
|
229
|
-
if (block[offset] === num) return offset
|
|
230
|
-
}
|
|
231
|
-
return end
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
function cksum (block) {
|
|
235
|
-
let sum = 8 * 32
|
|
236
|
-
for (let i = 0; i < 148; i++) sum += block[i]
|
|
237
|
-
for (let j = 156; j < 512; j++) sum += block[j]
|
|
238
|
-
return sum
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
function encodeOct (val, n) {
|
|
242
|
-
val = val.toString(8)
|
|
243
|
-
if (val.length > n) return SEVENS.slice(0, n) + ' '
|
|
244
|
-
return ZEROS.slice(0, n - val.length) + val + ' '
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
function encodeSizeBin (num, buf, off) {
|
|
248
|
-
buf[off] = 0x80
|
|
249
|
-
for (let i = 11; i > 0; i--) {
|
|
250
|
-
buf[off + i] = num & 0xff
|
|
251
|
-
num = Math.floor(num / 0x100)
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
function encodeSize (num, buf, off) {
|
|
256
|
-
if (num.toString(8).length > 11) {
|
|
257
|
-
encodeSizeBin(num, buf, off)
|
|
258
|
-
} else {
|
|
259
|
-
b4a.write(buf, encodeOct(num, 11), off)
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/* Copied from the node-tar repo and modified to meet
|
|
264
|
-
* tar-stream coding standard.
|
|
265
|
-
*
|
|
266
|
-
* Source: https://github.com/npm/node-tar/blob/51b6627a1f357d2eb433e7378e5f05e83b7aa6cd/lib/header.js#L349
|
|
267
|
-
*/
|
|
268
|
-
function parse256 (buf) {
|
|
269
|
-
// first byte MUST be either 80 or FF
|
|
270
|
-
// 80 for positive, FF for 2's comp
|
|
271
|
-
let positive
|
|
272
|
-
if (buf[0] === 0x80) positive = true
|
|
273
|
-
else if (buf[0] === 0xFF) positive = false
|
|
274
|
-
else return null
|
|
275
|
-
|
|
276
|
-
// build up a base-256 tuple from the least sig to the highest
|
|
277
|
-
const tuple = []
|
|
278
|
-
let i
|
|
279
|
-
for (i = buf.length - 1; i > 0; i--) {
|
|
280
|
-
const byte = buf[i]
|
|
281
|
-
if (positive) tuple.push(byte)
|
|
282
|
-
else tuple.push(0xFF - byte)
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
let sum = 0
|
|
286
|
-
const l = tuple.length
|
|
287
|
-
for (i = 0; i < l; i++) {
|
|
288
|
-
sum += tuple[i] * Math.pow(256, i)
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
return positive ? sum : -1 * sum
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
function decodeOct (val, offset, length) {
|
|
295
|
-
val = val.subarray(offset, offset + length)
|
|
296
|
-
offset = 0
|
|
297
|
-
|
|
298
|
-
// If prefixed with 0x80 then parse as a base-256 integer
|
|
299
|
-
if (val[offset] & 0x80) {
|
|
300
|
-
return parse256(val)
|
|
301
|
-
} else {
|
|
302
|
-
// Older versions of tar can prefix with spaces
|
|
303
|
-
while (offset < val.length && val[offset] === 32) offset++
|
|
304
|
-
const end = clamp(indexOf(val, 32, offset, val.length), val.length, val.length)
|
|
305
|
-
while (offset < end && val[offset] === 0) offset++
|
|
306
|
-
if (end === offset) return 0
|
|
307
|
-
return parseInt(b4a.toString(val.subarray(offset, end)), 8)
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
function decodeStr (val, offset, length, encoding) {
|
|
312
|
-
return b4a.toString(val.subarray(offset, indexOf(val, 0, offset, offset + length)), encoding)
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
function addLength (str) {
|
|
316
|
-
const len = b4a.byteLength(str)
|
|
317
|
-
let digits = Math.floor(Math.log(len) / Math.log(10)) + 1
|
|
318
|
-
if (len + digits >= Math.pow(10, digits)) digits++
|
|
319
|
-
|
|
320
|
-
return (len + digits) + str
|
|
321
|
-
}
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
const { Readable, Writable, getStreamError } = require('streamx')
|
|
2
|
-
const b4a = require('b4a')
|
|
3
|
-
|
|
4
|
-
const constants = require('./constants')
|
|
5
|
-
const headers = require('./headers')
|
|
6
|
-
|
|
7
|
-
const DMODE = 0o755
|
|
8
|
-
const FMODE = 0o644
|
|
9
|
-
|
|
10
|
-
const END_OF_TAR = b4a.alloc(1024)
|
|
11
|
-
|
|
12
|
-
class Sink extends Writable {
|
|
13
|
-
constructor (pack, header, callback) {
|
|
14
|
-
super({ mapWritable, eagerOpen: true })
|
|
15
|
-
|
|
16
|
-
this.written = 0
|
|
17
|
-
this.header = header
|
|
18
|
-
|
|
19
|
-
this._callback = callback
|
|
20
|
-
this._linkname = null
|
|
21
|
-
this._isLinkname = header.type === 'symlink' && !header.linkname
|
|
22
|
-
this._isVoid = header.type !== 'file' && header.type !== 'contiguous-file'
|
|
23
|
-
this._finished = false
|
|
24
|
-
this._pack = pack
|
|
25
|
-
this._openCallback = null
|
|
26
|
-
|
|
27
|
-
if (this._pack._stream === null) this._pack._stream = this
|
|
28
|
-
else this._pack._pending.push(this)
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
_open (cb) {
|
|
32
|
-
this._openCallback = cb
|
|
33
|
-
if (this._pack._stream === this) this._continueOpen()
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
_continuePack (err) {
|
|
37
|
-
if (this._callback === null) return
|
|
38
|
-
|
|
39
|
-
const callback = this._callback
|
|
40
|
-
this._callback = null
|
|
41
|
-
|
|
42
|
-
callback(err)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
_continueOpen () {
|
|
46
|
-
if (this._pack._stream === null) this._pack._stream = this
|
|
47
|
-
|
|
48
|
-
const cb = this._openCallback
|
|
49
|
-
this._openCallback = null
|
|
50
|
-
if (cb === null) return
|
|
51
|
-
|
|
52
|
-
if (this._pack.destroying) return cb(new Error('pack stream destroyed'))
|
|
53
|
-
if (this._pack._finalized) return cb(new Error('pack stream is already finalized'))
|
|
54
|
-
|
|
55
|
-
this._pack._stream = this
|
|
56
|
-
|
|
57
|
-
if (!this._isLinkname) {
|
|
58
|
-
this._pack._encode(this.header)
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (this._isVoid) {
|
|
62
|
-
this._finish()
|
|
63
|
-
this._continuePack(null)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
cb(null)
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
_write (data, cb) {
|
|
70
|
-
if (this._isLinkname) {
|
|
71
|
-
this._linkname = this._linkname ? b4a.concat([this._linkname, data]) : data
|
|
72
|
-
return cb(null)
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if (this._isVoid) {
|
|
76
|
-
if (data.byteLength > 0) {
|
|
77
|
-
return cb(new Error('No body allowed for this entry'))
|
|
78
|
-
}
|
|
79
|
-
return cb()
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
this.written += data.byteLength
|
|
83
|
-
if (this._pack.push(data)) return cb()
|
|
84
|
-
this._pack._drain = cb
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
_finish () {
|
|
88
|
-
if (this._finished) return
|
|
89
|
-
this._finished = true
|
|
90
|
-
|
|
91
|
-
if (this._isLinkname) {
|
|
92
|
-
this.header.linkname = this._linkname ? b4a.toString(this._linkname, 'utf-8') : ''
|
|
93
|
-
this._pack._encode(this.header)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
overflow(this._pack, this.header.size)
|
|
97
|
-
|
|
98
|
-
this._pack._done(this)
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
_final (cb) {
|
|
102
|
-
if (this.written !== this.header.size) { // corrupting tar
|
|
103
|
-
return cb(new Error('Size mismatch'))
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
this._finish()
|
|
107
|
-
cb(null)
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
_getError () {
|
|
111
|
-
return getStreamError(this) || new Error('tar entry destroyed')
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
_predestroy () {
|
|
115
|
-
this._pack.destroy(this._getError())
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
_destroy (cb) {
|
|
119
|
-
this._pack._done(this)
|
|
120
|
-
|
|
121
|
-
this._continuePack(this._finished ? null : this._getError())
|
|
122
|
-
|
|
123
|
-
cb()
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
class Pack extends Readable {
|
|
128
|
-
constructor (opts) {
|
|
129
|
-
super(opts)
|
|
130
|
-
this._drain = noop
|
|
131
|
-
this._finalized = false
|
|
132
|
-
this._finalizing = false
|
|
133
|
-
this._pending = []
|
|
134
|
-
this._stream = null
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
entry (header, buffer, callback) {
|
|
138
|
-
if (this._finalized || this.destroying) throw new Error('already finalized or destroyed')
|
|
139
|
-
|
|
140
|
-
if (typeof buffer === 'function') {
|
|
141
|
-
callback = buffer
|
|
142
|
-
buffer = null
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
if (!callback) callback = noop
|
|
146
|
-
|
|
147
|
-
if (!header.size || header.type === 'symlink') header.size = 0
|
|
148
|
-
if (!header.type) header.type = modeToType(header.mode)
|
|
149
|
-
if (!header.mode) header.mode = header.type === 'directory' ? DMODE : FMODE
|
|
150
|
-
if (!header.uid) header.uid = 0
|
|
151
|
-
if (!header.gid) header.gid = 0
|
|
152
|
-
if (!header.mtime) header.mtime = new Date()
|
|
153
|
-
|
|
154
|
-
if (typeof buffer === 'string') buffer = b4a.from(buffer)
|
|
155
|
-
|
|
156
|
-
const sink = new Sink(this, header, callback)
|
|
157
|
-
|
|
158
|
-
if (b4a.isBuffer(buffer)) {
|
|
159
|
-
header.size = buffer.byteLength
|
|
160
|
-
sink.write(buffer)
|
|
161
|
-
sink.end()
|
|
162
|
-
return sink
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
if (sink._isVoid) {
|
|
166
|
-
return sink
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
return sink
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
finalize () {
|
|
173
|
-
if (this._stream || this._pending.length > 0) {
|
|
174
|
-
this._finalizing = true
|
|
175
|
-
return
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
if (this._finalized) return
|
|
179
|
-
this._finalized = true
|
|
180
|
-
|
|
181
|
-
this.push(END_OF_TAR)
|
|
182
|
-
this.push(null)
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
_done (stream) {
|
|
186
|
-
if (stream !== this._stream) return
|
|
187
|
-
|
|
188
|
-
this._stream = null
|
|
189
|
-
|
|
190
|
-
if (this._finalizing) this.finalize()
|
|
191
|
-
if (this._pending.length) this._pending.shift()._continueOpen()
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
_encode (header) {
|
|
195
|
-
if (!header.pax) {
|
|
196
|
-
const buf = headers.encode(header)
|
|
197
|
-
if (buf) {
|
|
198
|
-
this.push(buf)
|
|
199
|
-
return
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
this._encodePax(header)
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
_encodePax (header) {
|
|
206
|
-
const paxHeader = headers.encodePax({
|
|
207
|
-
name: header.name,
|
|
208
|
-
linkname: header.linkname,
|
|
209
|
-
pax: header.pax
|
|
210
|
-
})
|
|
211
|
-
|
|
212
|
-
const newHeader = {
|
|
213
|
-
name: 'PaxHeader',
|
|
214
|
-
mode: header.mode,
|
|
215
|
-
uid: header.uid,
|
|
216
|
-
gid: header.gid,
|
|
217
|
-
size: paxHeader.byteLength,
|
|
218
|
-
mtime: header.mtime,
|
|
219
|
-
type: 'pax-header',
|
|
220
|
-
linkname: header.linkname && 'PaxHeader',
|
|
221
|
-
uname: header.uname,
|
|
222
|
-
gname: header.gname,
|
|
223
|
-
devmajor: header.devmajor,
|
|
224
|
-
devminor: header.devminor
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
this.push(headers.encode(newHeader))
|
|
228
|
-
this.push(paxHeader)
|
|
229
|
-
overflow(this, paxHeader.byteLength)
|
|
230
|
-
|
|
231
|
-
newHeader.size = header.size
|
|
232
|
-
newHeader.type = header.type
|
|
233
|
-
this.push(headers.encode(newHeader))
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
_doDrain () {
|
|
237
|
-
const drain = this._drain
|
|
238
|
-
this._drain = noop
|
|
239
|
-
drain()
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
_predestroy () {
|
|
243
|
-
const err = getStreamError(this)
|
|
244
|
-
|
|
245
|
-
if (this._stream) this._stream.destroy(err)
|
|
246
|
-
|
|
247
|
-
while (this._pending.length) {
|
|
248
|
-
const stream = this._pending.shift()
|
|
249
|
-
stream.destroy(err)
|
|
250
|
-
stream._continueOpen()
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
this._doDrain()
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
_read (cb) {
|
|
257
|
-
this._doDrain()
|
|
258
|
-
cb()
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
module.exports = function pack (opts) {
|
|
263
|
-
return new Pack(opts)
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
function modeToType (mode) {
|
|
267
|
-
switch (mode & constants.S_IFMT) {
|
|
268
|
-
case constants.S_IFBLK: return 'block-device'
|
|
269
|
-
case constants.S_IFCHR: return 'character-device'
|
|
270
|
-
case constants.S_IFDIR: return 'directory'
|
|
271
|
-
case constants.S_IFIFO: return 'fifo'
|
|
272
|
-
case constants.S_IFLNK: return 'symlink'
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
return 'file'
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
function noop () {}
|
|
279
|
-
|
|
280
|
-
function overflow (self, size) {
|
|
281
|
-
size &= 511
|
|
282
|
-
if (size) self.push(END_OF_TAR.subarray(0, 512 - size))
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
function mapWritable (buf) {
|
|
286
|
-
return b4a.isBuffer(buf) ? buf : b4a.from(buf)
|
|
287
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tar-stream",
|
|
3
|
-
"version": "3.1.8",
|
|
4
|
-
"description": "tar-stream is a streaming tar parser and generator and nothing else. It operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"*.js"
|
|
8
|
-
],
|
|
9
|
-
"browser": {
|
|
10
|
-
"fs": false
|
|
11
|
-
},
|
|
12
|
-
"imports": {
|
|
13
|
-
"fs": {
|
|
14
|
-
"bare": "bare-fs",
|
|
15
|
-
"default": "fs"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"test": "standard && brittle test/*.js"
|
|
20
|
-
},
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/mafintosh/tar-stream.git"
|
|
24
|
-
},
|
|
25
|
-
"author": "Mathias Buus <mathiasbuus@gmail.com>",
|
|
26
|
-
"license": "MIT",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/mafintosh/tar-stream/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/mafintosh/tar-stream",
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"b4a": "^1.6.4",
|
|
33
|
-
"bare-fs": "^4.5.5",
|
|
34
|
-
"fast-fifo": "^1.2.0",
|
|
35
|
-
"streamx": "^2.15.0"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"brittle": "^3.3.2",
|
|
39
|
-
"concat-stream": "^2.0.0",
|
|
40
|
-
"standard": "^17.0.1"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
const PassThroughDecoder = require('./lib/pass-through-decoder')
|
|
2
|
-
const UTF8Decoder = require('./lib/utf8-decoder')
|
|
3
|
-
|
|
4
|
-
module.exports = class TextDecoder {
|
|
5
|
-
constructor(encoding = 'utf8') {
|
|
6
|
-
this.encoding = normalizeEncoding(encoding)
|
|
7
|
-
|
|
8
|
-
switch (this.encoding) {
|
|
9
|
-
case 'utf8':
|
|
10
|
-
this.decoder = new UTF8Decoder()
|
|
11
|
-
break
|
|
12
|
-
case 'utf16le':
|
|
13
|
-
case 'base64':
|
|
14
|
-
throw new Error('Unsupported encoding: ' + this.encoding)
|
|
15
|
-
default:
|
|
16
|
-
this.decoder = new PassThroughDecoder(this.encoding)
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
get remaining() {
|
|
21
|
-
return this.decoder.remaining
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
push(data) {
|
|
25
|
-
if (typeof data === 'string') return data
|
|
26
|
-
return this.decoder.decode(data)
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// For Node.js compatibility
|
|
30
|
-
write(data) {
|
|
31
|
-
return this.push(data)
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
end(data) {
|
|
35
|
-
let result = ''
|
|
36
|
-
if (data) result = this.push(data)
|
|
37
|
-
result += this.decoder.flush()
|
|
38
|
-
return result
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function normalizeEncoding(encoding) {
|
|
43
|
-
encoding = encoding.toLowerCase()
|
|
44
|
-
|
|
45
|
-
switch (encoding) {
|
|
46
|
-
case 'utf8':
|
|
47
|
-
case 'utf-8':
|
|
48
|
-
return 'utf8'
|
|
49
|
-
case 'ucs2':
|
|
50
|
-
case 'ucs-2':
|
|
51
|
-
case 'utf16le':
|
|
52
|
-
case 'utf-16le':
|
|
53
|
-
return 'utf16le'
|
|
54
|
-
case 'latin1':
|
|
55
|
-
case 'binary':
|
|
56
|
-
return 'latin1'
|
|
57
|
-
case 'base64':
|
|
58
|
-
case 'ascii':
|
|
59
|
-
case 'hex':
|
|
60
|
-
return encoding
|
|
61
|
-
default:
|
|
62
|
-
throw new Error('Unknown encoding: ' + encoding)
|
|
63
|
-
}
|
|
64
|
-
}
|