groove-dev 0.26.39 → 0.27.1

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 (915) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/CLAUDE.md +31 -19
  3. package/node_modules/@groove-dev/cli/package.json +1 -1
  4. package/node_modules/@groove-dev/daemon/integrations-registry.json +548 -0
  5. package/node_modules/@groove-dev/daemon/package.json +1 -1
  6. package/node_modules/@groove-dev/daemon/src/api.js +172 -4
  7. package/node_modules/@groove-dev/daemon/src/classifier.js +20 -1
  8. package/node_modules/@groove-dev/daemon/src/firstrun.js +14 -1
  9. package/node_modules/@groove-dev/daemon/src/gateways/manager.js +2 -2
  10. package/node_modules/@groove-dev/daemon/src/index.js +3 -1
  11. package/node_modules/@groove-dev/daemon/src/introducer.js +56 -5
  12. package/node_modules/@groove-dev/daemon/src/journalist.js +72 -10
  13. package/node_modules/@groove-dev/daemon/src/lockmanager.js +60 -0
  14. package/node_modules/@groove-dev/daemon/src/mcp-manager.js +2 -1
  15. package/node_modules/@groove-dev/daemon/src/memory.js +370 -0
  16. package/node_modules/@groove-dev/daemon/src/pm.js +1 -1
  17. package/node_modules/@groove-dev/daemon/src/process.js +20 -1
  18. package/node_modules/@groove-dev/daemon/src/rotator.js +184 -5
  19. package/node_modules/@groove-dev/daemon/src/router.js +43 -0
  20. package/node_modules/@groove-dev/daemon/src/tokentracker.js +62 -8
  21. package/node_modules/@groove-dev/daemon/src/validate.js +0 -13
  22. package/node_modules/@groove-dev/daemon/test/journalist.test.js +5 -2
  23. package/node_modules/@groove-dev/daemon/test/lockmanager.test.js +64 -0
  24. package/node_modules/@groove-dev/daemon/test/memory.test.js +252 -0
  25. package/node_modules/@groove-dev/daemon/test/rotator.test.js +156 -0
  26. package/node_modules/@groove-dev/daemon/test/router.test.js +64 -0
  27. package/node_modules/@groove-dev/daemon/test/tokentracker.test.js +78 -0
  28. package/node_modules/@groove-dev/gui/dist/assets/index-Bl1_J0sN.js +652 -0
  29. package/node_modules/@groove-dev/gui/dist/assets/index-DjORRpF0.css +1 -0
  30. package/node_modules/@groove-dev/gui/dist/index.html +2 -2
  31. package/node_modules/@groove-dev/gui/package.json +1 -4
  32. package/node_modules/@groove-dev/gui/src/components/agents/spawn-wizard.jsx +18 -0
  33. package/node_modules/@groove-dev/gui/src/components/dashboard/cache-ring.jsx +6 -2
  34. package/node_modules/@groove-dev/gui/src/components/dashboard/intel-panel.jsx +251 -8
  35. package/node_modules/@groove-dev/gui/src/components/dashboard/team-burn-panel.jsx +55 -0
  36. package/node_modules/@groove-dev/gui/src/components/marketplace/marketplace-card.jsx +22 -4
  37. package/node_modules/@groove-dev/gui/src/lib/format.js +0 -6
  38. package/node_modules/@groove-dev/gui/src/lib/hooks/use-dashboard.js +18 -1
  39. package/node_modules/@groove-dev/gui/src/stores/groove.js +41 -16
  40. package/node_modules/@groove-dev/gui/src/views/dashboard.jsx +9 -2
  41. package/node_modules/@groove-dev/gui/src/views/marketplace.jsx +103 -77
  42. package/package.json +2 -8
  43. package/packages/cli/package.json +1 -1
  44. package/packages/daemon/integrations-registry.json +548 -0
  45. package/packages/daemon/package.json +1 -1
  46. package/packages/daemon/src/api.js +172 -4
  47. package/packages/daemon/src/classifier.js +20 -1
  48. package/packages/daemon/src/firstrun.js +14 -1
  49. package/packages/daemon/src/gateways/manager.js +2 -2
  50. package/packages/daemon/src/index.js +3 -1
  51. package/packages/daemon/src/introducer.js +56 -5
  52. package/packages/daemon/src/journalist.js +72 -10
  53. package/packages/daemon/src/lockmanager.js +60 -0
  54. package/packages/daemon/src/mcp-manager.js +2 -1
  55. package/packages/daemon/src/memory.js +370 -0
  56. package/packages/daemon/src/pm.js +1 -1
  57. package/packages/daemon/src/process.js +20 -1
  58. package/packages/daemon/src/rotator.js +184 -5
  59. package/packages/daemon/src/router.js +43 -0
  60. package/packages/daemon/src/tokentracker.js +62 -8
  61. package/packages/daemon/src/validate.js +0 -13
  62. package/packages/gui/dist/assets/index-Bl1_J0sN.js +652 -0
  63. package/packages/gui/dist/assets/index-DjORRpF0.css +1 -0
  64. package/packages/gui/dist/index.html +2 -2
  65. package/packages/gui/package.json +1 -4
  66. package/packages/gui/src/components/agents/spawn-wizard.jsx +18 -0
  67. package/packages/gui/src/components/dashboard/cache-ring.jsx +6 -2
  68. package/packages/gui/src/components/dashboard/intel-panel.jsx +251 -8
  69. package/packages/gui/src/components/dashboard/team-burn-panel.jsx +55 -0
  70. package/packages/gui/src/components/marketplace/marketplace-card.jsx +22 -4
  71. package/packages/gui/src/lib/format.js +0 -6
  72. package/packages/gui/src/lib/hooks/use-dashboard.js +18 -1
  73. package/packages/gui/src/stores/groove.js +41 -16
  74. package/packages/gui/src/views/dashboard.jsx +9 -2
  75. package/packages/gui/src/views/marketplace.jsx +103 -77
  76. package/docs-manager/DOCS-WORKFLOW.md +0 -176
  77. package/node_modules/@groove-dev/gui/dist/assets/index-BkY43sei.css +0 -1
  78. package/node_modules/@groove-dev/gui/dist/assets/index-DmKZLrXU.js +0 -652
  79. package/node_modules/@groove-dev/gui/dist/groove-logo-short.png +0 -0
  80. package/node_modules/@groove-dev/gui/dist/groove-logo.png +0 -0
  81. package/node_modules/@groove-dev/gui/public/groove-logo-short.png +0 -0
  82. package/node_modules/@groove-dev/gui/public/groove-logo.png +0 -0
  83. package/node_modules/@groove-dev/gui/src/components/ui/dropdown-menu.jsx +0 -60
  84. package/node_modules/@groove-dev/gui/src/lib/hooks/use-media-query.js +0 -18
  85. package/node_modules/@radix-ui/react-dropdown-menu/LICENSE +0 -21
  86. package/node_modules/@radix-ui/react-dropdown-menu/README.md +0 -3
  87. package/node_modules/@radix-ui/react-dropdown-menu/dist/index.d.mts +0 -97
  88. package/node_modules/@radix-ui/react-dropdown-menu/dist/index.d.ts +0 -97
  89. package/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -337
  90. package/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -7
  91. package/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +0 -305
  92. package/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.map +0 -7
  93. package/node_modules/@radix-ui/react-dropdown-menu/package.json +0 -75
  94. package/node_modules/@radix-ui/react-popover/LICENSE +0 -21
  95. package/node_modules/@radix-ui/react-popover/README.md +0 -3
  96. package/node_modules/@radix-ui/react-popover/dist/index.d.mts +0 -85
  97. package/node_modules/@radix-ui/react-popover/dist/index.d.ts +0 -85
  98. package/node_modules/@radix-ui/react-popover/dist/index.js +0 -352
  99. package/node_modules/@radix-ui/react-popover/dist/index.js.map +0 -7
  100. package/node_modules/@radix-ui/react-popover/dist/index.mjs +0 -320
  101. package/node_modules/@radix-ui/react-popover/dist/index.mjs.map +0 -7
  102. package/node_modules/@radix-ui/react-popover/package.json +0 -82
  103. package/node_modules/@radix-ui/react-separator/LICENSE +0 -21
  104. package/node_modules/@radix-ui/react-separator/README.md +0 -3
  105. package/node_modules/@radix-ui/react-separator/dist/index.d.mts +0 -21
  106. package/node_modules/@radix-ui/react-separator/dist/index.d.ts +0 -21
  107. package/node_modules/@radix-ui/react-separator/dist/index.js +0 -65
  108. package/node_modules/@radix-ui/react-separator/dist/index.js.map +0 -7
  109. package/node_modules/@radix-ui/react-separator/dist/index.mjs +0 -32
  110. package/node_modules/@radix-ui/react-separator/dist/index.mjs.map +0 -7
  111. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/LICENSE +0 -21
  112. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/README.md +0 -3
  113. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.d.mts +0 -52
  114. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.d.ts +0 -52
  115. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +0 -80
  116. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -7
  117. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.mjs +0 -47
  118. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +0 -7
  119. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/package.json +0 -69
  120. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/LICENSE +0 -21
  121. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/README.md +0 -3
  122. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.d.mts +0 -22
  123. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.d.ts +0 -22
  124. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.js +0 -152
  125. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -7
  126. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.mjs +0 -119
  127. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/dist/index.mjs.map +0 -7
  128. package/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-slot/package.json +0 -64
  129. package/node_modules/@radix-ui/react-separator/package.json +0 -69
  130. package/packages/gui/dist/assets/index-BkY43sei.css +0 -1
  131. package/packages/gui/dist/assets/index-DmKZLrXU.js +0 -652
  132. package/packages/gui/dist/groove-logo-short.png +0 -0
  133. package/packages/gui/dist/groove-logo.png +0 -0
  134. package/packages/gui/public/groove-logo-short.png +0 -0
  135. package/packages/gui/public/groove-logo.png +0 -0
  136. package/packages/gui/src/components/ui/dropdown-menu.jsx +0 -60
  137. package/packages/gui/src/lib/hooks/use-media-query.js +0 -18
  138. package/slides/convert-slides.js +0 -1120
  139. package/slides/deck.pptx +0 -0
  140. package/slides/index.html +0 -825
  141. package/slides/node_modules/.package-lock.json +0 -527
  142. package/slides/node_modules/@types/node/LICENSE +0 -21
  143. package/slides/node_modules/@types/node/README.md +0 -15
  144. package/slides/node_modules/@types/node/assert/strict.d.ts +0 -111
  145. package/slides/node_modules/@types/node/assert.d.ts +0 -1078
  146. package/slides/node_modules/@types/node/async_hooks.d.ts +0 -603
  147. package/slides/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  148. package/slides/node_modules/@types/node/buffer.d.ts +0 -1934
  149. package/slides/node_modules/@types/node/child_process.d.ts +0 -1476
  150. package/slides/node_modules/@types/node/cluster.d.ts +0 -578
  151. package/slides/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  152. package/slides/node_modules/@types/node/compatibility/index.d.ts +0 -9
  153. package/slides/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  154. package/slides/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  155. package/slides/node_modules/@types/node/console.d.ts +0 -452
  156. package/slides/node_modules/@types/node/constants.d.ts +0 -21
  157. package/slides/node_modules/@types/node/crypto.d.ts +0 -4545
  158. package/slides/node_modules/@types/node/dgram.d.ts +0 -600
  159. package/slides/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  160. package/slides/node_modules/@types/node/dns/promises.d.ts +0 -503
  161. package/slides/node_modules/@types/node/dns.d.ts +0 -923
  162. package/slides/node_modules/@types/node/domain.d.ts +0 -170
  163. package/slides/node_modules/@types/node/events.d.ts +0 -976
  164. package/slides/node_modules/@types/node/fs/promises.d.ts +0 -1295
  165. package/slides/node_modules/@types/node/fs.d.ts +0 -4461
  166. package/slides/node_modules/@types/node/globals.d.ts +0 -172
  167. package/slides/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  168. package/slides/node_modules/@types/node/http.d.ts +0 -2089
  169. package/slides/node_modules/@types/node/http2.d.ts +0 -2644
  170. package/slides/node_modules/@types/node/https.d.ts +0 -579
  171. package/slides/node_modules/@types/node/index.d.ts +0 -97
  172. package/slides/node_modules/@types/node/inspector.d.ts +0 -253
  173. package/slides/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  174. package/slides/node_modules/@types/node/module.d.ts +0 -891
  175. package/slides/node_modules/@types/node/net.d.ts +0 -1076
  176. package/slides/node_modules/@types/node/os.d.ts +0 -506
  177. package/slides/node_modules/@types/node/package.json +0 -145
  178. package/slides/node_modules/@types/node/path.d.ts +0 -200
  179. package/slides/node_modules/@types/node/perf_hooks.d.ts +0 -968
  180. package/slides/node_modules/@types/node/process.d.ts +0 -2084
  181. package/slides/node_modules/@types/node/punycode.d.ts +0 -117
  182. package/slides/node_modules/@types/node/querystring.d.ts +0 -152
  183. package/slides/node_modules/@types/node/readline/promises.d.ts +0 -161
  184. package/slides/node_modules/@types/node/readline.d.ts +0 -594
  185. package/slides/node_modules/@types/node/repl.d.ts +0 -428
  186. package/slides/node_modules/@types/node/sea.d.ts +0 -153
  187. package/slides/node_modules/@types/node/sqlite.d.ts +0 -721
  188. package/slides/node_modules/@types/node/stream/consumers.d.ts +0 -38
  189. package/slides/node_modules/@types/node/stream/promises.d.ts +0 -90
  190. package/slides/node_modules/@types/node/stream/web.d.ts +0 -622
  191. package/slides/node_modules/@types/node/stream.d.ts +0 -1687
  192. package/slides/node_modules/@types/node/string_decoder.d.ts +0 -67
  193. package/slides/node_modules/@types/node/test.d.ts +0 -2163
  194. package/slides/node_modules/@types/node/timers/promises.d.ts +0 -108
  195. package/slides/node_modules/@types/node/timers.d.ts +0 -287
  196. package/slides/node_modules/@types/node/tls.d.ts +0 -1319
  197. package/slides/node_modules/@types/node/trace_events.d.ts +0 -197
  198. package/slides/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  199. package/slides/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  200. package/slides/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  201. package/slides/node_modules/@types/node/tty.d.ts +0 -208
  202. package/slides/node_modules/@types/node/url.d.ts +0 -984
  203. package/slides/node_modules/@types/node/util.d.ts +0 -2606
  204. package/slides/node_modules/@types/node/v8.d.ts +0 -920
  205. package/slides/node_modules/@types/node/vm.d.ts +0 -1000
  206. package/slides/node_modules/@types/node/wasi.d.ts +0 -181
  207. package/slides/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  208. package/slides/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  209. package/slides/node_modules/@types/node/web-globals/events.d.ts +0 -97
  210. package/slides/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  211. package/slides/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  212. package/slides/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  213. package/slides/node_modules/@types/node/worker_threads.d.ts +0 -784
  214. package/slides/node_modules/@types/node/zlib.d.ts +0 -747
  215. package/slides/node_modules/base64-js/LICENSE +0 -21
  216. package/slides/node_modules/base64-js/README.md +0 -34
  217. package/slides/node_modules/base64-js/base64js.min.js +0 -1
  218. package/slides/node_modules/base64-js/index.d.ts +0 -3
  219. package/slides/node_modules/base64-js/index.js +0 -150
  220. package/slides/node_modules/base64-js/package.json +0 -47
  221. package/slides/node_modules/bl/.travis.yml +0 -17
  222. package/slides/node_modules/bl/BufferList.js +0 -396
  223. package/slides/node_modules/bl/LICENSE.md +0 -13
  224. package/slides/node_modules/bl/README.md +0 -247
  225. package/slides/node_modules/bl/bl.js +0 -84
  226. package/slides/node_modules/bl/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  227. package/slides/node_modules/bl/node_modules/readable-stream/GOVERNANCE.md +0 -136
  228. package/slides/node_modules/bl/node_modules/readable-stream/LICENSE +0 -47
  229. package/slides/node_modules/bl/node_modules/readable-stream/README.md +0 -106
  230. package/slides/node_modules/bl/node_modules/readable-stream/errors-browser.js +0 -127
  231. package/slides/node_modules/bl/node_modules/readable-stream/errors.js +0 -116
  232. package/slides/node_modules/bl/node_modules/readable-stream/experimentalWarning.js +0 -17
  233. package/slides/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  234. package/slides/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  235. package/slides/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  236. package/slides/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  237. package/slides/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  238. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  239. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  240. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  241. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  242. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  243. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  244. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  245. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  246. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  247. package/slides/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  248. package/slides/node_modules/bl/node_modules/readable-stream/package.json +0 -68
  249. package/slides/node_modules/bl/node_modules/readable-stream/readable-browser.js +0 -9
  250. package/slides/node_modules/bl/node_modules/readable-stream/readable.js +0 -16
  251. package/slides/node_modules/bl/package.json +0 -37
  252. package/slides/node_modules/bl/test/convert.js +0 -21
  253. package/slides/node_modules/bl/test/indexOf.js +0 -492
  254. package/slides/node_modules/bl/test/isBufferList.js +0 -32
  255. package/slides/node_modules/bl/test/test.js +0 -869
  256. package/slides/node_modules/buffer/AUTHORS.md +0 -70
  257. package/slides/node_modules/buffer/LICENSE +0 -21
  258. package/slides/node_modules/buffer/README.md +0 -410
  259. package/slides/node_modules/buffer/index.d.ts +0 -186
  260. package/slides/node_modules/buffer/index.js +0 -1817
  261. package/slides/node_modules/buffer/package.json +0 -96
  262. package/slides/node_modules/canvas/Readme.md +0 -657
  263. package/slides/node_modules/canvas/binding.gyp +0 -229
  264. package/slides/node_modules/canvas/browser.js +0 -31
  265. package/slides/node_modules/canvas/build/Makefile +0 -347
  266. package/slides/node_modules/canvas/build/Release/canvas.node +0 -0
  267. package/slides/node_modules/canvas/build/Release/libX11.6.dylib +0 -0
  268. package/slides/node_modules/canvas/build/Release/libXau.6.dylib +0 -0
  269. package/slides/node_modules/canvas/build/Release/libXdmcp.6.dylib +0 -0
  270. package/slides/node_modules/canvas/build/Release/libXext.6.dylib +0 -0
  271. package/slides/node_modules/canvas/build/Release/libXrender.1.dylib +0 -0
  272. package/slides/node_modules/canvas/build/Release/libcairo-gobject.2.dylib +0 -0
  273. package/slides/node_modules/canvas/build/Release/libcairo.2.dylib +0 -0
  274. package/slides/node_modules/canvas/build/Release/libdatrie.1.dylib +0 -0
  275. package/slides/node_modules/canvas/build/Release/libfontconfig.1.dylib +0 -0
  276. package/slides/node_modules/canvas/build/Release/libfreetype.6.dylib +0 -0
  277. package/slides/node_modules/canvas/build/Release/libfribidi.0.dylib +0 -0
  278. package/slides/node_modules/canvas/build/Release/libgdk_pixbuf-2.0.0.dylib +0 -0
  279. package/slides/node_modules/canvas/build/Release/libgif.7.2.0.dylib +0 -0
  280. package/slides/node_modules/canvas/build/Release/libgio-2.0.0.dylib +0 -0
  281. package/slides/node_modules/canvas/build/Release/libglib-2.0.0.dylib +0 -0
  282. package/slides/node_modules/canvas/build/Release/libgmodule-2.0.0.dylib +0 -0
  283. package/slides/node_modules/canvas/build/Release/libgobject-2.0.0.dylib +0 -0
  284. package/slides/node_modules/canvas/build/Release/libgraphite2.3.2.1.dylib +0 -0
  285. package/slides/node_modules/canvas/build/Release/libharfbuzz.0.dylib +0 -0
  286. package/slides/node_modules/canvas/build/Release/libintl.8.dylib +0 -0
  287. package/slides/node_modules/canvas/build/Release/libjpeg.8.3.2.dylib +0 -0
  288. package/slides/node_modules/canvas/build/Release/libpango-1.0.0.dylib +0 -0
  289. package/slides/node_modules/canvas/build/Release/libpangocairo-1.0.0.dylib +0 -0
  290. package/slides/node_modules/canvas/build/Release/libpangoft2-1.0.0.dylib +0 -0
  291. package/slides/node_modules/canvas/build/Release/libpcre2-8.0.dylib +0 -0
  292. package/slides/node_modules/canvas/build/Release/libpixman-1.0.dylib +0 -0
  293. package/slides/node_modules/canvas/build/Release/libpng16.16.dylib +0 -0
  294. package/slides/node_modules/canvas/build/Release/librsvg-2.2.dylib +0 -0
  295. package/slides/node_modules/canvas/build/Release/libthai.0.dylib +0 -0
  296. package/slides/node_modules/canvas/build/Release/libxcb-render.0.0.0.dylib +0 -0
  297. package/slides/node_modules/canvas/build/Release/libxcb-shm.0.0.0.dylib +0 -0
  298. package/slides/node_modules/canvas/build/Release/libxcb.1.1.0.dylib +0 -0
  299. package/slides/node_modules/canvas/build/binding.Makefile +0 -6
  300. package/slides/node_modules/canvas/build/canvas.target.mk +0 -299
  301. package/slides/node_modules/canvas/build/gyp-mac-tool +0 -766
  302. package/slides/node_modules/canvas/index.d.ts +0 -507
  303. package/slides/node_modules/canvas/index.js +0 -94
  304. package/slides/node_modules/canvas/lib/DOMMatrix.js +0 -678
  305. package/slides/node_modules/canvas/lib/bindings.js +0 -43
  306. package/slides/node_modules/canvas/lib/canvas.js +0 -113
  307. package/slides/node_modules/canvas/lib/context2d.js +0 -11
  308. package/slides/node_modules/canvas/lib/image.js +0 -97
  309. package/slides/node_modules/canvas/lib/jpegstream.js +0 -41
  310. package/slides/node_modules/canvas/lib/pattern.js +0 -15
  311. package/slides/node_modules/canvas/lib/pdfstream.js +0 -35
  312. package/slides/node_modules/canvas/lib/pngstream.js +0 -42
  313. package/slides/node_modules/canvas/package.json +0 -71
  314. package/slides/node_modules/canvas/src/Backends.h +0 -9
  315. package/slides/node_modules/canvas/src/Canvas.cc +0 -1026
  316. package/slides/node_modules/canvas/src/Canvas.h +0 -128
  317. package/slides/node_modules/canvas/src/CanvasError.h +0 -37
  318. package/slides/node_modules/canvas/src/CanvasGradient.cc +0 -113
  319. package/slides/node_modules/canvas/src/CanvasGradient.h +0 -20
  320. package/slides/node_modules/canvas/src/CanvasPattern.cc +0 -129
  321. package/slides/node_modules/canvas/src/CanvasPattern.h +0 -33
  322. package/slides/node_modules/canvas/src/CanvasRenderingContext2d.cc +0 -3527
  323. package/slides/node_modules/canvas/src/CanvasRenderingContext2d.h +0 -238
  324. package/slides/node_modules/canvas/src/CharData.h +0 -233
  325. package/slides/node_modules/canvas/src/FontParser.cc +0 -605
  326. package/slides/node_modules/canvas/src/FontParser.h +0 -115
  327. package/slides/node_modules/canvas/src/Image.cc +0 -1719
  328. package/slides/node_modules/canvas/src/Image.h +0 -146
  329. package/slides/node_modules/canvas/src/ImageData.cc +0 -138
  330. package/slides/node_modules/canvas/src/ImageData.h +0 -26
  331. package/slides/node_modules/canvas/src/InstanceData.h +0 -12
  332. package/slides/node_modules/canvas/src/JPEGStream.h +0 -157
  333. package/slides/node_modules/canvas/src/PNG.h +0 -292
  334. package/slides/node_modules/canvas/src/Point.h +0 -11
  335. package/slides/node_modules/canvas/src/Util.h +0 -9
  336. package/slides/node_modules/canvas/src/bmp/BMPParser.cc +0 -459
  337. package/slides/node_modules/canvas/src/bmp/BMPParser.h +0 -60
  338. package/slides/node_modules/canvas/src/bmp/LICENSE.md +0 -24
  339. package/slides/node_modules/canvas/src/closure.cc +0 -52
  340. package/slides/node_modules/canvas/src/closure.h +0 -98
  341. package/slides/node_modules/canvas/src/color.cc +0 -796
  342. package/slides/node_modules/canvas/src/color.h +0 -30
  343. package/slides/node_modules/canvas/src/dll_visibility.h +0 -20
  344. package/slides/node_modules/canvas/src/init.cc +0 -114
  345. package/slides/node_modules/canvas/src/register_font.cc +0 -352
  346. package/slides/node_modules/canvas/src/register_font.h +0 -7
  347. package/slides/node_modules/canvas/util/has_lib.js +0 -119
  348. package/slides/node_modules/canvas/util/win_jpeg_lookup.js +0 -21
  349. package/slides/node_modules/chownr/LICENSE +0 -15
  350. package/slides/node_modules/chownr/README.md +0 -3
  351. package/slides/node_modules/chownr/chownr.js +0 -167
  352. package/slides/node_modules/chownr/package.json +0 -29
  353. package/slides/node_modules/core-util-is/LICENSE +0 -19
  354. package/slides/node_modules/core-util-is/README.md +0 -3
  355. package/slides/node_modules/core-util-is/lib/util.js +0 -107
  356. package/slides/node_modules/core-util-is/package.json +0 -38
  357. package/slides/node_modules/decompress-response/index.d.ts +0 -22
  358. package/slides/node_modules/decompress-response/index.js +0 -58
  359. package/slides/node_modules/decompress-response/license +0 -9
  360. package/slides/node_modules/decompress-response/package.json +0 -56
  361. package/slides/node_modules/decompress-response/readme.md +0 -48
  362. package/slides/node_modules/deep-extend/CHANGELOG.md +0 -46
  363. package/slides/node_modules/deep-extend/LICENSE +0 -20
  364. package/slides/node_modules/deep-extend/README.md +0 -91
  365. package/slides/node_modules/deep-extend/index.js +0 -1
  366. package/slides/node_modules/deep-extend/lib/deep-extend.js +0 -150
  367. package/slides/node_modules/deep-extend/package.json +0 -62
  368. package/slides/node_modules/detect-libc/LICENSE +0 -201
  369. package/slides/node_modules/detect-libc/README.md +0 -163
  370. package/slides/node_modules/detect-libc/index.d.ts +0 -14
  371. package/slides/node_modules/detect-libc/lib/detect-libc.js +0 -313
  372. package/slides/node_modules/detect-libc/lib/elf.js +0 -39
  373. package/slides/node_modules/detect-libc/lib/filesystem.js +0 -51
  374. package/slides/node_modules/detect-libc/lib/process.js +0 -24
  375. package/slides/node_modules/detect-libc/package.json +0 -44
  376. package/slides/node_modules/end-of-stream/LICENSE +0 -21
  377. package/slides/node_modules/end-of-stream/README.md +0 -54
  378. package/slides/node_modules/end-of-stream/index.js +0 -96
  379. package/slides/node_modules/end-of-stream/package.json +0 -37
  380. package/slides/node_modules/expand-template/.travis.yml +0 -6
  381. package/slides/node_modules/expand-template/LICENSE +0 -21
  382. package/slides/node_modules/expand-template/README.md +0 -43
  383. package/slides/node_modules/expand-template/index.js +0 -26
  384. package/slides/node_modules/expand-template/package.json +0 -29
  385. package/slides/node_modules/expand-template/test.js +0 -67
  386. package/slides/node_modules/fs-constants/LICENSE +0 -21
  387. package/slides/node_modules/fs-constants/README.md +0 -26
  388. package/slides/node_modules/fs-constants/browser.js +0 -1
  389. package/slides/node_modules/fs-constants/index.js +0 -1
  390. package/slides/node_modules/fs-constants/package.json +0 -19
  391. package/slides/node_modules/github-from-package/.travis.yml +0 -4
  392. package/slides/node_modules/github-from-package/LICENSE +0 -18
  393. package/slides/node_modules/github-from-package/example/package.json +0 -8
  394. package/slides/node_modules/github-from-package/example/url.js +0 -3
  395. package/slides/node_modules/github-from-package/index.js +0 -17
  396. package/slides/node_modules/github-from-package/package.json +0 -30
  397. package/slides/node_modules/github-from-package/readme.markdown +0 -53
  398. package/slides/node_modules/github-from-package/test/a.json +0 -8
  399. package/slides/node_modules/github-from-package/test/b.json +0 -5
  400. package/slides/node_modules/github-from-package/test/c.json +0 -5
  401. package/slides/node_modules/github-from-package/test/d.json +0 -7
  402. package/slides/node_modules/github-from-package/test/e.json +0 -5
  403. package/slides/node_modules/github-from-package/test/url.js +0 -19
  404. package/slides/node_modules/https/package.json +0 -15
  405. package/slides/node_modules/ieee754/LICENSE +0 -11
  406. package/slides/node_modules/ieee754/README.md +0 -51
  407. package/slides/node_modules/ieee754/index.d.ts +0 -10
  408. package/slides/node_modules/ieee754/index.js +0 -85
  409. package/slides/node_modules/ieee754/package.json +0 -52
  410. package/slides/node_modules/image-size/LICENSE +0 -9
  411. package/slides/node_modules/image-size/Readme.md +0 -184
  412. package/slides/node_modules/image-size/bin/image-size.js +0 -53
  413. package/slides/node_modules/image-size/dist/detector.d.ts +0 -2
  414. package/slides/node_modules/image-size/dist/detector.js +0 -30
  415. package/slides/node_modules/image-size/dist/index.d.ts +0 -10
  416. package/slides/node_modules/image-size/dist/index.js +0 -129
  417. package/slides/node_modules/image-size/dist/types/bmp.d.ts +0 -2
  418. package/slides/node_modules/image-size/dist/types/bmp.js +0 -11
  419. package/slides/node_modules/image-size/dist/types/cur.d.ts +0 -2
  420. package/slides/node_modules/image-size/dist/types/cur.js +0 -17
  421. package/slides/node_modules/image-size/dist/types/dds.d.ts +0 -2
  422. package/slides/node_modules/image-size/dist/types/dds.js +0 -11
  423. package/slides/node_modules/image-size/dist/types/gif.d.ts +0 -2
  424. package/slides/node_modules/image-size/dist/types/gif.js +0 -12
  425. package/slides/node_modules/image-size/dist/types/heif.d.ts +0 -2
  426. package/slides/node_modules/image-size/dist/types/heif.js +0 -40
  427. package/slides/node_modules/image-size/dist/types/icns.d.ts +0 -2
  428. package/slides/node_modules/image-size/dist/types/icns.js +0 -101
  429. package/slides/node_modules/image-size/dist/types/ico.d.ts +0 -2
  430. package/slides/node_modules/image-size/dist/types/ico.js +0 -68
  431. package/slides/node_modules/image-size/dist/types/index.d.ts +0 -23
  432. package/slides/node_modules/image-size/dist/types/index.js +0 -46
  433. package/slides/node_modules/image-size/dist/types/interface.d.ts +0 -13
  434. package/slides/node_modules/image-size/dist/types/interface.js +0 -2
  435. package/slides/node_modules/image-size/dist/types/j2c.d.ts +0 -2
  436. package/slides/node_modules/image-size/dist/types/j2c.js +0 -12
  437. package/slides/node_modules/image-size/dist/types/jp2.d.ts +0 -2
  438. package/slides/node_modules/image-size/dist/types/jp2.js +0 -27
  439. package/slides/node_modules/image-size/dist/types/jpg.d.ts +0 -2
  440. package/slides/node_modules/image-size/dist/types/jpg.js +0 -123
  441. package/slides/node_modules/image-size/dist/types/jxl-stream.d.ts +0 -2
  442. package/slides/node_modules/image-size/dist/types/jxl-stream.js +0 -45
  443. package/slides/node_modules/image-size/dist/types/jxl.d.ts +0 -2
  444. package/slides/node_modules/image-size/dist/types/jxl.js +0 -59
  445. package/slides/node_modules/image-size/dist/types/ktx.d.ts +0 -2
  446. package/slides/node_modules/image-size/dist/types/ktx.js +0 -19
  447. package/slides/node_modules/image-size/dist/types/png.d.ts +0 -2
  448. package/slides/node_modules/image-size/dist/types/png.js +0 -35
  449. package/slides/node_modules/image-size/dist/types/pnm.d.ts +0 -2
  450. package/slides/node_modules/image-size/dist/types/pnm.js +0 -72
  451. package/slides/node_modules/image-size/dist/types/psd.d.ts +0 -2
  452. package/slides/node_modules/image-size/dist/types/psd.js +0 -11
  453. package/slides/node_modules/image-size/dist/types/svg.d.ts +0 -2
  454. package/slides/node_modules/image-size/dist/types/svg.js +0 -90
  455. package/slides/node_modules/image-size/dist/types/tga.d.ts +0 -2
  456. package/slides/node_modules/image-size/dist/types/tga.js +0 -15
  457. package/slides/node_modules/image-size/dist/types/tiff.d.ts +0 -2
  458. package/slides/node_modules/image-size/dist/types/tiff.js +0 -95
  459. package/slides/node_modules/image-size/dist/types/utils.d.ts +0 -15
  460. package/slides/node_modules/image-size/dist/types/utils.js +0 -75
  461. package/slides/node_modules/image-size/dist/types/webp.d.ts +0 -2
  462. package/slides/node_modules/image-size/dist/types/webp.js +0 -60
  463. package/slides/node_modules/image-size/dist/utils/bit-reader.d.ts +0 -10
  464. package/slides/node_modules/image-size/dist/utils/bit-reader.js +0 -44
  465. package/slides/node_modules/image-size/package.json +0 -81
  466. package/slides/node_modules/immediate/LICENSE.txt +0 -20
  467. package/slides/node_modules/immediate/README.md +0 -93
  468. package/slides/node_modules/immediate/dist/immediate.js +0 -75
  469. package/slides/node_modules/immediate/dist/immediate.min.js +0 -1
  470. package/slides/node_modules/immediate/lib/browser.js +0 -69
  471. package/slides/node_modules/immediate/lib/index.js +0 -73
  472. package/slides/node_modules/immediate/package.json +0 -42
  473. package/slides/node_modules/inherits/LICENSE +0 -16
  474. package/slides/node_modules/inherits/README.md +0 -42
  475. package/slides/node_modules/inherits/inherits.js +0 -9
  476. package/slides/node_modules/inherits/inherits_browser.js +0 -27
  477. package/slides/node_modules/inherits/package.json +0 -29
  478. package/slides/node_modules/ini/LICENSE +0 -15
  479. package/slides/node_modules/ini/README.md +0 -102
  480. package/slides/node_modules/ini/ini.js +0 -206
  481. package/slides/node_modules/ini/package.json +0 -33
  482. package/slides/node_modules/isarray/.travis.yml +0 -4
  483. package/slides/node_modules/isarray/Makefile +0 -6
  484. package/slides/node_modules/isarray/README.md +0 -60
  485. package/slides/node_modules/isarray/component.json +0 -19
  486. package/slides/node_modules/isarray/index.js +0 -5
  487. package/slides/node_modules/isarray/package.json +0 -45
  488. package/slides/node_modules/isarray/test.js +0 -20
  489. package/slides/node_modules/jszip/.codeclimate.yml +0 -16
  490. package/slides/node_modules/jszip/.editorconfig +0 -8
  491. package/slides/node_modules/jszip/.eslintrc.js +0 -43
  492. package/slides/node_modules/jszip/.github/workflows/pr.yaml +0 -58
  493. package/slides/node_modules/jszip/.jekyll-metadata +0 -0
  494. package/slides/node_modules/jszip/.travis.yml +0 -17
  495. package/slides/node_modules/jszip/CHANGES.md +0 -204
  496. package/slides/node_modules/jszip/LICENSE.markdown +0 -651
  497. package/slides/node_modules/jszip/README.markdown +0 -33
  498. package/slides/node_modules/jszip/deps.js +0 -37
  499. package/slides/node_modules/jszip/dist/jszip.js +0 -11577
  500. package/slides/node_modules/jszip/dist/jszip.min.js +0 -13
  501. package/slides/node_modules/jszip/graph.svg +0 -601
  502. package/slides/node_modules/jszip/index.d.ts +0 -330
  503. package/slides/node_modules/jszip/lib/base64.js +0 -106
  504. package/slides/node_modules/jszip/lib/compressedObject.js +0 -74
  505. package/slides/node_modules/jszip/lib/compressions.js +0 -14
  506. package/slides/node_modules/jszip/lib/crc32.js +0 -77
  507. package/slides/node_modules/jszip/lib/defaults.js +0 -11
  508. package/slides/node_modules/jszip/lib/external.js +0 -18
  509. package/slides/node_modules/jszip/lib/flate.js +0 -85
  510. package/slides/node_modules/jszip/lib/generate/ZipFileWorker.js +0 -539
  511. package/slides/node_modules/jszip/lib/generate/index.js +0 -57
  512. package/slides/node_modules/jszip/lib/index.js +0 -55
  513. package/slides/node_modules/jszip/lib/license_header.js +0 -11
  514. package/slides/node_modules/jszip/lib/load.js +0 -88
  515. package/slides/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +0 -74
  516. package/slides/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +0 -42
  517. package/slides/node_modules/jszip/lib/nodejsUtils.js +0 -57
  518. package/slides/node_modules/jszip/lib/object.js +0 -384
  519. package/slides/node_modules/jszip/lib/readable-stream-browser.js +0 -10
  520. package/slides/node_modules/jszip/lib/reader/ArrayReader.js +0 -57
  521. package/slides/node_modules/jszip/lib/reader/DataReader.js +0 -116
  522. package/slides/node_modules/jszip/lib/reader/NodeBufferReader.js +0 -19
  523. package/slides/node_modules/jszip/lib/reader/StringReader.js +0 -38
  524. package/slides/node_modules/jszip/lib/reader/Uint8ArrayReader.js +0 -22
  525. package/slides/node_modules/jszip/lib/reader/readerFor.js +0 -28
  526. package/slides/node_modules/jszip/lib/signature.js +0 -7
  527. package/slides/node_modules/jszip/lib/stream/ConvertWorker.js +0 -26
  528. package/slides/node_modules/jszip/lib/stream/Crc32Probe.js +0 -24
  529. package/slides/node_modules/jszip/lib/stream/DataLengthProbe.js +0 -29
  530. package/slides/node_modules/jszip/lib/stream/DataWorker.js +0 -116
  531. package/slides/node_modules/jszip/lib/stream/GenericWorker.js +0 -263
  532. package/slides/node_modules/jszip/lib/stream/StreamHelper.js +0 -214
  533. package/slides/node_modules/jszip/lib/support.js +0 -38
  534. package/slides/node_modules/jszip/lib/utf8.js +0 -275
  535. package/slides/node_modules/jszip/lib/utils.js +0 -501
  536. package/slides/node_modules/jszip/lib/zipEntries.js +0 -261
  537. package/slides/node_modules/jszip/lib/zipEntry.js +0 -293
  538. package/slides/node_modules/jszip/lib/zipObject.js +0 -133
  539. package/slides/node_modules/jszip/package.json +0 -67
  540. package/slides/node_modules/jszip/sponsors.md +0 -21
  541. package/slides/node_modules/jszip/tsconfig.json +0 -101
  542. package/slides/node_modules/jszip/vendor/FileSaver.js +0 -247
  543. package/slides/node_modules/lie/README.md +0 -62
  544. package/slides/node_modules/lie/dist/lie.js +0 -350
  545. package/slides/node_modules/lie/dist/lie.min.js +0 -1
  546. package/slides/node_modules/lie/dist/lie.polyfill.js +0 -358
  547. package/slides/node_modules/lie/dist/lie.polyfill.min.js +0 -1
  548. package/slides/node_modules/lie/lib/browser.js +0 -273
  549. package/slides/node_modules/lie/lib/index.js +0 -298
  550. package/slides/node_modules/lie/license.md +0 -7
  551. package/slides/node_modules/lie/lie.d.ts +0 -244
  552. package/slides/node_modules/lie/package.json +0 -69
  553. package/slides/node_modules/lie/polyfill.js +0 -4
  554. package/slides/node_modules/mimic-response/index.d.ts +0 -17
  555. package/slides/node_modules/mimic-response/index.js +0 -77
  556. package/slides/node_modules/mimic-response/license +0 -9
  557. package/slides/node_modules/mimic-response/package.json +0 -42
  558. package/slides/node_modules/mimic-response/readme.md +0 -78
  559. package/slides/node_modules/minimist/.eslintrc +0 -29
  560. package/slides/node_modules/minimist/.github/FUNDING.yml +0 -12
  561. package/slides/node_modules/minimist/.nycrc +0 -14
  562. package/slides/node_modules/minimist/CHANGELOG.md +0 -298
  563. package/slides/node_modules/minimist/LICENSE +0 -18
  564. package/slides/node_modules/minimist/README.md +0 -121
  565. package/slides/node_modules/minimist/example/parse.js +0 -4
  566. package/slides/node_modules/minimist/index.js +0 -263
  567. package/slides/node_modules/minimist/package.json +0 -75
  568. package/slides/node_modules/minimist/test/all_bool.js +0 -34
  569. package/slides/node_modules/minimist/test/bool.js +0 -177
  570. package/slides/node_modules/minimist/test/dash.js +0 -43
  571. package/slides/node_modules/minimist/test/default_bool.js +0 -37
  572. package/slides/node_modules/minimist/test/dotted.js +0 -24
  573. package/slides/node_modules/minimist/test/kv_short.js +0 -32
  574. package/slides/node_modules/minimist/test/long.js +0 -33
  575. package/slides/node_modules/minimist/test/num.js +0 -38
  576. package/slides/node_modules/minimist/test/parse.js +0 -209
  577. package/slides/node_modules/minimist/test/parse_modified.js +0 -11
  578. package/slides/node_modules/minimist/test/proto.js +0 -64
  579. package/slides/node_modules/minimist/test/short.js +0 -69
  580. package/slides/node_modules/minimist/test/stop_early.js +0 -17
  581. package/slides/node_modules/minimist/test/unknown.js +0 -104
  582. package/slides/node_modules/minimist/test/whitespace.js +0 -10
  583. package/slides/node_modules/mkdirp-classic/LICENSE +0 -21
  584. package/slides/node_modules/mkdirp-classic/README.md +0 -18
  585. package/slides/node_modules/mkdirp-classic/index.js +0 -98
  586. package/slides/node_modules/mkdirp-classic/package.json +0 -18
  587. package/slides/node_modules/napi-build-utils/.github/workflows/run-npm-tests.yml +0 -31
  588. package/slides/node_modules/napi-build-utils/LICENSE +0 -21
  589. package/slides/node_modules/napi-build-utils/README.md +0 -52
  590. package/slides/node_modules/napi-build-utils/index.js +0 -214
  591. package/slides/node_modules/napi-build-utils/index.md +0 -0
  592. package/slides/node_modules/napi-build-utils/package.json +0 -42
  593. package/slides/node_modules/node-abi/LICENSE +0 -21
  594. package/slides/node_modules/node-abi/README.md +0 -54
  595. package/slides/node_modules/node-abi/abi_registry.json +0 -439
  596. package/slides/node_modules/node-abi/index.js +0 -179
  597. package/slides/node_modules/node-abi/package.json +0 -45
  598. package/slides/node_modules/node-addon-api/LICENSE.md +0 -9
  599. package/slides/node_modules/node-addon-api/README.md +0 -319
  600. package/slides/node_modules/node-addon-api/common.gypi +0 -20
  601. package/slides/node_modules/node-addon-api/except.gypi +0 -25
  602. package/slides/node_modules/node-addon-api/index.js +0 -12
  603. package/slides/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  604. package/slides/node_modules/node-addon-api/napi-inl.h +0 -6607
  605. package/slides/node_modules/node-addon-api/napi.h +0 -3201
  606. package/slides/node_modules/node-addon-api/node_addon_api.gyp +0 -32
  607. package/slides/node_modules/node-addon-api/node_api.gyp +0 -9
  608. package/slides/node_modules/node-addon-api/noexcept.gypi +0 -26
  609. package/slides/node_modules/node-addon-api/nothing.c +0 -0
  610. package/slides/node_modules/node-addon-api/package-support.json +0 -21
  611. package/slides/node_modules/node-addon-api/package.json +0 -480
  612. package/slides/node_modules/node-addon-api/tools/README.md +0 -73
  613. package/slides/node_modules/node-addon-api/tools/check-napi.js +0 -99
  614. package/slides/node_modules/node-addon-api/tools/clang-format.js +0 -71
  615. package/slides/node_modules/node-addon-api/tools/conversion.js +0 -301
  616. package/slides/node_modules/node-addon-api/tools/eslint-format.js +0 -79
  617. package/slides/node_modules/once/LICENSE +0 -15
  618. package/slides/node_modules/once/README.md +0 -79
  619. package/slides/node_modules/once/once.js +0 -42
  620. package/slides/node_modules/once/package.json +0 -33
  621. package/slides/node_modules/pako/CHANGELOG.md +0 -164
  622. package/slides/node_modules/pako/LICENSE +0 -21
  623. package/slides/node_modules/pako/README.md +0 -191
  624. package/slides/node_modules/pako/dist/pako.js +0 -6818
  625. package/slides/node_modules/pako/dist/pako.min.js +0 -1
  626. package/slides/node_modules/pako/dist/pako_deflate.js +0 -3997
  627. package/slides/node_modules/pako/dist/pako_deflate.min.js +0 -1
  628. package/slides/node_modules/pako/dist/pako_inflate.js +0 -3300
  629. package/slides/node_modules/pako/dist/pako_inflate.min.js +0 -1
  630. package/slides/node_modules/pako/index.js +0 -14
  631. package/slides/node_modules/pako/lib/deflate.js +0 -400
  632. package/slides/node_modules/pako/lib/inflate.js +0 -423
  633. package/slides/node_modules/pako/lib/utils/common.js +0 -105
  634. package/slides/node_modules/pako/lib/utils/strings.js +0 -187
  635. package/slides/node_modules/pako/lib/zlib/README +0 -59
  636. package/slides/node_modules/pako/lib/zlib/adler32.js +0 -51
  637. package/slides/node_modules/pako/lib/zlib/constants.js +0 -68
  638. package/slides/node_modules/pako/lib/zlib/crc32.js +0 -59
  639. package/slides/node_modules/pako/lib/zlib/deflate.js +0 -1874
  640. package/slides/node_modules/pako/lib/zlib/gzheader.js +0 -58
  641. package/slides/node_modules/pako/lib/zlib/inffast.js +0 -345
  642. package/slides/node_modules/pako/lib/zlib/inflate.js +0 -1556
  643. package/slides/node_modules/pako/lib/zlib/inftrees.js +0 -343
  644. package/slides/node_modules/pako/lib/zlib/messages.js +0 -32
  645. package/slides/node_modules/pako/lib/zlib/trees.js +0 -1222
  646. package/slides/node_modules/pako/lib/zlib/zstream.js +0 -47
  647. package/slides/node_modules/pako/package.json +0 -44
  648. package/slides/node_modules/pptxgenjs/LICENSE +0 -21
  649. package/slides/node_modules/pptxgenjs/README.md +0 -224
  650. package/slides/node_modules/pptxgenjs/dist/pptxgen.bundle.js +0 -96
  651. package/slides/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map +0 -1
  652. package/slides/node_modules/pptxgenjs/dist/pptxgen.cjs.js +0 -7370
  653. package/slides/node_modules/pptxgenjs/dist/pptxgen.es.js +0 -7368
  654. package/slides/node_modules/pptxgenjs/dist/pptxgen.min.js +0 -96
  655. package/slides/node_modules/pptxgenjs/dist/pptxgen.min.js.map +0 -1
  656. package/slides/node_modules/pptxgenjs/package.json +0 -96
  657. package/slides/node_modules/pptxgenjs/types/index.d.ts +0 -2679
  658. package/slides/node_modules/prebuild-install/CHANGELOG.md +0 -131
  659. package/slides/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  660. package/slides/node_modules/prebuild-install/LICENSE +0 -21
  661. package/slides/node_modules/prebuild-install/README.md +0 -163
  662. package/slides/node_modules/prebuild-install/asset.js +0 -44
  663. package/slides/node_modules/prebuild-install/bin.js +0 -78
  664. package/slides/node_modules/prebuild-install/download.js +0 -142
  665. package/slides/node_modules/prebuild-install/error.js +0 -14
  666. package/slides/node_modules/prebuild-install/help.txt +0 -16
  667. package/slides/node_modules/prebuild-install/index.js +0 -1
  668. package/slides/node_modules/prebuild-install/log.js +0 -33
  669. package/slides/node_modules/prebuild-install/package.json +0 -67
  670. package/slides/node_modules/prebuild-install/proxy.js +0 -35
  671. package/slides/node_modules/prebuild-install/rc.js +0 -64
  672. package/slides/node_modules/prebuild-install/util.js +0 -143
  673. package/slides/node_modules/process-nextick-args/index.js +0 -45
  674. package/slides/node_modules/process-nextick-args/license.md +0 -19
  675. package/slides/node_modules/process-nextick-args/package.json +0 -25
  676. package/slides/node_modules/process-nextick-args/readme.md +0 -18
  677. package/slides/node_modules/pump/.github/FUNDING.yml +0 -2
  678. package/slides/node_modules/pump/.travis.yml +0 -5
  679. package/slides/node_modules/pump/LICENSE +0 -21
  680. package/slides/node_modules/pump/README.md +0 -74
  681. package/slides/node_modules/pump/SECURITY.md +0 -5
  682. package/slides/node_modules/pump/empty.js +0 -1
  683. package/slides/node_modules/pump/index.js +0 -86
  684. package/slides/node_modules/pump/package.json +0 -30
  685. package/slides/node_modules/pump/test-browser.js +0 -66
  686. package/slides/node_modules/pump/test-node.js +0 -53
  687. package/slides/node_modules/queue/LICENSE +0 -8
  688. package/slides/node_modules/queue/index.d.ts +0 -173
  689. package/slides/node_modules/queue/index.js +0 -195
  690. package/slides/node_modules/queue/package.json +0 -43
  691. package/slides/node_modules/queue/readme.md +0 -221
  692. package/slides/node_modules/rc/LICENSE.APACHE2 +0 -15
  693. package/slides/node_modules/rc/LICENSE.BSD +0 -26
  694. package/slides/node_modules/rc/LICENSE.MIT +0 -24
  695. package/slides/node_modules/rc/README.md +0 -227
  696. package/slides/node_modules/rc/browser.js +0 -7
  697. package/slides/node_modules/rc/cli.js +0 -4
  698. package/slides/node_modules/rc/index.js +0 -53
  699. package/slides/node_modules/rc/lib/utils.js +0 -104
  700. package/slides/node_modules/rc/package.json +0 -29
  701. package/slides/node_modules/rc/test/ini.js +0 -16
  702. package/slides/node_modules/rc/test/nested-env-vars.js +0 -50
  703. package/slides/node_modules/rc/test/test.js +0 -59
  704. package/slides/node_modules/readable-stream/.travis.yml +0 -34
  705. package/slides/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  706. package/slides/node_modules/readable-stream/GOVERNANCE.md +0 -136
  707. package/slides/node_modules/readable-stream/LICENSE +0 -47
  708. package/slides/node_modules/readable-stream/README.md +0 -58
  709. package/slides/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  710. package/slides/node_modules/readable-stream/duplex-browser.js +0 -1
  711. package/slides/node_modules/readable-stream/duplex.js +0 -1
  712. package/slides/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
  713. package/slides/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
  714. package/slides/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
  715. package/slides/node_modules/readable-stream/lib/_stream_transform.js +0 -214
  716. package/slides/node_modules/readable-stream/lib/_stream_writable.js +0 -685
  717. package/slides/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
  718. package/slides/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
  719. package/slides/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  720. package/slides/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  721. package/slides/node_modules/readable-stream/package.json +0 -52
  722. package/slides/node_modules/readable-stream/passthrough.js +0 -1
  723. package/slides/node_modules/readable-stream/readable-browser.js +0 -7
  724. package/slides/node_modules/readable-stream/readable.js +0 -19
  725. package/slides/node_modules/readable-stream/transform.js +0 -1
  726. package/slides/node_modules/readable-stream/writable-browser.js +0 -1
  727. package/slides/node_modules/readable-stream/writable.js +0 -8
  728. package/slides/node_modules/safe-buffer/LICENSE +0 -21
  729. package/slides/node_modules/safe-buffer/README.md +0 -584
  730. package/slides/node_modules/safe-buffer/index.d.ts +0 -187
  731. package/slides/node_modules/safe-buffer/index.js +0 -62
  732. package/slides/node_modules/safe-buffer/package.json +0 -37
  733. package/slides/node_modules/semver/LICENSE +0 -15
  734. package/slides/node_modules/semver/README.md +0 -665
  735. package/slides/node_modules/semver/bin/semver.js +0 -191
  736. package/slides/node_modules/semver/classes/comparator.js +0 -143
  737. package/slides/node_modules/semver/classes/index.js +0 -7
  738. package/slides/node_modules/semver/classes/range.js +0 -557
  739. package/slides/node_modules/semver/classes/semver.js +0 -333
  740. package/slides/node_modules/semver/functions/clean.js +0 -8
  741. package/slides/node_modules/semver/functions/cmp.js +0 -54
  742. package/slides/node_modules/semver/functions/coerce.js +0 -62
  743. package/slides/node_modules/semver/functions/compare-build.js +0 -9
  744. package/slides/node_modules/semver/functions/compare-loose.js +0 -5
  745. package/slides/node_modules/semver/functions/compare.js +0 -7
  746. package/slides/node_modules/semver/functions/diff.js +0 -60
  747. package/slides/node_modules/semver/functions/eq.js +0 -5
  748. package/slides/node_modules/semver/functions/gt.js +0 -5
  749. package/slides/node_modules/semver/functions/gte.js +0 -5
  750. package/slides/node_modules/semver/functions/inc.js +0 -21
  751. package/slides/node_modules/semver/functions/lt.js +0 -5
  752. package/slides/node_modules/semver/functions/lte.js +0 -5
  753. package/slides/node_modules/semver/functions/major.js +0 -5
  754. package/slides/node_modules/semver/functions/minor.js +0 -5
  755. package/slides/node_modules/semver/functions/neq.js +0 -5
  756. package/slides/node_modules/semver/functions/parse.js +0 -18
  757. package/slides/node_modules/semver/functions/patch.js +0 -5
  758. package/slides/node_modules/semver/functions/prerelease.js +0 -8
  759. package/slides/node_modules/semver/functions/rcompare.js +0 -5
  760. package/slides/node_modules/semver/functions/rsort.js +0 -5
  761. package/slides/node_modules/semver/functions/satisfies.js +0 -12
  762. package/slides/node_modules/semver/functions/sort.js +0 -5
  763. package/slides/node_modules/semver/functions/valid.js +0 -8
  764. package/slides/node_modules/semver/index.js +0 -91
  765. package/slides/node_modules/semver/internal/constants.js +0 -37
  766. package/slides/node_modules/semver/internal/debug.js +0 -11
  767. package/slides/node_modules/semver/internal/identifiers.js +0 -29
  768. package/slides/node_modules/semver/internal/lrucache.js +0 -42
  769. package/slides/node_modules/semver/internal/parse-options.js +0 -17
  770. package/slides/node_modules/semver/internal/re.js +0 -223
  771. package/slides/node_modules/semver/package.json +0 -78
  772. package/slides/node_modules/semver/preload.js +0 -4
  773. package/slides/node_modules/semver/range.bnf +0 -16
  774. package/slides/node_modules/semver/ranges/gtr.js +0 -6
  775. package/slides/node_modules/semver/ranges/intersects.js +0 -9
  776. package/slides/node_modules/semver/ranges/ltr.js +0 -6
  777. package/slides/node_modules/semver/ranges/max-satisfying.js +0 -27
  778. package/slides/node_modules/semver/ranges/min-satisfying.js +0 -26
  779. package/slides/node_modules/semver/ranges/min-version.js +0 -63
  780. package/slides/node_modules/semver/ranges/outside.js +0 -82
  781. package/slides/node_modules/semver/ranges/simplify.js +0 -49
  782. package/slides/node_modules/semver/ranges/subset.js +0 -249
  783. package/slides/node_modules/semver/ranges/to-comparators.js +0 -10
  784. package/slides/node_modules/semver/ranges/valid.js +0 -13
  785. package/slides/node_modules/setimmediate/LICENSE.txt +0 -20
  786. package/slides/node_modules/setimmediate/package.json +0 -30
  787. package/slides/node_modules/setimmediate/setImmediate.js +0 -186
  788. package/slides/node_modules/simple-concat/.travis.yml +0 -3
  789. package/slides/node_modules/simple-concat/LICENSE +0 -20
  790. package/slides/node_modules/simple-concat/README.md +0 -44
  791. package/slides/node_modules/simple-concat/index.js +0 -15
  792. package/slides/node_modules/simple-concat/package.json +0 -47
  793. package/slides/node_modules/simple-concat/test/basic.js +0 -41
  794. package/slides/node_modules/simple-get/.github/dependabot.yml +0 -15
  795. package/slides/node_modules/simple-get/.github/workflows/ci.yml +0 -23
  796. package/slides/node_modules/simple-get/LICENSE +0 -20
  797. package/slides/node_modules/simple-get/README.md +0 -333
  798. package/slides/node_modules/simple-get/index.js +0 -108
  799. package/slides/node_modules/simple-get/package.json +0 -67
  800. package/slides/node_modules/string_decoder/.travis.yml +0 -50
  801. package/slides/node_modules/string_decoder/LICENSE +0 -48
  802. package/slides/node_modules/string_decoder/README.md +0 -47
  803. package/slides/node_modules/string_decoder/lib/string_decoder.js +0 -296
  804. package/slides/node_modules/string_decoder/package.json +0 -31
  805. package/slides/node_modules/strip-json-comments/index.js +0 -70
  806. package/slides/node_modules/strip-json-comments/license +0 -21
  807. package/slides/node_modules/strip-json-comments/package.json +0 -42
  808. package/slides/node_modules/strip-json-comments/readme.md +0 -64
  809. package/slides/node_modules/tar-fs/.travis.yml +0 -6
  810. package/slides/node_modules/tar-fs/LICENSE +0 -21
  811. package/slides/node_modules/tar-fs/README.md +0 -165
  812. package/slides/node_modules/tar-fs/index.js +0 -363
  813. package/slides/node_modules/tar-fs/package.json +0 -41
  814. package/slides/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  815. package/slides/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  816. package/slides/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  817. package/slides/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  818. package/slides/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  819. package/slides/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  820. package/slides/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  821. package/slides/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
  822. package/slides/node_modules/tar-fs/test/fixtures/e/file +0 -0
  823. package/slides/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  824. package/slides/node_modules/tar-fs/test/index.js +0 -346
  825. package/slides/node_modules/tar-stream/LICENSE +0 -21
  826. package/slides/node_modules/tar-stream/README.md +0 -168
  827. package/slides/node_modules/tar-stream/extract.js +0 -257
  828. package/slides/node_modules/tar-stream/headers.js +0 -295
  829. package/slides/node_modules/tar-stream/index.js +0 -2
  830. package/slides/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  831. package/slides/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
  832. package/slides/node_modules/tar-stream/node_modules/readable-stream/LICENSE +0 -47
  833. package/slides/node_modules/tar-stream/node_modules/readable-stream/README.md +0 -106
  834. package/slides/node_modules/tar-stream/node_modules/readable-stream/errors-browser.js +0 -127
  835. package/slides/node_modules/tar-stream/node_modules/readable-stream/errors.js +0 -116
  836. package/slides/node_modules/tar-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
  837. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  838. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  839. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  840. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  841. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  842. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  843. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  844. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  845. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  846. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  847. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  848. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  849. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  850. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  851. package/slides/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  852. package/slides/node_modules/tar-stream/node_modules/readable-stream/package.json +0 -68
  853. package/slides/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +0 -9
  854. package/slides/node_modules/tar-stream/node_modules/readable-stream/readable.js +0 -16
  855. package/slides/node_modules/tar-stream/pack.js +0 -255
  856. package/slides/node_modules/tar-stream/package.json +0 -58
  857. package/slides/node_modules/tar-stream/sandbox.js +0 -11
  858. package/slides/node_modules/tunnel-agent/LICENSE +0 -55
  859. package/slides/node_modules/tunnel-agent/README.md +0 -4
  860. package/slides/node_modules/tunnel-agent/index.js +0 -244
  861. package/slides/node_modules/tunnel-agent/package.json +0 -22
  862. package/slides/node_modules/undici-types/LICENSE +0 -21
  863. package/slides/node_modules/undici-types/README.md +0 -6
  864. package/slides/node_modules/undici-types/agent.d.ts +0 -31
  865. package/slides/node_modules/undici-types/api.d.ts +0 -43
  866. package/slides/node_modules/undici-types/balanced-pool.d.ts +0 -29
  867. package/slides/node_modules/undici-types/cache.d.ts +0 -36
  868. package/slides/node_modules/undici-types/client.d.ts +0 -108
  869. package/slides/node_modules/undici-types/connector.d.ts +0 -34
  870. package/slides/node_modules/undici-types/content-type.d.ts +0 -21
  871. package/slides/node_modules/undici-types/cookies.d.ts +0 -28
  872. package/slides/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  873. package/slides/node_modules/undici-types/dispatcher.d.ts +0 -256
  874. package/slides/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  875. package/slides/node_modules/undici-types/errors.d.ts +0 -149
  876. package/slides/node_modules/undici-types/eventsource.d.ts +0 -61
  877. package/slides/node_modules/undici-types/fetch.d.ts +0 -209
  878. package/slides/node_modules/undici-types/file.d.ts +0 -39
  879. package/slides/node_modules/undici-types/filereader.d.ts +0 -54
  880. package/slides/node_modules/undici-types/formdata.d.ts +0 -108
  881. package/slides/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  882. package/slides/node_modules/undici-types/global-origin.d.ts +0 -7
  883. package/slides/node_modules/undici-types/handlers.d.ts +0 -15
  884. package/slides/node_modules/undici-types/header.d.ts +0 -4
  885. package/slides/node_modules/undici-types/index.d.ts +0 -71
  886. package/slides/node_modules/undici-types/interceptors.d.ts +0 -17
  887. package/slides/node_modules/undici-types/mock-agent.d.ts +0 -50
  888. package/slides/node_modules/undici-types/mock-client.d.ts +0 -25
  889. package/slides/node_modules/undici-types/mock-errors.d.ts +0 -12
  890. package/slides/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  891. package/slides/node_modules/undici-types/mock-pool.d.ts +0 -25
  892. package/slides/node_modules/undici-types/package.json +0 -55
  893. package/slides/node_modules/undici-types/patch.d.ts +0 -33
  894. package/slides/node_modules/undici-types/pool-stats.d.ts +0 -19
  895. package/slides/node_modules/undici-types/pool.d.ts +0 -39
  896. package/slides/node_modules/undici-types/proxy-agent.d.ts +0 -28
  897. package/slides/node_modules/undici-types/readable.d.ts +0 -65
  898. package/slides/node_modules/undici-types/retry-agent.d.ts +0 -8
  899. package/slides/node_modules/undici-types/retry-handler.d.ts +0 -116
  900. package/slides/node_modules/undici-types/util.d.ts +0 -18
  901. package/slides/node_modules/undici-types/webidl.d.ts +0 -228
  902. package/slides/node_modules/undici-types/websocket.d.ts +0 -150
  903. package/slides/node_modules/util-deprecate/History.md +0 -16
  904. package/slides/node_modules/util-deprecate/LICENSE +0 -24
  905. package/slides/node_modules/util-deprecate/README.md +0 -53
  906. package/slides/node_modules/util-deprecate/browser.js +0 -67
  907. package/slides/node_modules/util-deprecate/node.js +0 -6
  908. package/slides/node_modules/util-deprecate/package.json +0 -27
  909. package/slides/node_modules/wrappy/LICENSE +0 -15
  910. package/slides/node_modules/wrappy/README.md +0 -36
  911. package/slides/node_modules/wrappy/package.json +0 -29
  912. package/slides/node_modules/wrappy/wrappy.js +0 -33
  913. package/slides/package-lock.json +0 -536
  914. package/slides/package.json +0 -16
  915. package/slides/slides.json +0 -238
@@ -1,984 +0,0 @@
1
- /**
2
- * The `node:url` module provides utilities for URL resolution and parsing. It can
3
- * be accessed using:
4
- *
5
- * ```js
6
- * import url from 'node:url';
7
- * ```
8
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/url.js)
9
- */
10
- declare module "url" {
11
- import { Blob as NodeBlob, NonSharedBuffer } from "node:buffer";
12
- import { ClientRequestArgs } from "node:http";
13
- import { ParsedUrlQuery, ParsedUrlQueryInput } from "node:querystring";
14
- // Input to `url.format`
15
- interface UrlObject {
16
- auth?: string | null | undefined;
17
- hash?: string | null | undefined;
18
- host?: string | null | undefined;
19
- hostname?: string | null | undefined;
20
- href?: string | null | undefined;
21
- pathname?: string | null | undefined;
22
- protocol?: string | null | undefined;
23
- search?: string | null | undefined;
24
- slashes?: boolean | null | undefined;
25
- port?: string | number | null | undefined;
26
- query?: string | null | ParsedUrlQueryInput | undefined;
27
- }
28
- // Output of `url.parse`
29
- interface Url {
30
- auth: string | null;
31
- hash: string | null;
32
- host: string | null;
33
- hostname: string | null;
34
- href: string;
35
- path: string | null;
36
- pathname: string | null;
37
- protocol: string | null;
38
- search: string | null;
39
- slashes: boolean | null;
40
- port: string | null;
41
- query: string | null | ParsedUrlQuery;
42
- }
43
- interface UrlWithParsedQuery extends Url {
44
- query: ParsedUrlQuery;
45
- }
46
- interface UrlWithStringQuery extends Url {
47
- query: string | null;
48
- }
49
- interface FileUrlToPathOptions {
50
- /**
51
- * `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
52
- * @default undefined
53
- * @since v22.1.0
54
- */
55
- windows?: boolean | undefined;
56
- }
57
- interface PathToFileUrlOptions {
58
- /**
59
- * `true` if the `path` should be return as a windows filepath, `false` for posix, and `undefined` for the system default.
60
- * @default undefined
61
- * @since v22.1.0
62
- */
63
- windows?: boolean | undefined;
64
- }
65
- /**
66
- * The `url.parse()` method takes a URL string, parses it, and returns a URL
67
- * object.
68
- *
69
- * A `TypeError` is thrown if `urlString` is not a string.
70
- *
71
- * A `URIError` is thrown if the `auth` property is present but cannot be decoded.
72
- *
73
- * `url.parse()` uses a lenient, non-standard algorithm for parsing URL
74
- * strings. It is prone to security issues such as [host name spoofing](https://hackerone.com/reports/678487) and incorrect handling of usernames and passwords. Do not use with untrusted
75
- * input. CVEs are not issued for `url.parse()` vulnerabilities. Use the `WHATWG URL` API instead.
76
- * @since v0.1.25
77
- * @deprecated Use the WHATWG URL API instead.
78
- * @param urlString The URL string to parse.
79
- * @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property
80
- * on the returned URL object will be an unparsed, undecoded string.
81
- * @param [slashesDenoteHost=false] If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the
82
- * result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`.
83
- */
84
- function parse(urlString: string): UrlWithStringQuery;
85
- function parse(
86
- urlString: string,
87
- parseQueryString: false | undefined,
88
- slashesDenoteHost?: boolean,
89
- ): UrlWithStringQuery;
90
- function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
91
- function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
92
- /**
93
- * The `url.format()` method returns a formatted URL string derived from `urlObject`.
94
- *
95
- * ```js
96
- * import url from 'node:url';
97
- * url.format({
98
- * protocol: 'https',
99
- * hostname: 'example.com',
100
- * pathname: '/some/path',
101
- * query: {
102
- * page: 1,
103
- * format: 'json',
104
- * },
105
- * });
106
- *
107
- * // => 'https://example.com/some/path?page=1&format=json'
108
- * ```
109
- *
110
- * If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`.
111
- *
112
- * The formatting process operates as follows:
113
- *
114
- * * A new empty string `result` is created.
115
- * * If `urlObject.protocol` is a string, it is appended as-is to `result`.
116
- * * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown.
117
- * * For all string values of `urlObject.protocol` that _do not end_ with an ASCII
118
- * colon (`:`) character, the literal string `:` will be appended to `result`.
119
- * * If either of the following conditions is true, then the literal string `//` will be appended to `result`:
120
- * * `urlObject.slashes` property is true;
121
- * * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or `file`;
122
- * * If the value of the `urlObject.auth` property is truthy, and either `urlObject.host` or `urlObject.hostname` are not `undefined`, the value of `urlObject.auth` will be coerced into a string
123
- * and appended to `result` followed by the literal string `@`.
124
- * * If the `urlObject.host` property is `undefined` then:
125
- * * If the `urlObject.hostname` is a string, it is appended to `result`.
126
- * * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string,
127
- * an `Error` is thrown.
128
- * * If the `urlObject.port` property value is truthy, and `urlObject.hostname` is not `undefined`:
129
- * * The literal string `:` is appended to `result`, and
130
- * * The value of `urlObject.port` is coerced to a string and appended to `result`.
131
- * * Otherwise, if the `urlObject.host` property value is truthy, the value of `urlObject.host` is coerced to a string and appended to `result`.
132
- * * If the `urlObject.pathname` property is a string that is not an empty string:
133
- * * If the `urlObject.pathname` _does not start_ with an ASCII forward slash
134
- * (`/`), then the literal string `'/'` is appended to `result`.
135
- * * The value of `urlObject.pathname` is appended to `result`.
136
- * * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown.
137
- * * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result` followed by the output of calling the
138
- * `querystring` module's `stringify()` method passing the value of `urlObject.query`.
139
- * * Otherwise, if `urlObject.search` is a string:
140
- * * If the value of `urlObject.search` _does not start_ with the ASCII question
141
- * mark (`?`) character, the literal string `?` is appended to `result`.
142
- * * The value of `urlObject.search` is appended to `result`.
143
- * * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown.
144
- * * If the `urlObject.hash` property is a string:
145
- * * If the value of `urlObject.hash` _does not start_ with the ASCII hash (`#`)
146
- * character, the literal string `#` is appended to `result`.
147
- * * The value of `urlObject.hash` is appended to `result`.
148
- * * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a
149
- * string, an `Error` is thrown.
150
- * * `result` is returned.
151
- * @since v0.1.25
152
- * @legacy Use the WHATWG URL API instead.
153
- * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
154
- */
155
- function format(urlObject: URL, options?: URLFormatOptions): string;
156
- /**
157
- * The `url.format()` method returns a formatted URL string derived from `urlObject`.
158
- *
159
- * ```js
160
- * import url from 'node:url';
161
- * url.format({
162
- * protocol: 'https',
163
- * hostname: 'example.com',
164
- * pathname: '/some/path',
165
- * query: {
166
- * page: 1,
167
- * format: 'json',
168
- * },
169
- * });
170
- *
171
- * // => 'https://example.com/some/path?page=1&format=json'
172
- * ```
173
- *
174
- * If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`.
175
- *
176
- * The formatting process operates as follows:
177
- *
178
- * * A new empty string `result` is created.
179
- * * If `urlObject.protocol` is a string, it is appended as-is to `result`.
180
- * * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown.
181
- * * For all string values of `urlObject.protocol` that _do not end_ with an ASCII
182
- * colon (`:`) character, the literal string `:` will be appended to `result`.
183
- * * If either of the following conditions is true, then the literal string `//` will be appended to `result`:
184
- * * `urlObject.slashes` property is true;
185
- * * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or `file`;
186
- * * If the value of the `urlObject.auth` property is truthy, and either `urlObject.host` or `urlObject.hostname` are not `undefined`, the value of `urlObject.auth` will be coerced into a string
187
- * and appended to `result` followed by the literal string `@`.
188
- * * If the `urlObject.host` property is `undefined` then:
189
- * * If the `urlObject.hostname` is a string, it is appended to `result`.
190
- * * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string,
191
- * an `Error` is thrown.
192
- * * If the `urlObject.port` property value is truthy, and `urlObject.hostname` is not `undefined`:
193
- * * The literal string `:` is appended to `result`, and
194
- * * The value of `urlObject.port` is coerced to a string and appended to `result`.
195
- * * Otherwise, if the `urlObject.host` property value is truthy, the value of `urlObject.host` is coerced to a string and appended to `result`.
196
- * * If the `urlObject.pathname` property is a string that is not an empty string:
197
- * * If the `urlObject.pathname` _does not start_ with an ASCII forward slash
198
- * (`/`), then the literal string `'/'` is appended to `result`.
199
- * * The value of `urlObject.pathname` is appended to `result`.
200
- * * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown.
201
- * * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result` followed by the output of calling the
202
- * `querystring` module's `stringify()` method passing the value of `urlObject.query`.
203
- * * Otherwise, if `urlObject.search` is a string:
204
- * * If the value of `urlObject.search` _does not start_ with the ASCII question
205
- * mark (`?`) character, the literal string `?` is appended to `result`.
206
- * * The value of `urlObject.search` is appended to `result`.
207
- * * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown.
208
- * * If the `urlObject.hash` property is a string:
209
- * * If the value of `urlObject.hash` _does not start_ with the ASCII hash (`#`)
210
- * character, the literal string `#` is appended to `result`.
211
- * * The value of `urlObject.hash` is appended to `result`.
212
- * * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a
213
- * string, an `Error` is thrown.
214
- * * `result` is returned.
215
- * @since v0.1.25
216
- * @legacy Use the WHATWG URL API instead.
217
- * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
218
- */
219
- function format(urlObject: UrlObject | string): string;
220
- /**
221
- * The `url.resolve()` method resolves a target URL relative to a base URL in a
222
- * manner similar to that of a web browser resolving an anchor tag.
223
- *
224
- * ```js
225
- * import url from 'node:url';
226
- * url.resolve('/one/two/three', 'four'); // '/one/two/four'
227
- * url.resolve('http://example.com/', '/one'); // 'http://example.com/one'
228
- * url.resolve('http://example.com/one', '/two'); // 'http://example.com/two'
229
- * ```
230
- *
231
- * To achieve the same result using the WHATWG URL API:
232
- *
233
- * ```js
234
- * function resolve(from, to) {
235
- * const resolvedUrl = new URL(to, new URL(from, 'resolve://'));
236
- * if (resolvedUrl.protocol === 'resolve:') {
237
- * // `from` is a relative URL.
238
- * const { pathname, search, hash } = resolvedUrl;
239
- * return pathname + search + hash;
240
- * }
241
- * return resolvedUrl.toString();
242
- * }
243
- *
244
- * resolve('/one/two/three', 'four'); // '/one/two/four'
245
- * resolve('http://example.com/', '/one'); // 'http://example.com/one'
246
- * resolve('http://example.com/one', '/two'); // 'http://example.com/two'
247
- * ```
248
- * @since v0.1.25
249
- * @legacy Use the WHATWG URL API instead.
250
- * @param from The base URL to use if `to` is a relative URL.
251
- * @param to The target URL to resolve.
252
- */
253
- function resolve(from: string, to: string): string;
254
- /**
255
- * Returns the [Punycode](https://tools.ietf.org/html/rfc5891#section-4.4) ASCII serialization of the `domain`. If `domain` is an
256
- * invalid domain, the empty string is returned.
257
- *
258
- * It performs the inverse operation to {@link domainToUnicode}.
259
- *
260
- * ```js
261
- * import url from 'node:url';
262
- *
263
- * console.log(url.domainToASCII('español.com'));
264
- * // Prints xn--espaol-zwa.com
265
- * console.log(url.domainToASCII('中文.com'));
266
- * // Prints xn--fiq228c.com
267
- * console.log(url.domainToASCII('xn--iñvalid.com'));
268
- * // Prints an empty string
269
- * ```
270
- * @since v7.4.0, v6.13.0
271
- */
272
- function domainToASCII(domain: string): string;
273
- /**
274
- * Returns the Unicode serialization of the `domain`. If `domain` is an invalid
275
- * domain, the empty string is returned.
276
- *
277
- * It performs the inverse operation to {@link domainToASCII}.
278
- *
279
- * ```js
280
- * import url from 'node:url';
281
- *
282
- * console.log(url.domainToUnicode('xn--espaol-zwa.com'));
283
- * // Prints español.com
284
- * console.log(url.domainToUnicode('xn--fiq228c.com'));
285
- * // Prints 中文.com
286
- * console.log(url.domainToUnicode('xn--iñvalid.com'));
287
- * // Prints an empty string
288
- * ```
289
- * @since v7.4.0, v6.13.0
290
- */
291
- function domainToUnicode(domain: string): string;
292
- /**
293
- * This function ensures the correct decodings of percent-encoded characters as
294
- * well as ensuring a cross-platform valid absolute path string.
295
- *
296
- * ```js
297
- * import { fileURLToPath } from 'node:url';
298
- *
299
- * const __filename = fileURLToPath(import.meta.url);
300
- *
301
- * new URL('file:///C:/path/').pathname; // Incorrect: /C:/path/
302
- * fileURLToPath('file:///C:/path/'); // Correct: C:\path\ (Windows)
303
- *
304
- * new URL('file://nas/foo.txt').pathname; // Incorrect: /foo.txt
305
- * fileURLToPath('file://nas/foo.txt'); // Correct: \\nas\foo.txt (Windows)
306
- *
307
- * new URL('file:///你好.txt').pathname; // Incorrect: /%E4%BD%A0%E5%A5%BD.txt
308
- * fileURLToPath('file:///你好.txt'); // Correct: /你好.txt (POSIX)
309
- *
310
- * new URL('file:///hello world').pathname; // Incorrect: /hello%20world
311
- * fileURLToPath('file:///hello world'); // Correct: /hello world (POSIX)
312
- * ```
313
- * @since v10.12.0
314
- * @param url The file URL string or URL object to convert to a path.
315
- * @return The fully-resolved platform-specific Node.js file path.
316
- */
317
- function fileURLToPath(url: string | URL, options?: FileUrlToPathOptions): string;
318
- /**
319
- * Like `url.fileURLToPath(...)` except that instead of returning a string
320
- * representation of the path, a `Buffer` is returned. This conversion is
321
- * helpful when the input URL contains percent-encoded segments that are
322
- * not valid UTF-8 / Unicode sequences.
323
- * @since v22.18.0
324
- * @param url The file URL string or URL object to convert to a path.
325
- * @returns The fully-resolved platform-specific Node.js file path
326
- * as a `Buffer`.
327
- */
328
- function fileURLToPathBuffer(url: string | URL, options?: FileUrlToPathOptions): NonSharedBuffer;
329
- /**
330
- * This function ensures that `path` is resolved absolutely, and that the URL
331
- * control characters are correctly encoded when converting into a File URL.
332
- *
333
- * ```js
334
- * import { pathToFileURL } from 'node:url';
335
- *
336
- * new URL('/foo#1', 'file:'); // Incorrect: file:///foo#1
337
- * pathToFileURL('/foo#1'); // Correct: file:///foo%231 (POSIX)
338
- *
339
- * new URL('/some/path%.c', 'file:'); // Incorrect: file:///some/path%.c
340
- * pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)
341
- * ```
342
- * @since v10.12.0
343
- * @param path The path to convert to a File URL.
344
- * @return The file URL object.
345
- */
346
- function pathToFileURL(path: string, options?: PathToFileUrlOptions): URL;
347
- /**
348
- * This utility function converts a URL object into an ordinary options object as
349
- * expected by the `http.request()` and `https.request()` APIs.
350
- *
351
- * ```js
352
- * import { urlToHttpOptions } from 'node:url';
353
- * const myURL = new URL('https://a:b@測試?abc#foo');
354
- *
355
- * console.log(urlToHttpOptions(myURL));
356
- * /*
357
- * {
358
- * protocol: 'https:',
359
- * hostname: 'xn--g6w251d',
360
- * hash: '#foo',
361
- * search: '?abc',
362
- * pathname: '/',
363
- * path: '/?abc',
364
- * href: 'https://a:b@xn--g6w251d/?abc#foo',
365
- * auth: 'a:b'
366
- * }
367
- *
368
- * ```
369
- * @since v15.7.0, v14.18.0
370
- * @param url The `WHATWG URL` object to convert to an options object.
371
- * @return Options object
372
- */
373
- function urlToHttpOptions(url: URL): ClientRequestArgs;
374
- interface URLFormatOptions {
375
- /**
376
- * `true` if the serialized URL string should include the username and password, `false` otherwise.
377
- * @default true
378
- */
379
- auth?: boolean | undefined;
380
- /**
381
- * `true` if the serialized URL string should include the fragment, `false` otherwise.
382
- * @default true
383
- */
384
- fragment?: boolean | undefined;
385
- /**
386
- * `true` if the serialized URL string should include the search query, `false` otherwise.
387
- * @default true
388
- */
389
- search?: boolean | undefined;
390
- /**
391
- * `true` if Unicode characters appearing in the host component of the URL string should be encoded directly as opposed to
392
- * being Punycode encoded.
393
- * @default false
394
- */
395
- unicode?: boolean | undefined;
396
- }
397
- /**
398
- * Browser-compatible `URL` class, implemented by following the WHATWG URL
399
- * Standard. [Examples of parsed URLs](https://url.spec.whatwg.org/#example-url-parsing) may be found in the Standard itself.
400
- * The `URL` class is also available on the global object.
401
- *
402
- * In accordance with browser conventions, all properties of `URL` objects
403
- * are implemented as getters and setters on the class prototype, rather than as
404
- * data properties on the object itself. Thus, unlike `legacy urlObject`s,
405
- * using the `delete` keyword on any properties of `URL` objects (e.g. `delete myURL.protocol`, `delete myURL.pathname`, etc) has no effect but will still
406
- * return `true`.
407
- * @since v7.0.0, v6.13.0
408
- */
409
- class URL {
410
- /**
411
- * Creates a `'blob:nodedata:...'` URL string that represents the given `Blob` object and can be used to retrieve the `Blob` later.
412
- *
413
- * ```js
414
- * import {
415
- * Blob,
416
- * resolveObjectURL,
417
- * } from 'node:buffer';
418
- *
419
- * const blob = new Blob(['hello']);
420
- * const id = URL.createObjectURL(blob);
421
- *
422
- * // later...
423
- *
424
- * const otherBlob = resolveObjectURL(id);
425
- * console.log(otherBlob.size);
426
- * ```
427
- *
428
- * The data stored by the registered `Blob` will be retained in memory until `URL.revokeObjectURL()` is called to remove it.
429
- *
430
- * `Blob` objects are registered within the current thread. If using Worker
431
- * Threads, `Blob` objects registered within one Worker will not be available
432
- * to other workers or the main thread.
433
- * @since v16.7.0
434
- */
435
- static createObjectURL(blob: NodeBlob): string;
436
- /**
437
- * Removes the stored `Blob` identified by the given ID. Attempting to revoke a
438
- * ID that isn't registered will silently fail.
439
- * @since v16.7.0
440
- * @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
441
- */
442
- static revokeObjectURL(id: string): void;
443
- /**
444
- * Checks if an `input` relative to the `base` can be parsed to a `URL`.
445
- *
446
- * ```js
447
- * const isValid = URL.canParse('/foo', 'https://example.org/'); // true
448
- *
449
- * const isNotValid = URL.canParse('/foo'); // false
450
- * ```
451
- * @since v19.9.0
452
- * @param input The absolute or relative input URL to parse. If `input` is relative, then `base` is required. If `input` is absolute, the `base` is ignored. If `input` is not a string, it is
453
- * `converted to a string` first.
454
- * @param base The base URL to resolve against if the `input` is not absolute. If `base` is not a string, it is `converted to a string` first.
455
- */
456
- static canParse(input: string, base?: string): boolean;
457
- /**
458
- * Parses a string as a URL. If `base` is provided, it will be used as the base
459
- * URL for the purpose of resolving non-absolute `input` URLs. Returns `null`
460
- * if the parameters can't be resolved to a valid URL.
461
- * @since v22.1.0
462
- * @param input The absolute or relative input URL to parse. If `input`
463
- * is relative, then `base` is required. If `input` is absolute, the `base`
464
- * is ignored. If `input` is not a string, it is [converted to a string](https://tc39.es/ecma262/#sec-tostring) first.
465
- * @param base The base URL to resolve against if the `input` is not
466
- * absolute. If `base` is not a string, it is [converted to a string](https://tc39.es/ecma262/#sec-tostring) first.
467
- */
468
- static parse(input: string, base?: string): URL | null;
469
- constructor(input: string | { toString: () => string }, base?: string | URL);
470
- /**
471
- * Gets and sets the fragment portion of the URL.
472
- *
473
- * ```js
474
- * const myURL = new URL('https://example.org/foo#bar');
475
- * console.log(myURL.hash);
476
- * // Prints #bar
477
- *
478
- * myURL.hash = 'baz';
479
- * console.log(myURL.href);
480
- * // Prints https://example.org/foo#baz
481
- * ```
482
- *
483
- * Invalid URL characters included in the value assigned to the `hash` property
484
- * are `percent-encoded`. The selection of which characters to
485
- * percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
486
- */
487
- hash: string;
488
- /**
489
- * Gets and sets the host portion of the URL.
490
- *
491
- * ```js
492
- * const myURL = new URL('https://example.org:81/foo');
493
- * console.log(myURL.host);
494
- * // Prints example.org:81
495
- *
496
- * myURL.host = 'example.com:82';
497
- * console.log(myURL.href);
498
- * // Prints https://example.com:82/foo
499
- * ```
500
- *
501
- * Invalid host values assigned to the `host` property are ignored.
502
- */
503
- host: string;
504
- /**
505
- * Gets and sets the host name portion of the URL. The key difference between`url.host` and `url.hostname` is that `url.hostname` does _not_ include the
506
- * port.
507
- *
508
- * ```js
509
- * const myURL = new URL('https://example.org:81/foo');
510
- * console.log(myURL.hostname);
511
- * // Prints example.org
512
- *
513
- * // Setting the hostname does not change the port
514
- * myURL.hostname = 'example.com';
515
- * console.log(myURL.href);
516
- * // Prints https://example.com:81/foo
517
- *
518
- * // Use myURL.host to change the hostname and port
519
- * myURL.host = 'example.org:82';
520
- * console.log(myURL.href);
521
- * // Prints https://example.org:82/foo
522
- * ```
523
- *
524
- * Invalid host name values assigned to the `hostname` property are ignored.
525
- */
526
- hostname: string;
527
- /**
528
- * Gets and sets the serialized URL.
529
- *
530
- * ```js
531
- * const myURL = new URL('https://example.org/foo');
532
- * console.log(myURL.href);
533
- * // Prints https://example.org/foo
534
- *
535
- * myURL.href = 'https://example.com/bar';
536
- * console.log(myURL.href);
537
- * // Prints https://example.com/bar
538
- * ```
539
- *
540
- * Getting the value of the `href` property is equivalent to calling {@link toString}.
541
- *
542
- * Setting the value of this property to a new value is equivalent to creating a
543
- * new `URL` object using `new URL(value)`. Each of the `URL` object's properties will be modified.
544
- *
545
- * If the value assigned to the `href` property is not a valid URL, a `TypeError` will be thrown.
546
- */
547
- href: string;
548
- /**
549
- * Gets the read-only serialization of the URL's origin.
550
- *
551
- * ```js
552
- * const myURL = new URL('https://example.org/foo/bar?baz');
553
- * console.log(myURL.origin);
554
- * // Prints https://example.org
555
- * ```
556
- *
557
- * ```js
558
- * const idnURL = new URL('https://測試');
559
- * console.log(idnURL.origin);
560
- * // Prints https://xn--g6w251d
561
- *
562
- * console.log(idnURL.hostname);
563
- * // Prints xn--g6w251d
564
- * ```
565
- */
566
- readonly origin: string;
567
- /**
568
- * Gets and sets the password portion of the URL.
569
- *
570
- * ```js
571
- * const myURL = new URL('https://abc:xyz@example.com');
572
- * console.log(myURL.password);
573
- * // Prints xyz
574
- *
575
- * myURL.password = '123';
576
- * console.log(myURL.href);
577
- * // Prints https://abc:123@example.com/
578
- * ```
579
- *
580
- * Invalid URL characters included in the value assigned to the `password` property
581
- * are `percent-encoded`. The selection of which characters to
582
- * percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
583
- */
584
- password: string;
585
- /**
586
- * Gets and sets the path portion of the URL.
587
- *
588
- * ```js
589
- * const myURL = new URL('https://example.org/abc/xyz?123');
590
- * console.log(myURL.pathname);
591
- * // Prints /abc/xyz
592
- *
593
- * myURL.pathname = '/abcdef';
594
- * console.log(myURL.href);
595
- * // Prints https://example.org/abcdef?123
596
- * ```
597
- *
598
- * Invalid URL characters included in the value assigned to the `pathname` property are `percent-encoded`. The selection of which characters
599
- * to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
600
- */
601
- pathname: string;
602
- /**
603
- * Gets and sets the port portion of the URL.
604
- *
605
- * The port value may be a number or a string containing a number in the range `0` to `65535` (inclusive). Setting the value to the default port of the `URL` objects given `protocol` will
606
- * result in the `port` value becoming
607
- * the empty string (`''`).
608
- *
609
- * The port value can be an empty string in which case the port depends on
610
- * the protocol/scheme:
611
- *
612
- * <omitted>
613
- *
614
- * Upon assigning a value to the port, the value will first be converted to a
615
- * string using `.toString()`.
616
- *
617
- * If that string is invalid but it begins with a number, the leading number is
618
- * assigned to `port`.
619
- * If the number lies outside the range denoted above, it is ignored.
620
- *
621
- * ```js
622
- * const myURL = new URL('https://example.org:8888');
623
- * console.log(myURL.port);
624
- * // Prints 8888
625
- *
626
- * // Default ports are automatically transformed to the empty string
627
- * // (HTTPS protocol's default port is 443)
628
- * myURL.port = '443';
629
- * console.log(myURL.port);
630
- * // Prints the empty string
631
- * console.log(myURL.href);
632
- * // Prints https://example.org/
633
- *
634
- * myURL.port = 1234;
635
- * console.log(myURL.port);
636
- * // Prints 1234
637
- * console.log(myURL.href);
638
- * // Prints https://example.org:1234/
639
- *
640
- * // Completely invalid port strings are ignored
641
- * myURL.port = 'abcd';
642
- * console.log(myURL.port);
643
- * // Prints 1234
644
- *
645
- * // Leading numbers are treated as a port number
646
- * myURL.port = '5678abcd';
647
- * console.log(myURL.port);
648
- * // Prints 5678
649
- *
650
- * // Non-integers are truncated
651
- * myURL.port = 1234.5678;
652
- * console.log(myURL.port);
653
- * // Prints 1234
654
- *
655
- * // Out-of-range numbers which are not represented in scientific notation
656
- * // will be ignored.
657
- * myURL.port = 1e10; // 10000000000, will be range-checked as described below
658
- * console.log(myURL.port);
659
- * // Prints 1234
660
- * ```
661
- *
662
- * Numbers which contain a decimal point,
663
- * such as floating-point numbers or numbers in scientific notation,
664
- * are not an exception to this rule.
665
- * Leading numbers up to the decimal point will be set as the URL's port,
666
- * assuming they are valid:
667
- *
668
- * ```js
669
- * myURL.port = 4.567e21;
670
- * console.log(myURL.port);
671
- * // Prints 4 (because it is the leading number in the string '4.567e21')
672
- * ```
673
- */
674
- port: string;
675
- /**
676
- * Gets and sets the protocol portion of the URL.
677
- *
678
- * ```js
679
- * const myURL = new URL('https://example.org');
680
- * console.log(myURL.protocol);
681
- * // Prints https:
682
- *
683
- * myURL.protocol = 'ftp';
684
- * console.log(myURL.href);
685
- * // Prints ftp://example.org/
686
- * ```
687
- *
688
- * Invalid URL protocol values assigned to the `protocol` property are ignored.
689
- */
690
- protocol: string;
691
- /**
692
- * Gets and sets the serialized query portion of the URL.
693
- *
694
- * ```js
695
- * const myURL = new URL('https://example.org/abc?123');
696
- * console.log(myURL.search);
697
- * // Prints ?123
698
- *
699
- * myURL.search = 'abc=xyz';
700
- * console.log(myURL.href);
701
- * // Prints https://example.org/abc?abc=xyz
702
- * ```
703
- *
704
- * Any invalid URL characters appearing in the value assigned the `search` property will be `percent-encoded`. The selection of which
705
- * characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
706
- */
707
- search: string;
708
- /**
709
- * Gets the `URLSearchParams` object representing the query parameters of the
710
- * URL. This property is read-only but the `URLSearchParams` object it provides
711
- * can be used to mutate the URL instance; to replace the entirety of query
712
- * parameters of the URL, use the {@link search} setter. See `URLSearchParams` documentation for details.
713
- *
714
- * Use care when using `.searchParams` to modify the `URL` because,
715
- * per the WHATWG specification, the `URLSearchParams` object uses
716
- * different rules to determine which characters to percent-encode. For
717
- * instance, the `URL` object will not percent encode the ASCII tilde (`~`)
718
- * character, while `URLSearchParams` will always encode it:
719
- *
720
- * ```js
721
- * const myURL = new URL('https://example.org/abc?foo=~bar');
722
- *
723
- * console.log(myURL.search); // prints ?foo=~bar
724
- *
725
- * // Modify the URL via searchParams...
726
- * myURL.searchParams.sort();
727
- *
728
- * console.log(myURL.search); // prints ?foo=%7Ebar
729
- * ```
730
- */
731
- readonly searchParams: URLSearchParams;
732
- /**
733
- * Gets and sets the username portion of the URL.
734
- *
735
- * ```js
736
- * const myURL = new URL('https://abc:xyz@example.com');
737
- * console.log(myURL.username);
738
- * // Prints abc
739
- *
740
- * myURL.username = '123';
741
- * console.log(myURL.href);
742
- * // Prints https://123:xyz@example.com/
743
- * ```
744
- *
745
- * Any invalid URL characters appearing in the value assigned the `username` property will be `percent-encoded`. The selection of which
746
- * characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
747
- */
748
- username: string;
749
- /**
750
- * The `toString()` method on the `URL` object returns the serialized URL. The
751
- * value returned is equivalent to that of {@link href} and {@link toJSON}.
752
- */
753
- toString(): string;
754
- /**
755
- * The `toJSON()` method on the `URL` object returns the serialized URL. The
756
- * value returned is equivalent to that of {@link href} and {@link toString}.
757
- *
758
- * This method is automatically called when an `URL` object is serialized
759
- * with [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify).
760
- *
761
- * ```js
762
- * const myURLs = [
763
- * new URL('https://www.example.com'),
764
- * new URL('https://test.example.org'),
765
- * ];
766
- * console.log(JSON.stringify(myURLs));
767
- * // Prints ["https://www.example.com/","https://test.example.org/"]
768
- * ```
769
- */
770
- toJSON(): string;
771
- }
772
- interface URLSearchParamsIterator<T> extends NodeJS.Iterator<T, NodeJS.BuiltinIteratorReturn, unknown> {
773
- [Symbol.iterator](): URLSearchParamsIterator<T>;
774
- }
775
- /**
776
- * The `URLSearchParams` API provides read and write access to the query of a `URL`. The `URLSearchParams` class can also be used standalone with one of the
777
- * four following constructors.
778
- * The `URLSearchParams` class is also available on the global object.
779
- *
780
- * The WHATWG `URLSearchParams` interface and the `querystring` module have
781
- * similar purpose, but the purpose of the `querystring` module is more
782
- * general, as it allows the customization of delimiter characters (`&#x26;` and `=`).
783
- * On the other hand, this API is designed purely for URL query strings.
784
- *
785
- * ```js
786
- * const myURL = new URL('https://example.org/?abc=123');
787
- * console.log(myURL.searchParams.get('abc'));
788
- * // Prints 123
789
- *
790
- * myURL.searchParams.append('abc', 'xyz');
791
- * console.log(myURL.href);
792
- * // Prints https://example.org/?abc=123&#x26;abc=xyz
793
- *
794
- * myURL.searchParams.delete('abc');
795
- * myURL.searchParams.set('a', 'b');
796
- * console.log(myURL.href);
797
- * // Prints https://example.org/?a=b
798
- *
799
- * const newSearchParams = new URLSearchParams(myURL.searchParams);
800
- * // The above is equivalent to
801
- * // const newSearchParams = new URLSearchParams(myURL.search);
802
- *
803
- * newSearchParams.append('a', 'c');
804
- * console.log(myURL.href);
805
- * // Prints https://example.org/?a=b
806
- * console.log(newSearchParams.toString());
807
- * // Prints a=b&#x26;a=c
808
- *
809
- * // newSearchParams.toString() is implicitly called
810
- * myURL.search = newSearchParams;
811
- * console.log(myURL.href);
812
- * // Prints https://example.org/?a=b&#x26;a=c
813
- * newSearchParams.delete('a');
814
- * console.log(myURL.href);
815
- * // Prints https://example.org/?a=b&#x26;a=c
816
- * ```
817
- * @since v7.5.0, v6.13.0
818
- */
819
- class URLSearchParams implements Iterable<[string, string]> {
820
- constructor(
821
- init?:
822
- | URLSearchParams
823
- | string
824
- | Record<string, string | readonly string[]>
825
- | Iterable<[string, string]>
826
- | ReadonlyArray<[string, string]>,
827
- );
828
- /**
829
- * Append a new name-value pair to the query string.
830
- */
831
- append(name: string, value: string): void;
832
- /**
833
- * If `value` is provided, removes all name-value pairs
834
- * where name is `name` and value is `value`.
835
- *
836
- * If `value` is not provided, removes all name-value pairs whose name is `name`.
837
- */
838
- delete(name: string, value?: string): void;
839
- /**
840
- * Returns an ES6 `Iterator` over each of the name-value pairs in the query.
841
- * Each item of the iterator is a JavaScript `Array`. The first item of the `Array` is the `name`, the second item of the `Array` is the `value`.
842
- *
843
- * Alias for `urlSearchParams[Symbol.iterator]()`.
844
- */
845
- entries(): URLSearchParamsIterator<[string, string]>;
846
- /**
847
- * Iterates over each name-value pair in the query and invokes the given function.
848
- *
849
- * ```js
850
- * const myURL = new URL('https://example.org/?a=b&#x26;c=d');
851
- * myURL.searchParams.forEach((value, name, searchParams) => {
852
- * console.log(name, value, myURL.searchParams === searchParams);
853
- * });
854
- * // Prints:
855
- * // a b true
856
- * // c d true
857
- * ```
858
- * @param fn Invoked for each name-value pair in the query
859
- * @param thisArg To be used as `this` value for when `fn` is called
860
- */
861
- forEach<TThis = this>(
862
- fn: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void,
863
- thisArg?: TThis,
864
- ): void;
865
- /**
866
- * Returns the value of the first name-value pair whose name is `name`. If there
867
- * are no such pairs, `null` is returned.
868
- * @return or `null` if there is no name-value pair with the given `name`.
869
- */
870
- get(name: string): string | null;
871
- /**
872
- * Returns the values of all name-value pairs whose name is `name`. If there are
873
- * no such pairs, an empty array is returned.
874
- */
875
- getAll(name: string): string[];
876
- /**
877
- * Checks if the `URLSearchParams` object contains key-value pair(s) based on `name` and an optional `value` argument.
878
- *
879
- * If `value` is provided, returns `true` when name-value pair with
880
- * same `name` and `value` exists.
881
- *
882
- * If `value` is not provided, returns `true` if there is at least one name-value
883
- * pair whose name is `name`.
884
- */
885
- has(name: string, value?: string): boolean;
886
- /**
887
- * Returns an ES6 `Iterator` over the names of each name-value pair.
888
- *
889
- * ```js
890
- * const params = new URLSearchParams('foo=bar&#x26;foo=baz');
891
- * for (const name of params.keys()) {
892
- * console.log(name);
893
- * }
894
- * // Prints:
895
- * // foo
896
- * // foo
897
- * ```
898
- */
899
- keys(): URLSearchParamsIterator<string>;
900
- /**
901
- * Sets the value in the `URLSearchParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
902
- * set the first such pair's value to `value` and remove all others. If not,
903
- * append the name-value pair to the query string.
904
- *
905
- * ```js
906
- * const params = new URLSearchParams();
907
- * params.append('foo', 'bar');
908
- * params.append('foo', 'baz');
909
- * params.append('abc', 'def');
910
- * console.log(params.toString());
911
- * // Prints foo=bar&#x26;foo=baz&#x26;abc=def
912
- *
913
- * params.set('foo', 'def');
914
- * params.set('xyz', 'opq');
915
- * console.log(params.toString());
916
- * // Prints foo=def&#x26;abc=def&#x26;xyz=opq
917
- * ```
918
- */
919
- set(name: string, value: string): void;
920
- /**
921
- * The total number of parameter entries.
922
- * @since v19.8.0
923
- */
924
- readonly size: number;
925
- /**
926
- * Sort all existing name-value pairs in-place by their names. Sorting is done
927
- * with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs
928
- * with the same name is preserved.
929
- *
930
- * This method can be used, in particular, to increase cache hits.
931
- *
932
- * ```js
933
- * const params = new URLSearchParams('query[]=abc&#x26;type=search&#x26;query[]=123');
934
- * params.sort();
935
- * console.log(params.toString());
936
- * // Prints query%5B%5D=abc&#x26;query%5B%5D=123&#x26;type=search
937
- * ```
938
- * @since v7.7.0, v6.13.0
939
- */
940
- sort(): void;
941
- /**
942
- * Returns the search parameters serialized as a string, with characters
943
- * percent-encoded where necessary.
944
- */
945
- toString(): string;
946
- /**
947
- * Returns an ES6 `Iterator` over the values of each name-value pair.
948
- */
949
- values(): URLSearchParamsIterator<string>;
950
- [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
951
- }
952
- import { URL as _URL, URLSearchParams as _URLSearchParams } from "url";
953
- global {
954
- interface URLSearchParams extends _URLSearchParams {}
955
- interface URL extends _URL {}
956
- interface Global {
957
- URL: typeof _URL;
958
- URLSearchParams: typeof _URLSearchParams;
959
- }
960
- /**
961
- * `URL` class is a global reference for `import { URL } from 'url'`
962
- * https://nodejs.org/api/url.html#the-whatwg-url-api
963
- * @since v10.0.0
964
- */
965
- var URL: typeof globalThis extends {
966
- onmessage: any;
967
- URL: infer T;
968
- } ? T
969
- : typeof _URL;
970
- /**
971
- * `URLSearchParams` class is a global reference for `import { URLSearchParams } from 'node:url'`
972
- * https://nodejs.org/api/url.html#class-urlsearchparams
973
- * @since v10.0.0
974
- */
975
- var URLSearchParams: typeof globalThis extends {
976
- onmessage: any;
977
- URLSearchParams: infer T;
978
- } ? T
979
- : typeof _URLSearchParams;
980
- }
981
- }
982
- declare module "node:url" {
983
- export * from "url";
984
- }