antigravity-mobile-proxy 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (594) 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/api/v1/artifacts/[convId]/[filename]/route.js +2 -2
  17. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/[filename]/route.js.nft.json +1 -1
  18. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js +2 -2
  19. package/.next/standalone/.next/server/app/api/v1/artifacts/[convId]/route.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js +2 -2
  21. package/.next/standalone/.next/server/app/api/v1/artifacts/active/[filename]/route.js.nft.json +1 -1
  22. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js +2 -2
  23. package/.next/standalone/.next/server/app/api/v1/artifacts/active/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js +2 -2
  25. package/.next/standalone/.next/server/app/api/v1/artifacts/route.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js +6 -2
  27. package/.next/standalone/.next/server/app/api/v1/chat/action/route.js.nft.json +1 -1
  28. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js +6 -2
  29. package/.next/standalone/.next/server/app/api/v1/chat/approve/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js +6 -2
  31. package/.next/standalone/.next/server/app/api/v1/chat/history/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js +6 -2
  33. package/.next/standalone/.next/server/app/api/v1/chat/mode/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js +6 -2
  35. package/.next/standalone/.next/server/app/api/v1/chat/new/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js +6 -2
  37. package/.next/standalone/.next/server/app/api/v1/chat/reject/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/v1/chat/route.js +6 -2
  39. package/.next/standalone/.next/server/app/api/v1/chat/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js +6 -2
  41. package/.next/standalone/.next/server/app/api/v1/chat/state/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js +6 -3
  43. package/.next/standalone/.next/server/app/api/v1/chat/stream/route.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js +2 -2
  45. package/.next/standalone/.next/server/app/api/v1/conversations/active/route.js.nft.json +1 -1
  46. package/.next/standalone/.next/server/app/api/v1/conversations/route.js +6 -3
  47. package/.next/standalone/.next/server/app/api/v1/conversations/route.js.nft.json +1 -1
  48. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js +6 -2
  49. package/.next/standalone/.next/server/app/api/v1/conversations/select/route.js.nft.json +1 -1
  50. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js +6 -2
  51. package/.next/standalone/.next/server/app/api/v1/debug/dom/route.js.nft.json +1 -1
  52. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js +6 -2
  53. package/.next/standalone/.next/server/app/api/v1/debug/scrape/route.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/api/v1/health/route.js +6 -2
  55. package/.next/standalone/.next/server/app/api/v1/health/route.js.nft.json +1 -1
  56. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js +2 -2
  57. package/.next/standalone/.next/server/app/api/v1/windows/cdp-start/route.js.nft.json +1 -1
  58. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js +2 -2
  59. package/.next/standalone/.next/server/app/api/v1/windows/cdp-status/route.js.nft.json +1 -1
  60. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js +6 -2
  61. package/.next/standalone/.next/server/app/api/v1/windows/close/route.js.nft.json +1 -1
  62. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js +6 -2
  63. package/.next/standalone/.next/server/app/api/v1/windows/open/route.js.nft.json +1 -1
  64. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js +2 -2
  65. package/.next/standalone/.next/server/app/api/v1/windows/recent/route.js.nft.json +1 -1
  66. package/.next/standalone/.next/server/app/api/v1/windows/route.js +6 -2
  67. package/.next/standalone/.next/server/app/api/v1/windows/route.js.nft.json +1 -1
  68. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js +6 -2
  69. package/.next/standalone/.next/server/app/api/v1/windows/select/route.js.nft.json +1 -1
  70. package/.next/standalone/.next/server/app/debug/page.js +1 -1
  71. package/.next/standalone/.next/server/app/debug/page.js.nft.json +1 -1
  72. package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
  73. package/.next/standalone/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  74. package/.next/standalone/.next/server/app/page.js +1 -1
  75. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d31b133._.js +3 -0
  77. package/.next/standalone/.next/server/chunks/[root-of-the-server]__133ac672._.js +3 -0
  78. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1535be2d._.js +3 -0
  79. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ee7d416._.js +3 -0
  80. package/.next/standalone/.next/server/chunks/[root-of-the-server]__22df301c._.js +3 -0
  81. package/.next/standalone/.next/server/chunks/[root-of-the-server]__25f5f8ec._.js +3 -0
  82. package/.next/standalone/.next/server/chunks/[root-of-the-server]__26662154._.js +3 -0
  83. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__2ec5ba30._.js → [root-of-the-server]__3fe6d12c._.js} +2 -2
  84. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4b17d628._.js +3 -0
  85. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4c540a38._.js +3 -0
  86. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8d2624da._.js → [root-of-the-server]__4d161104._.js} +2 -2
  87. package/.next/standalone/.next/server/chunks/[root-of-the-server]__53c4f34d._.js +3 -0
  88. package/.next/standalone/.next/server/chunks/[root-of-the-server]__68965284._.js +3 -0
  89. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8cb67283._.js +5 -0
  90. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
  91. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8f8bd59f._.js +20 -0
  92. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9166d84a._.js +3 -0
  93. package/.next/standalone/.next/server/chunks/[root-of-the-server]__94275f7f._.js +3 -0
  94. package/.next/standalone/.next/server/chunks/[root-of-the-server]__c34d50c8._.js +3 -0
  95. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__8fdd2340._.js → [root-of-the-server]__c696771d._.js} +2 -2
  96. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0bd52b41._.js → [root-of-the-server]__cd7ccfdd._.js} +2 -2
  97. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d5818e20._.js +3 -0
  98. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__360475ac._.js → [root-of-the-server]__db7b3604._.js} +2 -2
  99. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__eeb89c13._.js → [root-of-the-server]__dc1db6cb._.js} +2 -2
  100. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4effd91a._.js → [root-of-the-server]__e9181374._.js} +2 -2
  101. package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb9ef4db._.js +3 -0
  102. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__4448d3d4._.js → [root-of-the-server]__ec32b318._.js} +2 -2
  103. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__7f18ffd0._.js → [root-of-the-server]__f54bea3d._.js} +2 -2
  104. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fabd57e0._.js +3 -0
  105. package/.next/standalone/.next/server/chunks/[root-of-the-server]__fd0215df._.js +3 -0
  106. package/.next/standalone/.next/server/chunks/lib_cdp_connection_ts_075c799e._.js +41 -0
  107. package/.next/standalone/.next/server/chunks/node_modules_151ca6ae._.js +3 -0
  108. package/.next/standalone/.next/server/chunks/node_modules_1f8a2929._.js +3 -0
  109. package/.next/standalone/.next/server/chunks/node_modules_2d9a2f12._.js +4 -0
  110. package/.next/standalone/.next/server/chunks/node_modules_3b486fee._.js +3 -0
  111. package/.next/standalone/.next/server/chunks/node_modules_64199bef._.js +3 -0
  112. package/.next/standalone/.next/server/chunks/node_modules_@puppeteer_browsers_lib_esm_main_83020de3.js +3 -0
  113. package/.next/standalone/.next/server/chunks/node_modules_f81d3958._.js +3 -0
  114. package/.next/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +2 -2
  115. package/.next/standalone/.next/server/chunks/node_modules_yargs_helpers_helpers_mjs_abe15519._.js +3 -0
  116. package/.next/standalone/.next/server/chunks/node_modules_yargs_index_mjs_c4f6f97b._.js +56 -0
  117. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__703e5e24._.js +3 -0
  118. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__edab6069._.js +3 -0
  119. package/.next/standalone/.next/server/chunks/ssr/node_modules_63dba3f8._.js +1 -1
  120. package/.next/standalone/.next/server/pages/500.html +2 -2
  121. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  122. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  123. package/.next/standalone/next.config.js +19 -0
  124. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
  125. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +221 -0
  126. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  127. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  128. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  129. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  130. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  131. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  132. package/.next/standalone/node_modules/next/dist/build/generate-build-id.js +5 -1
  133. package/.next/standalone/package-lock.json +140 -129
  134. package/.next/standalone/package.json +4 -3
  135. package/.next/standalone/scripts/patch-next.js +69 -0
  136. package/.next/standalone/server.js +1 -1
  137. package/.next/standalone/tsconfig.json +14 -4
  138. package/package.json +4 -3
  139. package/.next/standalone/.next/server/chunks/[root-of-the-server]__08f06ee9._.js +0 -3
  140. package/.next/standalone/.next/server/chunks/[root-of-the-server]__15c96786._.js +0 -3
  141. package/.next/standalone/.next/server/chunks/[root-of-the-server]__19ee93c1._.js +0 -3
  142. package/.next/standalone/.next/server/chunks/[root-of-the-server]__324dc867._.js +0 -3
  143. package/.next/standalone/.next/server/chunks/[root-of-the-server]__38025e07._.js +0 -3
  144. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a837477._.js +0 -3
  145. package/.next/standalone/.next/server/chunks/[root-of-the-server]__4f9fdc77._.js +0 -3
  146. package/.next/standalone/.next/server/chunks/[root-of-the-server]__556e6cd5._.js +0 -3
  147. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6479a312._.js +0 -3
  148. package/.next/standalone/.next/server/chunks/[root-of-the-server]__693625a1._.js +0 -3
  149. package/.next/standalone/.next/server/chunks/[root-of-the-server]__6ec98c1f._.js +0 -3
  150. package/.next/standalone/.next/server/chunks/[root-of-the-server]__7f696ede._.js +0 -3
  151. package/.next/standalone/.next/server/chunks/[root-of-the-server]__8aa4aa02._.js +0 -3
  152. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9d217c47._.js +0 -7
  153. package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e54cdc1._.js +0 -3
  154. package/.next/standalone/.next/server/chunks/[root-of-the-server]__a73e4e4f._.js +0 -3
  155. package/.next/standalone/.next/server/chunks/[root-of-the-server]__cd1b9505._.js +0 -3
  156. package/.next/standalone/.next/server/chunks/[root-of-the-server]__d850c12e._.js +0 -3
  157. package/.next/standalone/.next/server/chunks/[root-of-the-server]__ef121746._.js +0 -3
  158. package/.next/standalone/.next/server/chunks/_7273dcfc._.js +0 -3
  159. package/.next/standalone/.next/server/chunks/_8dd0f398._.js +0 -5
  160. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4fe85c38._.js +0 -3
  161. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85930638._.js +0 -3
  162. package/.next/standalone/next.config.ts +0 -10
  163. package/.next/standalone/node_modules/@puppeteer/browsers/package.json +0 -125
  164. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  165. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  166. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  167. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  168. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  169. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  170. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  171. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  172. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  173. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  174. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  175. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  176. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  177. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  178. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  179. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  180. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  181. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  182. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  183. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  184. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  185. package/.next/standalone/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  186. package/.next/standalone/node_modules/agent-base/dist/helpers.js +0 -66
  187. package/.next/standalone/node_modules/agent-base/dist/index.js +0 -178
  188. package/.next/standalone/node_modules/agent-base/package.json +0 -46
  189. package/.next/standalone/node_modules/ast-types/def/babel-core.js +0 -256
  190. package/.next/standalone/node_modules/ast-types/def/babel.js +0 -11
  191. package/.next/standalone/node_modules/ast-types/def/core.js +0 -298
  192. package/.next/standalone/node_modules/ast-types/def/es-proposals.js +0 -33
  193. package/.next/standalone/node_modules/ast-types/def/es2020.js +0 -16
  194. package/.next/standalone/node_modules/ast-types/def/es6.js +0 -210
  195. package/.next/standalone/node_modules/ast-types/def/es7.js +0 -34
  196. package/.next/standalone/node_modules/ast-types/def/esprima.js +0 -49
  197. package/.next/standalone/node_modules/ast-types/def/flow.js +0 -292
  198. package/.next/standalone/node_modules/ast-types/def/jsx.js +0 -103
  199. package/.next/standalone/node_modules/ast-types/def/type-annotations.js +0 -40
  200. package/.next/standalone/node_modules/ast-types/def/typescript.js +0 -344
  201. package/.next/standalone/node_modules/ast-types/fork.js +0 -52
  202. package/.next/standalone/node_modules/ast-types/gen/namedTypes.js +0 -6
  203. package/.next/standalone/node_modules/ast-types/lib/equiv.js +0 -154
  204. package/.next/standalone/node_modules/ast-types/lib/node-path.js +0 -411
  205. package/.next/standalone/node_modules/ast-types/lib/path-visitor.js +0 -343
  206. package/.next/standalone/node_modules/ast-types/lib/path.js +0 -331
  207. package/.next/standalone/node_modules/ast-types/lib/scope.js +0 -318
  208. package/.next/standalone/node_modules/ast-types/lib/shared.js +0 -47
  209. package/.next/standalone/node_modules/ast-types/lib/types.js +0 -780
  210. package/.next/standalone/node_modules/ast-types/main.js +0 -53
  211. package/.next/standalone/node_modules/ast-types/package.json +0 -65
  212. package/.next/standalone/node_modules/b4a/index.js +0 -188
  213. package/.next/standalone/node_modules/b4a/package.json +0 -49
  214. package/.next/standalone/node_modules/basic-ftp/dist/Client.js +0 -782
  215. package/.next/standalone/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  216. package/.next/standalone/node_modules/basic-ftp/dist/FtpContext.js +0 -365
  217. package/.next/standalone/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  218. package/.next/standalone/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  219. package/.next/standalone/node_modules/basic-ftp/dist/StringWriter.js +0 -23
  220. package/.next/standalone/node_modules/basic-ftp/dist/index.js +0 -28
  221. package/.next/standalone/node_modules/basic-ftp/dist/netUtils.js +0 -66
  222. package/.next/standalone/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  223. package/.next/standalone/node_modules/basic-ftp/dist/parseList.js +0 -79
  224. package/.next/standalone/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  225. package/.next/standalone/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  226. package/.next/standalone/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  227. package/.next/standalone/node_modules/basic-ftp/dist/transfer.js +0 -318
  228. package/.next/standalone/node_modules/basic-ftp/package.json +0 -52
  229. package/.next/standalone/node_modules/buffer-crc32/index.js +0 -111
  230. package/.next/standalone/node_modules/buffer-crc32/package.json +0 -39
  231. package/.next/standalone/node_modules/cliui/build/lib/index.js +0 -287
  232. package/.next/standalone/node_modules/cliui/build/lib/string-utils.js +0 -27
  233. package/.next/standalone/node_modules/cliui/index.mjs +0 -13
  234. package/.next/standalone/node_modules/cliui/package.json +0 -83
  235. package/.next/standalone/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  236. package/.next/standalone/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  237. package/.next/standalone/node_modules/data-uri-to-buffer/package.json +0 -48
  238. package/.next/standalone/node_modules/debug/package.json +0 -64
  239. package/.next/standalone/node_modules/debug/src/browser.js +0 -272
  240. package/.next/standalone/node_modules/debug/src/common.js +0 -292
  241. package/.next/standalone/node_modules/debug/src/index.js +0 -10
  242. package/.next/standalone/node_modules/debug/src/node.js +0 -263
  243. package/.next/standalone/node_modules/degenerator/dist/compile.js +0 -107
  244. package/.next/standalone/node_modules/degenerator/dist/degenerator.js +0 -156
  245. package/.next/standalone/node_modules/degenerator/dist/index.js +0 -19
  246. package/.next/standalone/node_modules/degenerator/package.json +0 -42
  247. package/.next/standalone/node_modules/end-of-stream/index.js +0 -96
  248. package/.next/standalone/node_modules/end-of-stream/package.json +0 -37
  249. package/.next/standalone/node_modules/escalade/package.json +0 -74
  250. package/.next/standalone/node_modules/escodegen/escodegen.js +0 -2667
  251. package/.next/standalone/node_modules/escodegen/package.json +0 -63
  252. package/.next/standalone/node_modules/esprima/dist/esprima.js +0 -6709
  253. package/.next/standalone/node_modules/esprima/package.json +0 -112
  254. package/.next/standalone/node_modules/estraverse/estraverse.js +0 -805
  255. package/.next/standalone/node_modules/estraverse/package.json +0 -40
  256. package/.next/standalone/node_modules/esutils/lib/ast.js +0 -144
  257. package/.next/standalone/node_modules/esutils/lib/code.js +0 -135
  258. package/.next/standalone/node_modules/esutils/lib/keyword.js +0 -165
  259. package/.next/standalone/node_modules/esutils/lib/utils.js +0 -33
  260. package/.next/standalone/node_modules/esutils/package.json +0 -44
  261. package/.next/standalone/node_modules/events-universal/default.js +0 -1
  262. package/.next/standalone/node_modules/events-universal/package.json +0 -39
  263. package/.next/standalone/node_modules/extract-zip/LICENSE +0 -23
  264. package/.next/standalone/node_modules/extract-zip/cli.js +0 -19
  265. package/.next/standalone/node_modules/extract-zip/index.js +0 -173
  266. package/.next/standalone/node_modules/extract-zip/package.json +0 -80
  267. package/.next/standalone/node_modules/extract-zip/readme.md +0 -57
  268. package/.next/standalone/node_modules/fast-fifo/fixed-size.js +0 -39
  269. package/.next/standalone/node_modules/fast-fifo/index.js +0 -48
  270. package/.next/standalone/node_modules/fast-fifo/package.json +0 -28
  271. package/.next/standalone/node_modules/fd-slicer/index.js +0 -296
  272. package/.next/standalone/node_modules/fd-slicer/package.json +0 -36
  273. package/.next/standalone/node_modules/get-stream/buffer-stream.js +0 -52
  274. package/.next/standalone/node_modules/get-stream/index.js +0 -60
  275. package/.next/standalone/node_modules/get-stream/package.json +0 -50
  276. package/.next/standalone/node_modules/get-uri/dist/data.js +0 -43
  277. package/.next/standalone/node_modules/get-uri/dist/file.js +0 -57
  278. package/.next/standalone/node_modules/get-uri/dist/ftp.js +0 -93
  279. package/.next/standalone/node_modules/get-uri/dist/http-error.js +0 -15
  280. package/.next/standalone/node_modules/get-uri/dist/http.js +0 -191
  281. package/.next/standalone/node_modules/get-uri/dist/https.js +0 -16
  282. package/.next/standalone/node_modules/get-uri/dist/index.js +0 -57
  283. package/.next/standalone/node_modules/get-uri/dist/notfound.js +0 -16
  284. package/.next/standalone/node_modules/get-uri/dist/notmodified.js +0 -17
  285. package/.next/standalone/node_modules/get-uri/package.json +0 -58
  286. package/.next/standalone/node_modules/has-flag/index.js +0 -8
  287. package/.next/standalone/node_modules/has-flag/package.json +0 -46
  288. package/.next/standalone/node_modules/http-proxy-agent/dist/index.js +0 -148
  289. package/.next/standalone/node_modules/http-proxy-agent/package.json +0 -47
  290. package/.next/standalone/node_modules/https-proxy-agent/dist/index.js +0 -180
  291. package/.next/standalone/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -101
  292. package/.next/standalone/node_modules/https-proxy-agent/package.json +0 -50
  293. package/.next/standalone/node_modules/ip-address/dist/address-error.js +0 -12
  294. package/.next/standalone/node_modules/ip-address/dist/common.js +0 -46
  295. package/.next/standalone/node_modules/ip-address/dist/ip-address.js +0 -35
  296. package/.next/standalone/node_modules/ip-address/dist/ipv4.js +0 -360
  297. package/.next/standalone/node_modules/ip-address/dist/ipv6.js +0 -1003
  298. package/.next/standalone/node_modules/ip-address/dist/v4/constants.js +0 -8
  299. package/.next/standalone/node_modules/ip-address/dist/v6/constants.js +0 -76
  300. package/.next/standalone/node_modules/ip-address/dist/v6/helpers.js +0 -45
  301. package/.next/standalone/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  302. package/.next/standalone/node_modules/ip-address/package.json +0 -78
  303. package/.next/standalone/node_modules/lru-cache/index.js +0 -1227
  304. package/.next/standalone/node_modules/lru-cache/package.json +0 -96
  305. package/.next/standalone/node_modules/ms/index.js +0 -162
  306. package/.next/standalone/node_modules/ms/package.json +0 -38
  307. package/.next/standalone/node_modules/netmask/lib/netmask.js +0 -208
  308. package/.next/standalone/node_modules/netmask/package.json +0 -36
  309. package/.next/standalone/node_modules/once/once.js +0 -42
  310. package/.next/standalone/node_modules/once/package.json +0 -33
  311. package/.next/standalone/node_modules/pac-proxy-agent/dist/index.js +0 -238
  312. package/.next/standalone/node_modules/pac-proxy-agent/package.json +0 -58
  313. package/.next/standalone/node_modules/pac-resolver/dist/dateRange.js +0 -73
  314. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  315. package/.next/standalone/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  316. package/.next/standalone/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  317. package/.next/standalone/node_modules/pac-resolver/dist/index.js +0 -87
  318. package/.next/standalone/node_modules/pac-resolver/dist/ip.js +0 -50
  319. package/.next/standalone/node_modules/pac-resolver/dist/isInNet.js +0 -42
  320. package/.next/standalone/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  321. package/.next/standalone/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  322. package/.next/standalone/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  323. package/.next/standalone/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  324. package/.next/standalone/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  325. package/.next/standalone/node_modules/pac-resolver/dist/timeRange.js +0 -92
  326. package/.next/standalone/node_modules/pac-resolver/dist/util.js +0 -22
  327. package/.next/standalone/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  328. package/.next/standalone/node_modules/pac-resolver/package.json +0 -47
  329. package/.next/standalone/node_modules/pend/index.js +0 -55
  330. package/.next/standalone/node_modules/pend/package.json +0 -18
  331. package/.next/standalone/node_modules/progress/index.js +0 -1
  332. package/.next/standalone/node_modules/progress/lib/node-progress.js +0 -236
  333. package/.next/standalone/node_modules/progress/package.json +0 -26
  334. package/.next/standalone/node_modules/proxy-agent/dist/index.js +0 -138
  335. package/.next/standalone/node_modules/proxy-agent/package.json +0 -60
  336. package/.next/standalone/node_modules/proxy-from-env/index.js +0 -108
  337. package/.next/standalone/node_modules/proxy-from-env/package.json +0 -34
  338. package/.next/standalone/node_modules/pump/index.js +0 -86
  339. package/.next/standalone/node_modules/pump/package.json +0 -30
  340. package/.next/standalone/node_modules/puppeteer-core/lib/esm/package.json +0 -1
  341. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.js +0 -204
  342. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/BrowserContext.js +0 -182
  343. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/CDPSession.js +0 -68
  344. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/DeviceRequestPrompt.js +0 -34
  345. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Dialog.js +0 -90
  346. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +0 -1406
  347. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandleSymbol.js +0 -10
  348. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js +0 -904
  349. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js +0 -461
  350. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPResponse.js +0 -56
  351. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Input.js +0 -211
  352. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/JSHandle.js +0 -227
  353. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js +0 -1511
  354. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js +0 -44
  355. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/Target.js +0 -49
  356. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/WebWorker.js +0 -106
  357. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/api.js +0 -22
  358. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/api/locators/locators.js +0 -769
  359. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/BrowserConnector.js +0 -83
  360. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Accessibility.js +0 -591
  361. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Binding.js +0 -162
  362. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BluetoothEmulation.js +0 -26
  363. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Browser.js +0 -327
  364. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserConnector.js +0 -26
  365. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/BrowserContext.js +0 -192
  366. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpPreloadScript.js +0 -39
  367. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/CdpSession.js +0 -129
  368. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Connection.js +0 -244
  369. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Coverage.js +0 -372
  370. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +0 -151
  371. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Dialog.js +0 -23
  372. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ElementHandle.js +0 -206
  373. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/EmulationManager.js +0 -458
  374. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js +0 -457
  375. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExtensionTransport.js +0 -175
  376. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js +0 -358
  377. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManager.js +0 -455
  378. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameManagerEvents.js +0 -24
  379. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/FrameTree.js +0 -91
  380. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPRequest.js +0 -195
  381. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/HTTPResponse.js +0 -126
  382. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Input.js +0 -499
  383. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js +0 -157
  384. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorlds.js +0 -20
  385. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/JSHandle.js +0 -101
  386. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/LifecycleWatcher.js +0 -174
  387. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkEventManager.js +0 -162
  388. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/NetworkManager.js +0 -601
  389. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js +0 -1011
  390. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +0 -69
  391. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Target.js +0 -243
  392. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManageEvents.js +0 -7
  393. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/TargetManager.js +0 -320
  394. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Tracing.js +0 -110
  395. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/WebWorker.js +0 -73
  396. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/cdp.js +0 -43
  397. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/utils.js +0 -216
  398. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/AriaQueryHandler.js +0 -54
  399. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserConnector.js +0 -129
  400. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +0 -39
  401. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CSSQueryHandler.js +0 -18
  402. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js +0 -133
  403. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ConsoleMessage.js +0 -78
  404. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.js +0 -114
  405. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Debug.js +0 -109
  406. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js +0 -1604
  407. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js +0 -94
  408. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js +0 -128
  409. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/FileChooser.js +0 -75
  410. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/GetQueryHandler.js +0 -70
  411. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/HandleIterator.js +0 -142
  412. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/LazyArg.js +0 -23
  413. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/NetworkManagerEvents.js +0 -21
  414. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PDFOptions.js +0 -58
  415. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PQueryHandler.js +0 -18
  416. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PSelectorParser.js +0 -100
  417. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/PierceQueryHandler.js +0 -18
  418. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/Puppeteer.js +0 -98
  419. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js +0 -225
  420. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/ScriptInjector.js +0 -51
  421. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/SecurityDetails.js +0 -69
  422. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TaskQueue.js +0 -24
  423. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TextQueryHandler.js +0 -15
  424. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/TimeoutSettings.js +0 -39
  425. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/USKeyboardLayout.js +0 -394
  426. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js +0 -197
  427. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/XPathQueryHandler.js +0 -21
  428. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/common.js +0 -35
  429. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js +0 -375
  430. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/environment.js +0 -24
  431. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/generated/injected.js +0 -9
  432. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index-browser.js +0 -11
  433. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/index.js +0 -8
  434. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/puppeteer-core.js +0 -41
  435. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/revisions.js +0 -14
  436. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/AsyncIterableUtil.js +0 -29
  437. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js +0 -105
  438. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/ErrorLike.js +0 -41
  439. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Function.js +0 -70
  440. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/Mutex.js +0 -46
  441. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/assert.js +0 -18
  442. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js +0 -232
  443. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/disposable.js +0 -342
  444. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/encoding.js +0 -63
  445. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/incremental-id-generator.js +0 -18
  446. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/util.js +0 -13
  447. package/.next/standalone/node_modules/puppeteer-core/lib/esm/puppeteer/util/version.js +0 -10
  448. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js +0 -44
  449. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/parsel-js/parsel-js.js +0 -196
  450. package/.next/standalone/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js +0 -2887
  451. package/.next/standalone/node_modules/puppeteer-core/package.json +0 -169
  452. package/.next/standalone/node_modules/semver/functions/clean.js +0 -8
  453. package/.next/standalone/node_modules/semver/functions/compare-build.js +0 -9
  454. package/.next/standalone/node_modules/semver/functions/compare-loose.js +0 -5
  455. package/.next/standalone/node_modules/semver/functions/diff.js +0 -60
  456. package/.next/standalone/node_modules/semver/functions/inc.js +0 -21
  457. package/.next/standalone/node_modules/semver/functions/major.js +0 -5
  458. package/.next/standalone/node_modules/semver/functions/minor.js +0 -5
  459. package/.next/standalone/node_modules/semver/functions/patch.js +0 -5
  460. package/.next/standalone/node_modules/semver/functions/prerelease.js +0 -8
  461. package/.next/standalone/node_modules/semver/functions/rcompare.js +0 -5
  462. package/.next/standalone/node_modules/semver/functions/rsort.js +0 -5
  463. package/.next/standalone/node_modules/semver/functions/sort.js +0 -5
  464. package/.next/standalone/node_modules/semver/functions/valid.js +0 -8
  465. package/.next/standalone/node_modules/semver/index.js +0 -91
  466. package/.next/standalone/node_modules/semver/ranges/gtr.js +0 -6
  467. package/.next/standalone/node_modules/semver/ranges/intersects.js +0 -9
  468. package/.next/standalone/node_modules/semver/ranges/ltr.js +0 -6
  469. package/.next/standalone/node_modules/semver/ranges/max-satisfying.js +0 -27
  470. package/.next/standalone/node_modules/semver/ranges/min-satisfying.js +0 -26
  471. package/.next/standalone/node_modules/semver/ranges/min-version.js +0 -63
  472. package/.next/standalone/node_modules/semver/ranges/outside.js +0 -82
  473. package/.next/standalone/node_modules/semver/ranges/simplify.js +0 -49
  474. package/.next/standalone/node_modules/semver/ranges/subset.js +0 -249
  475. package/.next/standalone/node_modules/semver/ranges/to-comparators.js +0 -10
  476. package/.next/standalone/node_modules/semver/ranges/valid.js +0 -13
  477. package/.next/standalone/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  478. package/.next/standalone/node_modules/smart-buffer/build/utils.js +0 -108
  479. package/.next/standalone/node_modules/smart-buffer/package.json +0 -79
  480. package/.next/standalone/node_modules/socks/build/client/socksclient.js +0 -793
  481. package/.next/standalone/node_modules/socks/build/common/constants.js +0 -108
  482. package/.next/standalone/node_modules/socks/build/common/helpers.js +0 -167
  483. package/.next/standalone/node_modules/socks/build/common/receivebuffer.js +0 -43
  484. package/.next/standalone/node_modules/socks/build/common/util.js +0 -25
  485. package/.next/standalone/node_modules/socks/build/index.js +0 -18
  486. package/.next/standalone/node_modules/socks/package.json +0 -58
  487. package/.next/standalone/node_modules/socks-proxy-agent/dist/index.js +0 -195
  488. package/.next/standalone/node_modules/socks-proxy-agent/package.json +0 -142
  489. package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
  490. package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
  491. package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
  492. package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
  493. package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
  494. package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
  495. package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  496. package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
  497. package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
  498. package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
  499. package/.next/standalone/node_modules/source-map/package.json +0 -73
  500. package/.next/standalone/node_modules/source-map/source-map.js +0 -8
  501. package/.next/standalone/node_modules/streamx/index.js +0 -1184
  502. package/.next/standalone/node_modules/streamx/package.json +0 -34
  503. package/.next/standalone/node_modules/supports-color/index.js +0 -135
  504. package/.next/standalone/node_modules/supports-color/package.json +0 -53
  505. package/.next/standalone/node_modules/tar-stream/constants.js +0 -14
  506. package/.next/standalone/node_modules/tar-stream/extract.js +0 -406
  507. package/.next/standalone/node_modules/tar-stream/headers.js +0 -321
  508. package/.next/standalone/node_modules/tar-stream/index.js +0 -2
  509. package/.next/standalone/node_modules/tar-stream/pack.js +0 -287
  510. package/.next/standalone/node_modules/tar-stream/package.json +0 -42
  511. package/.next/standalone/node_modules/text-decoder/index.js +0 -64
  512. package/.next/standalone/node_modules/text-decoder/lib/pass-through-decoder.js +0 -19
  513. package/.next/standalone/node_modules/text-decoder/lib/utf8-decoder.js +0 -185
  514. package/.next/standalone/node_modules/text-decoder/package.json +0 -39
  515. package/.next/standalone/node_modules/tslib/package.json +0 -47
  516. package/.next/standalone/node_modules/tslib/tslib.js +0 -484
  517. package/.next/standalone/node_modules/wrappy/package.json +0 -29
  518. package/.next/standalone/node_modules/wrappy/wrappy.js +0 -33
  519. package/.next/standalone/node_modules/ws/lib/buffer-util.js +0 -131
  520. package/.next/standalone/node_modules/ws/lib/constants.js +0 -19
  521. package/.next/standalone/node_modules/ws/lib/event-target.js +0 -292
  522. package/.next/standalone/node_modules/ws/lib/extension.js +0 -203
  523. package/.next/standalone/node_modules/ws/lib/limiter.js +0 -55
  524. package/.next/standalone/node_modules/ws/lib/permessage-deflate.js +0 -528
  525. package/.next/standalone/node_modules/ws/lib/receiver.js +0 -706
  526. package/.next/standalone/node_modules/ws/lib/sender.js +0 -602
  527. package/.next/standalone/node_modules/ws/lib/stream.js +0 -161
  528. package/.next/standalone/node_modules/ws/lib/subprotocol.js +0 -62
  529. package/.next/standalone/node_modules/ws/lib/validation.js +0 -152
  530. package/.next/standalone/node_modules/ws/lib/websocket-server.js +0 -554
  531. package/.next/standalone/node_modules/ws/lib/websocket.js +0 -1393
  532. package/.next/standalone/node_modules/ws/package.json +0 -69
  533. package/.next/standalone/node_modules/ws/wrapper.mjs +0 -8
  534. package/.next/standalone/node_modules/y18n/build/lib/index.js +0 -174
  535. package/.next/standalone/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  536. package/.next/standalone/node_modules/y18n/index.mjs +0 -8
  537. package/.next/standalone/node_modules/y18n/package.json +0 -70
  538. package/.next/standalone/node_modules/yargs/build/lib/argsert.js +0 -62
  539. package/.next/standalone/node_modules/yargs/build/lib/command.js +0 -449
  540. package/.next/standalone/node_modules/yargs/build/lib/completion-templates.js +0 -48
  541. package/.next/standalone/node_modules/yargs/build/lib/completion.js +0 -243
  542. package/.next/standalone/node_modules/yargs/build/lib/middleware.js +0 -88
  543. package/.next/standalone/node_modules/yargs/build/lib/parse-command.js +0 -32
  544. package/.next/standalone/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  545. package/.next/standalone/node_modules/yargs/build/lib/usage.js +0 -584
  546. package/.next/standalone/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  547. package/.next/standalone/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  548. package/.next/standalone/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  549. package/.next/standalone/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  550. package/.next/standalone/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  551. package/.next/standalone/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  552. package/.next/standalone/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  553. package/.next/standalone/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  554. package/.next/standalone/node_modules/yargs/build/lib/validation.js +0 -305
  555. package/.next/standalone/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  556. package/.next/standalone/node_modules/yargs/build/lib/yerror.js +0 -9
  557. package/.next/standalone/node_modules/yargs/helpers/helpers.mjs +0 -10
  558. package/.next/standalone/node_modules/yargs/index.mjs +0 -8
  559. package/.next/standalone/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  560. package/.next/standalone/node_modules/yargs/package.json +0 -123
  561. package/.next/standalone/node_modules/yargs-parser/build/lib/index.js +0 -62
  562. package/.next/standalone/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  563. package/.next/standalone/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  564. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  565. package/.next/standalone/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  566. package/.next/standalone/node_modules/yargs-parser/package.json +0 -92
  567. package/.next/standalone/node_modules/yauzl/LICENSE +0 -21
  568. package/.next/standalone/node_modules/yauzl/README.md +0 -658
  569. package/.next/standalone/node_modules/yauzl/index.js +0 -796
  570. package/.next/standalone/node_modules/yauzl/package.json +0 -40
  571. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
  572. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +0 -0
  573. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +0 -0
  574. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
  575. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
  576. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
  577. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
  578. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
  579. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
  580. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
  581. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
  582. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
  583. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
  584. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
  585. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
  586. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
  587. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
  588. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
  589. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
  590. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +0 -0
  591. /package/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +0 -0
  592. /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_buildManifest.js +0 -0
  593. /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_clientMiddlewareManifest.json +0 -0
  594. /package/.next/static/{dBszpiWXsbEAjYrgq1Nuz → standalone-build}/_ssgManifest.js +0 -0
@@ -1,1227 +0,0 @@
1
- const perf =
2
- typeof performance === 'object' &&
3
- performance &&
4
- typeof performance.now === 'function'
5
- ? performance
6
- : Date
7
-
8
- const hasAbortController = typeof AbortController === 'function'
9
-
10
- // minimal backwards-compatibility polyfill
11
- // this doesn't have nearly all the checks and whatnot that
12
- // actual AbortController/Signal has, but it's enough for
13
- // our purposes, and if used properly, behaves the same.
14
- const AC = hasAbortController
15
- ? AbortController
16
- : class AbortController {
17
- constructor() {
18
- this.signal = new AS()
19
- }
20
- abort(reason = new Error('This operation was aborted')) {
21
- this.signal.reason = this.signal.reason || reason
22
- this.signal.aborted = true
23
- this.signal.dispatchEvent({
24
- type: 'abort',
25
- target: this.signal,
26
- })
27
- }
28
- }
29
-
30
- const hasAbortSignal = typeof AbortSignal === 'function'
31
- // Some polyfills put this on the AC class, not global
32
- const hasACAbortSignal = typeof AC.AbortSignal === 'function'
33
- const AS = hasAbortSignal
34
- ? AbortSignal
35
- : hasACAbortSignal
36
- ? AC.AbortController
37
- : class AbortSignal {
38
- constructor() {
39
- this.reason = undefined
40
- this.aborted = false
41
- this._listeners = []
42
- }
43
- dispatchEvent(e) {
44
- if (e.type === 'abort') {
45
- this.aborted = true
46
- this.onabort(e)
47
- this._listeners.forEach(f => f(e), this)
48
- }
49
- }
50
- onabort() {}
51
- addEventListener(ev, fn) {
52
- if (ev === 'abort') {
53
- this._listeners.push(fn)
54
- }
55
- }
56
- removeEventListener(ev, fn) {
57
- if (ev === 'abort') {
58
- this._listeners = this._listeners.filter(f => f !== fn)
59
- }
60
- }
61
- }
62
-
63
- const warned = new Set()
64
- const deprecatedOption = (opt, instead) => {
65
- const code = `LRU_CACHE_OPTION_${opt}`
66
- if (shouldWarn(code)) {
67
- warn(code, `${opt} option`, `options.${instead}`, LRUCache)
68
- }
69
- }
70
- const deprecatedMethod = (method, instead) => {
71
- const code = `LRU_CACHE_METHOD_${method}`
72
- if (shouldWarn(code)) {
73
- const { prototype } = LRUCache
74
- const { get } = Object.getOwnPropertyDescriptor(prototype, method)
75
- warn(code, `${method} method`, `cache.${instead}()`, get)
76
- }
77
- }
78
- const deprecatedProperty = (field, instead) => {
79
- const code = `LRU_CACHE_PROPERTY_${field}`
80
- if (shouldWarn(code)) {
81
- const { prototype } = LRUCache
82
- const { get } = Object.getOwnPropertyDescriptor(prototype, field)
83
- warn(code, `${field} property`, `cache.${instead}`, get)
84
- }
85
- }
86
-
87
- const emitWarning = (...a) => {
88
- typeof process === 'object' &&
89
- process &&
90
- typeof process.emitWarning === 'function'
91
- ? process.emitWarning(...a)
92
- : console.error(...a)
93
- }
94
-
95
- const shouldWarn = code => !warned.has(code)
96
-
97
- const warn = (code, what, instead, fn) => {
98
- warned.add(code)
99
- const msg = `The ${what} is deprecated. Please use ${instead} instead.`
100
- emitWarning(msg, 'DeprecationWarning', code, fn)
101
- }
102
-
103
- const isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)
104
-
105
- /* istanbul ignore next - This is a little bit ridiculous, tbh.
106
- * The maximum array length is 2^32-1 or thereabouts on most JS impls.
107
- * And well before that point, you're caching the entire world, I mean,
108
- * that's ~32GB of just integers for the next/prev links, plus whatever
109
- * else to hold that many keys and values. Just filling the memory with
110
- * zeroes at init time is brutal when you get that big.
111
- * But why not be complete?
112
- * Maybe in the future, these limits will have expanded. */
113
- const getUintArray = max =>
114
- !isPosInt(max)
115
- ? null
116
- : max <= Math.pow(2, 8)
117
- ? Uint8Array
118
- : max <= Math.pow(2, 16)
119
- ? Uint16Array
120
- : max <= Math.pow(2, 32)
121
- ? Uint32Array
122
- : max <= Number.MAX_SAFE_INTEGER
123
- ? ZeroArray
124
- : null
125
-
126
- class ZeroArray extends Array {
127
- constructor(size) {
128
- super(size)
129
- this.fill(0)
130
- }
131
- }
132
-
133
- class Stack {
134
- constructor(max) {
135
- if (max === 0) {
136
- return []
137
- }
138
- const UintArray = getUintArray(max)
139
- this.heap = new UintArray(max)
140
- this.length = 0
141
- }
142
- push(n) {
143
- this.heap[this.length++] = n
144
- }
145
- pop() {
146
- return this.heap[--this.length]
147
- }
148
- }
149
-
150
- class LRUCache {
151
- constructor(options = {}) {
152
- const {
153
- max = 0,
154
- ttl,
155
- ttlResolution = 1,
156
- ttlAutopurge,
157
- updateAgeOnGet,
158
- updateAgeOnHas,
159
- allowStale,
160
- dispose,
161
- disposeAfter,
162
- noDisposeOnSet,
163
- noUpdateTTL,
164
- maxSize = 0,
165
- maxEntrySize = 0,
166
- sizeCalculation,
167
- fetchMethod,
168
- fetchContext,
169
- noDeleteOnFetchRejection,
170
- noDeleteOnStaleGet,
171
- allowStaleOnFetchRejection,
172
- allowStaleOnFetchAbort,
173
- ignoreFetchAbort,
174
- } = options
175
-
176
- // deprecated options, don't trigger a warning for getting them if
177
- // the thing being passed in is another LRUCache we're copying.
178
- const { length, maxAge, stale } =
179
- options instanceof LRUCache ? {} : options
180
-
181
- if (max !== 0 && !isPosInt(max)) {
182
- throw new TypeError('max option must be a nonnegative integer')
183
- }
184
-
185
- const UintArray = max ? getUintArray(max) : Array
186
- if (!UintArray) {
187
- throw new Error('invalid max value: ' + max)
188
- }
189
-
190
- this.max = max
191
- this.maxSize = maxSize
192
- this.maxEntrySize = maxEntrySize || this.maxSize
193
- this.sizeCalculation = sizeCalculation || length
194
- if (this.sizeCalculation) {
195
- if (!this.maxSize && !this.maxEntrySize) {
196
- throw new TypeError(
197
- 'cannot set sizeCalculation without setting maxSize or maxEntrySize'
198
- )
199
- }
200
- if (typeof this.sizeCalculation !== 'function') {
201
- throw new TypeError('sizeCalculation set to non-function')
202
- }
203
- }
204
-
205
- this.fetchMethod = fetchMethod || null
206
- if (this.fetchMethod && typeof this.fetchMethod !== 'function') {
207
- throw new TypeError(
208
- 'fetchMethod must be a function if specified'
209
- )
210
- }
211
-
212
- this.fetchContext = fetchContext
213
- if (!this.fetchMethod && fetchContext !== undefined) {
214
- throw new TypeError(
215
- 'cannot set fetchContext without fetchMethod'
216
- )
217
- }
218
-
219
- this.keyMap = new Map()
220
- this.keyList = new Array(max).fill(null)
221
- this.valList = new Array(max).fill(null)
222
- this.next = new UintArray(max)
223
- this.prev = new UintArray(max)
224
- this.head = 0
225
- this.tail = 0
226
- this.free = new Stack(max)
227
- this.initialFill = 1
228
- this.size = 0
229
-
230
- if (typeof dispose === 'function') {
231
- this.dispose = dispose
232
- }
233
- if (typeof disposeAfter === 'function') {
234
- this.disposeAfter = disposeAfter
235
- this.disposed = []
236
- } else {
237
- this.disposeAfter = null
238
- this.disposed = null
239
- }
240
- this.noDisposeOnSet = !!noDisposeOnSet
241
- this.noUpdateTTL = !!noUpdateTTL
242
- this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection
243
- this.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection
244
- this.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort
245
- this.ignoreFetchAbort = !!ignoreFetchAbort
246
-
247
- // NB: maxEntrySize is set to maxSize if it's set
248
- if (this.maxEntrySize !== 0) {
249
- if (this.maxSize !== 0) {
250
- if (!isPosInt(this.maxSize)) {
251
- throw new TypeError(
252
- 'maxSize must be a positive integer if specified'
253
- )
254
- }
255
- }
256
- if (!isPosInt(this.maxEntrySize)) {
257
- throw new TypeError(
258
- 'maxEntrySize must be a positive integer if specified'
259
- )
260
- }
261
- this.initializeSizeTracking()
262
- }
263
-
264
- this.allowStale = !!allowStale || !!stale
265
- this.noDeleteOnStaleGet = !!noDeleteOnStaleGet
266
- this.updateAgeOnGet = !!updateAgeOnGet
267
- this.updateAgeOnHas = !!updateAgeOnHas
268
- this.ttlResolution =
269
- isPosInt(ttlResolution) || ttlResolution === 0
270
- ? ttlResolution
271
- : 1
272
- this.ttlAutopurge = !!ttlAutopurge
273
- this.ttl = ttl || maxAge || 0
274
- if (this.ttl) {
275
- if (!isPosInt(this.ttl)) {
276
- throw new TypeError(
277
- 'ttl must be a positive integer if specified'
278
- )
279
- }
280
- this.initializeTTLTracking()
281
- }
282
-
283
- // do not allow completely unbounded caches
284
- if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {
285
- throw new TypeError(
286
- 'At least one of max, maxSize, or ttl is required'
287
- )
288
- }
289
- if (!this.ttlAutopurge && !this.max && !this.maxSize) {
290
- const code = 'LRU_CACHE_UNBOUNDED'
291
- if (shouldWarn(code)) {
292
- warned.add(code)
293
- const msg =
294
- 'TTL caching without ttlAutopurge, max, or maxSize can ' +
295
- 'result in unbounded memory consumption.'
296
- emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)
297
- }
298
- }
299
-
300
- if (stale) {
301
- deprecatedOption('stale', 'allowStale')
302
- }
303
- if (maxAge) {
304
- deprecatedOption('maxAge', 'ttl')
305
- }
306
- if (length) {
307
- deprecatedOption('length', 'sizeCalculation')
308
- }
309
- }
310
-
311
- getRemainingTTL(key) {
312
- return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0
313
- }
314
-
315
- initializeTTLTracking() {
316
- this.ttls = new ZeroArray(this.max)
317
- this.starts = new ZeroArray(this.max)
318
-
319
- this.setItemTTL = (index, ttl, start = perf.now()) => {
320
- this.starts[index] = ttl !== 0 ? start : 0
321
- this.ttls[index] = ttl
322
- if (ttl !== 0 && this.ttlAutopurge) {
323
- const t = setTimeout(() => {
324
- if (this.isStale(index)) {
325
- this.delete(this.keyList[index])
326
- }
327
- }, ttl + 1)
328
- /* istanbul ignore else - unref() not supported on all platforms */
329
- if (t.unref) {
330
- t.unref()
331
- }
332
- }
333
- }
334
-
335
- this.updateItemAge = index => {
336
- this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0
337
- }
338
-
339
- this.statusTTL = (status, index) => {
340
- if (status) {
341
- status.ttl = this.ttls[index]
342
- status.start = this.starts[index]
343
- status.now = cachedNow || getNow()
344
- status.remainingTTL = status.now + status.ttl - status.start
345
- }
346
- }
347
-
348
- // debounce calls to perf.now() to 1s so we're not hitting
349
- // that costly call repeatedly.
350
- let cachedNow = 0
351
- const getNow = () => {
352
- const n = perf.now()
353
- if (this.ttlResolution > 0) {
354
- cachedNow = n
355
- const t = setTimeout(
356
- () => (cachedNow = 0),
357
- this.ttlResolution
358
- )
359
- /* istanbul ignore else - not available on all platforms */
360
- if (t.unref) {
361
- t.unref()
362
- }
363
- }
364
- return n
365
- }
366
-
367
- this.getRemainingTTL = key => {
368
- const index = this.keyMap.get(key)
369
- if (index === undefined) {
370
- return 0
371
- }
372
- return this.ttls[index] === 0 || this.starts[index] === 0
373
- ? Infinity
374
- : this.starts[index] +
375
- this.ttls[index] -
376
- (cachedNow || getNow())
377
- }
378
-
379
- this.isStale = index => {
380
- return (
381
- this.ttls[index] !== 0 &&
382
- this.starts[index] !== 0 &&
383
- (cachedNow || getNow()) - this.starts[index] >
384
- this.ttls[index]
385
- )
386
- }
387
- }
388
- updateItemAge(_index) {}
389
- statusTTL(_status, _index) {}
390
- setItemTTL(_index, _ttl, _start) {}
391
- isStale(_index) {
392
- return false
393
- }
394
-
395
- initializeSizeTracking() {
396
- this.calculatedSize = 0
397
- this.sizes = new ZeroArray(this.max)
398
- this.removeItemSize = index => {
399
- this.calculatedSize -= this.sizes[index]
400
- this.sizes[index] = 0
401
- }
402
- this.requireSize = (k, v, size, sizeCalculation) => {
403
- // provisionally accept background fetches.
404
- // actual value size will be checked when they return.
405
- if (this.isBackgroundFetch(v)) {
406
- return 0
407
- }
408
- if (!isPosInt(size)) {
409
- if (sizeCalculation) {
410
- if (typeof sizeCalculation !== 'function') {
411
- throw new TypeError('sizeCalculation must be a function')
412
- }
413
- size = sizeCalculation(v, k)
414
- if (!isPosInt(size)) {
415
- throw new TypeError(
416
- 'sizeCalculation return invalid (expect positive integer)'
417
- )
418
- }
419
- } else {
420
- throw new TypeError(
421
- 'invalid size value (must be positive integer). ' +
422
- 'When maxSize or maxEntrySize is used, sizeCalculation or size ' +
423
- 'must be set.'
424
- )
425
- }
426
- }
427
- return size
428
- }
429
- this.addItemSize = (index, size, status) => {
430
- this.sizes[index] = size
431
- if (this.maxSize) {
432
- const maxSize = this.maxSize - this.sizes[index]
433
- while (this.calculatedSize > maxSize) {
434
- this.evict(true)
435
- }
436
- }
437
- this.calculatedSize += this.sizes[index]
438
- if (status) {
439
- status.entrySize = size
440
- status.totalCalculatedSize = this.calculatedSize
441
- }
442
- }
443
- }
444
- removeItemSize(_index) {}
445
- addItemSize(_index, _size) {}
446
- requireSize(_k, _v, size, sizeCalculation) {
447
- if (size || sizeCalculation) {
448
- throw new TypeError(
449
- 'cannot set size without setting maxSize or maxEntrySize on cache'
450
- )
451
- }
452
- }
453
-
454
- *indexes({ allowStale = this.allowStale } = {}) {
455
- if (this.size) {
456
- for (let i = this.tail; true; ) {
457
- if (!this.isValidIndex(i)) {
458
- break
459
- }
460
- if (allowStale || !this.isStale(i)) {
461
- yield i
462
- }
463
- if (i === this.head) {
464
- break
465
- } else {
466
- i = this.prev[i]
467
- }
468
- }
469
- }
470
- }
471
-
472
- *rindexes({ allowStale = this.allowStale } = {}) {
473
- if (this.size) {
474
- for (let i = this.head; true; ) {
475
- if (!this.isValidIndex(i)) {
476
- break
477
- }
478
- if (allowStale || !this.isStale(i)) {
479
- yield i
480
- }
481
- if (i === this.tail) {
482
- break
483
- } else {
484
- i = this.next[i]
485
- }
486
- }
487
- }
488
- }
489
-
490
- isValidIndex(index) {
491
- return (
492
- index !== undefined &&
493
- this.keyMap.get(this.keyList[index]) === index
494
- )
495
- }
496
-
497
- *entries() {
498
- for (const i of this.indexes()) {
499
- if (
500
- this.valList[i] !== undefined &&
501
- this.keyList[i] !== undefined &&
502
- !this.isBackgroundFetch(this.valList[i])
503
- ) {
504
- yield [this.keyList[i], this.valList[i]]
505
- }
506
- }
507
- }
508
- *rentries() {
509
- for (const i of this.rindexes()) {
510
- if (
511
- this.valList[i] !== undefined &&
512
- this.keyList[i] !== undefined &&
513
- !this.isBackgroundFetch(this.valList[i])
514
- ) {
515
- yield [this.keyList[i], this.valList[i]]
516
- }
517
- }
518
- }
519
-
520
- *keys() {
521
- for (const i of this.indexes()) {
522
- if (
523
- this.keyList[i] !== undefined &&
524
- !this.isBackgroundFetch(this.valList[i])
525
- ) {
526
- yield this.keyList[i]
527
- }
528
- }
529
- }
530
- *rkeys() {
531
- for (const i of this.rindexes()) {
532
- if (
533
- this.keyList[i] !== undefined &&
534
- !this.isBackgroundFetch(this.valList[i])
535
- ) {
536
- yield this.keyList[i]
537
- }
538
- }
539
- }
540
-
541
- *values() {
542
- for (const i of this.indexes()) {
543
- if (
544
- this.valList[i] !== undefined &&
545
- !this.isBackgroundFetch(this.valList[i])
546
- ) {
547
- yield this.valList[i]
548
- }
549
- }
550
- }
551
- *rvalues() {
552
- for (const i of this.rindexes()) {
553
- if (
554
- this.valList[i] !== undefined &&
555
- !this.isBackgroundFetch(this.valList[i])
556
- ) {
557
- yield this.valList[i]
558
- }
559
- }
560
- }
561
-
562
- [Symbol.iterator]() {
563
- return this.entries()
564
- }
565
-
566
- find(fn, getOptions) {
567
- for (const i of this.indexes()) {
568
- const v = this.valList[i]
569
- const value = this.isBackgroundFetch(v)
570
- ? v.__staleWhileFetching
571
- : v
572
- if (value === undefined) continue
573
- if (fn(value, this.keyList[i], this)) {
574
- return this.get(this.keyList[i], getOptions)
575
- }
576
- }
577
- }
578
-
579
- forEach(fn, thisp = this) {
580
- for (const i of this.indexes()) {
581
- const v = this.valList[i]
582
- const value = this.isBackgroundFetch(v)
583
- ? v.__staleWhileFetching
584
- : v
585
- if (value === undefined) continue
586
- fn.call(thisp, value, this.keyList[i], this)
587
- }
588
- }
589
-
590
- rforEach(fn, thisp = this) {
591
- for (const i of this.rindexes()) {
592
- const v = this.valList[i]
593
- const value = this.isBackgroundFetch(v)
594
- ? v.__staleWhileFetching
595
- : v
596
- if (value === undefined) continue
597
- fn.call(thisp, value, this.keyList[i], this)
598
- }
599
- }
600
-
601
- get prune() {
602
- deprecatedMethod('prune', 'purgeStale')
603
- return this.purgeStale
604
- }
605
-
606
- purgeStale() {
607
- let deleted = false
608
- for (const i of this.rindexes({ allowStale: true })) {
609
- if (this.isStale(i)) {
610
- this.delete(this.keyList[i])
611
- deleted = true
612
- }
613
- }
614
- return deleted
615
- }
616
-
617
- dump() {
618
- const arr = []
619
- for (const i of this.indexes({ allowStale: true })) {
620
- const key = this.keyList[i]
621
- const v = this.valList[i]
622
- const value = this.isBackgroundFetch(v)
623
- ? v.__staleWhileFetching
624
- : v
625
- if (value === undefined) continue
626
- const entry = { value }
627
- if (this.ttls) {
628
- entry.ttl = this.ttls[i]
629
- // always dump the start relative to a portable timestamp
630
- // it's ok for this to be a bit slow, it's a rare operation.
631
- const age = perf.now() - this.starts[i]
632
- entry.start = Math.floor(Date.now() - age)
633
- }
634
- if (this.sizes) {
635
- entry.size = this.sizes[i]
636
- }
637
- arr.unshift([key, entry])
638
- }
639
- return arr
640
- }
641
-
642
- load(arr) {
643
- this.clear()
644
- for (const [key, entry] of arr) {
645
- if (entry.start) {
646
- // entry.start is a portable timestamp, but we may be using
647
- // node's performance.now(), so calculate the offset.
648
- // it's ok for this to be a bit slow, it's a rare operation.
649
- const age = Date.now() - entry.start
650
- entry.start = perf.now() - age
651
- }
652
- this.set(key, entry.value, entry)
653
- }
654
- }
655
-
656
- dispose(_v, _k, _reason) {}
657
-
658
- set(
659
- k,
660
- v,
661
- {
662
- ttl = this.ttl,
663
- start,
664
- noDisposeOnSet = this.noDisposeOnSet,
665
- size = 0,
666
- sizeCalculation = this.sizeCalculation,
667
- noUpdateTTL = this.noUpdateTTL,
668
- status,
669
- } = {}
670
- ) {
671
- size = this.requireSize(k, v, size, sizeCalculation)
672
- // if the item doesn't fit, don't do anything
673
- // NB: maxEntrySize set to maxSize by default
674
- if (this.maxEntrySize && size > this.maxEntrySize) {
675
- if (status) {
676
- status.set = 'miss'
677
- status.maxEntrySizeExceeded = true
678
- }
679
- // have to delete, in case a background fetch is there already.
680
- // in non-async cases, this is a no-op
681
- this.delete(k)
682
- return this
683
- }
684
- let index = this.size === 0 ? undefined : this.keyMap.get(k)
685
- if (index === undefined) {
686
- // addition
687
- index = this.newIndex()
688
- this.keyList[index] = k
689
- this.valList[index] = v
690
- this.keyMap.set(k, index)
691
- this.next[this.tail] = index
692
- this.prev[index] = this.tail
693
- this.tail = index
694
- this.size++
695
- this.addItemSize(index, size, status)
696
- if (status) {
697
- status.set = 'add'
698
- }
699
- noUpdateTTL = false
700
- } else {
701
- // update
702
- this.moveToTail(index)
703
- const oldVal = this.valList[index]
704
- if (v !== oldVal) {
705
- if (this.isBackgroundFetch(oldVal)) {
706
- oldVal.__abortController.abort(new Error('replaced'))
707
- } else {
708
- if (!noDisposeOnSet) {
709
- this.dispose(oldVal, k, 'set')
710
- if (this.disposeAfter) {
711
- this.disposed.push([oldVal, k, 'set'])
712
- }
713
- }
714
- }
715
- this.removeItemSize(index)
716
- this.valList[index] = v
717
- this.addItemSize(index, size, status)
718
- if (status) {
719
- status.set = 'replace'
720
- const oldValue =
721
- oldVal && this.isBackgroundFetch(oldVal)
722
- ? oldVal.__staleWhileFetching
723
- : oldVal
724
- if (oldValue !== undefined) status.oldValue = oldValue
725
- }
726
- } else if (status) {
727
- status.set = 'update'
728
- }
729
- }
730
- if (ttl !== 0 && this.ttl === 0 && !this.ttls) {
731
- this.initializeTTLTracking()
732
- }
733
- if (!noUpdateTTL) {
734
- this.setItemTTL(index, ttl, start)
735
- }
736
- this.statusTTL(status, index)
737
- if (this.disposeAfter) {
738
- while (this.disposed.length) {
739
- this.disposeAfter(...this.disposed.shift())
740
- }
741
- }
742
- return this
743
- }
744
-
745
- newIndex() {
746
- if (this.size === 0) {
747
- return this.tail
748
- }
749
- if (this.size === this.max && this.max !== 0) {
750
- return this.evict(false)
751
- }
752
- if (this.free.length !== 0) {
753
- return this.free.pop()
754
- }
755
- // initial fill, just keep writing down the list
756
- return this.initialFill++
757
- }
758
-
759
- pop() {
760
- if (this.size) {
761
- const val = this.valList[this.head]
762
- this.evict(true)
763
- return val
764
- }
765
- }
766
-
767
- evict(free) {
768
- const head = this.head
769
- const k = this.keyList[head]
770
- const v = this.valList[head]
771
- if (this.isBackgroundFetch(v)) {
772
- v.__abortController.abort(new Error('evicted'))
773
- } else {
774
- this.dispose(v, k, 'evict')
775
- if (this.disposeAfter) {
776
- this.disposed.push([v, k, 'evict'])
777
- }
778
- }
779
- this.removeItemSize(head)
780
- // if we aren't about to use the index, then null these out
781
- if (free) {
782
- this.keyList[head] = null
783
- this.valList[head] = null
784
- this.free.push(head)
785
- }
786
- this.head = this.next[head]
787
- this.keyMap.delete(k)
788
- this.size--
789
- return head
790
- }
791
-
792
- has(k, { updateAgeOnHas = this.updateAgeOnHas, status } = {}) {
793
- const index = this.keyMap.get(k)
794
- if (index !== undefined) {
795
- if (!this.isStale(index)) {
796
- if (updateAgeOnHas) {
797
- this.updateItemAge(index)
798
- }
799
- if (status) status.has = 'hit'
800
- this.statusTTL(status, index)
801
- return true
802
- } else if (status) {
803
- status.has = 'stale'
804
- this.statusTTL(status, index)
805
- }
806
- } else if (status) {
807
- status.has = 'miss'
808
- }
809
- return false
810
- }
811
-
812
- // like get(), but without any LRU updating or TTL expiration
813
- peek(k, { allowStale = this.allowStale } = {}) {
814
- const index = this.keyMap.get(k)
815
- if (index !== undefined && (allowStale || !this.isStale(index))) {
816
- const v = this.valList[index]
817
- // either stale and allowed, or forcing a refresh of non-stale value
818
- return this.isBackgroundFetch(v) ? v.__staleWhileFetching : v
819
- }
820
- }
821
-
822
- backgroundFetch(k, index, options, context) {
823
- const v = index === undefined ? undefined : this.valList[index]
824
- if (this.isBackgroundFetch(v)) {
825
- return v
826
- }
827
- const ac = new AC()
828
- if (options.signal) {
829
- options.signal.addEventListener('abort', () =>
830
- ac.abort(options.signal.reason)
831
- )
832
- }
833
- const fetchOpts = {
834
- signal: ac.signal,
835
- options,
836
- context,
837
- }
838
- const cb = (v, updateCache = false) => {
839
- const { aborted } = ac.signal
840
- const ignoreAbort = options.ignoreFetchAbort && v !== undefined
841
- if (options.status) {
842
- if (aborted && !updateCache) {
843
- options.status.fetchAborted = true
844
- options.status.fetchError = ac.signal.reason
845
- if (ignoreAbort) options.status.fetchAbortIgnored = true
846
- } else {
847
- options.status.fetchResolved = true
848
- }
849
- }
850
- if (aborted && !ignoreAbort && !updateCache) {
851
- return fetchFail(ac.signal.reason)
852
- }
853
- // either we didn't abort, and are still here, or we did, and ignored
854
- if (this.valList[index] === p) {
855
- if (v === undefined) {
856
- if (p.__staleWhileFetching) {
857
- this.valList[index] = p.__staleWhileFetching
858
- } else {
859
- this.delete(k)
860
- }
861
- } else {
862
- if (options.status) options.status.fetchUpdated = true
863
- this.set(k, v, fetchOpts.options)
864
- }
865
- }
866
- return v
867
- }
868
- const eb = er => {
869
- if (options.status) {
870
- options.status.fetchRejected = true
871
- options.status.fetchError = er
872
- }
873
- return fetchFail(er)
874
- }
875
- const fetchFail = er => {
876
- const { aborted } = ac.signal
877
- const allowStaleAborted =
878
- aborted && options.allowStaleOnFetchAbort
879
- const allowStale =
880
- allowStaleAborted || options.allowStaleOnFetchRejection
881
- const noDelete = allowStale || options.noDeleteOnFetchRejection
882
- if (this.valList[index] === p) {
883
- // if we allow stale on fetch rejections, then we need to ensure that
884
- // the stale value is not removed from the cache when the fetch fails.
885
- const del = !noDelete || p.__staleWhileFetching === undefined
886
- if (del) {
887
- this.delete(k)
888
- } else if (!allowStaleAborted) {
889
- // still replace the *promise* with the stale value,
890
- // since we are done with the promise at this point.
891
- // leave it untouched if we're still waiting for an
892
- // aborted background fetch that hasn't yet returned.
893
- this.valList[index] = p.__staleWhileFetching
894
- }
895
- }
896
- if (allowStale) {
897
- if (options.status && p.__staleWhileFetching !== undefined) {
898
- options.status.returnedStale = true
899
- }
900
- return p.__staleWhileFetching
901
- } else if (p.__returned === p) {
902
- throw er
903
- }
904
- }
905
- const pcall = (res, rej) => {
906
- this.fetchMethod(k, v, fetchOpts).then(v => res(v), rej)
907
- // ignored, we go until we finish, regardless.
908
- // defer check until we are actually aborting,
909
- // so fetchMethod can override.
910
- ac.signal.addEventListener('abort', () => {
911
- if (
912
- !options.ignoreFetchAbort ||
913
- options.allowStaleOnFetchAbort
914
- ) {
915
- res()
916
- // when it eventually resolves, update the cache.
917
- if (options.allowStaleOnFetchAbort) {
918
- res = v => cb(v, true)
919
- }
920
- }
921
- })
922
- }
923
- if (options.status) options.status.fetchDispatched = true
924
- const p = new Promise(pcall).then(cb, eb)
925
- p.__abortController = ac
926
- p.__staleWhileFetching = v
927
- p.__returned = null
928
- if (index === undefined) {
929
- // internal, don't expose status.
930
- this.set(k, p, { ...fetchOpts.options, status: undefined })
931
- index = this.keyMap.get(k)
932
- } else {
933
- this.valList[index] = p
934
- }
935
- return p
936
- }
937
-
938
- isBackgroundFetch(p) {
939
- return (
940
- p &&
941
- typeof p === 'object' &&
942
- typeof p.then === 'function' &&
943
- Object.prototype.hasOwnProperty.call(
944
- p,
945
- '__staleWhileFetching'
946
- ) &&
947
- Object.prototype.hasOwnProperty.call(p, '__returned') &&
948
- (p.__returned === p || p.__returned === null)
949
- )
950
- }
951
-
952
- // this takes the union of get() and set() opts, because it does both
953
- async fetch(
954
- k,
955
- {
956
- // get options
957
- allowStale = this.allowStale,
958
- updateAgeOnGet = this.updateAgeOnGet,
959
- noDeleteOnStaleGet = this.noDeleteOnStaleGet,
960
- // set options
961
- ttl = this.ttl,
962
- noDisposeOnSet = this.noDisposeOnSet,
963
- size = 0,
964
- sizeCalculation = this.sizeCalculation,
965
- noUpdateTTL = this.noUpdateTTL,
966
- // fetch exclusive options
967
- noDeleteOnFetchRejection = this.noDeleteOnFetchRejection,
968
- allowStaleOnFetchRejection = this.allowStaleOnFetchRejection,
969
- ignoreFetchAbort = this.ignoreFetchAbort,
970
- allowStaleOnFetchAbort = this.allowStaleOnFetchAbort,
971
- fetchContext = this.fetchContext,
972
- forceRefresh = false,
973
- status,
974
- signal,
975
- } = {}
976
- ) {
977
- if (!this.fetchMethod) {
978
- if (status) status.fetch = 'get'
979
- return this.get(k, {
980
- allowStale,
981
- updateAgeOnGet,
982
- noDeleteOnStaleGet,
983
- status,
984
- })
985
- }
986
-
987
- const options = {
988
- allowStale,
989
- updateAgeOnGet,
990
- noDeleteOnStaleGet,
991
- ttl,
992
- noDisposeOnSet,
993
- size,
994
- sizeCalculation,
995
- noUpdateTTL,
996
- noDeleteOnFetchRejection,
997
- allowStaleOnFetchRejection,
998
- allowStaleOnFetchAbort,
999
- ignoreFetchAbort,
1000
- status,
1001
- signal,
1002
- }
1003
-
1004
- let index = this.keyMap.get(k)
1005
- if (index === undefined) {
1006
- if (status) status.fetch = 'miss'
1007
- const p = this.backgroundFetch(k, index, options, fetchContext)
1008
- return (p.__returned = p)
1009
- } else {
1010
- // in cache, maybe already fetching
1011
- const v = this.valList[index]
1012
- if (this.isBackgroundFetch(v)) {
1013
- const stale =
1014
- allowStale && v.__staleWhileFetching !== undefined
1015
- if (status) {
1016
- status.fetch = 'inflight'
1017
- if (stale) status.returnedStale = true
1018
- }
1019
- return stale ? v.__staleWhileFetching : (v.__returned = v)
1020
- }
1021
-
1022
- // if we force a refresh, that means do NOT serve the cached value,
1023
- // unless we are already in the process of refreshing the cache.
1024
- const isStale = this.isStale(index)
1025
- if (!forceRefresh && !isStale) {
1026
- if (status) status.fetch = 'hit'
1027
- this.moveToTail(index)
1028
- if (updateAgeOnGet) {
1029
- this.updateItemAge(index)
1030
- }
1031
- this.statusTTL(status, index)
1032
- return v
1033
- }
1034
-
1035
- // ok, it is stale or a forced refresh, and not already fetching.
1036
- // refresh the cache.
1037
- const p = this.backgroundFetch(k, index, options, fetchContext)
1038
- const hasStale = p.__staleWhileFetching !== undefined
1039
- const staleVal = hasStale && allowStale
1040
- if (status) {
1041
- status.fetch = hasStale && isStale ? 'stale' : 'refresh'
1042
- if (staleVal && isStale) status.returnedStale = true
1043
- }
1044
- return staleVal ? p.__staleWhileFetching : (p.__returned = p)
1045
- }
1046
- }
1047
-
1048
- get(
1049
- k,
1050
- {
1051
- allowStale = this.allowStale,
1052
- updateAgeOnGet = this.updateAgeOnGet,
1053
- noDeleteOnStaleGet = this.noDeleteOnStaleGet,
1054
- status,
1055
- } = {}
1056
- ) {
1057
- const index = this.keyMap.get(k)
1058
- if (index !== undefined) {
1059
- const value = this.valList[index]
1060
- const fetching = this.isBackgroundFetch(value)
1061
- this.statusTTL(status, index)
1062
- if (this.isStale(index)) {
1063
- if (status) status.get = 'stale'
1064
- // delete only if not an in-flight background fetch
1065
- if (!fetching) {
1066
- if (!noDeleteOnStaleGet) {
1067
- this.delete(k)
1068
- }
1069
- if (status) status.returnedStale = allowStale
1070
- return allowStale ? value : undefined
1071
- } else {
1072
- if (status) {
1073
- status.returnedStale =
1074
- allowStale && value.__staleWhileFetching !== undefined
1075
- }
1076
- return allowStale ? value.__staleWhileFetching : undefined
1077
- }
1078
- } else {
1079
- if (status) status.get = 'hit'
1080
- // if we're currently fetching it, we don't actually have it yet
1081
- // it's not stale, which means this isn't a staleWhileRefetching.
1082
- // If it's not stale, and fetching, AND has a __staleWhileFetching
1083
- // value, then that means the user fetched with {forceRefresh:true},
1084
- // so it's safe to return that value.
1085
- if (fetching) {
1086
- return value.__staleWhileFetching
1087
- }
1088
- this.moveToTail(index)
1089
- if (updateAgeOnGet) {
1090
- this.updateItemAge(index)
1091
- }
1092
- return value
1093
- }
1094
- } else if (status) {
1095
- status.get = 'miss'
1096
- }
1097
- }
1098
-
1099
- connect(p, n) {
1100
- this.prev[n] = p
1101
- this.next[p] = n
1102
- }
1103
-
1104
- moveToTail(index) {
1105
- // if tail already, nothing to do
1106
- // if head, move head to next[index]
1107
- // else
1108
- // move next[prev[index]] to next[index] (head has no prev)
1109
- // move prev[next[index]] to prev[index]
1110
- // prev[index] = tail
1111
- // next[tail] = index
1112
- // tail = index
1113
- if (index !== this.tail) {
1114
- if (index === this.head) {
1115
- this.head = this.next[index]
1116
- } else {
1117
- this.connect(this.prev[index], this.next[index])
1118
- }
1119
- this.connect(this.tail, index)
1120
- this.tail = index
1121
- }
1122
- }
1123
-
1124
- get del() {
1125
- deprecatedMethod('del', 'delete')
1126
- return this.delete
1127
- }
1128
-
1129
- delete(k) {
1130
- let deleted = false
1131
- if (this.size !== 0) {
1132
- const index = this.keyMap.get(k)
1133
- if (index !== undefined) {
1134
- deleted = true
1135
- if (this.size === 1) {
1136
- this.clear()
1137
- } else {
1138
- this.removeItemSize(index)
1139
- const v = this.valList[index]
1140
- if (this.isBackgroundFetch(v)) {
1141
- v.__abortController.abort(new Error('deleted'))
1142
- } else {
1143
- this.dispose(v, k, 'delete')
1144
- if (this.disposeAfter) {
1145
- this.disposed.push([v, k, 'delete'])
1146
- }
1147
- }
1148
- this.keyMap.delete(k)
1149
- this.keyList[index] = null
1150
- this.valList[index] = null
1151
- if (index === this.tail) {
1152
- this.tail = this.prev[index]
1153
- } else if (index === this.head) {
1154
- this.head = this.next[index]
1155
- } else {
1156
- this.next[this.prev[index]] = this.next[index]
1157
- this.prev[this.next[index]] = this.prev[index]
1158
- }
1159
- this.size--
1160
- this.free.push(index)
1161
- }
1162
- }
1163
- }
1164
- if (this.disposed) {
1165
- while (this.disposed.length) {
1166
- this.disposeAfter(...this.disposed.shift())
1167
- }
1168
- }
1169
- return deleted
1170
- }
1171
-
1172
- clear() {
1173
- for (const index of this.rindexes({ allowStale: true })) {
1174
- const v = this.valList[index]
1175
- if (this.isBackgroundFetch(v)) {
1176
- v.__abortController.abort(new Error('deleted'))
1177
- } else {
1178
- const k = this.keyList[index]
1179
- this.dispose(v, k, 'delete')
1180
- if (this.disposeAfter) {
1181
- this.disposed.push([v, k, 'delete'])
1182
- }
1183
- }
1184
- }
1185
-
1186
- this.keyMap.clear()
1187
- this.valList.fill(null)
1188
- this.keyList.fill(null)
1189
- if (this.ttls) {
1190
- this.ttls.fill(0)
1191
- this.starts.fill(0)
1192
- }
1193
- if (this.sizes) {
1194
- this.sizes.fill(0)
1195
- }
1196
- this.head = 0
1197
- this.tail = 0
1198
- this.initialFill = 1
1199
- this.free.length = 0
1200
- this.calculatedSize = 0
1201
- this.size = 0
1202
- if (this.disposed) {
1203
- while (this.disposed.length) {
1204
- this.disposeAfter(...this.disposed.shift())
1205
- }
1206
- }
1207
- }
1208
-
1209
- get reset() {
1210
- deprecatedMethod('reset', 'clear')
1211
- return this.clear
1212
- }
1213
-
1214
- get length() {
1215
- deprecatedProperty('length', 'size')
1216
- return this.size
1217
- }
1218
-
1219
- static get AbortController() {
1220
- return AC
1221
- }
1222
- static get AbortSignal() {
1223
- return AS
1224
- }
1225
- }
1226
-
1227
- module.exports = LRUCache