nuxt-ai-ready 2.5.3 → 3.0.0

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 (286) hide show
  1. package/README.md +13 -12
  2. package/dist/chunks/agent-skills.mjs +35 -12
  3. package/dist/chunks/prerender.mjs +35 -24
  4. package/dist/cli.mjs +5 -2
  5. package/dist/module.d.mts +4 -0
  6. package/dist/module.json +2 -2
  7. package/dist/module.mjs +8 -4
  8. package/dist/runtime/app/index.d.ts +3 -0
  9. package/dist/runtime/app/index.js +2 -0
  10. package/dist/runtime/cache-control.d.ts +2 -0
  11. package/dist/runtime/cache-control.js +11 -0
  12. package/dist/runtime/llms-txt-utils.js +1 -1
  13. package/dist/runtime/server/db/context.d.ts +13 -0
  14. package/dist/runtime/server/db/drizzle/client.d.ts +6 -7
  15. package/dist/runtime/server/db/drizzle/client.js +13 -2
  16. package/dist/runtime/server/db/drizzle/providers/bun.d.ts +2 -2
  17. package/dist/runtime/server/db/drizzle/providers/bun.js +2 -2
  18. package/dist/runtime/server/db/drizzle/providers/d1.d.ts +2 -2
  19. package/dist/runtime/server/db/drizzle/providers/d1.js +3 -2
  20. package/dist/runtime/server/db/drizzle/providers/libsql.d.ts +2 -2
  21. package/dist/runtime/server/db/drizzle/providers/libsql.js +2 -2
  22. package/dist/runtime/server/db/drizzle/providers/neon.d.ts +2 -2
  23. package/dist/runtime/server/db/drizzle/providers/neon.js +2 -2
  24. package/dist/runtime/server/db/drizzle/providers/node-sqlite.d.ts +2 -2
  25. package/dist/runtime/server/db/drizzle/providers/node-sqlite.js +2 -2
  26. package/dist/runtime/server/db/drizzle/providers/postgres.d.ts +2 -2
  27. package/dist/runtime/server/db/drizzle/providers/postgres.js +2 -2
  28. package/dist/runtime/server/db/drizzle/queries.d.ts +27 -27
  29. package/dist/runtime/server/db/drizzle/queries.js +6 -5
  30. package/dist/runtime/server/db/drizzle/raw.d.ts +2 -6
  31. package/dist/runtime/server/db/index.d.ts +1 -1
  32. package/dist/runtime/server/db/index.js +1 -1
  33. package/dist/runtime/server/db/queries.d.ts +36 -36
  34. package/dist/runtime/server/db/queries.js +8 -9
  35. package/dist/runtime/server/db/seed.d.ts +2 -2
  36. package/dist/runtime/server/db/seed.js +4 -3
  37. package/dist/runtime/server/db/shared.d.ts +8 -0
  38. package/dist/runtime/server/db/shared.js +8 -2
  39. package/dist/runtime/server/index.d.ts +2 -0
  40. package/dist/runtime/server/index.js +17 -0
  41. package/dist/runtime/server/mcp/tools/get-page-markdown.js +1 -1
  42. package/dist/runtime/server/mcp/tools/list-pages.js +1 -1
  43. package/dist/runtime/server/mcp/tools/search-pages.js +1 -1
  44. package/dist/runtime/server/middleware/markdown.prerender.js +1 -1
  45. package/dist/runtime/server/plugins/db-lifecycle-nitro3.d.ts +2 -0
  46. package/dist/runtime/server/plugins/db-lifecycle-nitro3.js +16 -0
  47. package/dist/runtime/server/plugins/html-capture.prerender.js +6 -4
  48. package/dist/runtime/server/plugins/link-header-nitro3.d.ts +2 -0
  49. package/dist/runtime/server/plugins/link-header-nitro3.js +20 -0
  50. package/dist/runtime/server/plugins/link-header.d.ts +6 -0
  51. package/dist/runtime/server/plugins/link-header.js +7 -11
  52. package/dist/runtime/server/plugins/markdown-negotiation.js +8 -1
  53. package/dist/runtime/server/plugins/sitemap-seeder.js +3 -3
  54. package/dist/runtime/server/routes/agent-skills-artifact.d.ts +1 -1
  55. package/dist/runtime/server/routes/agent-skills-artifact.js +10 -10
  56. package/dist/runtime/server/routes/agent-skills-index.d.ts +1 -1
  57. package/dist/runtime/server/routes/agent-skills-index.js +7 -6
  58. package/dist/runtime/server/routes/ai-catalog.d.ts +2 -1
  59. package/dist/runtime/server/routes/ai-catalog.js +7 -8
  60. package/dist/runtime/server/routes/api-catalog.d.ts +3 -1
  61. package/dist/runtime/server/routes/api-catalog.js +12 -12
  62. package/dist/runtime/server/routes/llms-full.txt.get.js +1 -1
  63. package/dist/runtime/server/routes/mcp-server-card.d.ts +1 -1
  64. package/dist/runtime/server/routes/mcp-server-card.js +7 -8
  65. package/dist/runtime/server/utils/checkStale.d.ts +2 -2
  66. package/dist/runtime/server/utils/cloudflare-prerendered.d.ts +3 -0
  67. package/dist/runtime/server/utils/cloudflare-prerendered.js +23 -0
  68. package/dist/runtime/server/utils/cloudflare.d.ts +5 -5
  69. package/dist/runtime/server/utils/cloudflare.js +31 -7
  70. package/dist/runtime/server/utils/content-negotiation.d.ts +5 -3
  71. package/dist/runtime/server/utils/content-negotiation.js +8 -7
  72. package/dist/runtime/server/utils/context.d.ts +3 -3
  73. package/dist/runtime/server/utils/context.js +1 -1
  74. package/dist/runtime/server/utils/discovery-response.d.ts +2 -0
  75. package/dist/runtime/server/utils/link-header.d.ts +5 -3
  76. package/dist/runtime/server/utils/link-header.js +26 -2
  77. package/dist/runtime/server/utils/markdown-request.d.ts +4 -3
  78. package/dist/runtime/server/utils/markdown-request.js +15 -13
  79. package/dist/runtime/server/utils/negotiation-decision.d.ts +4 -0
  80. package/dist/runtime/server/utils/negotiation-decision.js +6 -5
  81. package/dist/runtime/server/utils/negotiation-response.js +47 -22
  82. package/dist/runtime/server/utils/prerender-html.d.ts +2 -1
  83. package/dist/runtime/server/utils/prerender-html.js +3 -1
  84. package/dist/runtime/types.d.ts +15 -7
  85. package/dist/shared/nuxt-ai-ready.B3hAuOLQ.mjs +29 -0
  86. package/dist/shared/{nuxt-ai-ready.CLSWou20.mjs → nuxt-ai-ready.C34F0LJo.mjs} +560 -219
  87. package/package.json +85 -20
  88. package/skills/nuxt-ai-ready/SKILL.md +26 -12
  89. package/skills/nuxt-ai-ready/references/runtime-indexing.md +7 -6
  90. package/dist/runtime/server/db/drizzle/providers/sqlite.d.ts +0 -8
  91. package/dist/runtime/server/db/drizzle/providers/sqlite.js +0 -15
  92. package/node_modules/@mdream/js/LICENSE.md +0 -9
  93. package/node_modules/@mdream/js/README.md +0 -792
  94. package/node_modules/@mdream/js/bin/mdream.mjs +0 -2
  95. package/node_modules/@mdream/js/dist/_chunks/const.mjs +0 -134
  96. package/node_modules/@mdream/js/dist/_chunks/index.d.mts +0 -9
  97. package/node_modules/@mdream/js/dist/_chunks/markdown-processor.mjs +0 -1968
  98. package/node_modules/@mdream/js/dist/_chunks/minimal.d.mts +0 -6
  99. package/node_modules/@mdream/js/dist/_chunks/parse.mjs +0 -2756
  100. package/node_modules/@mdream/js/dist/_chunks/plugins.mjs +0 -725
  101. package/node_modules/@mdream/js/dist/_chunks/resolve-plugins.mjs +0 -44
  102. package/node_modules/@mdream/js/dist/_chunks/stream.mjs +0 -37
  103. package/node_modules/@mdream/js/dist/_chunks/types.d.mts +0 -473
  104. package/node_modules/@mdream/js/dist/cli.d.mts +0 -1
  105. package/node_modules/@mdream/js/dist/cli.mjs +0 -32
  106. package/node_modules/@mdream/js/dist/core.d.mts +0 -15
  107. package/node_modules/@mdream/js/dist/core.mjs +0 -28
  108. package/node_modules/@mdream/js/dist/index.d.mts +0 -4
  109. package/node_modules/@mdream/js/dist/index.mjs +0 -58
  110. package/node_modules/@mdream/js/dist/llms-txt.d.mts +0 -86
  111. package/node_modules/@mdream/js/dist/llms-txt.mjs +0 -308
  112. package/node_modules/@mdream/js/dist/negotiate.d.mts +0 -35
  113. package/node_modules/@mdream/js/dist/negotiate.mjs +0 -121
  114. package/node_modules/@mdream/js/dist/parse.d.mts +0 -90
  115. package/node_modules/@mdream/js/dist/parse.mjs +0 -2
  116. package/node_modules/@mdream/js/dist/plugins.d.mts +0 -85
  117. package/node_modules/@mdream/js/dist/plugins.mjs +0 -2
  118. package/node_modules/@mdream/js/dist/preset/minimal.d.mts +0 -2
  119. package/node_modules/@mdream/js/dist/preset/minimal.mjs +0 -33
  120. package/node_modules/@mdream/js/dist/splitter.d.mts +0 -18
  121. package/node_modules/@mdream/js/dist/splitter.mjs +0 -194
  122. package/node_modules/@mdream/js/package.json +0 -103
  123. package/node_modules/cac/LICENSE +0 -21
  124. package/node_modules/cac/README.md +0 -492
  125. package/node_modules/cac/dist/index.d.ts +0 -196
  126. package/node_modules/cac/dist/index.js +0 -638
  127. package/node_modules/cac/package.json +0 -72
  128. package/node_modules/mdream/LICENSE.md +0 -9
  129. package/node_modules/mdream/README.md +0 -1091
  130. package/node_modules/mdream/bin/mdream.mjs +0 -46
  131. package/node_modules/mdream/dist/browser.d.mts +0 -105
  132. package/node_modules/mdream/dist/browser.mjs +0 -262
  133. package/node_modules/mdream/dist/edge.d.mts +0 -100
  134. package/node_modules/mdream/dist/edge.mjs +0 -250
  135. package/node_modules/mdream/dist/iife.js +0 -605
  136. package/node_modules/mdream/dist/index.d.mts +0 -89
  137. package/node_modules/mdream/dist/index.mjs +0 -184
  138. package/node_modules/mdream/dist/wasm.d.mts +0 -100
  139. package/node_modules/mdream/dist/wasm.mjs +0 -140
  140. package/node_modules/mdream/dist/worker.d.mts +0 -101
  141. package/node_modules/mdream/dist/worker.mjs +0 -217
  142. package/node_modules/mdream/napi/index.d.mts +0 -127
  143. package/node_modules/mdream/napi/index.d.ts +0 -127
  144. package/node_modules/mdream/napi/index.mjs +0 -725
  145. package/node_modules/mdream/napi/rust.android-arm-eabi.node +0 -0
  146. package/node_modules/mdream/napi/rust.android-arm64.node +0 -0
  147. package/node_modules/mdream/napi/rust.darwin-arm64.node +0 -0
  148. package/node_modules/mdream/napi/rust.darwin-x64.node +0 -0
  149. package/node_modules/mdream/napi/rust.freebsd-x64.node +0 -0
  150. package/node_modules/mdream/napi/rust.linux-arm-gnueabihf.node +0 -0
  151. package/node_modules/mdream/napi/rust.linux-arm64-gnu.node +0 -0
  152. package/node_modules/mdream/napi/rust.linux-arm64-musl.node +0 -0
  153. package/node_modules/mdream/napi/rust.linux-x64-gnu.node +0 -0
  154. package/node_modules/mdream/napi/rust.linux-x64-musl.node +0 -0
  155. package/node_modules/mdream/napi/rust.wasi.cjs +0 -2144
  156. package/node_modules/mdream/napi/rust.wasm32-wasi.wasm +0 -0
  157. package/node_modules/mdream/napi/rust.win32-arm64-msvc.node +0 -0
  158. package/node_modules/mdream/napi/rust.win32-x64-msvc.node +0 -0
  159. package/node_modules/mdream/node_modules/@emnapi/core/LICENSE +0 -21
  160. package/node_modules/mdream/node_modules/@emnapi/core/README.md +0 -1
  161. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.d.ts +0 -392
  162. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.full.d.ts +0 -392
  163. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.full.js +0 -8351
  164. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.js +0 -7268
  165. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/async-work.d.ts +0 -5
  166. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/async-work.js +0 -843
  167. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/index.d.ts +0 -4
  168. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/index.js +0 -3
  169. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/threadsafe-function.d.ts +0 -5
  170. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/threadsafe-function.js +0 -1010
  171. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/v8.d.ts +0 -5
  172. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/v8.js +0 -1446
  173. package/node_modules/mdream/node_modules/@emnapi/core/node_modules/@emnapi/wasi-threads/LICENSE +0 -21
  174. package/node_modules/mdream/node_modules/@emnapi/core/node_modules/@emnapi/wasi-threads/README.md +0 -203
  175. package/node_modules/mdream/node_modules/@emnapi/core/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.ts +0 -236
  176. package/node_modules/mdream/node_modules/@emnapi/core/node_modules/@emnapi/wasi-threads/dist/wasi-threads.js +0 -1086
  177. package/node_modules/mdream/node_modules/@emnapi/core/node_modules/@emnapi/wasi-threads/package.json +0 -35
  178. package/node_modules/mdream/node_modules/@emnapi/core/node_modules/@emnapi/wasi-threads/rollup.config.js +0 -6
  179. package/node_modules/mdream/node_modules/@emnapi/core/package.json +0 -39
  180. package/node_modules/mdream/node_modules/@emnapi/core/rollup.config.js +0 -60
  181. package/node_modules/mdream/node_modules/@emnapi/runtime/LICENSE +0 -21
  182. package/node_modules/mdream/node_modules/@emnapi/runtime/README.md +0 -1
  183. package/node_modules/mdream/node_modules/@emnapi/runtime/dist/emnapi.d.ts +0 -833
  184. package/node_modules/mdream/node_modules/@emnapi/runtime/dist/emnapi.js +0 -2306
  185. package/node_modules/mdream/node_modules/@emnapi/runtime/dist/emnapi.js.map +0 -1
  186. package/node_modules/mdream/node_modules/@emnapi/runtime/index.cjs +0 -63
  187. package/node_modules/mdream/node_modules/@emnapi/runtime/package.json +0 -39
  188. package/node_modules/mdream/node_modules/@emnapi/runtime/rollup.config.js +0 -25
  189. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/LICENSE +0 -21
  190. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/README.md +0 -203
  191. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.ts +0 -240
  192. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/dist/wasi-threads.js +0 -1118
  193. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/package.json +0 -35
  194. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/rollup.config.js +0 -6
  195. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/emnapi-plugins.cjs +0 -1472
  196. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/emnapi-plugins.js +0 -1470
  197. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs +0 -237
  198. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/fs.js +0 -17578
  199. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/fs-proxy.js +0 -317
  200. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/package.json +0 -67
  201. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/runtime.cjs +0 -39
  202. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/runtime.js +0 -36
  203. package/node_modules/mdream/node_modules/@tybys/wasm-util/LICENSE +0 -21
  204. package/node_modules/mdream/node_modules/@tybys/wasm-util/README.md +0 -193
  205. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +0 -11
  206. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +0 -423
  207. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +0 -2932
  208. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +0 -2932
  209. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +0 -1
  210. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.js +0 -2954
  211. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +0 -1
  212. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +0 -158
  213. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/index.js +0 -13
  214. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +0 -46
  215. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/load.js +0 -97
  216. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/memory.js +0 -35
  217. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +0 -103
  218. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +0 -268
  219. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +0 -3
  220. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +0 -192
  221. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +0 -316
  222. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +0 -1599
  223. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +0 -141
  224. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +0 -220
  225. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +0 -128
  226. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +0 -13
  227. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +0 -153
  228. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +0 -9
  229. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +0 -39
  230. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +0 -89
  231. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +0 -28
  232. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +0 -97
  233. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +0 -256
  234. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/fs.mjs +0 -1
  235. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +0 -186
  236. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +0 -310
  237. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +0 -1593
  238. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +0 -135
  239. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +0 -216
  240. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +0 -113
  241. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +0 -9
  242. package/node_modules/mdream/node_modules/@tybys/wasm-util/package.json +0 -58
  243. package/node_modules/mdream/node_modules/tslib/CopyrightNotice.txt +0 -15
  244. package/node_modules/mdream/node_modules/tslib/LICENSE.txt +0 -12
  245. package/node_modules/mdream/node_modules/tslib/README.md +0 -164
  246. package/node_modules/mdream/node_modules/tslib/SECURITY.md +0 -41
  247. package/node_modules/mdream/node_modules/tslib/modules/index.d.ts +0 -38
  248. package/node_modules/mdream/node_modules/tslib/modules/index.js +0 -70
  249. package/node_modules/mdream/node_modules/tslib/modules/package.json +0 -3
  250. package/node_modules/mdream/node_modules/tslib/package.json +0 -47
  251. package/node_modules/mdream/node_modules/tslib/tslib.d.ts +0 -460
  252. package/node_modules/mdream/node_modules/tslib/tslib.es6.html +0 -1
  253. package/node_modules/mdream/node_modules/tslib/tslib.es6.js +0 -402
  254. package/node_modules/mdream/node_modules/tslib/tslib.es6.mjs +0 -401
  255. package/node_modules/mdream/node_modules/tslib/tslib.html +0 -1
  256. package/node_modules/mdream/node_modules/tslib/tslib.js +0 -484
  257. package/node_modules/mdream/package.json +0 -110
  258. package/node_modules/mdream/skills/mdream/SKILL.md +0 -124
  259. package/node_modules/mdream/skills/mdream/references/runtimes.md +0 -49
  260. package/node_modules/mdream/wasm/mdream_edge.d.ts +0 -90
  261. package/node_modules/mdream/wasm/mdream_edge.js +0 -517
  262. package/node_modules/mdream/wasm/mdream_edge_bg.wasm +0 -0
  263. package/node_modules/mdream/wasm/mdream_edge_bg.wasm.d.ts +0 -20
  264. package/node_modules/mdream/wasm/package.json +0 -17
  265. package/node_modules/mdream/wasm-bundler/mdream_edge.d.ts +0 -45
  266. package/node_modules/mdream/wasm-bundler/mdream_edge.js +0 -13
  267. package/node_modules/mdream/wasm-bundler/mdream_edge_bg.js +0 -413
  268. package/node_modules/mdream/wasm-bundler/mdream_edge_bg.wasm +0 -0
  269. package/node_modules/mdream/wasm-bundler/mdream_edge_bg.wasm.d.ts +0 -20
  270. package/node_modules/mdream/wasm-bundler/package.json +0 -19
  271. package/node_modules/pathe/LICENSE +0 -70
  272. package/node_modules/pathe/README.md +0 -73
  273. package/node_modules/pathe/dist/index.cjs +0 -39
  274. package/node_modules/pathe/dist/index.d.cts +0 -47
  275. package/node_modules/pathe/dist/index.d.mts +0 -47
  276. package/node_modules/pathe/dist/index.d.ts +0 -47
  277. package/node_modules/pathe/dist/index.mjs +0 -19
  278. package/node_modules/pathe/dist/shared/pathe.BSlhyZSM.cjs +0 -266
  279. package/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -249
  280. package/node_modules/pathe/dist/utils.cjs +0 -82
  281. package/node_modules/pathe/dist/utils.d.cts +0 -32
  282. package/node_modules/pathe/dist/utils.d.mts +0 -32
  283. package/node_modules/pathe/dist/utils.d.ts +0 -32
  284. package/node_modules/pathe/dist/utils.mjs +0 -77
  285. package/node_modules/pathe/package.json +0 -61
  286. package/node_modules/pathe/utils.d.ts +0 -1
@@ -1,460 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
-
16
- /**
17
- * Used to shim class extends.
18
- *
19
- * @param d The derived class.
20
- * @param b The base class.
21
- */
22
- export declare function __extends(d: Function, b: Function): void;
23
-
24
- /**
25
- * Copy the values of all of the enumerable own properties from one or more source objects to a
26
- * target object. Returns the target object.
27
- *
28
- * @param t The target object to copy to.
29
- * @param sources One or more source objects from which to copy properties
30
- */
31
- export declare function __assign(t: any, ...sources: any[]): any;
32
-
33
- /**
34
- * Performs a rest spread on an object.
35
- *
36
- * @param t The source value.
37
- * @param propertyNames The property names excluded from the rest spread.
38
- */
39
- export declare function __rest(t: any, propertyNames: (string | symbol)[]): any;
40
-
41
- /**
42
- * Applies decorators to a target object
43
- *
44
- * @param decorators The set of decorators to apply.
45
- * @param target The target object.
46
- * @param key If specified, the own property to apply the decorators to.
47
- * @param desc The property descriptor, defaults to fetching the descriptor from the target object.
48
- * @experimental
49
- */
50
- export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any;
51
-
52
- /**
53
- * Creates an observing function decorator from a parameter decorator.
54
- *
55
- * @param paramIndex The parameter index to apply the decorator to.
56
- * @param decorator The parameter decorator to apply. Note that the return value is ignored.
57
- * @experimental
58
- */
59
- export declare function __param(paramIndex: number, decorator: Function): Function;
60
-
61
- /**
62
- * Applies decorators to a class or class member, following the native ECMAScript decorator specification.
63
- * @param ctor For non-field class members, the class constructor. Otherwise, `null`.
64
- * @param descriptorIn The `PropertyDescriptor` to use when unable to look up the property from `ctor`.
65
- * @param decorators The decorators to apply
66
- * @param contextIn The `DecoratorContext` to clone for each decorator application.
67
- * @param initializers An array of field initializer mutation functions into which new initializers are written.
68
- * @param extraInitializers An array of extra initializer functions into which new initializers are written.
69
- */
70
- export declare function __esDecorate(ctor: Function | null, descriptorIn: object | null, decorators: Function[], contextIn: object, initializers: Function[] | null, extraInitializers: Function[]): void;
71
-
72
- /**
73
- * Runs field initializers or extra initializers generated by `__esDecorate`.
74
- * @param thisArg The `this` argument to use.
75
- * @param initializers The array of initializers to evaluate.
76
- * @param value The initial value to pass to the initializers.
77
- */
78
- export declare function __runInitializers(thisArg: unknown, initializers: Function[], value?: any): any;
79
-
80
- /**
81
- * Converts a computed property name into a `string` or `symbol` value.
82
- */
83
- export declare function __propKey(x: any): string | symbol;
84
-
85
- /**
86
- * Assigns the name of a function derived from the left-hand side of an assignment.
87
- * @param f The function to rename.
88
- * @param name The new name for the function.
89
- * @param prefix A prefix (such as `"get"` or `"set"`) to insert before the name.
90
- */
91
- export declare function __setFunctionName(f: Function, name: string | symbol, prefix?: string): Function;
92
-
93
- /**
94
- * Creates a decorator that sets metadata.
95
- *
96
- * @param metadataKey The metadata key
97
- * @param metadataValue The metadata value
98
- * @experimental
99
- */
100
- export declare function __metadata(metadataKey: any, metadataValue: any): Function;
101
-
102
- /**
103
- * Converts a generator function into a pseudo-async function, by treating each `yield` as an `await`.
104
- *
105
- * @param thisArg The reference to use as the `this` value in the generator function
106
- * @param _arguments The optional arguments array
107
- * @param P The optional promise constructor argument, defaults to the `Promise` property of the global object.
108
- * @param generator The generator function
109
- */
110
- export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any;
111
-
112
- /**
113
- * Creates an Iterator object using the body as the implementation.
114
- *
115
- * @param thisArg The reference to use as the `this` value in the function
116
- * @param body The generator state-machine based implementation.
117
- *
118
- * @see [./docs/generator.md]
119
- */
120
- export declare function __generator(thisArg: any, body: Function): any;
121
-
122
- /**
123
- * Creates bindings for all enumerable properties of `m` on `exports`
124
- *
125
- * @param m The source object
126
- * @param o The `exports` object.
127
- */
128
- export declare function __exportStar(m: any, o: any): void;
129
-
130
- /**
131
- * Creates a value iterator from an `Iterable` or `ArrayLike` object.
132
- *
133
- * @param o The object.
134
- * @throws {TypeError} If `o` is neither `Iterable`, nor an `ArrayLike`.
135
- */
136
- export declare function __values(o: any): any;
137
-
138
- /**
139
- * Reads values from an `Iterable` or `ArrayLike` object and returns the resulting array.
140
- *
141
- * @param o The object to read from.
142
- * @param n The maximum number of arguments to read, defaults to `Infinity`.
143
- */
144
- export declare function __read(o: any, n?: number): any[];
145
-
146
- /**
147
- * Creates an array from iterable spread.
148
- *
149
- * @param args The Iterable objects to spread.
150
- * @deprecated since TypeScript 4.2 - Use `__spreadArray`
151
- */
152
- export declare function __spread(...args: any[][]): any[];
153
-
154
- /**
155
- * Creates an array from array spread.
156
- *
157
- * @param args The ArrayLikes to spread into the resulting array.
158
- * @deprecated since TypeScript 4.2 - Use `__spreadArray`
159
- */
160
- export declare function __spreadArrays(...args: any[][]): any[];
161
-
162
- /**
163
- * Spreads the `from` array into the `to` array.
164
- *
165
- * @param pack Replace empty elements with `undefined`.
166
- */
167
- export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[];
168
-
169
- /**
170
- * Creates an object that signals to `__asyncGenerator` that it shouldn't be yielded,
171
- * and instead should be awaited and the resulting value passed back to the generator.
172
- *
173
- * @param v The value to await.
174
- */
175
- export declare function __await(v: any): any;
176
-
177
- /**
178
- * Converts a generator function into an async generator function, by using `yield __await`
179
- * in place of normal `await`.
180
- *
181
- * @param thisArg The reference to use as the `this` value in the generator function
182
- * @param _arguments The optional arguments array
183
- * @param generator The generator function
184
- */
185
- export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any;
186
-
187
- /**
188
- * Used to wrap a potentially async iterator in such a way so that it wraps the result
189
- * of calling iterator methods of `o` in `__await` instances, and then yields the awaited values.
190
- *
191
- * @param o The potentially async iterator.
192
- * @returns A synchronous iterator yielding `__await` instances on every odd invocation
193
- * and returning the awaited `IteratorResult` passed to `next` every even invocation.
194
- */
195
- export declare function __asyncDelegator(o: any): any;
196
-
197
- /**
198
- * Creates a value async iterator from an `AsyncIterable`, `Iterable` or `ArrayLike` object.
199
- *
200
- * @param o The object.
201
- * @throws {TypeError} If `o` is neither `AsyncIterable`, `Iterable`, nor an `ArrayLike`.
202
- */
203
- export declare function __asyncValues(o: any): any;
204
-
205
- /**
206
- * Creates a `TemplateStringsArray` frozen object from the `cooked` and `raw` arrays.
207
- *
208
- * @param cooked The cooked possibly-sparse array.
209
- * @param raw The raw string content.
210
- */
211
- export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
212
-
213
- /**
214
- * Used to shim default and named imports in ECMAScript Modules transpiled to CommonJS.
215
- *
216
- * ```js
217
- * import Default, { Named, Other } from "mod";
218
- * // or
219
- * import { default as Default, Named, Other } from "mod";
220
- * ```
221
- *
222
- * @param mod The CommonJS module exports object.
223
- */
224
- export declare function __importStar<T>(mod: T): T;
225
-
226
- /**
227
- * Used to shim default imports in ECMAScript Modules transpiled to CommonJS.
228
- *
229
- * ```js
230
- * import Default from "mod";
231
- * ```
232
- *
233
- * @param mod The CommonJS module exports object.
234
- */
235
- export declare function __importDefault<T>(mod: T): T | { default: T };
236
-
237
- /**
238
- * Emulates reading a private instance field.
239
- *
240
- * @param receiver The instance from which to read the private field.
241
- * @param state A WeakMap containing the private field value for an instance.
242
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
243
- *
244
- * @throws {TypeError} If `state` doesn't have an entry for `receiver`.
245
- */
246
- export declare function __classPrivateFieldGet<T extends object, V>(
247
- receiver: T,
248
- state: { has(o: T): boolean, get(o: T): V | undefined },
249
- kind?: "f"
250
- ): V;
251
-
252
- /**
253
- * Emulates reading a private static field.
254
- *
255
- * @param receiver The object from which to read the private static field.
256
- * @param state The class constructor containing the definition of the static field.
257
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
258
- * @param f The descriptor that holds the static field value.
259
- *
260
- * @throws {TypeError} If `receiver` is not `state`.
261
- */
262
- export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
263
- receiver: T,
264
- state: T,
265
- kind: "f",
266
- f: { value: V }
267
- ): V;
268
-
269
- /**
270
- * Emulates evaluating a private instance "get" accessor.
271
- *
272
- * @param receiver The instance on which to evaluate the private "get" accessor.
273
- * @param state A WeakSet used to verify an instance supports the private "get" accessor.
274
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
275
- * @param f The "get" accessor function to evaluate.
276
- *
277
- * @throws {TypeError} If `state` doesn't have an entry for `receiver`.
278
- */
279
- export declare function __classPrivateFieldGet<T extends object, V>(
280
- receiver: T,
281
- state: { has(o: T): boolean },
282
- kind: "a",
283
- f: () => V
284
- ): V;
285
-
286
- /**
287
- * Emulates evaluating a private static "get" accessor.
288
- *
289
- * @param receiver The object on which to evaluate the private static "get" accessor.
290
- * @param state The class constructor containing the definition of the static "get" accessor.
291
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
292
- * @param f The "get" accessor function to evaluate.
293
- *
294
- * @throws {TypeError} If `receiver` is not `state`.
295
- */
296
- export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V>(
297
- receiver: T,
298
- state: T,
299
- kind: "a",
300
- f: () => V
301
- ): V;
302
-
303
- /**
304
- * Emulates reading a private instance method.
305
- *
306
- * @param receiver The instance from which to read a private method.
307
- * @param state A WeakSet used to verify an instance supports the private method.
308
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
309
- * @param f The function to return as the private instance method.
310
- *
311
- * @throws {TypeError} If `state` doesn't have an entry for `receiver`.
312
- */
313
- export declare function __classPrivateFieldGet<T extends object, V extends (...args: any[]) => unknown>(
314
- receiver: T,
315
- state: { has(o: T): boolean },
316
- kind: "m",
317
- f: V
318
- ): V;
319
-
320
- /**
321
- * Emulates reading a private static method.
322
- *
323
- * @param receiver The object from which to read the private static method.
324
- * @param state The class constructor containing the definition of the static method.
325
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
326
- * @param f The function to return as the private static method.
327
- *
328
- * @throws {TypeError} If `receiver` is not `state`.
329
- */
330
- export declare function __classPrivateFieldGet<T extends new (...args: any[]) => unknown, V extends (...args: any[]) => unknown>(
331
- receiver: T,
332
- state: T,
333
- kind: "m",
334
- f: V
335
- ): V;
336
-
337
- /**
338
- * Emulates writing to a private instance field.
339
- *
340
- * @param receiver The instance on which to set a private field value.
341
- * @param state A WeakMap used to store the private field value for an instance.
342
- * @param value The value to store in the private field.
343
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
344
- *
345
- * @throws {TypeError} If `state` doesn't have an entry for `receiver`.
346
- */
347
- export declare function __classPrivateFieldSet<T extends object, V>(
348
- receiver: T,
349
- state: { has(o: T): boolean, set(o: T, value: V): unknown },
350
- value: V,
351
- kind?: "f"
352
- ): V;
353
-
354
- /**
355
- * Emulates writing to a private static field.
356
- *
357
- * @param receiver The object on which to set the private static field.
358
- * @param state The class constructor containing the definition of the private static field.
359
- * @param value The value to store in the private field.
360
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
361
- * @param f The descriptor that holds the static field value.
362
- *
363
- * @throws {TypeError} If `receiver` is not `state`.
364
- */
365
- export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
366
- receiver: T,
367
- state: T,
368
- value: V,
369
- kind: "f",
370
- f: { value: V }
371
- ): V;
372
-
373
- /**
374
- * Emulates writing to a private instance "set" accessor.
375
- *
376
- * @param receiver The instance on which to evaluate the private instance "set" accessor.
377
- * @param state A WeakSet used to verify an instance supports the private "set" accessor.
378
- * @param value The value to store in the private accessor.
379
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
380
- * @param f The "set" accessor function to evaluate.
381
- *
382
- * @throws {TypeError} If `state` doesn't have an entry for `receiver`.
383
- */
384
- export declare function __classPrivateFieldSet<T extends object, V>(
385
- receiver: T,
386
- state: { has(o: T): boolean },
387
- value: V,
388
- kind: "a",
389
- f: (v: V) => void
390
- ): V;
391
-
392
- /**
393
- * Emulates writing to a private static "set" accessor.
394
- *
395
- * @param receiver The object on which to evaluate the private static "set" accessor.
396
- * @param state The class constructor containing the definition of the static "set" accessor.
397
- * @param value The value to store in the private field.
398
- * @param kind Either `"f"` for a field, `"a"` for an accessor, or `"m"` for a method.
399
- * @param f The "set" accessor function to evaluate.
400
- *
401
- * @throws {TypeError} If `receiver` is not `state`.
402
- */
403
- export declare function __classPrivateFieldSet<T extends new (...args: any[]) => unknown, V>(
404
- receiver: T,
405
- state: T,
406
- value: V,
407
- kind: "a",
408
- f: (v: V) => void
409
- ): V;
410
-
411
- /**
412
- * Checks for the existence of a private field/method/accessor.
413
- *
414
- * @param state The class constructor containing the static member, or the WeakMap or WeakSet associated with a private instance member.
415
- * @param receiver The object for which to test the presence of the private member.
416
- */
417
- export declare function __classPrivateFieldIn(
418
- state: (new (...args: any[]) => unknown) | { has(o: any): boolean },
419
- receiver: unknown,
420
- ): boolean;
421
-
422
- /**
423
- * Creates a re-export binding on `object` with key `objectKey` that references `target[key]`.
424
- *
425
- * @param object The local `exports` object.
426
- * @param target The object to re-export from.
427
- * @param key The property key of `target` to re-export.
428
- * @param objectKey The property key to re-export as. Defaults to `key`.
429
- */
430
- export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void;
431
-
432
- /**
433
- * Adds a disposable resource to a resource-tracking environment object.
434
- * @param env A resource-tracking environment object.
435
- * @param value Either a Disposable or AsyncDisposable object, `null`, or `undefined`.
436
- * @param async When `true`, `AsyncDisposable` resources can be added. When `false`, `AsyncDisposable` resources cannot be added.
437
- * @returns The {@link value} argument.
438
- *
439
- * @throws {TypeError} If {@link value} is not an object, or if either `Symbol.dispose` or `Symbol.asyncDispose` are not
440
- * defined, or if {@link value} does not have an appropriate `Symbol.dispose` or `Symbol.asyncDispose` method.
441
- */
442
- export declare function __addDisposableResource<T>(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }, value: T, async: boolean): T;
443
-
444
- /**
445
- * Disposes all resources in a resource-tracking environment object.
446
- * @param env A resource-tracking environment object.
447
- * @returns A {@link Promise} if any resources in the environment were marked as `async` when added; otherwise, `void`.
448
- *
449
- * @throws {SuppressedError} if an error thrown during disposal would have suppressed a prior error from disposal or the
450
- * error recorded in the resource-tracking environment object.
451
- * @seealso {@link __addDisposableResource}
452
- */
453
- export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any;
454
-
455
- /**
456
- * Transforms a relative import specifier ending in a non-declaration TypeScript file extension to its JavaScript file extension counterpart.
457
- * @param path The import specifier.
458
- * @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`.
459
- */
460
- export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string;
@@ -1 +0,0 @@
1
- <script src="tslib.es6.js"></script>