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.
Files changed (616) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +2 -2
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/required-server-files.json +5 -2
  5. package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
  6. package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.html +2 -2
  8. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  15. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  16. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  17. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js +2 -2
  18. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js +2 -2
  20. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js +2 -2
  22. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js +2 -2
  24. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js +2 -2
  26. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js +6 -2
  28. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js +6 -2
  30. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js +6 -2
  32. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js +6 -2
  34. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js +6 -2
  36. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js +6 -2
  38. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/v1/chat/route.js +6 -2
  40. package/.next/standalone/.next/server/app/api/v1/chat/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js +6 -2
  42. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js +7 -3
  44. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js +2 -2
  46. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/v1/conversations/route.js +7 -3
  48. package/.next/standalone/.next/server/app/api/v1/conversations/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js +6 -2
  50. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js +6 -2
  52. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js +6 -2
  54. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/v1/health/route.js +6 -2
  56. package/.next/standalone/.next/server/app/api/v1/health/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js +2 -2
  58. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js +2 -2
  60. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js.nft.json +1 -1
  61. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js +6 -2
  62. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js.nft.json +1 -1
  63. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js +6 -2
  64. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js.nft.json +1 -1
  65. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js +2 -2
  66. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js.nft.json +1 -1
  67. package/.next/standalone/.next/server/app/api/v1/windows/route.js +6 -2
  68. package/.next/standalone/.next/server/app/api/v1/windows/route.js.nft.json +1 -1
  69. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js +6 -2
  70. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js.nft.json +1 -1
  71. package/.next/standalone/.next/server/app/debug/page.js +1 -1
  72. package/.next/standalone/.next/server/app/debug/page.js.nft.json +1 -1
  73. package/.next/standalone/.next/server/app/debug/page_client-reference-manifest.js +1 -1
  74. package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
  75. package/.next/standalone/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/app/page.js +1 -1
  77. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  78. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  79. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d31b133._.js +3 -0
  80. package/.next/standalone/.next/server/chunks/[root-of-the-server]__133ac672._.js +3 -0
  81. package/.next/standalone/.next/server/chunks/[root-of-the-server]__151eca3a._.js +3 -0
  82. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1535be2d._.js +3 -0
  83. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ee7d416._.js +3 -0
  84. package/.next/standalone/.next/server/chunks/[root-of-the-server]__25f5f8ec._.js +3 -0
  85. package/.next/standalone/.next/server/chunks/[root-of-the-server]__26662154._.js +3 -0
  86. package/.next/standalone/.next/server/chunks/[root-of-the-server]__2f4a0b79._.js +3 -0
  87. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__2ec5ba30._.js → [root-of-the-server]__3fe6d12c._.js} +2 -2
  88. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4b17d628._.js +3 -0
  89. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4c540a38._.js +3 -0
  90. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8d2624da._.js → [root-of-the-server]__4d161104._.js} +2 -2
  91. package/.next/standalone/.next/server/chunks/[root-of-the-server]__53c4f34d._.js +3 -0
  92. package/.next/standalone/.next/server/chunks/[root-of-the-server]__68965284._.js +3 -0
  93. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
  94. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f8bd59f._.js +20 -0
  95. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9166d84a._.js +3 -0
  96. package/.next/standalone/.next/server/chunks/[root-of-the-server]__94275f7f._.js +3 -0
  97. package/.next/standalone/.next/server/chunks/[root-of-the-server]__c34d50c8._.js +3 -0
  98. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8fdd2340._.js → [root-of-the-server]__c696771d._.js} +2 -2
  99. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0bd52b41._.js → [root-of-the-server]__cd7ccfdd._.js} +2 -2
  100. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d5818e20._.js +3 -0
  101. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__360475ac._.js → [root-of-the-server]__db7b3604._.js} +2 -2
  102. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__eeb89c13._.js → [root-of-the-server]__dc1db6cb._.js} +2 -2
  103. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4effd91a._.js → [root-of-the-server]__e9181374._.js} +2 -2
  104. package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb9ef4db._.js +3 -0
  105. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4448d3d4._.js → [root-of-the-server]__ec32b318._.js} +2 -2
  106. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__7f18ffd0._.js → [root-of-the-server]__f54bea3d._.js} +2 -2
  107. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fabd57e0._.js +3 -0
  108. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fd0215df._.js +3 -0
  109. package/.next/standalone/.next/server/chunks/lib_cdp_connection_ts_075c799e._.js +41 -0
  110. package/.next/standalone/.next/server/chunks/node_modules_151ca6ae._.js +3 -0
  111. package/.next/standalone/.next/server/chunks/node_modules_1f8a2929._.js +3 -0
  112. package/.next/standalone/.next/server/chunks/node_modules_2d9a2f12._.js +4 -0
  113. package/.next/standalone/.next/server/chunks/node_modules_3b486fee._.js +3 -0
  114. package/.next/standalone/.next/server/chunks/node_modules_64199bef._.js +3 -0
  115. package/.next/standalone/.next/server/chunks/node_modules_@puppeteer_browsers_lib_esm_main_83020de3.js +3 -0
  116. package/.next/standalone/.next/server/chunks/node_modules_f81d3958._.js +3 -0
  117. package/.next/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +2 -2
  118. package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0272adf7.js +5 -0
  119. package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0b1e64d7.js +3 -0
  120. package/.next/standalone/.next/server/chunks/node_modules_yargs_helpers_helpers_mjs_abe15519._.js +3 -0
  121. package/.next/standalone/.next/server/chunks/node_modules_yargs_index_mjs_c4f6f97b._.js +56 -0
  122. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__703e5e24._.js +3 -0
  123. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__edab6069._.js +3 -0
  124. package/.next/standalone/.next/server/chunks/ssr/components_chat-container_tsx_fcbc457f._.js +1 -1
  125. package/.next/standalone/.next/server/chunks/ssr/node_modules_63dba3f8._.js +1 -1
  126. package/.next/standalone/.next/server/pages/500.html +2 -2
  127. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  128. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  129. package/.next/standalone/app/api/v1/chat/stream/route.ts +2 -2
  130. package/.next/standalone/app/api/v1/conversations/route.ts +6 -1
  131. package/.next/standalone/app/globals.css +6 -0
  132. package/.next/standalone/components/agent-message.tsx +4 -5
  133. package/.next/standalone/components/chat-container.tsx +0 -2
  134. package/.next/standalone/components/message-list.tsx +2 -6
  135. package/.next/standalone/diag.js +72 -0
  136. package/.next/standalone/hooks/use-chat.ts +18 -1
  137. package/.next/standalone/lib/scraper/agent-state.ts +43 -17
  138. package/.next/standalone/lib/scraper/chat-history.ts +4 -0
  139. package/.next/standalone/lib/scraper/workspace-filter.ts +209 -0
  140. package/.next/standalone/lib/sse/diff-states.ts +18 -3
  141. package/.next/standalone/next.config.js +19 -0
  142. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
  143. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
  144. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  145. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  146. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  147. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  148. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  149. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  150. package/.next/standalone/node_modules/next/dist/build/generate-build-id.js +5 -1
  151. package/.next/standalone/package-lock.json +140 -129
  152. package/.next/standalone/package.json +4 -3
  153. package/.next/standalone/scripts/patch-next.js +69 -0
  154. package/.next/standalone/server.js +1 -1
  155. package/.next/standalone/tsconfig.json +14 -4
  156. package/.next/standalone/tsconfig.tsbuildinfo +1 -1
  157. package/.next/static/chunks/{54866979a976deea.css → 073aeeb732614ba1.css} +1 -1
  158. package/.next/static/chunks/0b8f1079dec6b3ad.js +1 -0
  159. package/package.json +4 -3
  160. package/.next/standalone/.next/server/chunks/[root-of-the-server]__08f06ee9._.js +0 -3
  161. package/.next/standalone/.next/server/chunks/[root-of-the-server]__15c96786._.js +0 -3
  162. package/.next/standalone/.next/server/chunks/[root-of-the-server]__19ee93c1._.js +0 -3
  163. package/.next/standalone/.next/server/chunks/[root-of-the-server]__324dc867._.js +0 -3
  164. package/.next/standalone/.next/server/chunks/[root-of-the-server]__38025e07._.js +0 -3
  165. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a837477._.js +0 -3
  166. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4f9fdc77._.js +0 -3
  167. package/.next/standalone/.next/server/chunks/[root-of-the-server]__556e6cd5._.js +0 -3
  168. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6479a312._.js +0 -3
  169. package/.next/standalone/.next/server/chunks/[root-of-the-server]__693625a1._.js +0 -3
  170. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6ec98c1f._.js +0 -3
  171. package/.next/standalone/.next/server/chunks/[root-of-the-server]__7f696ede._.js +0 -3
  172. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8aa4aa02._.js +0 -3
  173. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9d217c47._.js +0 -7
  174. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e54cdc1._.js +0 -3
  175. package/.next/standalone/.next/server/chunks/[root-of-the-server]__a73e4e4f._.js +0 -3
  176. package/.next/standalone/.next/server/chunks/[root-of-the-server]__cd1b9505._.js +0 -3
  177. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d850c12e._.js +0 -3
  178. package/.next/standalone/.next/server/chunks/[root-of-the-server]__ef121746._.js +0 -3
  179. package/.next/standalone/.next/server/chunks/_7273dcfc._.js +0 -3
  180. package/.next/standalone/.next/server/chunks/_8dd0f398._.js +0 -5
  181. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4fe85c38._.js +0 -3
  182. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85930638._.js +0 -3
  183. package/.next/standalone/next.config.ts +0 -10
  184. package/.next/standalone/node_modules/@puppeteer/browsers/package.json +0 -125
  185. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  186. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  187. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  188. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  189. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  190. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  191. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  192. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  193. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  194. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  195. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  196. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  197. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  198. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  199. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  200. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  201. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  202. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  203. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  204. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  205. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  206. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  207. package/.next/standalone/node_modules/agent-base/dist/helpers.js +0 -66
  208. package/.next/standalone/node_modules/agent-base/dist/index.js +0 -178
  209. package/.next/standalone/node_modules/agent-base/package.json +0 -46
  210. package/.next/standalone/node_modules/ast-types/def/babel-core.js +0 -256
  211. package/.next/standalone/node_modules/ast-types/def/babel.js +0 -11
  212. package/.next/standalone/node_modules/ast-types/def/core.js +0 -298
  213. package/.next/standalone/node_modules/ast-types/def/es-proposals.js +0 -33
  214. package/.next/standalone/node_modules/ast-types/def/es2020.js +0 -16
  215. package/.next/standalone/node_modules/ast-types/def/es6.js +0 -210
  216. package/.next/standalone/node_modules/ast-types/def/es7.js +0 -34
  217. package/.next/standalone/node_modules/ast-types/def/esprima.js +0 -49
  218. package/.next/standalone/node_modules/ast-types/def/flow.js +0 -292
  219. package/.next/standalone/node_modules/ast-types/def/jsx.js +0 -103
  220. package/.next/standalone/node_modules/ast-types/def/type-annotations.js +0 -40
  221. package/.next/standalone/node_modules/ast-types/def/typescript.js +0 -344
  222. package/.next/standalone/node_modules/ast-types/fork.js +0 -52
  223. package/.next/standalone/node_modules/ast-types/gen/namedTypes.js +0 -6
  224. package/.next/standalone/node_modules/ast-types/lib/equiv.js +0 -154
  225. package/.next/standalone/node_modules/ast-types/lib/node-path.js +0 -411
  226. package/.next/standalone/node_modules/ast-types/lib/path-visitor.js +0 -343
  227. package/.next/standalone/node_modules/ast-types/lib/path.js +0 -331
  228. package/.next/standalone/node_modules/ast-types/lib/scope.js +0 -318
  229. package/.next/standalone/node_modules/ast-types/lib/shared.js +0 -47
  230. package/.next/standalone/node_modules/ast-types/lib/types.js +0 -780
  231. package/.next/standalone/node_modules/ast-types/main.js +0 -53
  232. package/.next/standalone/node_modules/ast-types/package.json +0 -65
  233. package/.next/standalone/node_modules/b4a/index.js +0 -188
  234. package/.next/standalone/node_modules/b4a/package.json +0 -49
  235. package/.next/standalone/node_modules/basic-ftp/dist/Client.js +0 -782
  236. package/.next/standalone/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  237. package/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +0 -365
  238. package/.next/standalone/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  239. package/.next/standalone/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  240. package/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +0 -23
  241. package/.next/standalone/node_modules/basic-ftp/dist/index.js +0 -28
  242. package/.next/standalone/node_modules/basic-ftp/dist/netUtils.js +0 -66
  243. package/.next/standalone/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  244. package/.next/standalone/node_modules/basic-ftp/dist/parseList.js +0 -79
  245. package/.next/standalone/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  246. package/.next/standalone/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  247. package/.next/standalone/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  248. package/.next/standalone/node_modules/basic-ftp/dist/transfer.js +0 -318
  249. package/.next/standalone/node_modules/basic-ftp/package.json +0 -52
  250. package/.next/standalone/node_modules/buffer-crc32/index.js +0 -111
  251. package/.next/standalone/node_modules/buffer-crc32/package.json +0 -39
  252. package/.next/standalone/node_modules/cliui/build/lib/index.js +0 -287
  253. package/.next/standalone/node_modules/cliui/build/lib/string-utils.js +0 -27
  254. package/.next/standalone/node_modules/cliui/index.mjs +0 -13
  255. package/.next/standalone/node_modules/cliui/package.json +0 -83
  256. package/.next/standalone/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  257. package/.next/standalone/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  258. package/.next/standalone/node_modules/data-uri-to-buffer/package.json +0 -48
  259. package/.next/standalone/node_modules/debug/package.json +0 -64
  260. package/.next/standalone/node_modules/debug/src/browser.js +0 -272
  261. package/.next/standalone/node_modules/debug/src/common.js +0 -292
  262. package/.next/standalone/node_modules/debug/src/index.js +0 -10
  263. package/.next/standalone/node_modules/debug/src/node.js +0 -263
  264. package/.next/standalone/node_modules/degenerator/dist/compile.js +0 -107
  265. package/.next/standalone/node_modules/degenerator/dist/degenerator.js +0 -156
  266. package/.next/standalone/node_modules/degenerator/dist/index.js +0 -19
  267. package/.next/standalone/node_modules/degenerator/package.json +0 -42
  268. package/.next/standalone/node_modules/end-of-stream/index.js +0 -96
  269. package/.next/standalone/node_modules/end-of-stream/package.json +0 -37
  270. package/.next/standalone/node_modules/escalade/package.json +0 -74
  271. package/.next/standalone/node_modules/escodegen/escodegen.js +0 -2667
  272. package/.next/standalone/node_modules/escodegen/package.json +0 -63
  273. package/.next/standalone/node_modules/esprima/dist/esprima.js +0 -6709
  274. package/.next/standalone/node_modules/esprima/package.json +0 -112
  275. package/.next/standalone/node_modules/estraverse/estraverse.js +0 -805
  276. package/.next/standalone/node_modules/estraverse/package.json +0 -40
  277. package/.next/standalone/node_modules/esutils/lib/ast.js +0 -144
  278. package/.next/standalone/node_modules/esutils/lib/code.js +0 -135
  279. package/.next/standalone/node_modules/esutils/lib/keyword.js +0 -165
  280. package/.next/standalone/node_modules/esutils/lib/utils.js +0 -33
  281. package/.next/standalone/node_modules/esutils/package.json +0 -44
  282. package/.next/standalone/node_modules/events-universal/default.js +0 -1
  283. package/.next/standalone/node_modules/events-universal/package.json +0 -39
  284. package/.next/standalone/node_modules/extract-zip/LICENSE +0 -23
  285. package/.next/standalone/node_modules/extract-zip/cli.js +0 -19
  286. package/.next/standalone/node_modules/extract-zip/index.js +0 -173
  287. package/.next/standalone/node_modules/extract-zip/package.json +0 -80
  288. package/.next/standalone/node_modules/extract-zip/readme.md +0 -57
  289. package/.next/standalone/node_modules/fast-fifo/fixed-size.js +0 -39
  290. package/.next/standalone/node_modules/fast-fifo/index.js +0 -48
  291. package/.next/standalone/node_modules/fast-fifo/package.json +0 -28
  292. package/.next/standalone/node_modules/fd-slicer/index.js +0 -296
  293. package/.next/standalone/node_modules/fd-slicer/package.json +0 -36
  294. package/.next/standalone/node_modules/get-stream/buffer-stream.js +0 -52
  295. package/.next/standalone/node_modules/get-stream/index.js +0 -60
  296. package/.next/standalone/node_modules/get-stream/package.json +0 -50
  297. package/.next/standalone/node_modules/get-uri/dist/data.js +0 -43
  298. package/.next/standalone/node_modules/get-uri/dist/file.js +0 -57
  299. package/.next/standalone/node_modules/get-uri/dist/ftp.js +0 -93
  300. package/.next/standalone/node_modules/get-uri/dist/http-error.js +0 -15
  301. package/.next/standalone/node_modules/get-uri/dist/http.js +0 -191
  302. package/.next/standalone/node_modules/get-uri/dist/https.js +0 -16
  303. package/.next/standalone/node_modules/get-uri/dist/index.js +0 -57
  304. package/.next/standalone/node_modules/get-uri/dist/notfound.js +0 -16
  305. package/.next/standalone/node_modules/get-uri/dist/notmodified.js +0 -17
  306. package/.next/standalone/node_modules/get-uri/package.json +0 -58
  307. package/.next/standalone/node_modules/has-flag/index.js +0 -8
  308. package/.next/standalone/node_modules/has-flag/package.json +0 -46
  309. package/.next/standalone/node_modules/http-proxy-agent/dist/index.js +0 -148
  310. package/.next/standalone/node_modules/http-proxy-agent/package.json +0 -47
  311. package/.next/standalone/node_modules/https-proxy-agent/dist/index.js +0 -180
  312. package/.next/standalone/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
  313. package/.next/standalone/node_modules/https-proxy-agent/package.json +0 -50
  314. package/.next/standalone/node_modules/ip-address/dist/address-error.js +0 -12
  315. package/.next/standalone/node_modules/ip-address/dist/common.js +0 -46
  316. package/.next/standalone/node_modules/ip-address/dist/ip-address.js +0 -35
  317. package/.next/standalone/node_modules/ip-address/dist/ipv4.js +0 -360
  318. package/.next/standalone/node_modules/ip-address/dist/ipv6.js +0 -1003
  319. package/.next/standalone/node_modules/ip-address/dist/v4/constants.js +0 -8
  320. package/.next/standalone/node_modules/ip-address/dist/v6/constants.js +0 -76
  321. package/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +0 -45
  322. package/.next/standalone/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  323. package/.next/standalone/node_modules/ip-address/package.json +0 -78
  324. package/.next/standalone/node_modules/lru-cache/index.js +0 -1227
  325. package/.next/standalone/node_modules/lru-cache/package.json +0 -96
  326. package/.next/standalone/node_modules/ms/index.js +0 -162
  327. package/.next/standalone/node_modules/ms/package.json +0 -38
  328. package/.next/standalone/node_modules/netmask/lib/netmask.js +0 -208
  329. package/.next/standalone/node_modules/netmask/package.json +0 -36
  330. package/.next/standalone/node_modules/once/once.js +0 -42
  331. package/.next/standalone/node_modules/once/package.json +0 -33
  332. package/.next/standalone/node_modules/pac-proxy-agent/dist/index.js +0 -238
  333. package/.next/standalone/node_modules/pac-proxy-agent/package.json +0 -58
  334. package/.next/standalone/node_modules/pac-resolver/dist/dateRange.js +0 -73
  335. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  336. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  337. package/.next/standalone/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  338. package/.next/standalone/node_modules/pac-resolver/dist/index.js +0 -87
  339. package/.next/standalone/node_modules/pac-resolver/dist/ip.js +0 -50
  340. package/.next/standalone/node_modules/pac-resolver/dist/isInNet.js +0 -42
  341. package/.next/standalone/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  342. package/.next/standalone/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  343. package/.next/standalone/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  344. package/.next/standalone/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  345. package/.next/standalone/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  346. package/.next/standalone/node_modules/pac-resolver/dist/timeRange.js +0 -92
  347. package/.next/standalone/node_modules/pac-resolver/dist/util.js +0 -22
  348. package/.next/standalone/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  349. package/.next/standalone/node_modules/pac-resolver/package.json +0 -47
  350. package/.next/standalone/node_modules/pend/index.js +0 -55
  351. package/.next/standalone/node_modules/pend/package.json +0 -18
  352. package/.next/standalone/node_modules/progress/index.js +0 -1
  353. package/.next/standalone/node_modules/progress/lib/node-progress.js +0 -236
  354. package/.next/standalone/node_modules/progress/package.json +0 -26
  355. package/.next/standalone/node_modules/proxy-agent/dist/index.js +0 -138
  356. package/.next/standalone/node_modules/proxy-agent/package.json +0 -60
  357. package/.next/standalone/node_modules/proxy-from-env/index.js +0 -108
  358. package/.next/standalone/node_modules/proxy-from-env/package.json +0 -34
  359. package/.next/standalone/node_modules/pump/index.js +0 -86
  360. package/.next/standalone/node_modules/pump/package.json +0 -30
  361. package/.next/standalone/node_modules/puppeteer-core/lib/esm/package.json +0 -1
  362. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +0 -204
  363. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +0 -182
  364. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +0 -68
  365. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/DeviceRequestPrompt.js +0 -34
  366. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +0 -90
  367. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +0 -1406
  368. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +0 -10
  369. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +0 -904
  370. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +0 -461
  371. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +0 -56
  372. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +0 -211
  373. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +0 -227
  374. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +0 -1511
  375. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +0 -44
  376. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +0 -49
  377. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +0 -106
  378. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +0 -22
  379. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +0 -769
  380. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +0 -83
  381. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +0 -591
  382. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +0 -162
  383. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BluetoothEmulation.js +0 -26
  384. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +0 -327
  385. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +0 -26
  386. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +0 -192
  387. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +0 -39
  388. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js +0 -129
  389. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +0 -244
  390. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +0 -372
  391. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +0 -151
  392. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +0 -23
  393. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +0 -206
  394. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +0 -458
  395. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +0 -457
  396. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +0 -175
  397. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +0 -358
  398. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +0 -455
  399. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +0 -24
  400. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +0 -91
  401. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +0 -195
  402. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +0 -126
  403. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +0 -499
  404. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +0 -157
  405. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +0 -20
  406. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +0 -101
  407. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +0 -174
  408. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +0 -162
  409. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +0 -601
  410. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +0 -1011
  411. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +0 -69
  412. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +0 -243
  413. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManageEvents.js +0 -7
  414. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +0 -320
  415. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +0 -110
  416. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +0 -73
  417. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +0 -43
  418. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +0 -216
  419. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -54
  420. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -129
  421. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -39
  422. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +0 -18
  423. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +0 -133
  424. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -78
  425. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +0 -114
  426. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -109
  427. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +0 -1604
  428. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -94
  429. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -128
  430. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -75
  431. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +0 -70
  432. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +0 -142
  433. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +0 -23
  434. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +0 -21
  435. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -58
  436. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +0 -18
  437. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +0 -100
  438. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +0 -18
  439. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -98
  440. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -225
  441. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +0 -51
  442. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -69
  443. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -24
  444. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +0 -15
  445. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -39
  446. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -394
  447. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +0 -197
  448. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +0 -21
  449. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +0 -35
  450. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +0 -375
  451. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -24
  452. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +0 -9
  453. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +0 -11
  454. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +0 -8
  455. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +0 -41
  456. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -14
  457. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +0 -29
  458. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +0 -105
  459. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +0 -41
  460. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +0 -70
  461. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +0 -46
  462. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +0 -18
  463. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +0 -232
  464. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +0 -342
  465. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +0 -63
  466. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +0 -18
  467. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +0 -13
  468. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +0 -10
  469. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +0 -44
  470. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +0 -196
  471. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +0 -2887
  472. package/.next/standalone/node_modules/puppeteer-core/package.json +0 -169
  473. package/.next/standalone/node_modules/semver/functions/clean.js +0 -8
  474. package/.next/standalone/node_modules/semver/functions/compare-build.js +0 -9
  475. package/.next/standalone/node_modules/semver/functions/compare-loose.js +0 -5
  476. package/.next/standalone/node_modules/semver/functions/diff.js +0 -60
  477. package/.next/standalone/node_modules/semver/functions/inc.js +0 -21
  478. package/.next/standalone/node_modules/semver/functions/major.js +0 -5
  479. package/.next/standalone/node_modules/semver/functions/minor.js +0 -5
  480. package/.next/standalone/node_modules/semver/functions/patch.js +0 -5
  481. package/.next/standalone/node_modules/semver/functions/prerelease.js +0 -8
  482. package/.next/standalone/node_modules/semver/functions/rcompare.js +0 -5
  483. package/.next/standalone/node_modules/semver/functions/rsort.js +0 -5
  484. package/.next/standalone/node_modules/semver/functions/sort.js +0 -5
  485. package/.next/standalone/node_modules/semver/functions/valid.js +0 -8
  486. package/.next/standalone/node_modules/semver/index.js +0 -91
  487. package/.next/standalone/node_modules/semver/ranges/gtr.js +0 -6
  488. package/.next/standalone/node_modules/semver/ranges/intersects.js +0 -9
  489. package/.next/standalone/node_modules/semver/ranges/ltr.js +0 -6
  490. package/.next/standalone/node_modules/semver/ranges/max-satisfying.js +0 -27
  491. package/.next/standalone/node_modules/semver/ranges/min-satisfying.js +0 -26
  492. package/.next/standalone/node_modules/semver/ranges/min-version.js +0 -63
  493. package/.next/standalone/node_modules/semver/ranges/outside.js +0 -82
  494. package/.next/standalone/node_modules/semver/ranges/simplify.js +0 -49
  495. package/.next/standalone/node_modules/semver/ranges/subset.js +0 -249
  496. package/.next/standalone/node_modules/semver/ranges/to-comparators.js +0 -10
  497. package/.next/standalone/node_modules/semver/ranges/valid.js +0 -13
  498. package/.next/standalone/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  499. package/.next/standalone/node_modules/smart-buffer/build/utils.js +0 -108
  500. package/.next/standalone/node_modules/smart-buffer/package.json +0 -79
  501. package/.next/standalone/node_modules/socks/build/client/socksclient.js +0 -793
  502. package/.next/standalone/node_modules/socks/build/common/constants.js +0 -108
  503. package/.next/standalone/node_modules/socks/build/common/helpers.js +0 -167
  504. package/.next/standalone/node_modules/socks/build/common/receivebuffer.js +0 -43
  505. package/.next/standalone/node_modules/socks/build/common/util.js +0 -25
  506. package/.next/standalone/node_modules/socks/build/index.js +0 -18
  507. package/.next/standalone/node_modules/socks/package.json +0 -58
  508. package/.next/standalone/node_modules/socks-proxy-agent/dist/index.js +0 -195
  509. package/.next/standalone/node_modules/socks-proxy-agent/package.json +0 -142
  510. package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
  511. package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
  512. package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
  513. package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
  514. package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
  515. package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
  516. package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  517. package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
  518. package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
  519. package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
  520. package/.next/standalone/node_modules/source-map/package.json +0 -73
  521. package/.next/standalone/node_modules/source-map/source-map.js +0 -8
  522. package/.next/standalone/node_modules/streamx/index.js +0 -1184
  523. package/.next/standalone/node_modules/streamx/package.json +0 -34
  524. package/.next/standalone/node_modules/supports-color/index.js +0 -135
  525. package/.next/standalone/node_modules/supports-color/package.json +0 -53
  526. package/.next/standalone/node_modules/tar-stream/constants.js +0 -14
  527. package/.next/standalone/node_modules/tar-stream/extract.js +0 -406
  528. package/.next/standalone/node_modules/tar-stream/headers.js +0 -321
  529. package/.next/standalone/node_modules/tar-stream/index.js +0 -2
  530. package/.next/standalone/node_modules/tar-stream/pack.js +0 -287
  531. package/.next/standalone/node_modules/tar-stream/package.json +0 -42
  532. package/.next/standalone/node_modules/text-decoder/index.js +0 -64
  533. package/.next/standalone/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
  534. package/.next/standalone/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
  535. package/.next/standalone/node_modules/text-decoder/package.json +0 -39
  536. package/.next/standalone/node_modules/tslib/package.json +0 -47
  537. package/.next/standalone/node_modules/tslib/tslib.js +0 -484
  538. package/.next/standalone/node_modules/wrappy/package.json +0 -29
  539. package/.next/standalone/node_modules/wrappy/wrappy.js +0 -33
  540. package/.next/standalone/node_modules/ws/lib/buffer-util.js +0 -131
  541. package/.next/standalone/node_modules/ws/lib/constants.js +0 -19
  542. package/.next/standalone/node_modules/ws/lib/event-target.js +0 -292
  543. package/.next/standalone/node_modules/ws/lib/extension.js +0 -203
  544. package/.next/standalone/node_modules/ws/lib/limiter.js +0 -55
  545. package/.next/standalone/node_modules/ws/lib/permessage-deflate.js +0 -528
  546. package/.next/standalone/node_modules/ws/lib/receiver.js +0 -706
  547. package/.next/standalone/node_modules/ws/lib/sender.js +0 -602
  548. package/.next/standalone/node_modules/ws/lib/stream.js +0 -161
  549. package/.next/standalone/node_modules/ws/lib/subprotocol.js +0 -62
  550. package/.next/standalone/node_modules/ws/lib/validation.js +0 -152
  551. package/.next/standalone/node_modules/ws/lib/websocket-server.js +0 -554
  552. package/.next/standalone/node_modules/ws/lib/websocket.js +0 -1393
  553. package/.next/standalone/node_modules/ws/package.json +0 -69
  554. package/.next/standalone/node_modules/ws/wrapper.mjs +0 -8
  555. package/.next/standalone/node_modules/y18n/build/lib/index.js +0 -174
  556. package/.next/standalone/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  557. package/.next/standalone/node_modules/y18n/index.mjs +0 -8
  558. package/.next/standalone/node_modules/y18n/package.json +0 -70
  559. package/.next/standalone/node_modules/yargs/build/lib/argsert.js +0 -62
  560. package/.next/standalone/node_modules/yargs/build/lib/command.js +0 -449
  561. package/.next/standalone/node_modules/yargs/build/lib/completion-templates.js +0 -48
  562. package/.next/standalone/node_modules/yargs/build/lib/completion.js +0 -243
  563. package/.next/standalone/node_modules/yargs/build/lib/middleware.js +0 -88
  564. package/.next/standalone/node_modules/yargs/build/lib/parse-command.js +0 -32
  565. package/.next/standalone/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  566. package/.next/standalone/node_modules/yargs/build/lib/usage.js +0 -584
  567. package/.next/standalone/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  568. package/.next/standalone/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  569. package/.next/standalone/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  570. package/.next/standalone/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  571. package/.next/standalone/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  572. package/.next/standalone/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  573. package/.next/standalone/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  574. package/.next/standalone/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  575. package/.next/standalone/node_modules/yargs/build/lib/validation.js +0 -305
  576. package/.next/standalone/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  577. package/.next/standalone/node_modules/yargs/build/lib/yerror.js +0 -9
  578. package/.next/standalone/node_modules/yargs/helpers/helpers.mjs +0 -10
  579. package/.next/standalone/node_modules/yargs/index.mjs +0 -8
  580. package/.next/standalone/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  581. package/.next/standalone/node_modules/yargs/package.json +0 -123
  582. package/.next/standalone/node_modules/yargs-parser/build/lib/index.js +0 -62
  583. package/.next/standalone/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  584. package/.next/standalone/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  585. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  586. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  587. package/.next/standalone/node_modules/yargs-parser/package.json +0 -92
  588. package/.next/standalone/node_modules/yauzl/LICENSE +0 -21
  589. package/.next/standalone/node_modules/yauzl/README.md +0 -658
  590. package/.next/standalone/node_modules/yauzl/index.js +0 -796
  591. package/.next/standalone/node_modules/yauzl/package.json +0 -40
  592. package/.next/static/chunks/75f35cd5abea89f2.js +0 -1
  593. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
  594. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
  595. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
  596. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
  597. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
  598. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
  599. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
  600. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
  601. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
  602. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
  603. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
  604. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
  605. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
  606. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
  607. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
  608. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
  609. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
  610. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
  611. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
  612. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
  613. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
  614. /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_buildManifest.js +0 -0
  615. /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_clientMiddlewareManifest.json +0 -0
  616. /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_ssgManifest.js +0 -0
@@ -1,238 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PacProxyAgent = void 0;
30
- const net = __importStar(require("net"));
31
- const tls = __importStar(require("tls"));
32
- const crypto = __importStar(require("crypto"));
33
- const events_1 = require("events");
34
- const debug_1 = __importDefault(require("debug"));
35
- const url_1 = require("url");
36
- const agent_base_1 = require("agent-base");
37
- const get_uri_1 = require("get-uri");
38
- const pac_resolver_1 = require("pac-resolver");
39
- const quickjs_emscripten_1 = require("@tootallnate/quickjs-emscripten");
40
- const debug = (0, debug_1.default)('pac-proxy-agent');
41
- const setServernameFromNonIpHost = (options) => {
42
- if (options.servername === undefined &&
43
- options.host &&
44
- !net.isIP(options.host)) {
45
- return {
46
- ...options,
47
- servername: options.host,
48
- };
49
- }
50
- return options;
51
- };
52
- /**
53
- * The `PacProxyAgent` class.
54
- *
55
- * A few different "protocol" modes are supported (supported protocols are
56
- * backed by the `get-uri` module):
57
- *
58
- * - "pac+data", "data" - refers to an embedded "data:" URI
59
- * - "pac+file", "file" - refers to a local file
60
- * - "pac+ftp", "ftp" - refers to a file located on an FTP server
61
- * - "pac+http", "http" - refers to an HTTP endpoint
62
- * - "pac+https", "https" - refers to an HTTPS endpoint
63
- */
64
- class PacProxyAgent extends agent_base_1.Agent {
65
- constructor(uri, opts) {
66
- super(opts);
67
- this.clearResolverPromise = () => {
68
- this.resolverPromise = undefined;
69
- };
70
- // Strip the "pac+" prefix
71
- const uriStr = typeof uri === 'string' ? uri : uri.href;
72
- this.uri = new url_1.URL(uriStr.replace(/^pac\+/i, ''));
73
- debug('Creating PacProxyAgent with URI %o', this.uri.href);
74
- // @ts-expect-error Not sure why TS is complaining here…
75
- this.opts = { ...opts };
76
- this.cache = undefined;
77
- this.resolver = undefined;
78
- this.resolverHash = '';
79
- this.resolverPromise = undefined;
80
- // For `PacResolver`
81
- if (!this.opts.filename) {
82
- this.opts.filename = this.uri.href;
83
- }
84
- }
85
- /**
86
- * Loads the PAC proxy file from the source if necessary, and returns
87
- * a generated `FindProxyForURL()` resolver function to use.
88
- */
89
- getResolver() {
90
- if (!this.resolverPromise) {
91
- this.resolverPromise = this.loadResolver();
92
- this.resolverPromise.then(this.clearResolverPromise, this.clearResolverPromise);
93
- }
94
- return this.resolverPromise;
95
- }
96
- async loadResolver() {
97
- try {
98
- // (Re)load the contents of the PAC file URI
99
- const [qjs, code] = await Promise.all([
100
- (0, quickjs_emscripten_1.getQuickJS)(),
101
- this.loadPacFile(),
102
- ]);
103
- // Create a sha1 hash of the JS code
104
- const hash = crypto.createHash('sha1').update(code).digest('hex');
105
- if (this.resolver && this.resolverHash === hash) {
106
- debug('Same sha1 hash for code - contents have not changed, reusing previous proxy resolver');
107
- return this.resolver;
108
- }
109
- // Cache the resolver
110
- debug('Creating new proxy resolver instance');
111
- this.resolver = (0, pac_resolver_1.createPacResolver)(qjs, code, this.opts);
112
- // Store that sha1 hash for future comparison purposes
113
- this.resolverHash = hash;
114
- return this.resolver;
115
- }
116
- catch (err) {
117
- if (this.resolver &&
118
- err.code === 'ENOTMODIFIED') {
119
- debug('Got ENOTMODIFIED response, reusing previous proxy resolver');
120
- return this.resolver;
121
- }
122
- throw err;
123
- }
124
- }
125
- /**
126
- * Loads the contents of the PAC proxy file.
127
- *
128
- * @api private
129
- */
130
- async loadPacFile() {
131
- debug('Loading PAC file: %o', this.uri);
132
- const rs = await (0, get_uri_1.getUri)(this.uri, { ...this.opts, cache: this.cache });
133
- debug('Got `Readable` instance for URI');
134
- this.cache = rs;
135
- const buf = await (0, agent_base_1.toBuffer)(rs);
136
- debug('Read %o byte PAC file from URI', buf.length);
137
- return buf.toString('utf8');
138
- }
139
- /**
140
- * Called when the node-core HTTP client library is creating a new HTTP request.
141
- */
142
- async connect(req, opts) {
143
- const { secureEndpoint } = opts;
144
- const isWebSocket = req.getHeader('upgrade') === 'websocket';
145
- // First, get a generated `FindProxyForURL()` function,
146
- // either cached or retrieved from the source
147
- const resolver = await this.getResolver();
148
- // Calculate the `url` parameter
149
- const protocol = secureEndpoint ? 'https:' : 'http:';
150
- const host = opts.host && net.isIPv6(opts.host) ? `[${opts.host}]` : opts.host;
151
- const defaultPort = secureEndpoint ? 443 : 80;
152
- const url = Object.assign(new url_1.URL(req.path, `${protocol}//${host}`), defaultPort ? undefined : { port: opts.port });
153
- debug('url: %s', url);
154
- let result = await resolver(url);
155
- // Default to "DIRECT" if a falsey value was returned (or nothing)
156
- if (!result) {
157
- result = 'DIRECT';
158
- }
159
- const proxies = String(result)
160
- .trim()
161
- .split(/\s*;\s*/g)
162
- .filter(Boolean);
163
- if (this.opts.fallbackToDirect && !proxies.includes('DIRECT')) {
164
- proxies.push('DIRECT');
165
- }
166
- for (const proxy of proxies) {
167
- let agent = null;
168
- let socket = null;
169
- const [type, target] = proxy.split(/\s+/);
170
- debug('Attempting to use proxy: %o', proxy);
171
- if (type === 'DIRECT') {
172
- // Direct connection to the destination endpoint
173
- if (secureEndpoint) {
174
- socket = tls.connect(setServernameFromNonIpHost(opts));
175
- }
176
- else {
177
- socket = net.connect(opts);
178
- }
179
- }
180
- else if (type === 'SOCKS' || type === 'SOCKS5') {
181
- // Use a SOCKSv5h proxy
182
- const { SocksProxyAgent } = await Promise.resolve().then(() => __importStar(require('socks-proxy-agent')));
183
- agent = new SocksProxyAgent(`socks://${target}`, this.opts);
184
- }
185
- else if (type === 'SOCKS4') {
186
- // Use a SOCKSv4a proxy
187
- const { SocksProxyAgent } = await Promise.resolve().then(() => __importStar(require('socks-proxy-agent')));
188
- agent = new SocksProxyAgent(`socks4a://${target}`, this.opts);
189
- }
190
- else if (type === 'PROXY' ||
191
- type === 'HTTP' ||
192
- type === 'HTTPS') {
193
- // Use an HTTP or HTTPS proxy
194
- // http://dev.chromium.org/developers/design-documents/secure-web-proxy
195
- const proxyURL = `${type === 'HTTPS' ? 'https' : 'http'}://${target}`;
196
- if (secureEndpoint || isWebSocket) {
197
- const { HttpsProxyAgent } = await Promise.resolve().then(() => __importStar(require('https-proxy-agent')));
198
- agent = new HttpsProxyAgent(proxyURL, this.opts);
199
- }
200
- else {
201
- const { HttpProxyAgent } = await Promise.resolve().then(() => __importStar(require('http-proxy-agent')));
202
- agent = new HttpProxyAgent(proxyURL, this.opts);
203
- }
204
- }
205
- try {
206
- if (socket) {
207
- // "DIRECT" connection, wait for connection confirmation
208
- await (0, events_1.once)(socket, 'connect');
209
- req.emit('proxy', { proxy, socket });
210
- return socket;
211
- }
212
- if (agent) {
213
- const s = await agent.connect(req, opts);
214
- if (!(s instanceof net.Socket)) {
215
- throw new Error('Expected a `net.Socket` to be returned from agent');
216
- }
217
- req.emit('proxy', { proxy, socket: s });
218
- return s;
219
- }
220
- throw new Error(`Could not determine proxy type for: ${proxy}`);
221
- }
222
- catch (err) {
223
- debug('Got error for proxy %o: %o', proxy, err);
224
- req.emit('proxy', { proxy, error: err });
225
- }
226
- }
227
- throw new Error(`Failed to establish a socket connection to proxies: ${JSON.stringify(proxies)}`);
228
- }
229
- }
230
- PacProxyAgent.protocols = [
231
- 'pac+data',
232
- 'pac+file',
233
- 'pac+ftp',
234
- 'pac+http',
235
- 'pac+https',
236
- ];
237
- exports.PacProxyAgent = PacProxyAgent;
238
- //# sourceMappingURL=index.js.map
@@ -1,58 +0,0 @@
1
- {
2
- "name": "pac-proxy-agent",
3
- "version": "7.2.0",
4
- "description": "A PAC file proxy `http.Agent` implementation for HTTP",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "files": [
8
- "dist"
9
- ],
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/TooTallNate/proxy-agents.git",
13
- "directory": "packages/pac-proxy-agent"
14
- },
15
- "keywords": [
16
- "pac",
17
- "proxy",
18
- "agent",
19
- "http",
20
- "https",
21
- "socks",
22
- "request",
23
- "access"
24
- ],
25
- "author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
26
- "license": "MIT",
27
- "dependencies": {
28
- "@tootallnate/quickjs-emscripten": "^0.23.0",
29
- "agent-base": "^7.1.2",
30
- "debug": "^4.3.4",
31
- "get-uri": "^6.0.1",
32
- "http-proxy-agent": "^7.0.0",
33
- "https-proxy-agent": "^7.0.6",
34
- "pac-resolver": "^7.0.1",
35
- "socks-proxy-agent": "^8.0.5"
36
- },
37
- "devDependencies": {
38
- "@types/debug": "^4.1.7",
39
- "@types/jest": "^29.5.1",
40
- "@types/node": "^14.18.45",
41
- "async-listen": "^3.0.0",
42
- "jest": "^29.5.0",
43
- "socksv5": "0.0.6",
44
- "ts-jest": "^29.1.0",
45
- "typescript": "^5.0.4",
46
- "proxy": "2.2.0",
47
- "tsconfig": "0.0.0"
48
- },
49
- "engines": {
50
- "node": ">= 14"
51
- },
52
- "scripts": {
53
- "build": "tsc",
54
- "test": "jest --env node --verbose --bail",
55
- "lint": "eslint --ext .ts",
56
- "pack": "node ../../scripts/pack.mjs"
57
- }
58
- }
@@ -1,73 +0,0 @@
1
- "use strict";
2
- /**
3
- * If only a single value is specified (from each category: day, month, year), the
4
- * function returns a true value only on days that match that specification. If
5
- * both values are specified, the result is true between those times, including
6
- * bounds.
7
- *
8
- * Even though the examples don't show, the "GMT" parameter can be specified
9
- * in any of the 9 different call profiles, always as the last parameter.
10
- *
11
- * Examples:
12
- *
13
- * ``` js
14
- * dateRange(1)
15
- * true on the first day of each month, local timezone.
16
- *
17
- * dateRange(1, "GMT")
18
- * true on the first day of each month, GMT timezone.
19
- *
20
- * dateRange(1, 15)
21
- * true on the first half of each month.
22
- *
23
- * dateRange(24, "DEC")
24
- * true on 24th of December each year.
25
- *
26
- * dateRange(24, "DEC", 1995)
27
- * true on 24th of December, 1995.
28
- *
29
- * dateRange("JAN", "MAR")
30
- * true on the first quarter of the year.
31
- *
32
- * dateRange(1, "JUN", 15, "AUG")
33
- * true from June 1st until August 15th, each year (including June 1st and August
34
- * 15th).
35
- *
36
- * dateRange(1, "JUN", 15, 1995, "AUG", 1995)
37
- * true from June 1st, 1995, until August 15th, same year.
38
- *
39
- * dateRange("OCT", 1995, "MAR", 1996)
40
- * true from October 1995 until March 1996 (including the entire month of October
41
- * 1995 and March 1996).
42
- *
43
- * dateRange(1995)
44
- * true during the entire year 1995.
45
- *
46
- * dateRange(1995, 1997)
47
- * true from beginning of year 1995 until the end of year 1997.
48
- * ```
49
- *
50
- * dateRange(day)
51
- * dateRange(day1, day2)
52
- * dateRange(mon)
53
- * dateRange(month1, month2)
54
- * dateRange(year)
55
- * dateRange(year1, year2)
56
- * dateRange(day1, month1, day2, month2)
57
- * dateRange(month1, year1, month2, year2)
58
- * dateRange(day1, month1, year1, day2, month2, year2)
59
- * dateRange(day1, month1, year1, day2, month2, year2, gmt)
60
- *
61
- * @param {String} day is the day of month between 1 and 31 (as an integer).
62
- * @param {String} month is one of the month strings: JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC
63
- * @param {String} year is the full year number, for example 1995 (but not 95). Integer.
64
- * @param {String} gmt is either the string "GMT", which makes time comparison occur in GMT timezone; if left unspecified, times are taken to be in the local timezone.
65
- * @return {Boolean}
66
- */
67
- Object.defineProperty(exports, "__esModule", { value: true });
68
- function dateRange() {
69
- // TODO: implement me!
70
- return false;
71
- }
72
- exports.default = dateRange;
73
- //# sourceMappingURL=dateRange.js.map
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Returns true iff the domain of hostname matches.
5
- *
6
- * Examples:
7
- *
8
- * ``` js
9
- * dnsDomainIs("www.netscape.com", ".netscape.com")
10
- * // is true.
11
- *
12
- * dnsDomainIs("www", ".netscape.com")
13
- * // is false.
14
- *
15
- * dnsDomainIs("www.mcom.com", ".netscape.com")
16
- * // is false.
17
- * ```
18
- *
19
- *
20
- * @param {String} host is the hostname from the URL.
21
- * @param {String} domain is the domain name to test the hostname against.
22
- * @return {Boolean} true iff the domain of the hostname matches.
23
- */
24
- function dnsDomainIs(host, domain) {
25
- host = String(host);
26
- domain = String(domain);
27
- return host.substr(domain.length * -1) === domain;
28
- }
29
- exports.default = dnsDomainIs;
30
- //# sourceMappingURL=dnsDomainIs.js.map
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Returns the number (integer) of DNS domain levels (number of dots) in the
5
- * hostname.
6
- *
7
- * Examples:
8
- *
9
- * ``` js
10
- * dnsDomainLevels("www")
11
- * // returns 0.
12
- * dnsDomainLevels("www.netscape.com")
13
- * // returns 2.
14
- * ```
15
- *
16
- * @param {String} host is the hostname from the URL.
17
- * @return {Number} number of domain levels
18
- */
19
- function dnsDomainLevels(host) {
20
- const match = String(host).match(/\./g);
21
- let levels = 0;
22
- if (match) {
23
- levels = match.length;
24
- }
25
- return levels;
26
- }
27
- exports.default = dnsDomainLevels;
28
- //# sourceMappingURL=dnsDomainLevels.js.map
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const util_1 = require("./util");
4
- /**
5
- * Resolves the given DNS hostname into an IP address, and returns it in the dot
6
- * separated format as a string.
7
- *
8
- * Example:
9
- *
10
- * ``` js
11
- * dnsResolve("home.netscape.com")
12
- * // returns the string "198.95.249.79".
13
- * ```
14
- *
15
- * @param {String} host hostname to resolve
16
- * @return {String} resolved IP address
17
- */
18
- async function dnsResolve(host) {
19
- const family = 4;
20
- try {
21
- const r = await (0, util_1.dnsLookup)(host, { family });
22
- if (typeof r === 'string') {
23
- return r;
24
- }
25
- }
26
- catch (err) {
27
- // @ignore
28
- }
29
- return null;
30
- }
31
- exports.default = dnsResolve;
32
- //# sourceMappingURL=dnsResolve.js.map
@@ -1,87 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.sandbox = exports.createPacResolver = void 0;
7
- const degenerator_1 = require("degenerator");
8
- /**
9
- * Built-in PAC functions.
10
- */
11
- const dateRange_1 = __importDefault(require("./dateRange"));
12
- const dnsDomainIs_1 = __importDefault(require("./dnsDomainIs"));
13
- const dnsDomainLevels_1 = __importDefault(require("./dnsDomainLevels"));
14
- const dnsResolve_1 = __importDefault(require("./dnsResolve"));
15
- const isInNet_1 = __importDefault(require("./isInNet"));
16
- const isPlainHostName_1 = __importDefault(require("./isPlainHostName"));
17
- const isResolvable_1 = __importDefault(require("./isResolvable"));
18
- const localHostOrDomainIs_1 = __importDefault(require("./localHostOrDomainIs"));
19
- const myIpAddress_1 = __importDefault(require("./myIpAddress"));
20
- const shExpMatch_1 = __importDefault(require("./shExpMatch"));
21
- const timeRange_1 = __importDefault(require("./timeRange"));
22
- const weekdayRange_1 = __importDefault(require("./weekdayRange"));
23
- /**
24
- * Returns an asynchronous `FindProxyForURL()` function
25
- * from the given JS string (from a PAC file).
26
- */
27
- function createPacResolver(qjs, _str, _opts = {}) {
28
- const str = Buffer.isBuffer(_str) ? _str.toString('utf8') : _str;
29
- // The sandbox to use for the `vm` context.
30
- const context = {
31
- ...exports.sandbox,
32
- ..._opts.sandbox,
33
- };
34
- // Construct the array of async function names to add `await` calls to.
35
- const names = Object.keys(context).filter((k) => isAsyncFunction(context[k]));
36
- const opts = {
37
- filename: 'proxy.pac',
38
- names,
39
- ..._opts,
40
- sandbox: context,
41
- };
42
- // Compile the JS `FindProxyForURL()` function into an async function.
43
- const resolver = (0, degenerator_1.compile)(qjs, str, 'FindProxyForURL', opts);
44
- function FindProxyForURL(url, _host) {
45
- const urlObj = typeof url === 'string' ? new URL(url) : url;
46
- const host = _host || urlObj.hostname;
47
- if (!host) {
48
- throw new TypeError('Could not determine `host`');
49
- }
50
- return resolver(urlObj.href, host);
51
- }
52
- Object.defineProperty(FindProxyForURL, 'toString', {
53
- value: () => resolver.toString(),
54
- enumerable: false,
55
- });
56
- return FindProxyForURL;
57
- }
58
- exports.createPacResolver = createPacResolver;
59
- exports.sandbox = Object.freeze({
60
- alert: (message = '') => console.log('%s', message),
61
- dateRange: dateRange_1.default,
62
- dnsDomainIs: dnsDomainIs_1.default,
63
- dnsDomainLevels: dnsDomainLevels_1.default,
64
- dnsResolve: dnsResolve_1.default,
65
- isInNet: isInNet_1.default,
66
- isPlainHostName: isPlainHostName_1.default,
67
- isResolvable: isResolvable_1.default,
68
- localHostOrDomainIs: localHostOrDomainIs_1.default,
69
- myIpAddress: myIpAddress_1.default,
70
- shExpMatch: shExpMatch_1.default,
71
- timeRange: timeRange_1.default,
72
- weekdayRange: weekdayRange_1.default,
73
- });
74
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
75
- function isAsyncFunction(v) {
76
- if (typeof v !== 'function')
77
- return false;
78
- // Native `AsyncFunction`
79
- if (v.constructor.name === 'AsyncFunction')
80
- return true;
81
- // TypeScript compiled
82
- if (String(v).indexOf('__awaiter(') !== -1)
83
- return true;
84
- // Legacy behavior - set `async` property on the function
85
- return Boolean(v.async);
86
- }
87
- //# sourceMappingURL=index.js.map
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ip = void 0;
7
- const os_1 = __importDefault(require("os"));
8
- exports.ip = {
9
- address() {
10
- const interfaces = os_1.default.networkInterfaces();
11
- // Default to `ipv4`
12
- const family = normalizeFamily();
13
- const all = Object.values(interfaces).map((addrs = []) => {
14
- const addresses = addrs.filter((details) => {
15
- const detailsFamily = normalizeFamily(details.family);
16
- if (detailsFamily !== family || exports.ip.isLoopback(details.address)) {
17
- return false;
18
- }
19
- return true;
20
- });
21
- return addresses.length ? addresses[0].address : undefined;
22
- }).filter(Boolean);
23
- return !all.length ? exports.ip.loopback(family) : all[0];
24
- },
25
- isLoopback(addr) {
26
- return /^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/
27
- .test(addr)
28
- || /^fe80::1$/.test(addr)
29
- || /^::1$/.test(addr)
30
- || /^::$/.test(addr);
31
- },
32
- loopback(family) {
33
- // Default to `ipv4`
34
- family = normalizeFamily(family);
35
- if (family !== 'ipv4' && family !== 'ipv6') {
36
- throw new Error('family must be ipv4 or ipv6');
37
- }
38
- return family === 'ipv4' ? '127.0.0.1' : 'fe80::1';
39
- }
40
- };
41
- function normalizeFamily(family) {
42
- if (family === 4) {
43
- return 'ipv4';
44
- }
45
- if (family === 6) {
46
- return 'ipv6';
47
- }
48
- return family ? family.toLowerCase() : 'ipv4';
49
- }
50
- //# sourceMappingURL=ip.js.map
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const netmask_1 = require("netmask");
4
- const util_1 = require("./util");
5
- /**
6
- * True iff the IP address of the host matches the specified IP address pattern.
7
- *
8
- * Pattern and mask specification is done the same way as for SOCKS configuration.
9
- *
10
- * Examples:
11
- *
12
- * ``` js
13
- * isInNet(host, "198.95.249.79", "255.255.255.255")
14
- * // is true iff the IP address of host matches exactly 198.95.249.79.
15
- *
16
- * isInNet(host, "198.95.0.0", "255.255.0.0")
17
- * // is true iff the IP address of the host matches 198.95.*.*.
18
- * ```
19
- *
20
- * @param {String} host a DNS hostname, or IP address. If a hostname is passed,
21
- * it will be resoved into an IP address by this function.
22
- * @param {String} pattern an IP address pattern in the dot-separated format mask.
23
- * @param {String} mask for the IP address pattern informing which parts of the
24
- * IP address should be matched against. 0 means ignore, 255 means match.
25
- * @return {Boolean}
26
- */
27
- async function isInNet(host, pattern, mask) {
28
- const family = 4;
29
- try {
30
- const ip = await (0, util_1.dnsLookup)(host, { family });
31
- if (typeof ip === 'string') {
32
- const netmask = new netmask_1.Netmask(pattern, mask);
33
- return netmask.contains(ip);
34
- }
35
- }
36
- catch (err) {
37
- // ignore
38
- }
39
- return false;
40
- }
41
- exports.default = isInNet;
42
- //# sourceMappingURL=isInNet.js.map
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /**
3
- * True iff there is no domain name in the hostname (no dots).
4
- *
5
- * Examples:
6
- *
7
- * ``` js
8
- * isPlainHostName("www")
9
- * // is true.
10
- *
11
- * isPlainHostName("www.netscape.com")
12
- * // is false.
13
- * ```
14
- *
15
- * @param {String} host The hostname from the URL (excluding port number).
16
- * @return {Boolean}
17
- */
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- function isPlainHostName(host) {
20
- return !/\./.test(host);
21
- }
22
- exports.default = isPlainHostName;
23
- //# sourceMappingURL=isPlainHostName.js.map