@psnext/slingcli 2.4.20260520-3 → 2.4.20260520-5

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 (1293) hide show
  1. package/README.md +9 -6
  2. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +5 -5
  3. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  4. package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +23 -0
  5. package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +1 -1
  6. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +557 -385
  7. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +13 -82
  8. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +61 -144
  9. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js +14 -36
  10. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +234 -96
  11. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +85 -55
  12. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js +101 -0
  13. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js +231 -0
  14. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js +42 -0
  15. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js +114 -0
  16. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js +39 -0
  17. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +3 -2
  18. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js +50 -0
  19. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +125 -73
  20. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js +86 -8
  21. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +85 -56
  22. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +103 -18
  23. package/node_modules/@earendil-works/pi-agent-core/dist/index.js +4 -4
  24. package/node_modules/@earendil-works/pi-agent-core/dist/node.js +3 -0
  25. package/node_modules/@earendil-works/pi-agent-core/package.json +23 -10
  26. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +11 -3
  27. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +118 -354
  28. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +35 -32
  29. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +5 -2
  30. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +19 -2
  31. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +35 -4
  32. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +24 -10
  33. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.js +10 -0
  34. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +19 -2
  35. package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.js +13 -2
  36. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +6 -4
  37. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +2 -2
  38. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +97 -0
  39. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +1 -1
  40. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +3 -1
  41. package/node_modules/@earendil-works/pi-ai/package.json +15 -20
  42. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/config-selector.js +1 -1
  43. package/node_modules/@earendil-works/pi-coding-agent/dist/cli.js +4 -6
  44. package/node_modules/@earendil-works/pi-coding-agent/dist/config.js +45 -22
  45. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session-runtime.js +4 -5
  46. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +127 -151
  47. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +1 -1
  48. package/node_modules/@earendil-works/pi-coding-agent/dist/core/bash-executor.js +1 -1
  49. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +25 -15
  50. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/template.js +17 -3
  51. package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js +48 -0
  52. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +2 -2
  53. package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +71 -33
  54. package/node_modules/@earendil-works/pi-coding-agent/dist/core/prompt-templates.js +6 -4
  55. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +1 -1
  56. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js +39 -9
  57. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js +20 -0
  58. package/node_modules/@earendil-works/pi-coding-agent/dist/core/skills.js +2 -5
  59. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +7 -4
  60. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +1 -0
  61. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/render-utils.js +1 -1
  62. package/node_modules/@earendil-works/pi-coding-agent/dist/index.js +1 -0
  63. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +7 -11
  64. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +1 -1
  65. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +7 -4
  66. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +2 -2
  67. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +14 -6
  68. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +6 -1
  69. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +2 -2
  70. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +2 -2
  71. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +15 -0
  72. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +99 -17
  73. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/dark.json +5 -4
  74. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/light.json +5 -4
  75. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/theme/theme.js +83 -41
  76. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js +1 -1
  77. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +62 -7
  78. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/ansi.js +52 -0
  79. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.js +9 -7
  80. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/html.js +40 -0
  81. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.js +59 -16
  82. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/paths.js +16 -0
  83. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/shell.js +6 -1
  84. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/syntax-highlight.js +118 -0
  85. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/tools-manager.js +80 -8
  86. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/version-check.js +9 -4
  87. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/windows-self-update.js +77 -0
  88. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/LICENSE +21 -0
  89. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Agent.md +84 -0
  90. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  91. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  92. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
  93. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Client.md +287 -0
  94. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
  95. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Connector.md +115 -0
  96. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  97. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Cookies.md +101 -0
  98. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Debug.md +62 -0
  99. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +315 -0
  100. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Dispatcher.md +1427 -0
  101. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
  102. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Errors.md +49 -0
  103. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  104. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Fetch.md +60 -0
  105. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/GlobalInstallation.md +141 -0
  106. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
  107. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
  108. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
  109. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
  110. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/MockClient.md +81 -0
  111. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  112. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/MockPool.md +555 -0
  113. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Pool.md +84 -0
  114. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  115. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
  116. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/RedirectHandler.md +98 -0
  117. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/RetryAgent.md +49 -0
  118. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/RetryHandler.md +116 -0
  119. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
  120. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/SnapshotAgent.md +639 -0
  121. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +274 -0
  122. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Util.md +25 -0
  123. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
  124. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  125. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  126. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
  127. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +231 -0
  128. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
  129. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  130. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
  131. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
  132. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/index-fetch.js +65 -0
  133. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/index.js +236 -0
  134. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/abort-signal.js +59 -0
  135. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/api-connect.js +112 -0
  136. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/api-pipeline.js +265 -0
  137. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/api-request.js +238 -0
  138. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/api-stream.js +270 -0
  139. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/api-upgrade.js +121 -0
  140. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/index.js +7 -0
  141. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/readable.js +581 -0
  142. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/cache/memory-cache-store.js +234 -0
  143. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/cache/sqlite-cache-store.js +463 -0
  144. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/connect.js +153 -0
  145. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/constants.js +120 -0
  146. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/diagnostics.js +227 -0
  147. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/errors.js +477 -0
  148. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/request.js +535 -0
  149. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/socks5-client.js +422 -0
  150. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/socks5-utils.js +212 -0
  151. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/symbols.js +76 -0
  152. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/tree.js +160 -0
  153. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/util.js +1019 -0
  154. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/agent.js +172 -0
  155. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/balanced-pool.js +214 -0
  156. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client-h1.js +1669 -0
  157. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client-h2.js +1326 -0
  158. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client.js +666 -0
  159. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  160. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher.js +44 -0
  161. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +107 -0
  162. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  163. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  164. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  165. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/pool-base.js +232 -0
  166. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/pool.js +143 -0
  167. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/proxy-agent.js +343 -0
  168. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  169. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/round-robin-pool.js +159 -0
  170. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +264 -0
  171. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/encoding/index.js +33 -0
  172. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/global.js +62 -0
  173. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/cache-handler.js +586 -0
  174. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  175. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/decorator-handler.js +66 -0
  176. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  177. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/redirect-handler.js +192 -0
  178. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/retry-handler.js +407 -0
  179. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/cache.js +508 -0
  180. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/decompress.js +285 -0
  181. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  182. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/dns.js +571 -0
  183. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/dump.js +112 -0
  184. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/redirect.js +21 -0
  185. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/response-error.js +95 -0
  186. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/retry.js +19 -0
  187. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/llhttp/constants.js +531 -0
  188. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  189. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  190. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/llhttp/utils.js +12 -0
  191. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-agent.js +232 -0
  192. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  193. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-client.js +68 -0
  194. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-errors.js +29 -0
  195. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  196. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-pool.js +68 -0
  197. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  198. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-utils.js +501 -0
  199. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  200. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/snapshot-agent.js +363 -0
  201. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/snapshot-recorder.js +623 -0
  202. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  203. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/cache.js +408 -0
  204. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/date.js +653 -0
  205. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/runtime-features.js +93 -0
  206. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/stats.js +32 -0
  207. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/timers.js +425 -0
  208. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cache/cache.js +862 -0
  209. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  210. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cache/util.js +45 -0
  211. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/constants.js +12 -0
  212. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/index.js +199 -0
  213. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/parse.js +322 -0
  214. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/util.js +282 -0
  215. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
  216. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  217. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/util.js +29 -0
  218. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  219. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/body.js +503 -0
  220. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/constants.js +131 -0
  221. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  222. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  223. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/formdata.js +278 -0
  224. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/global.js +40 -0
  225. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/headers.js +719 -0
  226. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/index.js +2403 -0
  227. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/request.js +1115 -0
  228. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/response.js +641 -0
  229. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/util.js +1522 -0
  230. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/infra/index.js +229 -0
  231. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  232. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  233. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/webidl/index.js +1004 -0
  234. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/connection.js +329 -0
  235. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/constants.js +126 -0
  236. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/events.js +331 -0
  237. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/frame.js +127 -0
  238. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  239. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/receiver.js +490 -0
  240. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/sender.js +109 -0
  241. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  242. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/stream/websocketstream.js +491 -0
  243. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/util.js +347 -0
  244. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/websocket.js +756 -0
  245. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/package.json +152 -0
  246. package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/scripts/strip-comments.js +10 -0
  247. package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +1803 -0
  248. package/node_modules/@earendil-works/pi-coding-agent/package.json +34 -36
  249. package/node_modules/@earendil-works/pi-tui/dist/components/image.js +27 -14
  250. package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +4 -4
  251. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +11 -5
  252. package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js +22 -0
  253. package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +27 -15
  254. package/node_modules/@earendil-works/pi-tui/package.json +9 -12
  255. package/node_modules/cross-spawn/LICENSE +21 -0
  256. package/node_modules/cross-spawn/README.md +89 -0
  257. package/node_modules/cross-spawn/index.js +39 -0
  258. package/node_modules/cross-spawn/lib/enoent.js +59 -0
  259. package/node_modules/cross-spawn/lib/parse.js +91 -0
  260. package/node_modules/cross-spawn/lib/util/escape.js +47 -0
  261. package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  262. package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  263. package/node_modules/cross-spawn/package.json +73 -0
  264. package/node_modules/isexe/.npmignore +2 -0
  265. package/node_modules/isexe/README.md +51 -0
  266. package/node_modules/isexe/index.js +57 -0
  267. package/node_modules/isexe/mode.js +41 -0
  268. package/node_modules/isexe/package.json +31 -0
  269. package/node_modules/isexe/test/basic.js +221 -0
  270. package/node_modules/isexe/windows.js +42 -0
  271. package/node_modules/path-key/index.d.ts +40 -0
  272. package/node_modules/path-key/index.js +16 -0
  273. package/node_modules/path-key/package.json +39 -0
  274. package/node_modules/path-key/readme.md +61 -0
  275. package/node_modules/shebang-command/index.js +19 -0
  276. package/node_modules/shebang-command/license +9 -0
  277. package/node_modules/shebang-command/package.json +34 -0
  278. package/node_modules/shebang-command/readme.md +34 -0
  279. package/node_modules/shebang-regex/index.d.ts +22 -0
  280. package/node_modules/shebang-regex/index.js +2 -0
  281. package/node_modules/shebang-regex/package.json +35 -0
  282. package/node_modules/shebang-regex/readme.md +33 -0
  283. package/node_modules/which/README.md +54 -0
  284. package/node_modules/which/bin/node-which +52 -0
  285. package/node_modules/which/package.json +43 -0
  286. package/node_modules/which/which.js +125 -0
  287. package/package.json +6 -6
  288. package/slingshot/index.js +259 -255
  289. package/node_modules/@borewit/text-codec/LICENSE.txt +0 -9
  290. package/node_modules/@borewit/text-codec/README.md +0 -87
  291. package/node_modules/@borewit/text-codec/lib/index.d.ts +0 -6
  292. package/node_modules/@borewit/text-codec/lib/index.js +0 -380
  293. package/node_modules/@borewit/text-codec/package.json +0 -70
  294. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution-env.js +0 -3
  295. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/jsonl.js +0 -92
  296. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/memory.js +0 -42
  297. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo/shared.js +0 -31
  298. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/jsonl.js +0 -170
  299. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/storage/memory.js +0 -90
  300. package/node_modules/@tokenizer/inflate/LICENSE +0 -15
  301. package/node_modules/@tokenizer/inflate/README.md +0 -114
  302. package/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +0 -6
  303. package/node_modules/@tokenizer/inflate/lib/GzipHandler.js +0 -19
  304. package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +0 -26
  305. package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +0 -233
  306. package/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +0 -94
  307. package/node_modules/@tokenizer/inflate/lib/ZipToken.js +0 -117
  308. package/node_modules/@tokenizer/inflate/lib/index.d.ts +0 -3
  309. package/node_modules/@tokenizer/inflate/lib/index.js +0 -2
  310. package/node_modules/@tokenizer/inflate/package.json +0 -76
  311. package/node_modules/@tokenizer/token/README.md +0 -19
  312. package/node_modules/@tokenizer/token/index.d.ts +0 -30
  313. package/node_modules/@tokenizer/token/package.json +0 -33
  314. package/node_modules/@tootallnate/quickjs-emscripten/LICENSE +0 -21
  315. package/node_modules/@tootallnate/quickjs-emscripten/README.md +0 -597
  316. package/node_modules/@tootallnate/quickjs-emscripten/c/interface.c +0 -819
  317. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.d.ts +0 -24
  318. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js +0 -53
  319. package/node_modules/@tootallnate/quickjs-emscripten/dist/asyncify-helpers.js.map +0 -1
  320. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.d.ts +0 -48
  321. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js +0 -58
  322. package/node_modules/@tootallnate/quickjs-emscripten/dist/context-asyncify.js.map +0 -1
  323. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts +0 -371
  324. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.js +0 -691
  325. package/node_modules/@tootallnate/quickjs-emscripten/dist/context.js.map +0 -1
  326. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.d.ts +0 -5
  327. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js +0 -6
  328. package/node_modules/@tootallnate/quickjs-emscripten/dist/debug.js.map +0 -1
  329. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.d.ts +0 -75
  330. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js +0 -96
  331. package/node_modules/@tootallnate/quickjs-emscripten/dist/deferred-promise.js.map +0 -1
  332. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.d.ts +0 -97
  333. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js +0 -15
  334. package/node_modules/@tootallnate/quickjs-emscripten/dist/emscripten-types.js.map +0 -1
  335. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.d.ts +0 -28
  336. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js +0 -58
  337. package/node_modules/@tootallnate/quickjs-emscripten/dist/errors.js.map +0 -1
  338. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.d.ts +0 -9
  339. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js +0 -19
  340. package/node_modules/@tootallnate/quickjs-emscripten/dist/esmHelpers.js.map +0 -1
  341. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.d.ts +0 -5
  342. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js +0 -387
  343. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/emscripten-module.WASM_RELEASE_SYNC.js.map +0 -1
  344. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.d.ts +0 -67
  345. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js +0 -71
  346. package/node_modules/@tootallnate/quickjs-emscripten/dist/generated/ffi.WASM_RELEASE_SYNC.js.map +0 -1
  347. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts +0 -75
  348. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.js +0 -128
  349. package/node_modules/@tootallnate/quickjs-emscripten/dist/index.js.map +0 -1
  350. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.d.ts +0 -115
  351. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js +0 -227
  352. package/node_modules/@tootallnate/quickjs-emscripten/dist/lifetime.js.map +0 -1
  353. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts +0 -18
  354. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js +0 -41
  355. package/node_modules/@tootallnate/quickjs-emscripten/dist/memory.js.map +0 -1
  356. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.d.ts +0 -53
  357. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js +0 -97
  358. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-asyncify.js.map +0 -1
  359. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.d.ts +0 -27
  360. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js +0 -77
  361. package/node_modules/@tootallnate/quickjs-emscripten/dist/module-test.js.map +0 -1
  362. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.d.ts +0 -152
  363. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.js +0 -302
  364. package/node_modules/@tootallnate/quickjs-emscripten/dist/module.js.map +0 -1
  365. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.d.ts +0 -38
  366. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js +0 -49
  367. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime-asyncify.js.map +0 -1
  368. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.d.ts +0 -174
  369. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js +0 -300
  370. package/node_modules/@tootallnate/quickjs-emscripten/dist/runtime.js.map +0 -1
  371. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.d.ts +0 -114
  372. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js +0 -38
  373. package/node_modules/@tootallnate/quickjs-emscripten/dist/types-ffi.js.map +0 -1
  374. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.d.ts +0 -158
  375. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.js +0 -58
  376. package/node_modules/@tootallnate/quickjs-emscripten/dist/types.js.map +0 -1
  377. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.d.ts +0 -113
  378. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js +0 -169
  379. package/node_modules/@tootallnate/quickjs-emscripten/dist/variants.js.map +0 -1
  380. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.d.ts +0 -68
  381. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js +0 -12
  382. package/node_modules/@tootallnate/quickjs-emscripten/dist/vm-interface.js.map +0 -1
  383. package/node_modules/@tootallnate/quickjs-emscripten/package.json +0 -60
  384. package/node_modules/@types/mime-types/LICENSE +0 -21
  385. package/node_modules/@types/mime-types/README.md +0 -28
  386. package/node_modules/@types/mime-types/index.d.ts +0 -9
  387. package/node_modules/@types/mime-types/package.json +0 -25
  388. package/node_modules/@types/yauzl/LICENSE +0 -21
  389. package/node_modules/@types/yauzl/README.md +0 -15
  390. package/node_modules/@types/yauzl/index.d.ts +0 -110
  391. package/node_modules/@types/yauzl/package.json +0 -27
  392. package/node_modules/ansi-regex/index.d.ts +0 -33
  393. package/node_modules/ansi-regex/index.js +0 -14
  394. package/node_modules/ansi-regex/license +0 -9
  395. package/node_modules/ansi-regex/package.json +0 -61
  396. package/node_modules/ansi-regex/readme.md +0 -66
  397. package/node_modules/ansi-styles/index.d.ts +0 -345
  398. package/node_modules/ansi-styles/index.js +0 -163
  399. package/node_modules/ansi-styles/package.json +0 -56
  400. package/node_modules/ansi-styles/readme.md +0 -152
  401. package/node_modules/any-promise/.jshintrc +0 -4
  402. package/node_modules/any-promise/.npmignore +0 -7
  403. package/node_modules/any-promise/LICENSE +0 -19
  404. package/node_modules/any-promise/README.md +0 -161
  405. package/node_modules/any-promise/implementation.d.ts +0 -3
  406. package/node_modules/any-promise/implementation.js +0 -1
  407. package/node_modules/any-promise/index.d.ts +0 -73
  408. package/node_modules/any-promise/index.js +0 -1
  409. package/node_modules/any-promise/loader.js +0 -78
  410. package/node_modules/any-promise/optional.js +0 -6
  411. package/node_modules/any-promise/package.json +0 -45
  412. package/node_modules/any-promise/register/bluebird.d.ts +0 -1
  413. package/node_modules/any-promise/register/bluebird.js +0 -2
  414. package/node_modules/any-promise/register/es6-promise.d.ts +0 -1
  415. package/node_modules/any-promise/register/es6-promise.js +0 -2
  416. package/node_modules/any-promise/register/lie.d.ts +0 -1
  417. package/node_modules/any-promise/register/lie.js +0 -2
  418. package/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
  419. package/node_modules/any-promise/register/native-promise-only.js +0 -2
  420. package/node_modules/any-promise/register/pinkie.d.ts +0 -1
  421. package/node_modules/any-promise/register/pinkie.js +0 -2
  422. package/node_modules/any-promise/register/promise.d.ts +0 -1
  423. package/node_modules/any-promise/register/promise.js +0 -2
  424. package/node_modules/any-promise/register/q.d.ts +0 -1
  425. package/node_modules/any-promise/register/q.js +0 -2
  426. package/node_modules/any-promise/register/rsvp.d.ts +0 -1
  427. package/node_modules/any-promise/register/rsvp.js +0 -2
  428. package/node_modules/any-promise/register/vow.d.ts +0 -1
  429. package/node_modules/any-promise/register/vow.js +0 -2
  430. package/node_modules/any-promise/register/when.d.ts +0 -1
  431. package/node_modules/any-promise/register/when.js +0 -2
  432. package/node_modules/any-promise/register-shim.js +0 -18
  433. package/node_modules/any-promise/register.d.ts +0 -17
  434. package/node_modules/any-promise/register.js +0 -94
  435. package/node_modules/ast-types/.github/dependabot.yml +0 -9
  436. package/node_modules/ast-types/.github/workflows/main.yml +0 -29
  437. package/node_modules/ast-types/LICENSE +0 -20
  438. package/node_modules/ast-types/README.md +0 -512
  439. package/node_modules/ast-types/def/babel-core.d.ts +0 -2
  440. package/node_modules/ast-types/def/babel-core.js +0 -256
  441. package/node_modules/ast-types/def/babel.d.ts +0 -2
  442. package/node_modules/ast-types/def/babel.js +0 -11
  443. package/node_modules/ast-types/def/core.d.ts +0 -2
  444. package/node_modules/ast-types/def/core.js +0 -298
  445. package/node_modules/ast-types/def/es-proposals.d.ts +0 -2
  446. package/node_modules/ast-types/def/es-proposals.js +0 -33
  447. package/node_modules/ast-types/def/es2020.d.ts +0 -2
  448. package/node_modules/ast-types/def/es2020.js +0 -16
  449. package/node_modules/ast-types/def/es6.d.ts +0 -2
  450. package/node_modules/ast-types/def/es6.js +0 -210
  451. package/node_modules/ast-types/def/es7.d.ts +0 -2
  452. package/node_modules/ast-types/def/es7.js +0 -34
  453. package/node_modules/ast-types/def/esprima.d.ts +0 -2
  454. package/node_modules/ast-types/def/esprima.js +0 -49
  455. package/node_modules/ast-types/def/flow.d.ts +0 -2
  456. package/node_modules/ast-types/def/flow.js +0 -292
  457. package/node_modules/ast-types/def/jsx.d.ts +0 -2
  458. package/node_modules/ast-types/def/jsx.js +0 -103
  459. package/node_modules/ast-types/def/type-annotations.d.ts +0 -7
  460. package/node_modules/ast-types/def/type-annotations.js +0 -40
  461. package/node_modules/ast-types/def/typescript.d.ts +0 -2
  462. package/node_modules/ast-types/def/typescript.js +0 -344
  463. package/node_modules/ast-types/fork.d.ts +0 -42
  464. package/node_modules/ast-types/fork.js +0 -52
  465. package/node_modules/ast-types/gen/builders.d.ts +0 -2584
  466. package/node_modules/ast-types/gen/builders.js +0 -2
  467. package/node_modules/ast-types/gen/kinds.d.ts +0 -264
  468. package/node_modules/ast-types/gen/kinds.js +0 -2
  469. package/node_modules/ast-types/gen/namedTypes.d.ts +0 -1809
  470. package/node_modules/ast-types/gen/namedTypes.js +0 -6
  471. package/node_modules/ast-types/gen/visitor.d.ts +0 -268
  472. package/node_modules/ast-types/gen/visitor.js +0 -2
  473. package/node_modules/ast-types/lib/equiv.d.ts +0 -5
  474. package/node_modules/ast-types/lib/equiv.js +0 -154
  475. package/node_modules/ast-types/lib/node-path.d.ts +0 -22
  476. package/node_modules/ast-types/lib/node-path.js +0 -411
  477. package/node_modules/ast-types/lib/path-visitor.d.ts +0 -52
  478. package/node_modules/ast-types/lib/path-visitor.js +0 -343
  479. package/node_modules/ast-types/lib/path.d.ts +0 -25
  480. package/node_modules/ast-types/lib/path.js +0 -331
  481. package/node_modules/ast-types/lib/scope.d.ts +0 -26
  482. package/node_modules/ast-types/lib/scope.js +0 -318
  483. package/node_modules/ast-types/lib/shared.d.ts +0 -13
  484. package/node_modules/ast-types/lib/shared.js +0 -47
  485. package/node_modules/ast-types/lib/types.d.ts +0 -136
  486. package/node_modules/ast-types/lib/types.js +0 -780
  487. package/node_modules/ast-types/main.d.ts +0 -28
  488. package/node_modules/ast-types/main.js +0 -53
  489. package/node_modules/ast-types/package.json +0 -65
  490. package/node_modules/ast-types/tsconfig.json +0 -21
  491. package/node_modules/ast-types/types.d.ts +0 -6
  492. package/node_modules/ast-types/types.js +0 -2
  493. package/node_modules/basic-ftp/LICENSE.txt +0 -19
  494. package/node_modules/basic-ftp/README.md +0 -244
  495. package/node_modules/basic-ftp/dist/Client.d.ts +0 -340
  496. package/node_modules/basic-ftp/dist/Client.js +0 -785
  497. package/node_modules/basic-ftp/dist/FileInfo.d.ts +0 -80
  498. package/node_modules/basic-ftp/dist/FileInfo.js +0 -92
  499. package/node_modules/basic-ftp/dist/FtpContext.d.ts +0 -175
  500. package/node_modules/basic-ftp/dist/FtpContext.js +0 -375
  501. package/node_modules/basic-ftp/dist/ProgressTracker.d.ts +0 -45
  502. package/node_modules/basic-ftp/dist/ProgressTracker.js +0 -72
  503. package/node_modules/basic-ftp/dist/StringEncoding.d.ts +0 -1
  504. package/node_modules/basic-ftp/dist/StringEncoding.js +0 -2
  505. package/node_modules/basic-ftp/dist/StringWriter.d.ts +0 -10
  506. package/node_modules/basic-ftp/dist/StringWriter.js +0 -29
  507. package/node_modules/basic-ftp/dist/index.d.ts +0 -9
  508. package/node_modules/basic-ftp/dist/index.js +0 -28
  509. package/node_modules/basic-ftp/dist/netUtils.d.ts +0 -21
  510. package/node_modules/basic-ftp/dist/netUtils.js +0 -66
  511. package/node_modules/basic-ftp/dist/parseControlResponse.d.ts +0 -22
  512. package/node_modules/basic-ftp/dist/parseControlResponse.js +0 -66
  513. package/node_modules/basic-ftp/dist/parseList.d.ts +0 -5
  514. package/node_modules/basic-ftp/dist/parseList.js +0 -79
  515. package/node_modules/basic-ftp/dist/parseListDOS.d.ts +0 -12
  516. package/node_modules/basic-ftp/dist/parseListDOS.js +0 -52
  517. package/node_modules/basic-ftp/dist/parseListMLSD.d.ts +0 -20
  518. package/node_modules/basic-ftp/dist/parseListMLSD.js +0 -187
  519. package/node_modules/basic-ftp/dist/parseListUnix.d.ts +0 -12
  520. package/node_modules/basic-ftp/dist/parseListUnix.js +0 -155
  521. package/node_modules/basic-ftp/dist/transfer.d.ts +0 -39
  522. package/node_modules/basic-ftp/dist/transfer.js +0 -318
  523. package/node_modules/basic-ftp/package.json +0 -52
  524. package/node_modules/buffer-crc32/LICENSE +0 -19
  525. package/node_modules/buffer-crc32/README.md +0 -47
  526. package/node_modules/buffer-crc32/index.js +0 -111
  527. package/node_modules/buffer-crc32/package.json +0 -39
  528. package/node_modules/cli-highlight/LICENSE.txt +0 -15
  529. package/node_modules/cli-highlight/README.md +0 -88
  530. package/node_modules/cli-highlight/bin/highlight +0 -2
  531. package/node_modules/cli-highlight/dist/cli.d.ts +0 -1
  532. package/node_modules/cli-highlight/dist/cli.js +0 -102
  533. package/node_modules/cli-highlight/dist/cli.js.map +0 -1
  534. package/node_modules/cli-highlight/dist/index.d.ts +0 -53
  535. package/node_modules/cli-highlight/dist/index.js +0 -112
  536. package/node_modules/cli-highlight/dist/index.js.map +0 -1
  537. package/node_modules/cli-highlight/dist/test/test.d.ts +0 -1
  538. package/node_modules/cli-highlight/dist/test/test.js +0 -62
  539. package/node_modules/cli-highlight/dist/test/test.js.map +0 -1
  540. package/node_modules/cli-highlight/dist/theme.d.ts +0 -270
  541. package/node_modules/cli-highlight/dist/theme.js +0 -265
  542. package/node_modules/cli-highlight/dist/theme.js.map +0 -1
  543. package/node_modules/cli-highlight/node_modules/chalk/index.d.ts +0 -415
  544. package/node_modules/cli-highlight/node_modules/chalk/package.json +0 -68
  545. package/node_modules/cli-highlight/node_modules/chalk/readme.md +0 -341
  546. package/node_modules/cli-highlight/node_modules/chalk/source/index.js +0 -229
  547. package/node_modules/cli-highlight/node_modules/chalk/source/templates.js +0 -134
  548. package/node_modules/cli-highlight/node_modules/chalk/source/util.js +0 -39
  549. package/node_modules/cli-highlight/package.json +0 -129
  550. package/node_modules/cliui/LICENSE.txt +0 -14
  551. package/node_modules/cliui/README.md +0 -141
  552. package/node_modules/cliui/build/index.cjs +0 -302
  553. package/node_modules/cliui/build/lib/index.js +0 -287
  554. package/node_modules/cliui/build/lib/string-utils.js +0 -27
  555. package/node_modules/cliui/index.mjs +0 -13
  556. package/node_modules/cliui/node_modules/ansi-regex/index.d.ts +0 -37
  557. package/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
  558. package/node_modules/cliui/node_modules/ansi-regex/license +0 -9
  559. package/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
  560. package/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
  561. package/node_modules/cliui/node_modules/strip-ansi/index.d.ts +0 -17
  562. package/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
  563. package/node_modules/cliui/node_modules/strip-ansi/license +0 -9
  564. package/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
  565. package/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
  566. package/node_modules/cliui/package.json +0 -83
  567. package/node_modules/color-convert/LICENSE +0 -21
  568. package/node_modules/color-convert/README.md +0 -68
  569. package/node_modules/color-convert/conversions.js +0 -839
  570. package/node_modules/color-convert/index.js +0 -81
  571. package/node_modules/color-convert/package.json +0 -48
  572. package/node_modules/color-convert/route.js +0 -97
  573. package/node_modules/color-name/LICENSE +0 -8
  574. package/node_modules/color-name/README.md +0 -11
  575. package/node_modules/color-name/index.js +0 -152
  576. package/node_modules/color-name/package.json +0 -28
  577. package/node_modules/degenerator/README.md +0 -117
  578. package/node_modules/degenerator/dist/compile.d.ts +0 -11
  579. package/node_modules/degenerator/dist/compile.d.ts.map +0 -1
  580. package/node_modules/degenerator/dist/compile.js +0 -107
  581. package/node_modules/degenerator/dist/compile.js.map +0 -1
  582. package/node_modules/degenerator/dist/degenerator.d.ts +0 -12
  583. package/node_modules/degenerator/dist/degenerator.d.ts.map +0 -1
  584. package/node_modules/degenerator/dist/degenerator.js +0 -156
  585. package/node_modules/degenerator/dist/degenerator.js.map +0 -1
  586. package/node_modules/degenerator/dist/index.d.ts +0 -3
  587. package/node_modules/degenerator/dist/index.d.ts.map +0 -1
  588. package/node_modules/degenerator/dist/index.js +0 -19
  589. package/node_modules/degenerator/dist/index.js.map +0 -1
  590. package/node_modules/degenerator/package.json +0 -42
  591. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  592. package/node_modules/emoji-regex/README.md +0 -73
  593. package/node_modules/emoji-regex/es2015/index.js +0 -6
  594. package/node_modules/emoji-regex/es2015/text.js +0 -6
  595. package/node_modules/emoji-regex/index.d.ts +0 -23
  596. package/node_modules/emoji-regex/index.js +0 -6
  597. package/node_modules/emoji-regex/package.json +0 -50
  598. package/node_modules/emoji-regex/text.js +0 -6
  599. package/node_modules/end-of-stream/LICENSE +0 -21
  600. package/node_modules/end-of-stream/README.md +0 -54
  601. package/node_modules/end-of-stream/index.js +0 -96
  602. package/node_modules/end-of-stream/package.json +0 -37
  603. package/node_modules/escalade/dist/index.js +0 -22
  604. package/node_modules/escalade/dist/index.mjs +0 -22
  605. package/node_modules/escalade/index.d.mts +0 -11
  606. package/node_modules/escalade/index.d.ts +0 -15
  607. package/node_modules/escalade/license +0 -9
  608. package/node_modules/escalade/package.json +0 -74
  609. package/node_modules/escalade/readme.md +0 -211
  610. package/node_modules/escalade/sync/index.d.mts +0 -9
  611. package/node_modules/escalade/sync/index.d.ts +0 -13
  612. package/node_modules/escalade/sync/index.js +0 -18
  613. package/node_modules/escalade/sync/index.mjs +0 -18
  614. package/node_modules/escodegen/LICENSE.BSD +0 -21
  615. package/node_modules/escodegen/README.md +0 -84
  616. package/node_modules/escodegen/bin/escodegen.js +0 -77
  617. package/node_modules/escodegen/bin/esgenerate.js +0 -64
  618. package/node_modules/escodegen/escodegen.js +0 -2667
  619. package/node_modules/escodegen/package.json +0 -63
  620. package/node_modules/esprima/LICENSE.BSD +0 -21
  621. package/node_modules/esprima/README.md +0 -46
  622. package/node_modules/esprima/bin/esparse.js +0 -139
  623. package/node_modules/esprima/bin/esvalidate.js +0 -236
  624. package/node_modules/esprima/dist/esprima.js +0 -6709
  625. package/node_modules/esprima/package.json +0 -112
  626. package/node_modules/estraverse/.jshintrc +0 -16
  627. package/node_modules/estraverse/LICENSE.BSD +0 -19
  628. package/node_modules/estraverse/README.md +0 -153
  629. package/node_modules/estraverse/estraverse.js +0 -805
  630. package/node_modules/estraverse/gulpfile.js +0 -70
  631. package/node_modules/estraverse/package.json +0 -40
  632. package/node_modules/esutils/LICENSE.BSD +0 -19
  633. package/node_modules/esutils/README.md +0 -174
  634. package/node_modules/esutils/lib/ast.js +0 -144
  635. package/node_modules/esutils/lib/code.js +0 -135
  636. package/node_modules/esutils/lib/keyword.js +0 -165
  637. package/node_modules/esutils/lib/utils.js +0 -33
  638. package/node_modules/esutils/package.json +0 -44
  639. package/node_modules/extract-zip/LICENSE +0 -23
  640. package/node_modules/extract-zip/cli.js +0 -19
  641. package/node_modules/extract-zip/index.d.ts +0 -21
  642. package/node_modules/extract-zip/index.js +0 -173
  643. package/node_modules/extract-zip/package.json +0 -80
  644. package/node_modules/extract-zip/readme.md +0 -57
  645. package/node_modules/fd-slicer/.npmignore +0 -2
  646. package/node_modules/fd-slicer/.travis.yml +0 -7
  647. package/node_modules/fd-slicer/CHANGELOG.md +0 -49
  648. package/node_modules/fd-slicer/LICENSE +0 -21
  649. package/node_modules/fd-slicer/README.md +0 -199
  650. package/node_modules/fd-slicer/index.js +0 -296
  651. package/node_modules/fd-slicer/package.json +0 -36
  652. package/node_modules/fd-slicer/test/test.js +0 -350
  653. package/node_modules/file-type/core.d.ts +0 -253
  654. package/node_modules/file-type/core.js +0 -2899
  655. package/node_modules/file-type/index.d.ts +0 -98
  656. package/node_modules/file-type/index.js +0 -163
  657. package/node_modules/file-type/license +0 -9
  658. package/node_modules/file-type/package.json +0 -290
  659. package/node_modules/file-type/readme.md +0 -667
  660. package/node_modules/file-type/supported.js +0 -360
  661. package/node_modules/file-type/util.js +0 -60
  662. package/node_modules/get-caller-file/LICENSE.md +0 -6
  663. package/node_modules/get-caller-file/README.md +0 -41
  664. package/node_modules/get-caller-file/index.d.ts +0 -2
  665. package/node_modules/get-caller-file/index.js +0 -22
  666. package/node_modules/get-caller-file/index.js.map +0 -1
  667. package/node_modules/get-caller-file/package.json +0 -42
  668. package/node_modules/get-stream/buffer-stream.js +0 -52
  669. package/node_modules/get-stream/index.d.ts +0 -108
  670. package/node_modules/get-stream/index.js +0 -60
  671. package/node_modules/get-stream/license +0 -9
  672. package/node_modules/get-stream/package.json +0 -50
  673. package/node_modules/get-stream/readme.md +0 -124
  674. package/node_modules/get-uri/LICENSE +0 -22
  675. package/node_modules/get-uri/README.md +0 -109
  676. package/node_modules/get-uri/dist/data.d.ts +0 -16
  677. package/node_modules/get-uri/dist/data.js +0 -43
  678. package/node_modules/get-uri/dist/data.js.map +0 -1
  679. package/node_modules/get-uri/dist/file.d.ts +0 -17
  680. package/node_modules/get-uri/dist/file.js +0 -57
  681. package/node_modules/get-uri/dist/file.js.map +0 -1
  682. package/node_modules/get-uri/dist/ftp.d.ts +0 -14
  683. package/node_modules/get-uri/dist/ftp.js +0 -93
  684. package/node_modules/get-uri/dist/ftp.js.map +0 -1
  685. package/node_modules/get-uri/dist/http-error.d.ts +0 -8
  686. package/node_modules/get-uri/dist/http-error.js +0 -15
  687. package/node_modules/get-uri/dist/http-error.js.map +0 -1
  688. package/node_modules/get-uri/dist/http.d.ts +0 -29
  689. package/node_modules/get-uri/dist/http.js +0 -191
  690. package/node_modules/get-uri/dist/http.js.map +0 -1
  691. package/node_modules/get-uri/dist/https.d.ts +0 -6
  692. package/node_modules/get-uri/dist/https.js +0 -16
  693. package/node_modules/get-uri/dist/https.js.map +0 -1
  694. package/node_modules/get-uri/dist/index.d.ts +0 -37
  695. package/node_modules/get-uri/dist/index.js +0 -57
  696. package/node_modules/get-uri/dist/index.js.map +0 -1
  697. package/node_modules/get-uri/dist/notfound.d.ts +0 -10
  698. package/node_modules/get-uri/dist/notfound.js +0 -16
  699. package/node_modules/get-uri/dist/notfound.js.map +0 -1
  700. package/node_modules/get-uri/dist/notmodified.d.ts +0 -10
  701. package/node_modules/get-uri/dist/notmodified.js +0 -17
  702. package/node_modules/get-uri/dist/notmodified.js.map +0 -1
  703. package/node_modules/get-uri/node_modules/data-uri-to-buffer/LICENSE +0 -22
  704. package/node_modules/get-uri/node_modules/data-uri-to-buffer/README.md +0 -61
  705. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.d.ts +0 -17
  706. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.d.ts.map +0 -1
  707. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js +0 -54
  708. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/common.js.map +0 -1
  709. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -8
  710. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.d.ts.map +0 -1
  711. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.js +0 -48
  712. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  713. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.d.ts +0 -8
  714. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.d.ts.map +0 -1
  715. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js +0 -26
  716. package/node_modules/get-uri/node_modules/data-uri-to-buffer/dist/node.js.map +0 -1
  717. package/node_modules/get-uri/node_modules/data-uri-to-buffer/package.json +0 -48
  718. package/node_modules/get-uri/package.json +0 -58
  719. package/node_modules/has-flag/index.d.ts +0 -39
  720. package/node_modules/has-flag/index.js +0 -8
  721. package/node_modules/has-flag/license +0 -9
  722. package/node_modules/has-flag/package.json +0 -46
  723. package/node_modules/has-flag/readme.md +0 -89
  724. package/node_modules/ieee754/LICENSE +0 -11
  725. package/node_modules/ieee754/README.md +0 -51
  726. package/node_modules/ieee754/index.d.ts +0 -10
  727. package/node_modules/ieee754/index.js +0 -85
  728. package/node_modules/ieee754/package.json +0 -52
  729. package/node_modules/ip-address/LICENSE +0 -19
  730. package/node_modules/ip-address/README.md +0 -278
  731. package/node_modules/ip-address/dist/address-error.d.ts +0 -4
  732. package/node_modules/ip-address/dist/address-error.js +0 -12
  733. package/node_modules/ip-address/dist/address-error.js.map +0 -1
  734. package/node_modules/ip-address/dist/common.d.ts +0 -20
  735. package/node_modules/ip-address/dist/common.js +0 -67
  736. package/node_modules/ip-address/dist/common.js.map +0 -1
  737. package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
  738. package/node_modules/ip-address/dist/ip-address.js +0 -35
  739. package/node_modules/ip-address/dist/ip-address.js.map +0 -1
  740. package/node_modules/ip-address/dist/ipv4.d.ts +0 -267
  741. package/node_modules/ip-address/dist/ipv4.js +0 -485
  742. package/node_modules/ip-address/dist/ipv4.js.map +0 -1
  743. package/node_modules/ip-address/dist/ipv6.d.ts +0 -489
  744. package/node_modules/ip-address/dist/ipv6.js +0 -1217
  745. package/node_modules/ip-address/dist/ipv6.js.map +0 -1
  746. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -4
  747. package/node_modules/ip-address/dist/v4/constants.js +0 -8
  748. package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  749. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -44
  750. package/node_modules/ip-address/dist/v6/constants.js +0 -81
  751. package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  752. package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  753. package/node_modules/ip-address/dist/v6/helpers.js +0 -54
  754. package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  755. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
  756. package/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
  757. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  758. package/node_modules/ip-address/package.json +0 -88
  759. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  760. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  761. package/node_modules/is-fullwidth-code-point/license +0 -9
  762. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  763. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  764. package/node_modules/mime-db/HISTORY.md +0 -541
  765. package/node_modules/mime-db/LICENSE +0 -23
  766. package/node_modules/mime-db/README.md +0 -109
  767. package/node_modules/mime-db/db.json +0 -9342
  768. package/node_modules/mime-db/index.js +0 -12
  769. package/node_modules/mime-db/package.json +0 -56
  770. package/node_modules/mime-types/HISTORY.md +0 -428
  771. package/node_modules/mime-types/LICENSE +0 -23
  772. package/node_modules/mime-types/README.md +0 -126
  773. package/node_modules/mime-types/index.js +0 -211
  774. package/node_modules/mime-types/mimeScore.js +0 -57
  775. package/node_modules/mime-types/package.json +0 -49
  776. package/node_modules/mz/LICENSE +0 -22
  777. package/node_modules/mz/README.md +0 -106
  778. package/node_modules/mz/child_process.js +0 -8
  779. package/node_modules/mz/crypto.js +0 -9
  780. package/node_modules/mz/dns.js +0 -16
  781. package/node_modules/mz/fs.js +0 -62
  782. package/node_modules/mz/index.js +0 -8
  783. package/node_modules/mz/package.json +0 -44
  784. package/node_modules/mz/readline.js +0 -64
  785. package/node_modules/mz/zlib.js +0 -13
  786. package/node_modules/netmask/CHANGELOG.md +0 -66
  787. package/node_modules/netmask/LICENSE.md +0 -21
  788. package/node_modules/netmask/README.md +0 -112
  789. package/node_modules/netmask/dist/netmask.d.ts +0 -21
  790. package/node_modules/netmask/dist/netmask.js +0 -68
  791. package/node_modules/netmask/dist/netmask4.d.ts +0 -20
  792. package/node_modules/netmask/dist/netmask4.js +0 -189
  793. package/node_modules/netmask/dist/netmask6.d.ts +0 -20
  794. package/node_modules/netmask/dist/netmask6.js +0 -187
  795. package/node_modules/netmask/package.json +0 -45
  796. package/node_modules/object-assign/index.js +0 -90
  797. package/node_modules/object-assign/license +0 -21
  798. package/node_modules/object-assign/package.json +0 -42
  799. package/node_modules/object-assign/readme.md +0 -61
  800. package/node_modules/once/README.md +0 -79
  801. package/node_modules/once/once.js +0 -42
  802. package/node_modules/once/package.json +0 -33
  803. package/node_modules/pac-proxy-agent/LICENSE +0 -22
  804. package/node_modules/pac-proxy-agent/README.md +0 -27
  805. package/node_modules/pac-proxy-agent/dist/index.d.ts +0 -60
  806. package/node_modules/pac-proxy-agent/dist/index.d.ts.map +0 -1
  807. package/node_modules/pac-proxy-agent/dist/index.js +0 -238
  808. package/node_modules/pac-proxy-agent/dist/index.js.map +0 -1
  809. package/node_modules/pac-proxy-agent/package.json +0 -58
  810. package/node_modules/pac-resolver/LICENSE +0 -22
  811. package/node_modules/pac-resolver/README.md +0 -59
  812. package/node_modules/pac-resolver/dist/dateRange.d.ts +0 -67
  813. package/node_modules/pac-resolver/dist/dateRange.d.ts.map +0 -1
  814. package/node_modules/pac-resolver/dist/dateRange.js +0 -73
  815. package/node_modules/pac-resolver/dist/dateRange.js.map +0 -1
  816. package/node_modules/pac-resolver/dist/dnsDomainIs.d.ts +0 -23
  817. package/node_modules/pac-resolver/dist/dnsDomainIs.d.ts.map +0 -1
  818. package/node_modules/pac-resolver/dist/dnsDomainIs.js +0 -30
  819. package/node_modules/pac-resolver/dist/dnsDomainIs.js.map +0 -1
  820. package/node_modules/pac-resolver/dist/dnsDomainLevels.d.ts +0 -18
  821. package/node_modules/pac-resolver/dist/dnsDomainLevels.d.ts.map +0 -1
  822. package/node_modules/pac-resolver/dist/dnsDomainLevels.js +0 -28
  823. package/node_modules/pac-resolver/dist/dnsDomainLevels.js.map +0 -1
  824. package/node_modules/pac-resolver/dist/dnsResolve.d.ts +0 -16
  825. package/node_modules/pac-resolver/dist/dnsResolve.d.ts.map +0 -1
  826. package/node_modules/pac-resolver/dist/dnsResolve.js +0 -32
  827. package/node_modules/pac-resolver/dist/dnsResolve.js.map +0 -1
  828. package/node_modules/pac-resolver/dist/index.d.ts +0 -50
  829. package/node_modules/pac-resolver/dist/index.d.ts.map +0 -1
  830. package/node_modules/pac-resolver/dist/index.js +0 -87
  831. package/node_modules/pac-resolver/dist/index.js.map +0 -1
  832. package/node_modules/pac-resolver/dist/ip.d.ts +0 -8
  833. package/node_modules/pac-resolver/dist/ip.d.ts.map +0 -1
  834. package/node_modules/pac-resolver/dist/ip.js +0 -50
  835. package/node_modules/pac-resolver/dist/ip.js.map +0 -1
  836. package/node_modules/pac-resolver/dist/isInNet.d.ts +0 -24
  837. package/node_modules/pac-resolver/dist/isInNet.d.ts.map +0 -1
  838. package/node_modules/pac-resolver/dist/isInNet.js +0 -42
  839. package/node_modules/pac-resolver/dist/isInNet.js.map +0 -1
  840. package/node_modules/pac-resolver/dist/isPlainHostName.d.ts +0 -18
  841. package/node_modules/pac-resolver/dist/isPlainHostName.d.ts.map +0 -1
  842. package/node_modules/pac-resolver/dist/isPlainHostName.js +0 -23
  843. package/node_modules/pac-resolver/dist/isPlainHostName.js.map +0 -1
  844. package/node_modules/pac-resolver/dist/isResolvable.d.ts +0 -8
  845. package/node_modules/pac-resolver/dist/isResolvable.d.ts.map +0 -1
  846. package/node_modules/pac-resolver/dist/isResolvable.js +0 -23
  847. package/node_modules/pac-resolver/dist/isResolvable.js.map +0 -1
  848. package/node_modules/pac-resolver/dist/localHostOrDomainIs.d.ts +0 -26
  849. package/node_modules/pac-resolver/dist/localHostOrDomainIs.d.ts.map +0 -1
  850. package/node_modules/pac-resolver/dist/localHostOrDomainIs.js +0 -40
  851. package/node_modules/pac-resolver/dist/localHostOrDomainIs.js.map +0 -1
  852. package/node_modules/pac-resolver/dist/myIpAddress.d.ts +0 -16
  853. package/node_modules/pac-resolver/dist/myIpAddress.d.ts.map +0 -1
  854. package/node_modules/pac-resolver/dist/myIpAddress.js +0 -50
  855. package/node_modules/pac-resolver/dist/myIpAddress.js.map +0 -1
  856. package/node_modules/pac-resolver/dist/shExpMatch.d.ts +0 -23
  857. package/node_modules/pac-resolver/dist/shExpMatch.d.ts.map +0 -1
  858. package/node_modules/pac-resolver/dist/shExpMatch.js +0 -41
  859. package/node_modules/pac-resolver/dist/shExpMatch.js.map +0 -1
  860. package/node_modules/pac-resolver/dist/timeRange.d.ts +0 -43
  861. package/node_modules/pac-resolver/dist/timeRange.d.ts.map +0 -1
  862. package/node_modules/pac-resolver/dist/timeRange.js +0 -92
  863. package/node_modules/pac-resolver/dist/timeRange.js.map +0 -1
  864. package/node_modules/pac-resolver/dist/util.d.ts +0 -6
  865. package/node_modules/pac-resolver/dist/util.d.ts.map +0 -1
  866. package/node_modules/pac-resolver/dist/util.js +0 -22
  867. package/node_modules/pac-resolver/dist/util.js.map +0 -1
  868. package/node_modules/pac-resolver/dist/weekdayRange.d.ts +0 -45
  869. package/node_modules/pac-resolver/dist/weekdayRange.d.ts.map +0 -1
  870. package/node_modules/pac-resolver/dist/weekdayRange.js +0 -91
  871. package/node_modules/pac-resolver/dist/weekdayRange.js.map +0 -1
  872. package/node_modules/pac-resolver/package.json +0 -47
  873. package/node_modules/parse5/LICENSE +0 -19
  874. package/node_modules/parse5/README.md +0 -38
  875. package/node_modules/parse5/lib/common/doctype.js +0 -162
  876. package/node_modules/parse5/lib/common/error-codes.js +0 -65
  877. package/node_modules/parse5/lib/common/foreign-content.js +0 -265
  878. package/node_modules/parse5/lib/common/html.js +0 -272
  879. package/node_modules/parse5/lib/common/unicode.js +0 -109
  880. package/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  881. package/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  882. package/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  883. package/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  884. package/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  885. package/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -222
  886. package/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  887. package/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  888. package/node_modules/parse5/lib/index.js +0 -29
  889. package/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
  890. package/node_modules/parse5/lib/parser/index.js +0 -2956
  891. package/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
  892. package/node_modules/parse5/lib/serializer/index.js +0 -176
  893. package/node_modules/parse5/lib/tokenizer/index.js +0 -2196
  894. package/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
  895. package/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
  896. package/node_modules/parse5/lib/tree-adapters/default.js +0 -217
  897. package/node_modules/parse5/lib/utils/merge-options.js +0 -13
  898. package/node_modules/parse5/lib/utils/mixin.js +0 -39
  899. package/node_modules/parse5/package.json +0 -35
  900. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +0 -19
  901. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +0 -34
  902. package/node_modules/parse5-htmlparser2-tree-adapter/lib/index.js +0 -348
  903. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/LICENSE +0 -19
  904. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/README.md +0 -38
  905. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/doctype.js +0 -162
  906. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/error-codes.js +0 -65
  907. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/foreign-content.js +0 -265
  908. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/html.js +0 -272
  909. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/common/unicode.js +0 -109
  910. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/mixin-base.js +0 -43
  911. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js +0 -52
  912. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +0 -24
  913. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +0 -17
  914. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/open-element-stack-mixin.js +0 -35
  915. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/parser-mixin.js +0 -223
  916. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/tokenizer-mixin.js +0 -146
  917. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +0 -64
  918. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/index.js +0 -29
  919. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/formatting-element-list.js +0 -181
  920. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/index.js +0 -2956
  921. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/parser/open-element-stack.js +0 -482
  922. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/serializer/index.js +0 -176
  923. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/index.js +0 -2196
  924. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/named-entity-data.js +0 -5
  925. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/preprocessor.js +0 -159
  926. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tree-adapters/default.js +0 -221
  927. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/utils/merge-options.js +0 -13
  928. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/utils/mixin.js +0 -39
  929. package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/package.json +0 -35
  930. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +0 -27
  931. package/node_modules/pend/LICENSE +0 -23
  932. package/node_modules/pend/README.md +0 -41
  933. package/node_modules/pend/index.js +0 -55
  934. package/node_modules/pend/package.json +0 -18
  935. package/node_modules/pend/test.js +0 -137
  936. package/node_modules/proxy-agent/LICENSE +0 -22
  937. package/node_modules/proxy-agent/README.md +0 -59
  938. package/node_modules/proxy-agent/dist/index.d.ts +0 -62
  939. package/node_modules/proxy-agent/dist/index.d.ts.map +0 -1
  940. package/node_modules/proxy-agent/dist/index.js +0 -138
  941. package/node_modules/proxy-agent/dist/index.js.map +0 -1
  942. package/node_modules/proxy-agent/node_modules/lru-cache/LICENSE +0 -15
  943. package/node_modules/proxy-agent/node_modules/lru-cache/README.md +0 -1117
  944. package/node_modules/proxy-agent/node_modules/lru-cache/index.d.ts +0 -869
  945. package/node_modules/proxy-agent/node_modules/lru-cache/index.js +0 -1227
  946. package/node_modules/proxy-agent/node_modules/lru-cache/index.mjs +0 -1227
  947. package/node_modules/proxy-agent/node_modules/lru-cache/package.json +0 -96
  948. package/node_modules/proxy-agent/package.json +0 -60
  949. package/node_modules/proxy-from-env/.eslintrc +0 -29
  950. package/node_modules/proxy-from-env/.travis.yml +0 -10
  951. package/node_modules/proxy-from-env/LICENSE +0 -20
  952. package/node_modules/proxy-from-env/README.md +0 -131
  953. package/node_modules/proxy-from-env/index.js +0 -108
  954. package/node_modules/proxy-from-env/package.json +0 -34
  955. package/node_modules/proxy-from-env/test.js +0 -483
  956. package/node_modules/pump/.github/FUNDING.yml +0 -2
  957. package/node_modules/pump/.travis.yml +0 -5
  958. package/node_modules/pump/LICENSE +0 -21
  959. package/node_modules/pump/README.md +0 -74
  960. package/node_modules/pump/SECURITY.md +0 -5
  961. package/node_modules/pump/empty.js +0 -1
  962. package/node_modules/pump/index.js +0 -86
  963. package/node_modules/pump/package.json +0 -30
  964. package/node_modules/pump/test-browser.js +0 -66
  965. package/node_modules/pump/test-node.js +0 -53
  966. package/node_modules/require-directory/.jshintrc +0 -67
  967. package/node_modules/require-directory/.npmignore +0 -1
  968. package/node_modules/require-directory/.travis.yml +0 -3
  969. package/node_modules/require-directory/LICENSE +0 -22
  970. package/node_modules/require-directory/README.markdown +0 -184
  971. package/node_modules/require-directory/index.js +0 -86
  972. package/node_modules/require-directory/package.json +0 -40
  973. package/node_modules/smart-buffer/.prettierrc.yaml +0 -5
  974. package/node_modules/smart-buffer/.travis.yml +0 -13
  975. package/node_modules/smart-buffer/LICENSE +0 -20
  976. package/node_modules/smart-buffer/README.md +0 -633
  977. package/node_modules/smart-buffer/build/smartbuffer.js +0 -1233
  978. package/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
  979. package/node_modules/smart-buffer/build/utils.js +0 -108
  980. package/node_modules/smart-buffer/build/utils.js.map +0 -1
  981. package/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
  982. package/node_modules/smart-buffer/docs/README_v3.md +0 -367
  983. package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  984. package/node_modules/smart-buffer/package.json +0 -79
  985. package/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
  986. package/node_modules/smart-buffer/typings/utils.d.ts +0 -66
  987. package/node_modules/socks/.eslintrc.cjs +0 -11
  988. package/node_modules/socks/.prettierrc.yaml +0 -7
  989. package/node_modules/socks/LICENSE +0 -20
  990. package/node_modules/socks/README.md +0 -686
  991. package/node_modules/socks/build/client/socksclient.js +0 -793
  992. package/node_modules/socks/build/client/socksclient.js.map +0 -1
  993. package/node_modules/socks/build/common/constants.js +0 -108
  994. package/node_modules/socks/build/common/constants.js.map +0 -1
  995. package/node_modules/socks/build/common/helpers.js +0 -167
  996. package/node_modules/socks/build/common/helpers.js.map +0 -1
  997. package/node_modules/socks/build/common/receivebuffer.js +0 -43
  998. package/node_modules/socks/build/common/receivebuffer.js.map +0 -1
  999. package/node_modules/socks/build/common/util.js +0 -25
  1000. package/node_modules/socks/build/common/util.js.map +0 -1
  1001. package/node_modules/socks/build/index.js +0 -18
  1002. package/node_modules/socks/build/index.js.map +0 -1
  1003. package/node_modules/socks/docs/examples/index.md +0 -17
  1004. package/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  1005. package/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  1006. package/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  1007. package/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  1008. package/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  1009. package/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  1010. package/node_modules/socks/docs/index.md +0 -5
  1011. package/node_modules/socks/docs/migratingFromV1.md +0 -86
  1012. package/node_modules/socks/package.json +0 -58
  1013. package/node_modules/socks/typings/client/socksclient.d.ts +0 -162
  1014. package/node_modules/socks/typings/common/constants.d.ts +0 -151
  1015. package/node_modules/socks/typings/common/helpers.d.ts +0 -17
  1016. package/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
  1017. package/node_modules/socks/typings/common/util.d.ts +0 -14
  1018. package/node_modules/socks/typings/index.d.ts +0 -1
  1019. package/node_modules/socks-proxy-agent/LICENSE +0 -22
  1020. package/node_modules/socks-proxy-agent/README.md +0 -50
  1021. package/node_modules/socks-proxy-agent/dist/index.d.ts +0 -27
  1022. package/node_modules/socks-proxy-agent/dist/index.d.ts.map +0 -1
  1023. package/node_modules/socks-proxy-agent/dist/index.js +0 -195
  1024. package/node_modules/socks-proxy-agent/dist/index.js.map +0 -1
  1025. package/node_modules/socks-proxy-agent/package.json +0 -142
  1026. package/node_modules/source-map/LICENSE +0 -28
  1027. package/node_modules/source-map/README.md +0 -742
  1028. package/node_modules/source-map/dist/source-map.debug.js +0 -3234
  1029. package/node_modules/source-map/dist/source-map.js +0 -3233
  1030. package/node_modules/source-map/dist/source-map.min.js +0 -2
  1031. package/node_modules/source-map/dist/source-map.min.js.map +0 -1
  1032. package/node_modules/source-map/lib/array-set.js +0 -121
  1033. package/node_modules/source-map/lib/base64-vlq.js +0 -140
  1034. package/node_modules/source-map/lib/base64.js +0 -67
  1035. package/node_modules/source-map/lib/binary-search.js +0 -111
  1036. package/node_modules/source-map/lib/mapping-list.js +0 -79
  1037. package/node_modules/source-map/lib/quick-sort.js +0 -114
  1038. package/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1039. package/node_modules/source-map/lib/source-map-generator.js +0 -425
  1040. package/node_modules/source-map/lib/source-node.js +0 -413
  1041. package/node_modules/source-map/lib/util.js +0 -488
  1042. package/node_modules/source-map/package.json +0 -73
  1043. package/node_modules/source-map/source-map.d.ts +0 -98
  1044. package/node_modules/source-map/source-map.js +0 -8
  1045. package/node_modules/string-width/index.d.ts +0 -29
  1046. package/node_modules/string-width/index.js +0 -47
  1047. package/node_modules/string-width/license +0 -9
  1048. package/node_modules/string-width/node_modules/ansi-regex/index.d.ts +0 -37
  1049. package/node_modules/string-width/node_modules/ansi-regex/index.js +0 -10
  1050. package/node_modules/string-width/node_modules/ansi-regex/license +0 -9
  1051. package/node_modules/string-width/node_modules/ansi-regex/package.json +0 -55
  1052. package/node_modules/string-width/node_modules/ansi-regex/readme.md +0 -78
  1053. package/node_modules/string-width/node_modules/strip-ansi/index.d.ts +0 -17
  1054. package/node_modules/string-width/node_modules/strip-ansi/index.js +0 -4
  1055. package/node_modules/string-width/node_modules/strip-ansi/license +0 -9
  1056. package/node_modules/string-width/node_modules/strip-ansi/package.json +0 -54
  1057. package/node_modules/string-width/node_modules/strip-ansi/readme.md +0 -46
  1058. package/node_modules/string-width/package.json +0 -56
  1059. package/node_modules/string-width/readme.md +0 -50
  1060. package/node_modules/strip-ansi/index.d.ts +0 -15
  1061. package/node_modules/strip-ansi/index.js +0 -19
  1062. package/node_modules/strip-ansi/license +0 -9
  1063. package/node_modules/strip-ansi/package.json +0 -59
  1064. package/node_modules/strip-ansi/readme.md +0 -37
  1065. package/node_modules/strtok3/LICENSE.txt +0 -21
  1066. package/node_modules/strtok3/README.md +0 -399
  1067. package/node_modules/strtok3/lib/AbstractTokenizer.d.ts +0 -76
  1068. package/node_modules/strtok3/lib/AbstractTokenizer.js +0 -111
  1069. package/node_modules/strtok3/lib/BlobTokenizer.d.ts +0 -29
  1070. package/node_modules/strtok3/lib/BlobTokenizer.js +0 -53
  1071. package/node_modules/strtok3/lib/BufferTokenizer.d.ts +0 -29
  1072. package/node_modules/strtok3/lib/BufferTokenizer.js +0 -52
  1073. package/node_modules/strtok3/lib/FileTokenizer.d.ts +0 -37
  1074. package/node_modules/strtok3/lib/FileTokenizer.js +0 -61
  1075. package/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +0 -34
  1076. package/node_modules/strtok3/lib/ReadStreamTokenizer.js +0 -107
  1077. package/node_modules/strtok3/lib/core.d.ts +0 -40
  1078. package/node_modules/strtok3/lib/core.js +0 -62
  1079. package/node_modules/strtok3/lib/index.d.ts +0 -16
  1080. package/node_modules/strtok3/lib/index.js +0 -22
  1081. package/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +0 -54
  1082. package/node_modules/strtok3/lib/stream/AbstractStreamReader.js +0 -71
  1083. package/node_modules/strtok3/lib/stream/Deferred.d.ts +0 -6
  1084. package/node_modules/strtok3/lib/stream/Deferred.js +0 -10
  1085. package/node_modules/strtok3/lib/stream/Errors.d.ts +0 -10
  1086. package/node_modules/strtok3/lib/stream/Errors.js +0 -16
  1087. package/node_modules/strtok3/lib/stream/StreamReader.d.ts +0 -29
  1088. package/node_modules/strtok3/lib/stream/StreamReader.js +0 -83
  1089. package/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +0 -14
  1090. package/node_modules/strtok3/lib/stream/WebStreamByobReader.js +0 -27
  1091. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +0 -19
  1092. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +0 -62
  1093. package/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +0 -14
  1094. package/node_modules/strtok3/lib/stream/WebStreamReader.js +0 -13
  1095. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +0 -5
  1096. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +0 -19
  1097. package/node_modules/strtok3/lib/stream/index.d.ts +0 -6
  1098. package/node_modules/strtok3/lib/stream/index.js +0 -5
  1099. package/node_modules/strtok3/lib/types.d.ts +0 -139
  1100. package/node_modules/strtok3/lib/types.js +0 -1
  1101. package/node_modules/strtok3/package.json +0 -94
  1102. package/node_modules/supports-color/browser.js +0 -5
  1103. package/node_modules/supports-color/index.js +0 -135
  1104. package/node_modules/supports-color/license +0 -9
  1105. package/node_modules/supports-color/package.json +0 -53
  1106. package/node_modules/supports-color/readme.md +0 -76
  1107. package/node_modules/thenify/LICENSE +0 -22
  1108. package/node_modules/thenify/README.md +0 -120
  1109. package/node_modules/thenify/index.js +0 -77
  1110. package/node_modules/thenify/package.json +0 -31
  1111. package/node_modules/thenify-all/LICENSE +0 -22
  1112. package/node_modules/thenify-all/README.md +0 -66
  1113. package/node_modules/thenify-all/index.js +0 -73
  1114. package/node_modules/thenify-all/package.json +0 -34
  1115. package/node_modules/token-types/LICENSE.txt +0 -9
  1116. package/node_modules/token-types/README.md +0 -120
  1117. package/node_modules/token-types/lib/index.d.ts +0 -135
  1118. package/node_modules/token-types/lib/index.js +0 -401
  1119. package/node_modules/token-types/package.json +0 -81
  1120. package/node_modules/uint8array-extras/index.d.ts +0 -331
  1121. package/node_modules/uint8array-extras/index.js +0 -318
  1122. package/node_modules/uint8array-extras/license +0 -9
  1123. package/node_modules/uint8array-extras/package.json +0 -54
  1124. package/node_modules/uint8array-extras/readme.md +0 -318
  1125. package/node_modules/uuid/LICENSE.md +0 -9
  1126. package/node_modules/uuid/README.md +0 -491
  1127. package/node_modules/uuid/dist/index.d.ts +0 -15
  1128. package/node_modules/uuid/dist/index.js +0 -14
  1129. package/node_modules/uuid/dist/max.d.ts +0 -2
  1130. package/node_modules/uuid/dist/max.js +0 -1
  1131. package/node_modules/uuid/dist/md5.d.ts +0 -2
  1132. package/node_modules/uuid/dist/md5.js +0 -135
  1133. package/node_modules/uuid/dist/nil.d.ts +0 -2
  1134. package/node_modules/uuid/dist/nil.js +0 -1
  1135. package/node_modules/uuid/dist/parse.d.ts +0 -3
  1136. package/node_modules/uuid/dist/parse.js +0 -9
  1137. package/node_modules/uuid/dist/regex.d.ts +0 -2
  1138. package/node_modules/uuid/dist/regex.js +0 -1
  1139. package/node_modules/uuid/dist/rng.d.ts +0 -1
  1140. package/node_modules/uuid/dist/rng.js +0 -4
  1141. package/node_modules/uuid/dist/sha1.d.ts +0 -2
  1142. package/node_modules/uuid/dist/sha1.js +0 -70
  1143. package/node_modules/uuid/dist/stringify.d.ts +0 -3
  1144. package/node_modules/uuid/dist/stringify.js +0 -35
  1145. package/node_modules/uuid/dist/types.d.ts +0 -22
  1146. package/node_modules/uuid/dist/types.js +0 -1
  1147. package/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
  1148. package/node_modules/uuid/dist/uuid-bin.js +0 -70
  1149. package/node_modules/uuid/dist/v1.d.ts +0 -11
  1150. package/node_modules/uuid/dist/v1.js +0 -83
  1151. package/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
  1152. package/node_modules/uuid/dist/v1ToV6.js +0 -10
  1153. package/node_modules/uuid/dist/v3.d.ts +0 -9
  1154. package/node_modules/uuid/dist/v3.js +0 -9
  1155. package/node_modules/uuid/dist/v35.d.ts +0 -7
  1156. package/node_modules/uuid/dist/v35.js +0 -39
  1157. package/node_modules/uuid/dist/v4.d.ts +0 -4
  1158. package/node_modules/uuid/dist/v4.js +0 -29
  1159. package/node_modules/uuid/dist/v5.d.ts +0 -9
  1160. package/node_modules/uuid/dist/v5.js +0 -9
  1161. package/node_modules/uuid/dist/v6.d.ts +0 -4
  1162. package/node_modules/uuid/dist/v6.js +0 -20
  1163. package/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
  1164. package/node_modules/uuid/dist/v6ToV1.js +0 -10
  1165. package/node_modules/uuid/dist/v7.d.ts +0 -9
  1166. package/node_modules/uuid/dist/v7.js +0 -65
  1167. package/node_modules/uuid/dist/validate.d.ts +0 -2
  1168. package/node_modules/uuid/dist/validate.js +0 -5
  1169. package/node_modules/uuid/dist/version.d.ts +0 -2
  1170. package/node_modules/uuid/dist/version.js +0 -8
  1171. package/node_modules/uuid/dist-node/bin/uuid +0 -2
  1172. package/node_modules/uuid/dist-node/index.js +0 -14
  1173. package/node_modules/uuid/dist-node/max.js +0 -1
  1174. package/node_modules/uuid/dist-node/md5.js +0 -11
  1175. package/node_modules/uuid/dist-node/nil.js +0 -1
  1176. package/node_modules/uuid/dist-node/parse.js +0 -9
  1177. package/node_modules/uuid/dist-node/regex.js +0 -1
  1178. package/node_modules/uuid/dist-node/rng.js +0 -4
  1179. package/node_modules/uuid/dist-node/sha1.js +0 -11
  1180. package/node_modules/uuid/dist-node/stringify.js +0 -35
  1181. package/node_modules/uuid/dist-node/types.js +0 -1
  1182. package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
  1183. package/node_modules/uuid/dist-node/v1.js +0 -83
  1184. package/node_modules/uuid/dist-node/v1ToV6.js +0 -10
  1185. package/node_modules/uuid/dist-node/v3.js +0 -9
  1186. package/node_modules/uuid/dist-node/v35.js +0 -39
  1187. package/node_modules/uuid/dist-node/v4.js +0 -29
  1188. package/node_modules/uuid/dist-node/v5.js +0 -9
  1189. package/node_modules/uuid/dist-node/v6.js +0 -20
  1190. package/node_modules/uuid/dist-node/v6ToV1.js +0 -10
  1191. package/node_modules/uuid/dist-node/v7.js +0 -65
  1192. package/node_modules/uuid/dist-node/validate.js +0 -5
  1193. package/node_modules/uuid/dist-node/version.js +0 -8
  1194. package/node_modules/uuid/package.json +0 -110
  1195. package/node_modules/wrap-ansi/index.js +0 -216
  1196. package/node_modules/wrap-ansi/license +0 -9
  1197. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  1198. package/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -10
  1199. package/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  1200. package/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -55
  1201. package/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -78
  1202. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +0 -17
  1203. package/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -4
  1204. package/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  1205. package/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -54
  1206. package/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -46
  1207. package/node_modules/wrap-ansi/package.json +0 -62
  1208. package/node_modules/wrap-ansi/readme.md +0 -91
  1209. package/node_modules/wrappy/README.md +0 -36
  1210. package/node_modules/wrappy/package.json +0 -29
  1211. package/node_modules/wrappy/wrappy.js +0 -33
  1212. package/node_modules/y18n/LICENSE +0 -13
  1213. package/node_modules/y18n/README.md +0 -127
  1214. package/node_modules/y18n/build/index.cjs +0 -203
  1215. package/node_modules/y18n/build/lib/cjs.js +0 -6
  1216. package/node_modules/y18n/build/lib/index.js +0 -174
  1217. package/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  1218. package/node_modules/y18n/index.mjs +0 -8
  1219. package/node_modules/y18n/package.json +0 -70
  1220. package/node_modules/yargs/LICENSE +0 -21
  1221. package/node_modules/yargs/README.md +0 -202
  1222. package/node_modules/yargs/browser.mjs +0 -7
  1223. package/node_modules/yargs/build/index.cjs +0 -2920
  1224. package/node_modules/yargs/build/lib/argsert.js +0 -62
  1225. package/node_modules/yargs/build/lib/command.js +0 -382
  1226. package/node_modules/yargs/build/lib/completion-templates.js +0 -47
  1227. package/node_modules/yargs/build/lib/completion.js +0 -128
  1228. package/node_modules/yargs/build/lib/middleware.js +0 -53
  1229. package/node_modules/yargs/build/lib/parse-command.js +0 -32
  1230. package/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  1231. package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  1232. package/node_modules/yargs/build/lib/usage.js +0 -548
  1233. package/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  1234. package/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  1235. package/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
  1236. package/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  1237. package/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  1238. package/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  1239. package/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  1240. package/node_modules/yargs/build/lib/validation.js +0 -308
  1241. package/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
  1242. package/node_modules/yargs/build/lib/yerror.js +0 -7
  1243. package/node_modules/yargs/helpers/helpers.mjs +0 -10
  1244. package/node_modules/yargs/helpers/index.js +0 -14
  1245. package/node_modules/yargs/helpers/package.json +0 -3
  1246. package/node_modules/yargs/index.cjs +0 -39
  1247. package/node_modules/yargs/index.mjs +0 -8
  1248. package/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
  1249. package/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
  1250. package/node_modules/yargs/locales/be.json +0 -46
  1251. package/node_modules/yargs/locales/de.json +0 -46
  1252. package/node_modules/yargs/locales/en.json +0 -51
  1253. package/node_modules/yargs/locales/es.json +0 -46
  1254. package/node_modules/yargs/locales/fi.json +0 -49
  1255. package/node_modules/yargs/locales/fr.json +0 -53
  1256. package/node_modules/yargs/locales/hi.json +0 -49
  1257. package/node_modules/yargs/locales/hu.json +0 -46
  1258. package/node_modules/yargs/locales/id.json +0 -50
  1259. package/node_modules/yargs/locales/it.json +0 -46
  1260. package/node_modules/yargs/locales/ja.json +0 -51
  1261. package/node_modules/yargs/locales/ko.json +0 -49
  1262. package/node_modules/yargs/locales/nb.json +0 -44
  1263. package/node_modules/yargs/locales/nl.json +0 -49
  1264. package/node_modules/yargs/locales/nn.json +0 -44
  1265. package/node_modules/yargs/locales/pirate.json +0 -13
  1266. package/node_modules/yargs/locales/pl.json +0 -49
  1267. package/node_modules/yargs/locales/pt.json +0 -45
  1268. package/node_modules/yargs/locales/pt_BR.json +0 -48
  1269. package/node_modules/yargs/locales/ru.json +0 -46
  1270. package/node_modules/yargs/locales/th.json +0 -46
  1271. package/node_modules/yargs/locales/tr.json +0 -48
  1272. package/node_modules/yargs/locales/zh_CN.json +0 -48
  1273. package/node_modules/yargs/locales/zh_TW.json +0 -47
  1274. package/node_modules/yargs/package.json +0 -122
  1275. package/node_modules/yargs/yargs +0 -9
  1276. package/node_modules/yargs-parser/LICENSE.txt +0 -14
  1277. package/node_modules/yargs-parser/README.md +0 -518
  1278. package/node_modules/yargs-parser/browser.js +0 -29
  1279. package/node_modules/yargs-parser/build/index.cjs +0 -1042
  1280. package/node_modules/yargs-parser/build/lib/index.js +0 -59
  1281. package/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  1282. package/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  1283. package/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  1284. package/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
  1285. package/node_modules/yargs-parser/package.json +0 -87
  1286. package/node_modules/yauzl/LICENSE +0 -21
  1287. package/node_modules/yauzl/README.md +0 -658
  1288. package/node_modules/yauzl/index.js +0 -796
  1289. package/node_modules/yauzl/package.json +0 -40
  1290. /package/node_modules/{once → isexe}/LICENSE +0 -0
  1291. /package/node_modules/{ansi-styles → path-key}/license +0 -0
  1292. /package/node_modules/{cli-highlight/node_modules/chalk → shebang-regex}/license +0 -0
  1293. /package/node_modules/{w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,CAAC,eAAe,EAAE,CAAC;YACrB,MAAM,GAAG;gBACP,OAAO;gBACP,sCAAgB;gBAChB,cAAc;gBACd,GAAG,MAAM;gBACT,gBAAgB;gBAChB,sCAAgB;gBAChB,KAAK;aACN,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACzB,CAAC;IAED;;;;;OAKG;IACH,iBAAiB,CAAiB,kBAA2B,KAAK;QAChE,OAAO,IAAI,MAAM,CAAC,IAAI,CAAC,uBAAuB,CAAC,eAAe,CAAC,EAAE,GAAG,CAAC,CAAC;IACxE,CAAC;CAEF;AAn1CD,4BAm1CC;AAED,MAAM,YAAY,GAA8B,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;IAC5F,IAAI,QAAQ,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,KAAK,CAAC,MAAM,CAAW;CACnC,CAAC,CAAC;AACH,MAAM,aAAa,GAAG,IAAI,QAAQ,CAAC,WAAW,CAAC,CAAC;AAChD,MAAM,kBAAkB,GAAG,IAAI,QAAQ,CAAC,WAAW,CAAC,CAAC;AACrD,MAAM,UAAU,GAAG,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAC;AAC5C,MAAM,oBAAoB,GAAG,IAAI,QAAQ,CAAC,eAAe,CAAC,CAAC;AAC3D,MAAM,kBAAkB,GAAG,IAAI,QAAQ,CAAC,eAAe,CAAC,CAAC","sourcesContent":["/* eslint-disable prefer-destructuring */\n/* eslint-disable no-param-reassign */\n\nimport * as common from './common';\nimport * as constants4 from './v4/constants';\nimport * as constants6 from './v6/constants';\nimport * as helpers from './v6/helpers';\nimport { Address4 } from './ipv4';\nimport {\n ADDRESS_BOUNDARY,\n possibleElisions,\n simpleRegularExpression,\n} from './v6/regular-expressions';\nimport { AddressError } from './address-error';\nimport { testBit } from './common';\n\nconst isCorrect6 = common.isCorrect(constants6.BITS);\n\nfunction assert(condition: any): asserts condition {\n if (!condition) {\n throw new Error('Assertion failed.');\n }\n}\n\nfunction addCommas(number: string): string {\n const r = /(\\d+)(\\d{3})/;\n\n while (r.test(number)) {\n number = number.replace(r, '$1,$2');\n }\n\n return number;\n}\n\nfunction spanLeadingZeroes4(n: string): string {\n n = n.replace(/^(0{1,})([1-9]+)$/, '<span class=\"parse-error\">$1</span>$2');\n n = n.replace(/^(0{1,})(0)$/, '<span class=\"parse-error\">$1</span>$2');\n\n return n;\n}\n\n/*\n * A helper function to compact an array\n */\nfunction compact(address: string[], slice: number[]) {\n const s1 = [];\n const s2 = [];\n let i;\n\n for (i = 0; i < address.length; i++) {\n if (i < slice[0]) {\n s1.push(address[i]);\n } else if (i > slice[1]) {\n s2.push(address[i]);\n }\n }\n\n return s1.concat(['compact']).concat(s2);\n}\n\nfunction paddedHex(octet: string): string {\n return parseInt(octet, 16).toString(16).padStart(4, '0');\n}\n\nfunction unsignByte(b: number) {\n // eslint-disable-next-line no-bitwise\n return b & 0xff;\n}\n\ninterface SixToFourProperties {\n prefix: string;\n gateway: string;\n}\n\ninterface TeredoProperties {\n prefix: string;\n server4: string;\n client4: string;\n flags: string;\n coneNat: boolean;\n microsoft: {\n reserved: boolean;\n universalLocal: boolean;\n groupIndividual: boolean;\n nonce: string;\n };\n udpPort: string;\n}\n\n/**\n * Represents an IPv6 address\n * @param {string} address - An IPv6 address string\n * @param {number} [groups=8] - How many octets to parse\n * @example\n * var address = new Address6('2001::/32');\n */\nexport class Address6 {\n address4?: Address4;\n address: string;\n addressMinusSuffix: string = '';\n elidedGroups?: number;\n elisionBegin?: number;\n elisionEnd?: number;\n groups: number;\n parsedAddress4?: string;\n parsedAddress: string[];\n parsedSubnet: string = '';\n subnet: string = '/128';\n subnetMask: number = 128;\n v4: boolean = false;\n zone: string = '';\n private _binaryZeroPad?: string;\n\n constructor(address: string, optionalGroups?: number) {\n if (optionalGroups === undefined) {\n this.groups = constants6.GROUPS;\n } else {\n this.groups = optionalGroups;\n }\n\n this.address = address;\n\n const subnet = constants6.RE_SUBNET_STRING.exec(address);\n\n if (subnet) {\n this.parsedSubnet = subnet[0].replace('/', '');\n this.subnetMask = parseInt(this.parsedSubnet, 10);\n this.subnet = `/${this.subnetMask}`;\n\n if (\n Number.isNaN(this.subnetMask) ||\n this.subnetMask < 0 ||\n this.subnetMask > constants6.BITS\n ) {\n throw new AddressError('Invalid subnet mask.');\n }\n\n address = address.replace(constants6.RE_SUBNET_STRING, '');\n } else if (/\\//.test(address)) {\n throw new AddressError('Invalid subnet mask.');\n }\n\n const zone = constants6.RE_ZONE_STRING.exec(address);\n\n if (zone) {\n this.zone = zone[0];\n\n address = address.replace(constants6.RE_ZONE_STRING, '');\n }\n\n this.addressMinusSuffix = address;\n\n this.parsedAddress = this.parse(this.addressMinusSuffix);\n }\n\n /**\n * Returns true if the given string is a valid IPv6 address (with optional\n * CIDR subnet and zone identifier), false otherwise. Host bits in the\n * subnet portion are allowed (e.g. `2001:db8::1/32` is valid); for strict\n * network-address validation compare `correctForm()` to\n * `startAddress().correctForm()`, or use `networkForm()`.\n */\n static isValid(address: string): boolean {\n try {\n // eslint-disable-next-line no-new\n new Address6(address);\n\n return true;\n } catch (e) {\n return false;\n }\n }\n\n /**\n * Convert a BigInt to a v6 address object. The value must be in the\n * range `[0, 2**128 - 1]`; otherwise `AddressError` is thrown.\n * @param {bigint} bigInt - a BigInt to convert\n * @returns {Address6}\n * @example\n * var bigInt = BigInt('1000000000000');\n * var address = Address6.fromBigInt(bigInt);\n * address.correctForm(); // '::e8:d4a5:1000'\n */\n static fromBigInt(bigInt: bigint): Address6 {\n if (bigInt < 0n || bigInt > (1n << BigInt(constants6.BITS)) - 1n) {\n throw new AddressError('IPv6 BigInt must be in the range 0 to 2**128 - 1');\n }\n\n const hex = bigInt.toString(16).padStart(32, '0');\n const groups = [];\n\n for (let i = 0; i < constants6.GROUPS; i++) {\n groups.push(hex.slice(i * 4, (i + 1) * 4));\n }\n\n return new Address6(groups.join(':'));\n }\n\n /**\n * Parse a URL (with optional bracketed host and port) into an address and\n * port. Returns either `{ address, port }` on success or\n * `{ error, address: null, port: null }` if the URL could not be parsed.\n * Ports are returned as numbers (or `null` if absent or out of range).\n * @example\n * var addressAndPort = Address6.fromURL('http://[ffff::]:8080/foo/');\n * addressAndPort.address.correctForm(); // 'ffff::'\n * addressAndPort.port; // 8080\n */\n static fromURL(url: string) {\n let host: string;\n let port: string | number | null = null;\n let result: string[] | null;\n\n // If we have brackets parse them and find a port\n if (url.indexOf('[') !== -1 && url.indexOf(']:') !== -1) {\n result = constants6.RE_URL_WITH_PORT.exec(url);\n\n if (result === null) {\n return {\n error: 'failed to parse address with port',\n address: null,\n port: null,\n };\n }\n\n host = result[1];\n port = result[2];\n // If there's a URL extract the address\n } else if (url.indexOf('/') !== -1) {\n // Remove the protocol prefix\n url = url.replace(/^[a-z0-9]+:\\/\\//, '');\n\n // Parse the address\n result = constants6.RE_URL.exec(url);\n\n if (result === null) {\n return {\n error: 'failed to parse address from URL',\n address: null,\n port: null,\n };\n }\n\n host = result[1];\n // Otherwise just assign the URL to the host and let the library parse it\n } else {\n host = url;\n }\n\n // If there's a port convert it to an integer\n if (port) {\n port = parseInt(port, 10);\n\n // squelch out of range ports\n if (port < 0 || port > 65536) {\n port = null;\n }\n } else {\n // Standardize `undefined` to `null`\n port = null;\n }\n\n return {\n address: new Address6(host),\n port,\n };\n }\n\n /**\n * Construct an `Address6` from an address and a hex subnet mask given as\n * separate strings (e.g. as returned by Node's `os.networkInterfaces()`).\n * Throws `AddressError` if the mask is non-contiguous (e.g.\n * `ffff::ffff`).\n * @example\n * var address = Address6.fromAddressAndMask('fe80::1', 'ffff:ffff:ffff:ffff::');\n * address.subnetMask; // 64\n */\n static fromAddressAndMask(address: string, mask: string): Address6 {\n const bits = common.prefixLengthFromMask(new Address6(mask).bigInt(), constants6.BITS);\n return new Address6(`${address}/${bits}`);\n }\n\n /**\n * Construct an `Address6` from an address and a Cisco-style wildcard mask\n * given as separate strings (e.g. `::ffff:ffff:ffff:ffff` for a `/64`).\n * The wildcard mask is the bitwise inverse of the subnet mask. Throws\n * `AddressError` if the mask is non-contiguous.\n * @example\n * var address = Address6.fromAddressAndWildcardMask('fe80::1', '::ffff:ffff:ffff:ffff');\n * address.subnetMask; // 64\n */\n static fromAddressAndWildcardMask(address: string, wildcardMask: string): Address6 {\n const wildcard = new Address6(wildcardMask).bigInt();\n const allOnes = (BigInt(1) << BigInt(constants6.BITS)) - BigInt(1);\n // eslint-disable-next-line no-bitwise\n const mask = wildcard ^ allOnes;\n const bits = common.prefixLengthFromMask(mask, constants6.BITS);\n return new Address6(`${address}/${bits}`);\n }\n\n /**\n * Construct an `Address6` from a wildcard pattern with trailing `*`\n * groups. The number of trailing wildcards determines the prefix\n * length: each `*` represents 16 bits. `::` is expanded to zero groups\n * (not wildcards) before evaluating trailing wildcards.\n *\n * Only trailing whole-group wildcards are supported. Partial-group\n * wildcards (e.g. `2001:db8::0*`) and interior wildcards (e.g.\n * `*::1`) throw `AddressError`.\n * @example\n * Address6.fromWildcard('2001:db8:*:*:*:*:*:*').subnet; // '/32'\n * Address6.fromWildcard('2001:db8::*').subnet; // '/112'\n * Address6.fromWildcard('*:*:*:*:*:*:*:*').subnet; // '/0'\n */\n static fromWildcard(input: string): Address6 {\n if (input.includes('%') || input.includes('/')) {\n throw new AddressError('Wildcard pattern must not include a zone or CIDR suffix');\n }\n\n const halves = input.split('::');\n\n if (halves.length > 2) {\n throw new AddressError(\"Wildcard pattern cannot contain more than one '::'\");\n }\n\n let groups: string[];\n\n if (halves.length === 2) {\n const left = halves[0] === '' ? [] : halves[0].split(':');\n const right = halves[1] === '' ? [] : halves[1].split(':');\n const remaining = constants6.GROUPS - left.length - right.length;\n\n if (remaining < 1) {\n throw new AddressError(\"Wildcard pattern with '::' has too many groups\");\n }\n\n groups = [...left, ...new Array(remaining).fill('0'), ...right];\n } else {\n groups = input.split(':');\n }\n\n if (groups.length !== constants6.GROUPS) {\n throw new AddressError('Wildcard pattern must have 8 groups');\n }\n\n let firstWildcard = -1;\n\n for (let i = 0; i < groups.length; i++) {\n if (groups[i] === '*') {\n if (firstWildcard === -1) {\n firstWildcard = i;\n }\n } else if (firstWildcard !== -1) {\n throw new AddressError(\n 'Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)',\n );\n }\n }\n\n const trailing = firstWildcard === -1 ? 0 : groups.length - firstWildcard;\n const replaced = groups.map((g) => (g === '*' ? '0' : g));\n const subnetBits = constants6.BITS - trailing * 16;\n\n return new Address6(`${replaced.join(':')}/${subnetBits}`);\n }\n\n /**\n * Create an IPv6-mapped address given an IPv4 address\n * @param {string} address - An IPv4 address string\n * @returns {Address6}\n * @example\n * var address = Address6.fromAddress4('192.168.0.1');\n * address.correctForm(); // '::ffff:c0a8:1'\n * address.to4in6(); // '::ffff:192.168.0.1'\n */\n static fromAddress4(address: string): Address6 {\n const address4 = new Address4(address);\n\n const mask6 = constants6.BITS - (constants4.BITS - address4.subnetMask);\n\n return new Address6(`::ffff:${address4.correctForm()}/${mask6}`);\n }\n\n /**\n * Return an address from ip6.arpa form\n * @param {string} arpaFormAddress - an 'ip6.arpa' form address\n * @returns {Adress6}\n * @example\n * var address = Address6.fromArpa(e.f.f.f.3.c.2.6.f.f.f.e.6.6.8.e.1.0.6.7.9.4.e.c.0.0.0.0.1.0.0.2.ip6.arpa.)\n * address.correctForm(); // '2001:0:ce49:7601:e866:efff:62c3:fffe'\n */\n static fromArpa(arpaFormAddress: string): Address6 {\n // remove ending \".ip6.arpa.\" or just \".\"\n let address = arpaFormAddress.replace(/(\\.ip6\\.arpa)?\\.$/, '');\n const semicolonAmount = 7;\n\n // correct ip6.arpa form with ending removed will be 63 characters\n if (address.length !== 63) {\n throw new AddressError(\"Invalid 'ip6.arpa' form.\");\n }\n\n const parts = address.split('.').reverse();\n\n for (let i = semicolonAmount; i > 0; i--) {\n const insertIndex = i * 4;\n parts.splice(insertIndex, 0, ':');\n }\n\n address = parts.join('');\n\n return new Address6(address);\n }\n\n /**\n * Return the Microsoft UNC transcription of the address\n * @returns {String} the Microsoft UNC transcription of the address\n */\n microsoftTranscription(): string {\n return `${this.correctForm().replace(/:/g, '-')}.ipv6-literal.net`;\n }\n\n /**\n * Return the first n bits of the address, defaulting to the subnet mask\n * @param {number} [mask=subnet] - the number of bits to mask\n * @returns {String} the first n bits of the address as a string\n */\n mask(mask: number = this.subnetMask): string {\n return this.getBitsBase2(0, mask);\n }\n\n /**\n * Return the number of possible subnets of a given size in the address\n * @param {number} [subnetSize=128] - the subnet size\n * @returns {String}\n */\n // TODO: probably useful to have a numeric version of this too\n possibleSubnets(subnetSize: number = 128): string {\n const availableBits = constants6.BITS - this.subnetMask;\n const subnetBits = Math.abs(subnetSize - constants6.BITS);\n const subnetPowers = availableBits - subnetBits;\n\n if (subnetPowers < 0) {\n return '0';\n }\n\n return addCommas((BigInt('2') ** BigInt(subnetPowers)).toString(10));\n }\n\n /**\n * Helper function getting start address.\n * @returns {bigint}\n */\n _startAddress(): bigint {\n return BigInt(`0b${this.mask() + '0'.repeat(constants6.BITS - this.subnetMask)}`);\n }\n\n /**\n * The first address in the range given by this address' subnet\n * Often referred to as the Network Address.\n * @returns {Address6}\n */\n startAddress(): Address6 {\n return Address6.fromBigInt(this._startAddress());\n }\n\n /**\n * The first host address in the range given by this address's subnet ie\n * the first address after the Network Address\n * @returns {Address6}\n */\n startAddressExclusive(): Address6 {\n const adjust = BigInt('1');\n return Address6.fromBigInt(this._startAddress() + adjust);\n }\n\n /**\n * Helper function getting end address.\n * @returns {bigint}\n */\n _endAddress(): bigint {\n return BigInt(`0b${this.mask() + '1'.repeat(constants6.BITS - this.subnetMask)}`);\n }\n\n /**\n * The last address in the range given by this address' subnet\n * Often referred to as the Broadcast\n * @returns {Address6}\n */\n endAddress(): Address6 {\n return Address6.fromBigInt(this._endAddress());\n }\n\n /**\n * The last host address in the range given by this address's subnet ie\n * the last address prior to the Broadcast Address\n * @returns {Address6}\n */\n endAddressExclusive(): Address6 {\n const adjust = BigInt('1');\n return Address6.fromBigInt(this._endAddress() - adjust);\n }\n\n /**\n * The hex form of the subnet mask, e.g. `ffff:ffff:ffff:ffff::` for a\n * `/64`. Returns an `Address6`; call `.correctForm()` for the string.\n * @returns {Address6}\n */\n subnetMaskAddress(): Address6 {\n return Address6.fromBigInt(\n BigInt(`0b${'1'.repeat(this.subnetMask)}${'0'.repeat(constants6.BITS - this.subnetMask)}`),\n );\n }\n\n /**\n * The Cisco-style wildcard mask, e.g. `::ffff:ffff:ffff:ffff` for a\n * `/64`. This is the bitwise inverse of `subnetMaskAddress()`. Returns\n * an `Address6`; call `.correctForm()` for the string.\n * @returns {Address6}\n */\n wildcardMask(): Address6 {\n return Address6.fromBigInt(\n BigInt(`0b${'0'.repeat(this.subnetMask)}${'1'.repeat(constants6.BITS - this.subnetMask)}`),\n );\n }\n\n /**\n * The network address in CIDR string form, e.g. `2001:db8::/32` for\n * `2001:db8::1/32`. For an address with no explicit subnet the prefix\n * is `/128`, e.g. `networkForm()` on `2001:db8::1` returns\n * `2001:db8::1/128`.\n * @returns {string}\n */\n networkForm(): string {\n return `${this.startAddress().correctForm()}/${this.subnetMask}`;\n }\n\n /**\n * Return the scope of the address. The 4-bit scope field\n * ([RFC 4291 §2.7](https://datatracker.ietf.org/doc/html/rfc4291#section-2.7))\n * is only defined for multicast addresses; for unicast addresses the scope\n * is derived from the address type per\n * [RFC 4007 §6](https://datatracker.ietf.org/doc/html/rfc4007#section-6).\n * @returns {String}\n */\n getScope(): string {\n const type = this.getType();\n\n if (type === 'Multicast' || type.startsWith('Multicast ')) {\n const scope = constants6.SCOPES[parseInt(this.getBits(12, 16).toString(10), 10)];\n return scope || 'Unknown';\n }\n\n // RFC 4291 §2.5.3: the loopback address is treated as having Link-Local\n // scope. (Multicast scope 1, \"Interface-Local\", is a different concept\n // used only for loopback transmission of multicast.)\n if (type === 'Link-local unicast' || type === 'Loopback') {\n return 'Link local';\n }\n\n // RFC 4007 §6: the unspecified address has no scope.\n if (type === 'Unspecified') {\n return 'Unknown';\n }\n\n return 'Global';\n }\n\n /**\n * Return the type of the address\n * @returns {String}\n */\n getType(): string {\n for (let i = 0; i < TYPE_SUBNETS.length; i++) {\n const entry = TYPE_SUBNETS[i];\n if (this.isInSubnet(entry[0])) {\n return entry[1];\n }\n }\n\n return 'Global unicast';\n }\n\n /**\n * Return the bits in the given range as a BigInt\n * @returns {bigint}\n */\n getBits(start: number, end: number): bigint {\n return BigInt(`0b${this.getBitsBase2(start, end)}`);\n }\n\n /**\n * Return the bits in the given range as a base-2 string\n * @returns {String}\n */\n getBitsBase2(start: number, end: number): string {\n return this.binaryZeroPad().slice(start, end);\n }\n\n /**\n * Return the bits in the given range as a base-16 string\n * @returns {String}\n */\n getBitsBase16(start: number, end: number): string {\n const length = end - start;\n\n if (length % 4 !== 0) {\n throw new Error('Length of bits to retrieve must be divisible by four');\n }\n\n return this.getBits(start, end)\n .toString(16)\n .padStart(length / 4, '0');\n }\n\n /**\n * Return the bits that are set past the subnet mask length\n * @returns {String}\n */\n getBitsPastSubnet(): string {\n return this.getBitsBase2(this.subnetMask, constants6.BITS);\n }\n\n /**\n * Return the reversed ip6.arpa form of the address\n * @param {Object} options\n * @param {boolean} options.omitSuffix - omit the \"ip6.arpa\" suffix\n * @returns {String}\n */\n reverseForm(options?: common.ReverseFormOptions): string {\n if (!options) {\n options = {};\n }\n\n const characters = Math.floor(this.subnetMask / 4);\n\n const reversed = this.canonicalForm()\n .replace(/:/g, '')\n .split('')\n .slice(0, characters)\n .reverse()\n .join('.');\n\n if (characters > 0) {\n if (options.omitSuffix) {\n return reversed;\n }\n\n return `${reversed}.ip6.arpa.`;\n }\n\n if (options.omitSuffix) {\n return '';\n }\n\n return 'ip6.arpa.';\n }\n\n /**\n * Returns the address in correct form, per\n * [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952): leading zeros\n * stripped, the longest run of zero groups collapsed to `::`, and hex digits\n * lowercased (e.g. `2001:db8::1`). This is the recommended form for display.\n */\n correctForm(): string {\n let i;\n let groups = [];\n\n let zeroCounter = 0;\n const zeroes = [];\n\n for (i = 0; i < this.parsedAddress.length; i++) {\n const value = parseInt(this.parsedAddress[i], 16);\n\n if (value === 0) {\n zeroCounter++;\n }\n\n if (value !== 0 && zeroCounter > 0) {\n if (zeroCounter > 1) {\n zeroes.push([i - zeroCounter, i - 1]);\n }\n\n zeroCounter = 0;\n }\n }\n\n // Do we end with a string of zeroes?\n if (zeroCounter > 1) {\n zeroes.push([this.parsedAddress.length - zeroCounter, this.parsedAddress.length - 1]);\n }\n\n const zeroLengths = zeroes.map((n) => n[1] - n[0] + 1);\n\n if (zeroes.length > 0) {\n const index = zeroLengths.indexOf(Math.max(...zeroLengths) as number);\n\n groups = compact(this.parsedAddress, zeroes[index]);\n } else {\n groups = this.parsedAddress;\n }\n\n for (i = 0; i < groups.length; i++) {\n if (groups[i] !== 'compact') {\n groups[i] = parseInt(groups[i], 16).toString(16);\n }\n }\n\n let correct = groups.join(':');\n\n correct = correct.replace(/^compact$/, '::');\n correct = correct.replace(/(^compact)|(compact$)/, ':');\n correct = correct.replace(/compact/, '');\n\n return correct;\n }\n\n /**\n * Return a zero-padded base-2 string representation of the address\n * @returns {String}\n * @example\n * var address = new Address6('2001:4860:4001:803::1011');\n * address.binaryZeroPad();\n * // '0010000000000001010010000110000001000000000000010000100000000011\n * // 0000000000000000000000000000000000000000000000000001000000010001'\n */\n binaryZeroPad(): string {\n if (this._binaryZeroPad === undefined) {\n this._binaryZeroPad = this.bigInt().toString(2).padStart(constants6.BITS, '0');\n }\n return this._binaryZeroPad;\n }\n\n /**\n * Parses a v4-in-v6 string (e.g. `::ffff:192.168.0.1`) by extracting the\n * trailing IPv4 address into `this.address4` / `this.parsedAddress4` and\n * returning the address with the v4 portion converted to two v6 groups.\n * Used internally by `parse()`.\n */\n // TODO: Improve the semantics of this helper function\n parse4in6(address: string): string {\n if (address.indexOf('.') === -1) {\n return address;\n }\n\n const groups = address.split(':');\n const lastGroup = groups.slice(-1)[0];\n\n const address4 = lastGroup.match(constants4.RE_ADDRESS);\n\n if (address4) {\n this.parsedAddress4 = address4[0];\n this.address4 = new Address4(this.parsedAddress4);\n\n for (let i = 0; i < this.address4.groups; i++) {\n if (/^0[0-9]+/.test(this.address4.parsedAddress[i])) {\n // The prefix groups haven't been through the bad-character check\n // yet, so escape them before including in the error HTML.\n const highlighted = this.address4.parsedAddress.map(spanLeadingZeroes4).join('.');\n const prefix = groups.slice(0, -1).map(helpers.escapeHtml).join(':');\n const separator = groups.length > 1 ? ':' : '';\n\n throw new AddressError(\n \"IPv4 addresses can't have leading zeroes.\",\n `${prefix}${separator}${highlighted}`,\n );\n }\n }\n\n this.v4 = true;\n\n groups[groups.length - 1] = this.address4.toGroup6();\n\n address = groups.join(':');\n }\n\n return address;\n }\n\n /**\n * Parses an IPv6 address string into its 8 hexadecimal groups (expanding\n * any `::` elision and any trailing v4-in-v6 portion) and stores the result\n * on `this.parsedAddress`. Called automatically by the constructor; you\n * typically don't need to call it directly. Throws `AddressError` if the\n * input is malformed.\n */\n // TODO: Make private?\n parse(address: string): string[] {\n address = this.parse4in6(address);\n\n const badCharacters = address.match(constants6.RE_BAD_CHARACTERS);\n\n if (badCharacters) {\n throw new AddressError(\n `Bad character${\n badCharacters.length > 1 ? 's' : ''\n } detected in address: ${badCharacters.join('')}`,\n address.replace(constants6.RE_BAD_CHARACTERS, '<span class=\"parse-error\">$1</span>'),\n );\n }\n\n const badAddress = address.match(constants6.RE_BAD_ADDRESS);\n\n if (badAddress) {\n throw new AddressError(\n `Address failed regex: ${badAddress.join('')}`,\n address.replace(constants6.RE_BAD_ADDRESS, '<span class=\"parse-error\">$1</span>'),\n );\n }\n\n let groups: string[] = [];\n\n const halves = address.split('::');\n\n if (halves.length === 2) {\n let first = halves[0].split(':');\n let last = halves[1].split(':');\n\n if (first.length === 1 && first[0] === '') {\n first = [];\n }\n\n if (last.length === 1 && last[0] === '') {\n last = [];\n }\n\n const remaining = this.groups - (first.length + last.length);\n\n if (!remaining) {\n throw new AddressError('Error parsing groups');\n }\n\n this.elidedGroups = remaining;\n\n this.elisionBegin = first.length;\n this.elisionEnd = first.length + this.elidedGroups;\n\n groups = groups.concat(first);\n\n for (let i = 0; i < remaining; i++) {\n groups.push('0');\n }\n\n groups = groups.concat(last);\n } else if (halves.length === 1) {\n groups = address.split(':');\n\n this.elidedGroups = 0;\n } else {\n throw new AddressError('Too many :: groups found');\n }\n\n groups = groups.map((group: string) => parseInt(group, 16).toString(16));\n\n if (groups.length !== this.groups) {\n throw new AddressError('Incorrect number of groups found');\n }\n\n return groups;\n }\n\n /**\n * Returns the canonical (fully expanded) form of the address: all 8 groups,\n * each padded to 4 hex digits, with no `::` collapsing\n * (e.g. `2001:0db8:0000:0000:0000:0000:0000:0001`). Useful for sorting and\n * byte-exact comparison.\n */\n canonicalForm(): string {\n return this.parsedAddress.map(paddedHex).join(':');\n }\n\n /**\n * Return the decimal form of the address\n * @returns {String}\n */\n decimal(): string {\n return this.parsedAddress.map((n) => parseInt(n, 16).toString(10).padStart(5, '0')).join(':');\n }\n\n /**\n * Return the address as a BigInt\n * @returns {bigint}\n */\n bigInt(): bigint {\n return BigInt(`0x${this.parsedAddress.map(paddedHex).join('')}`);\n }\n\n /**\n * Return the last two groups of this address as an IPv4 address string\n * @returns {Address4}\n * @example\n * var address = new Address6('2001:4860:4001::1825:bf11');\n * address.to4().correctForm(); // '24.37.191.17'\n */\n to4(): Address4 {\n const binary = this.binaryZeroPad().split('');\n\n return Address4.fromHex(\n BigInt(`0b${binary.slice(96, 128).join('')}`).toString(16).padStart(8, '0'),\n );\n }\n\n /**\n * Return the v4-in-v6 form of the address\n * @returns {String}\n */\n to4in6(): string {\n const address4 = this.to4();\n const address6 = new Address6(this.parsedAddress.slice(0, 6).join(':'), 6);\n\n const correct = address6.correctForm();\n\n let infix = '';\n\n if (!/:$/.test(correct)) {\n infix = ':';\n }\n\n return correct + infix + address4.address;\n }\n\n /**\n * Decodes the Teredo tunneling fields embedded in this address. Returns the\n * Teredo prefix, server IPv4, client IPv4, raw flag bits, cone-NAT flag,\n * UDP port, and Microsoft-format flag breakdown (reserved, universal/local,\n * group/individual, nonce). Only meaningful for addresses in `2001::/32`.\n */\n inspectTeredo(): TeredoProperties {\n /*\n - Bits 0 to 31 are set to the Teredo prefix (normally 2001:0000::/32).\n - Bits 32 to 63 embed the primary IPv4 address of the Teredo server that\n is used.\n - Bits 64 to 79 can be used to define some flags. Currently only the\n higher order bit is used; it is set to 1 if the Teredo client is\n located behind a cone NAT, 0 otherwise. For Microsoft's Windows Vista\n and Windows Server 2008 implementations, more bits are used. In those\n implementations, the format for these 16 bits is \"CRAAAAUG AAAAAAAA\",\n where \"C\" remains the \"Cone\" flag. The \"R\" bit is reserved for future\n use. The \"U\" bit is for the Universal/Local flag (set to 0). The \"G\" bit\n is Individual/Group flag (set to 0). The A bits are set to a 12-bit\n randomly generated number chosen by the Teredo client to introduce\n additional protection for the Teredo node against IPv6-based scanning\n attacks.\n - Bits 80 to 95 contains the obfuscated UDP port number. This is the\n port number that is mapped by the NAT to the Teredo client with all\n bits inverted.\n - Bits 96 to 127 contains the obfuscated IPv4 address. This is the\n public IPv4 address of the NAT with all bits inverted.\n */\n const prefix = this.getBitsBase16(0, 32);\n\n const bitsForUdpPort: bigint = this.getBits(80, 96);\n // eslint-disable-next-line no-bitwise\n const udpPort = (bitsForUdpPort ^ BigInt('0xffff')).toString();\n\n const server4 = Address4.fromHex(this.getBitsBase16(32, 64));\n\n const bitsForClient4 = this.getBits(96, 128);\n // eslint-disable-next-line no-bitwise\n const client4 = Address4.fromHex(\n (bitsForClient4 ^ BigInt('0xffffffff')).toString(16).padStart(8, '0'),\n );\n\n const flagsBase2 = this.getBitsBase2(64, 80);\n\n const coneNat = testBit(flagsBase2, 15);\n const reserved = testBit(flagsBase2, 14);\n const groupIndividual = testBit(flagsBase2, 8);\n const universalLocal = testBit(flagsBase2, 9);\n const nonce = BigInt(`0b${flagsBase2.slice(2, 6) + flagsBase2.slice(8, 16)}`).toString(10);\n\n return {\n prefix: `${prefix.slice(0, 4)}:${prefix.slice(4, 8)}`,\n server4: server4.address,\n client4: client4.address,\n flags: flagsBase2,\n coneNat,\n microsoft: {\n reserved,\n universalLocal,\n groupIndividual,\n nonce,\n },\n udpPort,\n };\n }\n\n /**\n * Decodes the 6to4 tunneling fields embedded in this address. Returns the\n * 6to4 prefix and the embedded IPv4 gateway address. Only meaningful for\n * addresses in `2002::/16`.\n */\n inspect6to4(): SixToFourProperties {\n /*\n - Bits 0 to 15 are set to the 6to4 prefix (2002::/16).\n - Bits 16 to 48 embed the IPv4 address of the 6to4 gateway that is used.\n */\n\n const prefix = this.getBitsBase16(0, 16);\n\n const gateway = Address4.fromHex(this.getBitsBase16(16, 48));\n\n return {\n prefix: prefix.slice(0, 4),\n gateway: gateway.address,\n };\n }\n\n /**\n * Return a v6 6to4 address from a v6 v4inv6 address\n * @returns {Address6}\n */\n to6to4(): Address6 | null {\n if (!this.is4()) {\n return null;\n }\n\n const addr6to4 = [\n '2002',\n this.getBitsBase16(96, 112),\n this.getBitsBase16(112, 128),\n '',\n '/16',\n ].join(':');\n\n return new Address6(addr6to4);\n }\n\n /**\n * Embed an IPv4 address into a NAT64 IPv6 address using the encoding\n * defined by [RFC 6052](https://datatracker.ietf.org/doc/html/rfc6052).\n * The default prefix is the well-known prefix `64:ff9b::/96`. The prefix\n * length must be one of 32, 40, 48, 56, 64, or 96; for prefixes shorter\n * than /64 the IPv4 octets are split around the reserved bits 64–71.\n * @example\n * Address6.fromAddress4Nat64('192.0.2.33').correctForm(); // '64:ff9b::c000:221'\n * Address6.fromAddress4Nat64('192.0.2.33', '2001:db8::/32').correctForm(); // '2001:db8:c000:221::'\n */\n static fromAddress4Nat64(address: string, prefix: string = '64:ff9b::/96'): Address6 {\n const v4 = new Address4(address);\n const prefix6 = new Address6(prefix);\n const pl = prefix6.subnetMask;\n\n if (pl !== 32 && pl !== 40 && pl !== 48 && pl !== 56 && pl !== 64 && pl !== 96) {\n throw new AddressError('NAT64 prefix length must be 32, 40, 48, 56, 64, or 96');\n }\n\n const prefixBits = prefix6.binaryZeroPad();\n const v4Bits = v4.binaryZeroPad();\n\n let bits: string;\n if (pl === 96) {\n bits = prefixBits.slice(0, 96) + v4Bits;\n } else {\n const beforeU = 64 - pl;\n bits =\n prefixBits.slice(0, pl) +\n v4Bits.slice(0, beforeU) +\n '00000000' +\n v4Bits.slice(beforeU) +\n '0'.repeat(128 - 72 - (32 - beforeU));\n }\n\n const hex = BigInt(`0b${bits}`).toString(16).padStart(32, '0');\n const groups: string[] = [];\n for (let i = 0; i < 8; i++) {\n groups.push(hex.slice(i * 4, (i + 1) * 4));\n }\n return new Address6(groups.join(':'));\n }\n\n /**\n * Extract the embedded IPv4 address from a NAT64 IPv6 address using the\n * encoding defined by [RFC 6052](https://datatracker.ietf.org/doc/html/rfc6052).\n * The default prefix is the well-known prefix `64:ff9b::/96`. Returns\n * `null` if this address is not contained within the given prefix.\n * @example\n * new Address6('64:ff9b::c000:221').toAddress4Nat64()!.correctForm(); // '192.0.2.33'\n */\n toAddress4Nat64(prefix: string = '64:ff9b::/96'): Address4 | null {\n const prefix6 = new Address6(prefix);\n const pl = prefix6.subnetMask;\n\n if (pl !== 32 && pl !== 40 && pl !== 48 && pl !== 56 && pl !== 64 && pl !== 96) {\n throw new AddressError('NAT64 prefix length must be 32, 40, 48, 56, 64, or 96');\n }\n\n if (!this.isInSubnet(prefix6)) {\n return null;\n }\n\n const bits = this.binaryZeroPad();\n let v4Bits: string;\n\n if (pl === 96) {\n v4Bits = bits.slice(96, 128);\n } else {\n const beforeU = 64 - pl;\n v4Bits = bits.slice(pl, pl + beforeU) + bits.slice(72, 72 + (32 - beforeU));\n }\n\n const octets: string[] = [];\n for (let i = 0; i < 4; i++) {\n octets.push(parseInt(v4Bits.slice(i * 8, (i + 1) * 8), 2).toString());\n }\n return new Address4(octets.join('.'));\n }\n\n /**\n * Return a byte array.\n *\n * To get a Node.js `Buffer`, wrap the result: `Buffer.from(address.toByteArray())`.\n * @returns {Array}\n */\n toByteArray(): number[] {\n const valueWithoutPadding = this.bigInt().toString(16);\n const leadingPad = '0'.repeat(valueWithoutPadding.length % 2);\n\n const value = `${leadingPad}${valueWithoutPadding}`;\n\n const bytes = [];\n for (let i = 0, length = value.length; i < length; i += 2) {\n bytes.push(parseInt(value.substring(i, i + 2), 16));\n }\n\n return bytes;\n }\n\n /**\n * Return an unsigned byte array.\n *\n * To get a Node.js `Buffer`, wrap the result: `Buffer.from(address.toUnsignedByteArray())`.\n * @returns {Array}\n */\n toUnsignedByteArray(): number[] {\n return this.toByteArray().map(unsignByte);\n }\n\n /**\n * Convert a byte array to an Address6 object.\n *\n * To convert from a Node.js `Buffer`, spread it: `Address6.fromByteArray([...buf])`.\n * @returns {Address6}\n */\n static fromByteArray(bytes: Array<any>): Address6 {\n return this.fromUnsignedByteArray(bytes.map(unsignByte));\n }\n\n /**\n * Convert an unsigned byte array to an Address6 object.\n *\n * To convert from a Node.js `Buffer`, spread it: `Address6.fromUnsignedByteArray([...buf])`.\n * @returns {Address6}\n */\n static fromUnsignedByteArray(bytes: Array<any>): Address6 {\n const BYTE_MAX = BigInt('256');\n let result = BigInt('0');\n let multiplier = BigInt('1');\n\n for (let i = bytes.length - 1; i >= 0; i--) {\n result += multiplier * BigInt(bytes[i].toString(10));\n\n multiplier *= BYTE_MAX;\n }\n\n return Address6.fromBigInt(result);\n }\n\n // #region Attributes\n /**\n * Returns true if the given address is in the subnet of the current address\n * @returns {boolean}\n */\n isInSubnet = common.isInSubnet;\n\n /**\n * Returns true if the address is correct, false otherwise\n * @returns {boolean}\n */\n isCorrect = isCorrect6;\n\n /**\n * Returns true if the address is in the canonical form, false otherwise\n * @returns {boolean}\n */\n isCanonical(): boolean {\n return this.addressMinusSuffix === this.canonicalForm();\n }\n\n /**\n * Returns true if the address is a link local address, false otherwise\n * @returns {boolean}\n */\n isLinkLocal(): boolean {\n // Zeroes are required, i.e. we can't check isInSubnet with 'fe80::/10'\n if (\n this.getBitsBase2(0, 64) ===\n '1111111010000000000000000000000000000000000000000000000000000000'\n ) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Returns true if the address is a multicast address, false otherwise\n * @returns {boolean}\n */\n isMulticast(): boolean {\n const type = this.getType();\n return type === 'Multicast' || type.startsWith('Multicast ');\n }\n\n /**\n * Returns true if the address was written in v4-in-v6 dotted-quad notation\n * (e.g. `::ffff:127.0.0.1`), false otherwise. This is a notation-level flag\n * and does not reflect whether the address bits lie in the IPv4-mapped\n * (`::ffff:0:0/96`) subnet — for that, see {@link isMapped4}.\n * @returns {boolean}\n */\n is4(): boolean {\n return this.v4;\n }\n\n /**\n * Returns true if the address is an IPv4-mapped IPv6 address in\n * `::ffff:0:0/96` ([RFC 4291 §2.5.5.2](https://datatracker.ietf.org/doc/html/rfc4291#section-2.5.5.2)),\n * false otherwise. Unlike {@link is4}, this checks the underlying address\n * bits rather than the textual notation, so `::ffff:127.0.0.1` and\n * `::ffff:7f00:1` both return true.\n * @returns {boolean}\n */\n isMapped4(): boolean {\n return this.isInSubnet(IPV4_MAPPED_SUBNET);\n }\n\n /**\n * Returns true if the address is a Teredo address, false otherwise\n * @returns {boolean}\n */\n isTeredo(): boolean {\n return this.isInSubnet(TEREDO_SUBNET);\n }\n\n /**\n * Returns true if the address is a 6to4 address, false otherwise\n * @returns {boolean}\n */\n is6to4(): boolean {\n return this.isInSubnet(SIX_TO_FOUR_SUBNET);\n }\n\n /**\n * Returns true if the address is a loopback address, false otherwise\n * @returns {boolean}\n */\n isLoopback(): boolean {\n return this.getType() === 'Loopback';\n }\n\n /**\n * Returns true if the address is a Unique Local Address in `fc00::/7` ([RFC 4193](https://datatracker.ietf.org/doc/html/rfc4193)). ULAs are the IPv6 equivalent of IPv4 [RFC 1918](https://datatracker.ietf.org/doc/html/rfc1918) private addresses.\n * @returns {boolean}\n */\n isULA(): boolean {\n return this.isInSubnet(ULA_SUBNET);\n }\n\n /**\n * Returns true if the address is the unspecified address `::`.\n * @returns {boolean}\n */\n isUnspecified(): boolean {\n return this.getType() === 'Unspecified';\n }\n\n /**\n * Returns true if the address is in the documentation prefix `2001:db8::/32` ([RFC 3849](https://datatracker.ietf.org/doc/html/rfc3849)).\n * @returns {boolean}\n */\n isDocumentation(): boolean {\n return this.isInSubnet(DOCUMENTATION_SUBNET);\n }\n // #endregion\n\n // #region HTML\n /**\n * Returns the address as an HTTP URL with the host bracketed, e.g.\n * `http://[2001:db8::1]/`. If `optionalPort` is provided it is appended,\n * e.g. `http://[2001:db8::1]:8080/`.\n */\n href(optionalPort?: number | string): string {\n if (optionalPort === undefined) {\n optionalPort = '';\n } else {\n optionalPort = `:${optionalPort}`;\n }\n\n return `http://[${this.correctForm()}]${optionalPort}/`;\n }\n\n /**\n * Returns an HTML `<a>` element whose `href` encodes the address in a URL\n * hash fragment (default prefix `/#address=`). Useful for linking between\n * pages of an address-inspector UI.\n * @param options.className - CSS class for the rendered `<a>` element\n * @param options.prefix - hash prefix prepended to the address (default `/#address=`)\n * @param options.v4 - when true, render the address in v4-in-v6 form\n */\n link(options?: { className?: string; prefix?: string; v4?: boolean }): string {\n if (!options) {\n options = {};\n }\n\n if (options.className === undefined) {\n options.className = '';\n }\n\n if (options.prefix === undefined) {\n options.prefix = '/#address=';\n }\n\n if (options.v4 === undefined) {\n options.v4 = false;\n }\n\n let formFunction = this.correctForm;\n\n if (options.v4) {\n formFunction = this.to4in6;\n }\n\n const form = formFunction.call(this);\n const safeHref = helpers.escapeHtml(`${options.prefix}${form}`);\n const safeForm = helpers.escapeHtml(form);\n\n if (options.className) {\n const safeClass = helpers.escapeHtml(options.className);\n\n return `<a href=\"${safeHref}\" class=\"${safeClass}\">${safeForm}</a>`;\n }\n\n return `<a href=\"${safeHref}\">${safeForm}</a>`;\n }\n\n /**\n * Groups an address\n * @returns {String}\n */\n group(): string {\n if (this.elidedGroups === 0) {\n // The simple case\n return helpers.simpleGroup(this.addressMinusSuffix).join(':');\n }\n\n assert(typeof this.elidedGroups === 'number');\n assert(typeof this.elisionBegin === 'number');\n\n // The elided case\n const output = [];\n\n const [left, right] = this.addressMinusSuffix.split('::');\n\n if (left.length) {\n output.push(...helpers.simpleGroup(left));\n } else {\n output.push('');\n }\n\n const classes = ['hover-group'];\n\n for (let i = this.elisionBegin; i < this.elisionBegin + this.elidedGroups; i++) {\n classes.push(`group-${i}`);\n }\n\n output.push(`<span class=\"${classes.join(' ')}\"></span>`);\n\n if (right.length) {\n output.push(...helpers.simpleGroup(right, this.elisionEnd));\n } else {\n output.push('');\n }\n\n if (this.is4()) {\n assert(this.address4 instanceof Address4);\n\n output.pop();\n output.push(this.address4.groupForV6());\n }\n\n return output.join(':');\n }\n // #endregion\n\n // #region Regular expressions\n /**\n * Generate a regular expression string that can be used to find or validate\n * all variations of this address\n * @param {boolean} substringSearch\n * @returns {string}\n */\n regularExpressionString(this: Address6, substringSearch: boolean = false): string {\n let output: string[] = [];\n\n // TODO: revisit why this is necessary\n const address6 = new Address6(this.correctForm());\n\n if (address6.elidedGroups === 0) {\n // The simple case\n output.push(simpleRegularExpression(address6.parsedAddress));\n } else if (address6.elidedGroups === constants6.GROUPS) {\n // A completely elided address\n output.push(possibleElisions(constants6.GROUPS));\n } else {\n // A partially elided address\n const halves = address6.address.split('::');\n\n if (halves[0].length) {\n output.push(simpleRegularExpression(halves[0].split(':')));\n }\n\n assert(typeof address6.elidedGroups === 'number');\n\n output.push(\n possibleElisions(address6.elidedGroups, halves[0].length !== 0, halves[1].length !== 0),\n );\n\n if (halves[1].length) {\n output.push(simpleRegularExpression(halves[1].split(':')));\n }\n\n output = [output.join(':')];\n }\n\n if (!substringSearch) {\n output = [\n '(?=^|',\n ADDRESS_BOUNDARY,\n '|[^\\\\w\\\\:])(',\n ...output,\n ')(?=[^\\\\w\\\\:]|',\n ADDRESS_BOUNDARY,\n '|$)',\n ];\n }\n\n return output.join('');\n }\n\n /**\n * Generate a regular expression that can be used to find or validate all\n * variations of this address.\n * @param {boolean} substringSearch\n * @returns {RegExp}\n */\n regularExpression(this: Address6, substringSearch: boolean = false): RegExp {\n return new RegExp(this.regularExpressionString(substringSearch), 'i');\n }\n // #endregion\n}\n\nconst TYPE_SUBNETS: Array<[Address6, string]> = Object.keys(constants6.TYPES).map((subnet) => [\n new Address6(subnet),\n constants6.TYPES[subnet] as string,\n]);\nconst TEREDO_SUBNET = new Address6('2001::/32');\nconst SIX_TO_FOUR_SUBNET = new Address6('2002::/16');\nconst ULA_SUBNET = new Address6('fc00::/7');\nconst DOCUMENTATION_SUBNET = new Address6('2001:db8::/32');\nconst IPV4_MAPPED_SUBNET = new Address6('::ffff:0:0/96');\n"]}
@@ -1,4 +0,0 @@
1
- export declare const BITS = 32;
2
- export declare const GROUPS = 4;
3
- export declare const RE_ADDRESS: RegExp;
4
- export declare const RE_SUBNET_STRING: RegExp;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RE_SUBNET_STRING = exports.RE_ADDRESS = exports.GROUPS = exports.BITS = void 0;
4
- exports.BITS = 32;
5
- exports.GROUPS = 4;
6
- exports.RE_ADDRESS = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;
7
- exports.RE_SUBNET_STRING = /\/\d{1,2}$/;
8
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/v4/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,EAAE,CAAC;AACV,QAAA,MAAM,GAAG,CAAC,CAAC;AAEX,QAAA,UAAU,GACrB,mKAAmK,CAAC;AAEzJ,QAAA,gBAAgB,GAAG,YAAY,CAAC","sourcesContent":["export const BITS = 32;\nexport const GROUPS = 4;\n\nexport const RE_ADDRESS =\n /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/g;\n\nexport const RE_SUBNET_STRING = /\\/\\d{1,2}$/;\n"]}
@@ -1,44 +0,0 @@
1
- export declare const BITS = 128;
2
- export declare const GROUPS = 8;
3
- /**
4
- * Represents IPv6 address scopes
5
- * @memberof Address6
6
- * @static
7
- */
8
- export declare const SCOPES: {
9
- [key: number]: string | undefined;
10
- };
11
- /**
12
- * Represents IPv6 address types
13
- * @memberof Address6
14
- * @static
15
- */
16
- export declare const TYPES: {
17
- [key: string]: string | undefined;
18
- };
19
- /**
20
- * A regular expression that matches bad characters in an IPv6 address
21
- * @memberof Address6
22
- * @static
23
- */
24
- export declare const RE_BAD_CHARACTERS: RegExp;
25
- /**
26
- * A regular expression that matches an incorrect IPv6 address
27
- * @memberof Address6
28
- * @static
29
- */
30
- export declare const RE_BAD_ADDRESS: RegExp;
31
- /**
32
- * A regular expression that matches an IPv6 subnet
33
- * @memberof Address6
34
- * @static
35
- */
36
- export declare const RE_SUBNET_STRING: RegExp;
37
- /**
38
- * A regular expression that matches an IPv6 zone
39
- * @memberof Address6
40
- * @static
41
- */
42
- export declare const RE_ZONE_STRING: RegExp;
43
- export declare const RE_URL: RegExp;
44
- export declare const RE_URL_WITH_PORT: RegExp;
@@ -1,81 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RE_URL_WITH_PORT = exports.RE_URL = exports.RE_ZONE_STRING = exports.RE_SUBNET_STRING = exports.RE_BAD_ADDRESS = exports.RE_BAD_CHARACTERS = exports.TYPES = exports.SCOPES = exports.GROUPS = exports.BITS = void 0;
4
- exports.BITS = 128;
5
- exports.GROUPS = 8;
6
- /**
7
- * Represents IPv6 address scopes
8
- * @memberof Address6
9
- * @static
10
- */
11
- exports.SCOPES = {
12
- 0: 'Reserved',
13
- 1: 'Interface local',
14
- 2: 'Link local',
15
- 4: 'Admin local',
16
- 5: 'Site local',
17
- 8: 'Organization local',
18
- 14: 'Global',
19
- 15: 'Reserved',
20
- };
21
- /**
22
- * Represents IPv6 address types
23
- * @memberof Address6
24
- * @static
25
- */
26
- exports.TYPES = {
27
- 'ff01::1/128': 'Multicast (All nodes on this interface)',
28
- 'ff01::2/128': 'Multicast (All routers on this interface)',
29
- 'ff02::1/128': 'Multicast (All nodes on this link)',
30
- 'ff02::2/128': 'Multicast (All routers on this link)',
31
- 'ff05::2/128': 'Multicast (All routers in this site)',
32
- 'ff02::5/128': 'Multicast (OSPFv3 AllSPF routers)',
33
- 'ff02::6/128': 'Multicast (OSPFv3 AllDR routers)',
34
- 'ff02::9/128': 'Multicast (RIP routers)',
35
- 'ff02::a/128': 'Multicast (EIGRP routers)',
36
- 'ff02::d/128': 'Multicast (PIM routers)',
37
- 'ff02::16/128': 'Multicast (MLDv2 reports)',
38
- 'ff01::fb/128': 'Multicast (mDNSv6)',
39
- 'ff02::fb/128': 'Multicast (mDNSv6)',
40
- 'ff05::fb/128': 'Multicast (mDNSv6)',
41
- 'ff02::1:2/128': 'Multicast (All DHCP servers and relay agents on this link)',
42
- 'ff05::1:2/128': 'Multicast (All DHCP servers and relay agents in this site)',
43
- 'ff02::1:3/128': 'Multicast (All DHCP servers on this link)',
44
- 'ff05::1:3/128': 'Multicast (All DHCP servers in this site)',
45
- '::/128': 'Unspecified',
46
- '::1/128': 'Loopback',
47
- 'ff00::/8': 'Multicast',
48
- 'fe80::/10': 'Link-local unicast',
49
- 'fc00::/7': 'Unique local',
50
- '2002::/16': '6to4',
51
- '2001:db8::/32': 'Documentation',
52
- '64:ff9b::/96': 'NAT64 (well-known)',
53
- '64:ff9b:1::/48': 'NAT64 (local-use)',
54
- };
55
- /**
56
- * A regular expression that matches bad characters in an IPv6 address
57
- * @memberof Address6
58
- * @static
59
- */
60
- exports.RE_BAD_CHARACTERS = /([^0-9a-f:/%])/gi;
61
- /**
62
- * A regular expression that matches an incorrect IPv6 address
63
- * @memberof Address6
64
- * @static
65
- */
66
- exports.RE_BAD_ADDRESS = /([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi;
67
- /**
68
- * A regular expression that matches an IPv6 subnet
69
- * @memberof Address6
70
- * @static
71
- */
72
- exports.RE_SUBNET_STRING = /\/\d{1,3}(?=%|$)/;
73
- /**
74
- * A regular expression that matches an IPv6 zone
75
- * @memberof Address6
76
- * @static
77
- */
78
- exports.RE_ZONE_STRING = /%.*$/;
79
- exports.RE_URL = /^\[{0,1}([0-9a-f:]+)\]{0,1}/;
80
- exports.RE_URL_WITH_PORT = /\[([0-9a-f:]+)\]:([0-9]{1,5})/;
81
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/v6/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,GAAG,CAAC;AACX,QAAA,MAAM,GAAG,CAAC,CAAC;AAExB;;;;GAIG;AACU,QAAA,MAAM,GAA0C;IAC3D,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,iBAAiB;IACpB,CAAC,EAAE,YAAY;IACf,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,YAAY;IACf,CAAC,EAAE,oBAAoB;IACvB,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,UAAU;CACN,CAAC;AAEX;;;;GAIG;AACU,QAAA,KAAK,GAA0C;IAC1D,aAAa,EAAE,yCAAyC;IACxD,aAAa,EAAE,2CAA2C;IAC1D,aAAa,EAAE,oCAAoC;IACnD,aAAa,EAAE,sCAAsC;IACrD,aAAa,EAAE,sCAAsC;IACrD,aAAa,EAAE,mCAAmC;IAClD,aAAa,EAAE,kCAAkC;IACjD,aAAa,EAAE,yBAAyB;IACxC,aAAa,EAAE,2BAA2B;IAC1C,aAAa,EAAE,yBAAyB;IACxC,cAAc,EAAE,2BAA2B;IAC3C,cAAc,EAAE,oBAAoB;IACpC,cAAc,EAAE,oBAAoB;IACpC,cAAc,EAAE,oBAAoB;IACpC,eAAe,EAAE,4DAA4D;IAC7E,eAAe,EAAE,4DAA4D;IAC7E,eAAe,EAAE,2CAA2C;IAC5D,eAAe,EAAE,2CAA2C;IAC5D,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,WAAW;IACvB,WAAW,EAAE,oBAAoB;IACjC,UAAU,EAAE,cAAc;IAC1B,WAAW,EAAE,MAAM;IACnB,eAAe,EAAE,eAAe;IAChC,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE,mBAAmB;CAC7B,CAAC;AAEX;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,kBAAkB,CAAC;AAEpD;;;;GAIG;AACU,QAAA,cAAc,GAAG,0CAA0C,CAAC;AAEzE;;;;GAIG;AACU,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AAEnD;;;;GAIG;AACU,QAAA,cAAc,GAAG,MAAM,CAAC;AAExB,QAAA,MAAM,GAAG,6BAA6B,CAAC;AACvC,QAAA,gBAAgB,GAAG,+BAA+B,CAAC","sourcesContent":["export const BITS = 128;\nexport const GROUPS = 8;\n\n/**\n * Represents IPv6 address scopes\n * @memberof Address6\n * @static\n */\nexport const SCOPES: { [key: number]: string | undefined } = {\n 0: 'Reserved',\n 1: 'Interface local',\n 2: 'Link local',\n 4: 'Admin local',\n 5: 'Site local',\n 8: 'Organization local',\n 14: 'Global',\n 15: 'Reserved',\n} as const;\n\n/**\n * Represents IPv6 address types\n * @memberof Address6\n * @static\n */\nexport const TYPES: { [key: string]: string | undefined } = {\n 'ff01::1/128': 'Multicast (All nodes on this interface)',\n 'ff01::2/128': 'Multicast (All routers on this interface)',\n 'ff02::1/128': 'Multicast (All nodes on this link)',\n 'ff02::2/128': 'Multicast (All routers on this link)',\n 'ff05::2/128': 'Multicast (All routers in this site)',\n 'ff02::5/128': 'Multicast (OSPFv3 AllSPF routers)',\n 'ff02::6/128': 'Multicast (OSPFv3 AllDR routers)',\n 'ff02::9/128': 'Multicast (RIP routers)',\n 'ff02::a/128': 'Multicast (EIGRP routers)',\n 'ff02::d/128': 'Multicast (PIM routers)',\n 'ff02::16/128': 'Multicast (MLDv2 reports)',\n 'ff01::fb/128': 'Multicast (mDNSv6)',\n 'ff02::fb/128': 'Multicast (mDNSv6)',\n 'ff05::fb/128': 'Multicast (mDNSv6)',\n 'ff02::1:2/128': 'Multicast (All DHCP servers and relay agents on this link)',\n 'ff05::1:2/128': 'Multicast (All DHCP servers and relay agents in this site)',\n 'ff02::1:3/128': 'Multicast (All DHCP servers on this link)',\n 'ff05::1:3/128': 'Multicast (All DHCP servers in this site)',\n '::/128': 'Unspecified',\n '::1/128': 'Loopback',\n 'ff00::/8': 'Multicast',\n 'fe80::/10': 'Link-local unicast',\n 'fc00::/7': 'Unique local',\n '2002::/16': '6to4',\n '2001:db8::/32': 'Documentation',\n '64:ff9b::/96': 'NAT64 (well-known)',\n '64:ff9b:1::/48': 'NAT64 (local-use)',\n} as const;\n\n/**\n * A regular expression that matches bad characters in an IPv6 address\n * @memberof Address6\n * @static\n */\nexport const RE_BAD_CHARACTERS = /([^0-9a-f:/%])/gi;\n\n/**\n * A regular expression that matches an incorrect IPv6 address\n * @memberof Address6\n * @static\n */\nexport const RE_BAD_ADDRESS = /([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\\/$)/gi;\n\n/**\n * A regular expression that matches an IPv6 subnet\n * @memberof Address6\n * @static\n */\nexport const RE_SUBNET_STRING = /\\/\\d{1,3}(?=%|$)/;\n\n/**\n * A regular expression that matches an IPv6 zone\n * @memberof Address6\n * @static\n */\nexport const RE_ZONE_STRING = /%.*$/;\n\nexport const RE_URL = /^\\[{0,1}([0-9a-f:]+)\\]{0,1}/;\nexport const RE_URL_WITH_PORT = /\\[([0-9a-f:]+)\\]:([0-9]{1,5})/;\n"]}
@@ -1,18 +0,0 @@
1
- export declare function escapeHtml(s: string): string;
2
- /**
3
- * @returns {String} the string with all zeroes contained in a <span>
4
- */
5
- export declare function spanAllZeroes(s: string): string;
6
- /**
7
- * @returns {String} the string with each character contained in a <span>
8
- */
9
- export declare function spanAll(s: string, offset?: number): string;
10
- /**
11
- * @returns {String} the string with leading zeroes contained in a <span>
12
- */
13
- export declare function spanLeadingZeroes(address: string): string;
14
- /**
15
- * Groups an address
16
- * @returns {String} a grouped address
17
- */
18
- export declare function simpleGroup(addressString: string, offset?: number): string[];
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.escapeHtml = escapeHtml;
4
- exports.spanAllZeroes = spanAllZeroes;
5
- exports.spanAll = spanAll;
6
- exports.spanLeadingZeroes = spanLeadingZeroes;
7
- exports.simpleGroup = simpleGroup;
8
- function escapeHtml(s) {
9
- return s
10
- .replace(/&/g, '&amp;')
11
- .replace(/</g, '&lt;')
12
- .replace(/>/g, '&gt;')
13
- .replace(/"/g, '&quot;')
14
- .replace(/'/g, '&#39;');
15
- }
16
- /**
17
- * @returns {String} the string with all zeroes contained in a <span>
18
- */
19
- function spanAllZeroes(s) {
20
- return escapeHtml(s).replace(/(0+)/g, '<span class="zero">$1</span>');
21
- }
22
- /**
23
- * @returns {String} the string with each character contained in a <span>
24
- */
25
- function spanAll(s, offset = 0) {
26
- const letters = s.split('');
27
- return letters
28
- .map((n, i) => `<span class="digit value-${escapeHtml(n)} position-${i + offset}">${spanAllZeroes(n)}</span>`)
29
- .join('');
30
- }
31
- function spanLeadingZeroesSimple(group) {
32
- return escapeHtml(group).replace(/^(0+)/, '<span class="zero">$1</span>');
33
- }
34
- /**
35
- * @returns {String} the string with leading zeroes contained in a <span>
36
- */
37
- function spanLeadingZeroes(address) {
38
- const groups = address.split(':');
39
- return groups.map((g) => spanLeadingZeroesSimple(g)).join(':');
40
- }
41
- /**
42
- * Groups an address
43
- * @returns {String} a grouped address
44
- */
45
- function simpleGroup(addressString, offset = 0) {
46
- const groups = addressString.split(':');
47
- return groups.map((g, i) => {
48
- if (/group-v4/.test(g)) {
49
- return g;
50
- }
51
- return `<span class="hover-group group-${i + offset}">${spanLeadingZeroesSimple(g)}</span>`;
52
- });
53
- }
54
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/v6/helpers.ts"],"names":[],"mappings":";;AAAA,gCAOC;AAKD,sCAEC;AAKD,0BASC;AASD,8CAIC;AAMD,kCAUC;AAzDD,SAAgB,UAAU,CAAC,CAAS;IAClC,OAAO,CAAC;SACL,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;SACvB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,aAAa,CAAC,CAAS;IACrC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,8BAA8B,CAAC,CAAC;AACxE,CAAC;AAED;;GAEG;AACH,SAAgB,OAAO,CAAC,CAAS,EAAE,SAAiB,CAAC;IACnD,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAE5B,OAAO,OAAO;SACX,GAAG,CACF,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACP,4BAA4B,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,SAAS,CACjG;SACA,IAAI,CAAC,EAAE,CAAC,CAAC;AACd,CAAC;AAED,SAAS,uBAAuB,CAAC,KAAa;IAC5C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,8BAA8B,CAAC,CAAC;AAC5E,CAAC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAAC,OAAe;IAC/C,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACjE,CAAC;AAED;;;GAGG;AACH,SAAgB,WAAW,CAAC,aAAqB,EAAE,SAAiB,CAAC;IACnE,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAExC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACzB,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YACvB,OAAO,CAAC,CAAC;QACX,CAAC;QAED,OAAO,kCAAkC,CAAC,GAAG,MAAM,KAAK,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9F,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["export function escapeHtml(s: string): string {\n return s\n .replace(/&/g, '&amp;')\n .replace(/</g, '&lt;')\n .replace(/>/g, '&gt;')\n .replace(/\"/g, '&quot;')\n .replace(/'/g, '&#39;');\n}\n\n/**\n * @returns {String} the string with all zeroes contained in a <span>\n */\nexport function spanAllZeroes(s: string): string {\n return escapeHtml(s).replace(/(0+)/g, '<span class=\"zero\">$1</span>');\n}\n\n/**\n * @returns {String} the string with each character contained in a <span>\n */\nexport function spanAll(s: string, offset: number = 0): string {\n const letters = s.split('');\n\n return letters\n .map(\n (n, i) =>\n `<span class=\"digit value-${escapeHtml(n)} position-${i + offset}\">${spanAllZeroes(n)}</span>`,\n )\n .join('');\n}\n\nfunction spanLeadingZeroesSimple(group: string): string {\n return escapeHtml(group).replace(/^(0+)/, '<span class=\"zero\">$1</span>');\n}\n\n/**\n * @returns {String} the string with leading zeroes contained in a <span>\n */\nexport function spanLeadingZeroes(address: string): string {\n const groups = address.split(':');\n\n return groups.map((g) => spanLeadingZeroesSimple(g)).join(':');\n}\n\n/**\n * Groups an address\n * @returns {String} a grouped address\n */\nexport function simpleGroup(addressString: string, offset: number = 0): string[] {\n const groups = addressString.split(':');\n\n return groups.map((g, i) => {\n if (/group-v4/.test(g)) {\n return g;\n }\n\n return `<span class=\"hover-group group-${i + offset}\">${spanLeadingZeroesSimple(g)}</span>`;\n });\n}\n"]}
@@ -1,5 +0,0 @@
1
- export declare function groupPossibilities(possibilities: string[]): string;
2
- export declare function padGroup(group: string): string;
3
- export declare const ADDRESS_BOUNDARY = "[^A-Fa-f0-9:]";
4
- export declare function simpleRegularExpression(groups: string[]): string;
5
- export declare function possibleElisions(elidedGroups: number, moreLeft?: boolean, moreRight?: boolean): string;
@@ -1,95 +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
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ADDRESS_BOUNDARY = void 0;
27
- exports.groupPossibilities = groupPossibilities;
28
- exports.padGroup = padGroup;
29
- exports.simpleRegularExpression = simpleRegularExpression;
30
- exports.possibleElisions = possibleElisions;
31
- const v6 = __importStar(require("./constants"));
32
- function groupPossibilities(possibilities) {
33
- return `(${possibilities.join('|')})`;
34
- }
35
- function padGroup(group) {
36
- if (group.length < 4) {
37
- return `0{0,${4 - group.length}}${group}`;
38
- }
39
- return group;
40
- }
41
- exports.ADDRESS_BOUNDARY = '[^A-Fa-f0-9:]';
42
- function simpleRegularExpression(groups) {
43
- const zeroIndexes = [];
44
- groups.forEach((group, i) => {
45
- const groupInteger = parseInt(group, 16);
46
- if (groupInteger === 0) {
47
- zeroIndexes.push(i);
48
- }
49
- });
50
- // You can technically elide a single 0, this creates the regular expressions
51
- // to match that eventuality
52
- const possibilities = zeroIndexes.map((zeroIndex) => groups
53
- .map((group, i) => {
54
- if (i === zeroIndex) {
55
- const elision = i === 0 || i === v6.GROUPS - 1 ? ':' : '';
56
- return groupPossibilities([padGroup(group), elision]);
57
- }
58
- return padGroup(group);
59
- })
60
- .join(':'));
61
- // The simplest case
62
- possibilities.push(groups.map(padGroup).join(':'));
63
- return groupPossibilities(possibilities);
64
- }
65
- function possibleElisions(elidedGroups, moreLeft, moreRight) {
66
- const left = moreLeft ? '' : ':';
67
- const right = moreRight ? '' : ':';
68
- const possibilities = [];
69
- // 1. elision of everything (::)
70
- if (!moreLeft && !moreRight) {
71
- possibilities.push('::');
72
- }
73
- // 2. complete elision of the middle
74
- if (moreLeft && moreRight) {
75
- possibilities.push('');
76
- }
77
- if ((moreRight && !moreLeft) || (!moreRight && moreLeft)) {
78
- // 3. complete elision of one side
79
- possibilities.push(':');
80
- }
81
- // 4. elision from the left side
82
- possibilities.push(`${left}(:0{1,4}){1,${elidedGroups - 1}}`);
83
- // 5. elision from the right side
84
- possibilities.push(`(0{1,4}:){1,${elidedGroups - 1}}${right}`);
85
- // 6. no elision
86
- possibilities.push(`(0{1,4}:){${elidedGroups - 1}}0{1,4}`);
87
- // 7. elision (including sloppy elision) from the middle
88
- for (let groups = 1; groups < elidedGroups - 1; groups++) {
89
- for (let position = 1; position < elidedGroups - groups; position++) {
90
- possibilities.push(`(0{1,4}:){${position}}:(0{1,4}:){${elidedGroups - position - groups - 1}}0{1,4}`);
91
- }
92
- }
93
- return groupPossibilities(possibilities);
94
- }
95
- //# sourceMappingURL=regular-expressions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regular-expressions.js","sourceRoot":"","sources":["../../src/v6/regular-expressions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,gDAEC;AAED,4BAMC;AAID,0DA+BC;AAED,4CA4CC;AA7FD,gDAAkC;AAElC,SAAgB,kBAAkB,CAAC,aAAuB;IACxD,OAAO,IAAI,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;AACxC,CAAC;AAED,SAAgB,QAAQ,CAAC,KAAa;IACpC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrB,OAAO,OAAO,CAAC,GAAG,KAAK,CAAC,MAAM,IAAI,KAAK,EAAE,CAAC;IAC5C,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAEY,QAAA,gBAAgB,GAAG,eAAe,CAAC;AAEhD,SAAgB,uBAAuB,CAAC,MAAgB;IACtD,MAAM,WAAW,GAAa,EAAE,CAAC;IAEjC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE;QAC1B,MAAM,YAAY,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAEzC,IAAI,YAAY,KAAK,CAAC,EAAE,CAAC;YACvB,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,6EAA6E;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;IACzB,CAAC;IAED,IAAI,CAAC,SAAS,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,SAAS,IAAI,QAAQ,CAAC,EAAE,CAAC;QACzD,kCAAkC;QAClC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAED,gCAAgC;IAChC,aAAa,CAAC,IAAI,CAAC,GAAG,IAAI,eAAe,YAAY,GAAG,CAAC,GAAG,CAAC,CAAC;IAE9D,iCAAiC;IACjC,aAAa,CAAC,IAAI,CAAC,eAAe,YAAY,GAAG,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAE/D,gBAAgB;IAChB,aAAa,CAAC,IAAI,CAAC,aAAa,YAAY,GAAG,CAAC,SAAS,CAAC,CAAC;IAE3D,wDAAwD;IACxD,KAAK,IAAI,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;QACzD,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,YAAY,GAAG,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;YACpE,aAAa,CAAC,IAAI,CAChB,aAAa,QAAQ,eAAe,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,CAAC,SAAS,CAClF,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,kBAAkB,CAAC,aAAa,CAAC,CAAC;AAC3C,CAAC","sourcesContent":["import * as v6 from './constants';\n\nexport function groupPossibilities(possibilities: string[]): string {\n return `(${possibilities.join('|')})`;\n}\n\nexport function padGroup(group: string): string {\n if (group.length < 4) {\n return `0{0,${4 - group.length}}${group}`;\n }\n\n return group;\n}\n\nexport const ADDRESS_BOUNDARY = '[^A-Fa-f0-9:]';\n\nexport function simpleRegularExpression(groups: string[]) {\n const zeroIndexes: number[] = [];\n\n groups.forEach((group, i) => {\n const groupInteger = parseInt(group, 16);\n\n if (groupInteger === 0) {\n zeroIndexes.push(i);\n }\n });\n\n // You can technically elide a single 0, this creates the regular expressions\n // to match that eventuality\n const possibilities = zeroIndexes.map((zeroIndex) =>\n groups\n .map((group, i) => {\n if (i === zeroIndex) {\n const elision = i === 0 || i === v6.GROUPS - 1 ? ':' : '';\n\n return groupPossibilities([padGroup(group), elision]);\n }\n\n return padGroup(group);\n })\n .join(':'),\n );\n\n // The simplest case\n possibilities.push(groups.map(padGroup).join(':'));\n\n return groupPossibilities(possibilities);\n}\n\nexport function possibleElisions(\n elidedGroups: number,\n moreLeft?: boolean,\n moreRight?: boolean,\n): string {\n const left = moreLeft ? '' : ':';\n const right = moreRight ? '' : ':';\n\n const possibilities = [];\n\n // 1. elision of everything (::)\n if (!moreLeft && !moreRight) {\n possibilities.push('::');\n }\n\n // 2. complete elision of the middle\n if (moreLeft && moreRight) {\n possibilities.push('');\n }\n\n if ((moreRight && !moreLeft) || (!moreRight && moreLeft)) {\n // 3. complete elision of one side\n possibilities.push(':');\n }\n\n // 4. elision from the left side\n possibilities.push(`${left}(:0{1,4}){1,${elidedGroups - 1}}`);\n\n // 5. elision from the right side\n possibilities.push(`(0{1,4}:){1,${elidedGroups - 1}}${right}`);\n\n // 6. no elision\n possibilities.push(`(0{1,4}:){${elidedGroups - 1}}0{1,4}`);\n\n // 7. elision (including sloppy elision) from the middle\n for (let groups = 1; groups < elidedGroups - 1; groups++) {\n for (let position = 1; position < elidedGroups - groups; position++) {\n possibilities.push(\n `(0{1,4}:){${position}}:(0{1,4}:){${elidedGroups - position - groups - 1}}0{1,4}`,\n );\n }\n }\n\n return groupPossibilities(possibilities);\n}\n"]}
@@ -1,88 +0,0 @@
1
- {
2
- "name": "ip-address",
3
- "description": "A library for parsing IPv4 and IPv6 IP addresses in node and the browser.",
4
- "keywords": [
5
- "ip",
6
- "ipv4",
7
- "ipv6",
8
- "address",
9
- "cidr",
10
- "subnet",
11
- "netmask",
12
- "validate",
13
- "validation",
14
- "parse",
15
- "arpa",
16
- "bigint",
17
- "browser"
18
- ],
19
- "version": "10.2.0",
20
- "author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)",
21
- "license": "MIT",
22
- "main": "dist/ip-address.js",
23
- "types": "dist/ip-address.d.ts",
24
- "scripts": {
25
- "docs": "tsx scripts/build-readme.ts",
26
- "build": "rm -rf dist; mkdir dist; tsc",
27
- "prepack": "npm run docs && npm run build",
28
- "test-ci": "c8 --experimental-monocart mocha",
29
- "test": "mocha",
30
- "watch": "mocha --watch"
31
- },
32
- "c8": {
33
- "include": [
34
- "src/**/*.ts"
35
- ],
36
- "exclude": [
37
- "**/*.d.ts",
38
- "src/ip-address.ts",
39
- "src/v4/constants.ts",
40
- "src/v6/constants.ts"
41
- ],
42
- "reporter": [
43
- "html",
44
- "lcov",
45
- "text"
46
- ]
47
- },
48
- "engines": {
49
- "node": ">= 12"
50
- },
51
- "sideEffects": false,
52
- "files": [
53
- "dist"
54
- ],
55
- "repository": {
56
- "type": "git",
57
- "url": "git://github.com/beaugunderson/ip-address.git"
58
- },
59
- "overrides": {
60
- "diff": "^8.0.3",
61
- "serialize-javascript": "^7.0.5",
62
- "@eslint/plugin-kit": "^0.7.1"
63
- },
64
- "devDependencies": {
65
- "@types/chai": "^5.2.3",
66
- "@types/mocha": "^10.0.10",
67
- "@typescript-eslint/eslint-plugin": "^8.59.1",
68
- "@typescript-eslint/parser": "^8.59.1",
69
- "c8": "^11.0.0",
70
- "chai": "^6.2.2",
71
- "eslint": "^8.57.1",
72
- "eslint_d": "^14.0.4",
73
- "eslint-config-airbnb": "^19.0.4",
74
- "eslint-config-prettier": "^10.1.8",
75
- "eslint-plugin-filenames": "^1.3.2",
76
- "eslint-plugin-import": "^2.32.0",
77
- "eslint-plugin-jsx-a11y": "^6.10.2",
78
- "eslint-plugin-prettier": "^5.5.5",
79
- "eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
80
- "mocha": "^11.7.5",
81
- "monocart-coverage-reports": "^2.12.11",
82
- "prettier": "^3.8.3",
83
- "source-map-support": "^0.5.21",
84
- "tsx": "^4.21.0",
85
- "typedoc": "^0.28.19",
86
- "typescript": "<5.6.0"
87
- }
88
- }