nuxt-ai-ready 2.5.2 → 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 (282) 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.js +3 -3
  45. package/dist/runtime/server/middleware/markdown.prerender.js +1 -1
  46. package/dist/runtime/server/plugins/db-lifecycle-nitro3.d.ts +2 -0
  47. package/dist/runtime/server/plugins/db-lifecycle-nitro3.js +16 -0
  48. package/dist/runtime/server/plugins/html-capture.prerender.js +6 -4
  49. package/dist/runtime/server/plugins/link-header-nitro3.d.ts +2 -0
  50. package/dist/runtime/server/plugins/link-header-nitro3.js +20 -0
  51. package/dist/runtime/server/plugins/link-header.d.ts +6 -0
  52. package/dist/runtime/server/plugins/link-header.js +7 -11
  53. package/dist/runtime/server/plugins/markdown-negotiation.js +8 -1
  54. package/dist/runtime/server/plugins/sitemap-seeder.js +3 -3
  55. package/dist/runtime/server/routes/agent-skills-artifact.d.ts +1 -1
  56. package/dist/runtime/server/routes/agent-skills-artifact.js +10 -10
  57. package/dist/runtime/server/routes/agent-skills-index.d.ts +1 -1
  58. package/dist/runtime/server/routes/agent-skills-index.js +7 -6
  59. package/dist/runtime/server/routes/ai-catalog.d.ts +2 -1
  60. package/dist/runtime/server/routes/ai-catalog.js +7 -8
  61. package/dist/runtime/server/routes/api-catalog.d.ts +3 -1
  62. package/dist/runtime/server/routes/api-catalog.js +12 -12
  63. package/dist/runtime/server/routes/llms-full.txt.get.js +1 -1
  64. package/dist/runtime/server/routes/mcp-server-card.d.ts +1 -1
  65. package/dist/runtime/server/routes/mcp-server-card.js +7 -8
  66. package/dist/runtime/server/utils/checkStale.d.ts +2 -2
  67. package/dist/runtime/server/utils/cloudflare-prerendered.d.ts +3 -0
  68. package/dist/runtime/server/utils/cloudflare-prerendered.js +23 -0
  69. package/dist/runtime/server/utils/cloudflare.d.ts +5 -5
  70. package/dist/runtime/server/utils/cloudflare.js +31 -7
  71. package/dist/runtime/server/utils/content-negotiation.d.ts +5 -3
  72. package/dist/runtime/server/utils/content-negotiation.js +8 -7
  73. package/dist/runtime/server/utils/context.d.ts +3 -3
  74. package/dist/runtime/server/utils/context.js +1 -1
  75. package/dist/runtime/server/utils/discovery-response.d.ts +2 -0
  76. package/dist/runtime/server/utils/link-header.d.ts +5 -3
  77. package/dist/runtime/server/utils/link-header.js +26 -2
  78. package/dist/runtime/server/utils/markdown-request.d.ts +4 -3
  79. package/dist/runtime/server/utils/markdown-request.js +15 -13
  80. package/dist/runtime/server/utils/negotiation-decision.d.ts +4 -0
  81. package/dist/runtime/server/utils/negotiation-decision.js +6 -5
  82. package/dist/runtime/server/utils/negotiation-response.d.ts +1 -1
  83. package/dist/runtime/server/utils/negotiation-response.js +63 -23
  84. package/dist/runtime/server/utils/prerender-html.d.ts +2 -1
  85. package/dist/runtime/server/utils/prerender-html.js +3 -1
  86. package/dist/runtime/types.d.ts +15 -7
  87. package/dist/shared/nuxt-ai-ready.B3hAuOLQ.mjs +29 -0
  88. package/dist/shared/{nuxt-ai-ready.CLSWou20.mjs → nuxt-ai-ready.C34F0LJo.mjs} +560 -219
  89. package/package.json +85 -20
  90. package/skills/nuxt-ai-ready/SKILL.md +26 -12
  91. package/skills/nuxt-ai-ready/references/runtime-indexing.md +7 -6
  92. package/dist/runtime/server/db/drizzle/providers/sqlite.d.ts +0 -8
  93. package/dist/runtime/server/db/drizzle/providers/sqlite.js +0 -15
  94. package/node_modules/@mdream/js/LICENSE.md +0 -9
  95. package/node_modules/@mdream/js/README.md +0 -792
  96. package/node_modules/@mdream/js/bin/mdream.mjs +0 -2
  97. package/node_modules/@mdream/js/dist/_chunks/const.mjs +0 -134
  98. package/node_modules/@mdream/js/dist/_chunks/index.d.mts +0 -9
  99. package/node_modules/@mdream/js/dist/_chunks/markdown-processor.mjs +0 -1968
  100. package/node_modules/@mdream/js/dist/_chunks/minimal.d.mts +0 -6
  101. package/node_modules/@mdream/js/dist/_chunks/parse.mjs +0 -2756
  102. package/node_modules/@mdream/js/dist/_chunks/plugins.mjs +0 -725
  103. package/node_modules/@mdream/js/dist/_chunks/resolve-plugins.mjs +0 -44
  104. package/node_modules/@mdream/js/dist/_chunks/stream.mjs +0 -37
  105. package/node_modules/@mdream/js/dist/_chunks/types.d.mts +0 -473
  106. package/node_modules/@mdream/js/dist/cli.d.mts +0 -1
  107. package/node_modules/@mdream/js/dist/cli.mjs +0 -32
  108. package/node_modules/@mdream/js/dist/core.d.mts +0 -15
  109. package/node_modules/@mdream/js/dist/core.mjs +0 -28
  110. package/node_modules/@mdream/js/dist/index.d.mts +0 -4
  111. package/node_modules/@mdream/js/dist/index.mjs +0 -58
  112. package/node_modules/@mdream/js/dist/llms-txt.d.mts +0 -86
  113. package/node_modules/@mdream/js/dist/llms-txt.mjs +0 -308
  114. package/node_modules/@mdream/js/dist/negotiate.d.mts +0 -35
  115. package/node_modules/@mdream/js/dist/negotiate.mjs +0 -121
  116. package/node_modules/@mdream/js/dist/parse.d.mts +0 -90
  117. package/node_modules/@mdream/js/dist/parse.mjs +0 -2
  118. package/node_modules/@mdream/js/dist/plugins.d.mts +0 -85
  119. package/node_modules/@mdream/js/dist/plugins.mjs +0 -2
  120. package/node_modules/@mdream/js/dist/preset/minimal.d.mts +0 -2
  121. package/node_modules/@mdream/js/dist/preset/minimal.mjs +0 -33
  122. package/node_modules/@mdream/js/dist/splitter.d.mts +0 -18
  123. package/node_modules/@mdream/js/dist/splitter.mjs +0 -194
  124. package/node_modules/@mdream/js/package.json +0 -103
  125. package/node_modules/cac/LICENSE +0 -21
  126. package/node_modules/cac/README.md +0 -492
  127. package/node_modules/cac/dist/index.d.ts +0 -196
  128. package/node_modules/cac/dist/index.js +0 -638
  129. package/node_modules/cac/package.json +0 -72
  130. package/node_modules/mdream/LICENSE.md +0 -9
  131. package/node_modules/mdream/README.md +0 -1091
  132. package/node_modules/mdream/bin/mdream.mjs +0 -46
  133. package/node_modules/mdream/dist/browser.d.mts +0 -105
  134. package/node_modules/mdream/dist/browser.mjs +0 -262
  135. package/node_modules/mdream/dist/edge.d.mts +0 -100
  136. package/node_modules/mdream/dist/edge.mjs +0 -250
  137. package/node_modules/mdream/dist/iife.js +0 -605
  138. package/node_modules/mdream/dist/index.d.mts +0 -89
  139. package/node_modules/mdream/dist/index.mjs +0 -184
  140. package/node_modules/mdream/dist/wasm.d.mts +0 -100
  141. package/node_modules/mdream/dist/wasm.mjs +0 -140
  142. package/node_modules/mdream/dist/worker.d.mts +0 -101
  143. package/node_modules/mdream/dist/worker.mjs +0 -217
  144. package/node_modules/mdream/napi/index.d.mts +0 -127
  145. package/node_modules/mdream/napi/index.d.ts +0 -127
  146. package/node_modules/mdream/napi/index.mjs +0 -725
  147. package/node_modules/mdream/napi/rust.android-arm-eabi.node +0 -0
  148. package/node_modules/mdream/napi/rust.android-arm64.node +0 -0
  149. package/node_modules/mdream/napi/rust.darwin-arm64.node +0 -0
  150. package/node_modules/mdream/napi/rust.darwin-x64.node +0 -0
  151. package/node_modules/mdream/napi/rust.freebsd-x64.node +0 -0
  152. package/node_modules/mdream/napi/rust.linux-arm-gnueabihf.node +0 -0
  153. package/node_modules/mdream/napi/rust.linux-arm64-gnu.node +0 -0
  154. package/node_modules/mdream/napi/rust.linux-arm64-musl.node +0 -0
  155. package/node_modules/mdream/napi/rust.linux-x64-gnu.node +0 -0
  156. package/node_modules/mdream/napi/rust.linux-x64-musl.node +0 -0
  157. package/node_modules/mdream/napi/rust.wasi.cjs +0 -2144
  158. package/node_modules/mdream/napi/rust.wasm32-wasi.wasm +0 -0
  159. package/node_modules/mdream/napi/rust.win32-arm64-msvc.node +0 -0
  160. package/node_modules/mdream/napi/rust.win32-x64-msvc.node +0 -0
  161. package/node_modules/mdream/node_modules/@emnapi/core/LICENSE +0 -21
  162. package/node_modules/mdream/node_modules/@emnapi/core/README.md +0 -1
  163. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.d.ts +0 -392
  164. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.full.d.ts +0 -392
  165. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.full.js +0 -8351
  166. package/node_modules/mdream/node_modules/@emnapi/core/dist/emnapi-core.js +0 -7268
  167. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/async-work.d.ts +0 -5
  168. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/async-work.js +0 -843
  169. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/index.d.ts +0 -4
  170. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/index.js +0 -3
  171. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/threadsafe-function.d.ts +0 -5
  172. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/threadsafe-function.js +0 -1010
  173. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/v8.d.ts +0 -5
  174. package/node_modules/mdream/node_modules/@emnapi/core/dist/plugins/v8.js +0 -1446
  175. package/node_modules/mdream/node_modules/@emnapi/core/package.json +0 -39
  176. package/node_modules/mdream/node_modules/@emnapi/core/rollup.config.js +0 -60
  177. package/node_modules/mdream/node_modules/@emnapi/runtime/LICENSE +0 -21
  178. package/node_modules/mdream/node_modules/@emnapi/runtime/README.md +0 -1
  179. package/node_modules/mdream/node_modules/@emnapi/runtime/dist/emnapi.d.ts +0 -833
  180. package/node_modules/mdream/node_modules/@emnapi/runtime/dist/emnapi.js +0 -2306
  181. package/node_modules/mdream/node_modules/@emnapi/runtime/dist/emnapi.js.map +0 -1
  182. package/node_modules/mdream/node_modules/@emnapi/runtime/index.cjs +0 -63
  183. package/node_modules/mdream/node_modules/@emnapi/runtime/package.json +0 -39
  184. package/node_modules/mdream/node_modules/@emnapi/runtime/rollup.config.js +0 -25
  185. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/LICENSE +0 -21
  186. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/README.md +0 -203
  187. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/dist/wasi-threads.d.ts +0 -236
  188. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/dist/wasi-threads.js +0 -1086
  189. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/package.json +0 -35
  190. package/node_modules/mdream/node_modules/@emnapi/wasi-threads/rollup.config.js +0 -6
  191. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/emnapi-plugins.cjs +0 -1472
  192. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/emnapi-plugins.js +0 -1470
  193. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs +0 -237
  194. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/dist/fs.js +0 -18260
  195. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/fs-proxy.js +0 -317
  196. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/package.json +0 -67
  197. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/runtime.cjs +0 -39
  198. package/node_modules/mdream/node_modules/@napi-rs/wasm-runtime/runtime.js +0 -36
  199. package/node_modules/mdream/node_modules/@tybys/wasm-util/LICENSE +0 -21
  200. package/node_modules/mdream/node_modules/@tybys/wasm-util/README.md +0 -193
  201. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +0 -11
  202. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +0 -423
  203. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +0 -2932
  204. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +0 -2932
  205. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +0 -1
  206. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.js +0 -2954
  207. package/node_modules/mdream/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +0 -1
  208. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +0 -158
  209. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/index.js +0 -13
  210. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +0 -46
  211. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/load.js +0 -97
  212. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/memory.js +0 -35
  213. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +0 -103
  214. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +0 -268
  215. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +0 -3
  216. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +0 -192
  217. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +0 -316
  218. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +0 -1599
  219. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +0 -141
  220. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +0 -220
  221. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +0 -128
  222. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +0 -13
  223. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +0 -153
  224. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +0 -9
  225. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +0 -39
  226. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +0 -89
  227. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +0 -28
  228. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +0 -97
  229. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +0 -256
  230. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/fs.mjs +0 -1
  231. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +0 -186
  232. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +0 -310
  233. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +0 -1593
  234. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +0 -135
  235. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +0 -216
  236. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +0 -113
  237. package/node_modules/mdream/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +0 -9
  238. package/node_modules/mdream/node_modules/@tybys/wasm-util/package.json +0 -58
  239. package/node_modules/mdream/node_modules/tslib/CopyrightNotice.txt +0 -15
  240. package/node_modules/mdream/node_modules/tslib/LICENSE.txt +0 -12
  241. package/node_modules/mdream/node_modules/tslib/README.md +0 -164
  242. package/node_modules/mdream/node_modules/tslib/SECURITY.md +0 -41
  243. package/node_modules/mdream/node_modules/tslib/modules/index.d.ts +0 -38
  244. package/node_modules/mdream/node_modules/tslib/modules/index.js +0 -70
  245. package/node_modules/mdream/node_modules/tslib/modules/package.json +0 -3
  246. package/node_modules/mdream/node_modules/tslib/package.json +0 -47
  247. package/node_modules/mdream/node_modules/tslib/tslib.d.ts +0 -460
  248. package/node_modules/mdream/node_modules/tslib/tslib.es6.html +0 -1
  249. package/node_modules/mdream/node_modules/tslib/tslib.es6.js +0 -402
  250. package/node_modules/mdream/node_modules/tslib/tslib.es6.mjs +0 -401
  251. package/node_modules/mdream/node_modules/tslib/tslib.html +0 -1
  252. package/node_modules/mdream/node_modules/tslib/tslib.js +0 -484
  253. package/node_modules/mdream/package.json +0 -110
  254. package/node_modules/mdream/skills/mdream/SKILL.md +0 -124
  255. package/node_modules/mdream/skills/mdream/references/runtimes.md +0 -49
  256. package/node_modules/mdream/wasm/mdream_edge.d.ts +0 -90
  257. package/node_modules/mdream/wasm/mdream_edge.js +0 -517
  258. package/node_modules/mdream/wasm/mdream_edge_bg.wasm +0 -0
  259. package/node_modules/mdream/wasm/mdream_edge_bg.wasm.d.ts +0 -20
  260. package/node_modules/mdream/wasm/package.json +0 -17
  261. package/node_modules/mdream/wasm-bundler/mdream_edge.d.ts +0 -45
  262. package/node_modules/mdream/wasm-bundler/mdream_edge.js +0 -13
  263. package/node_modules/mdream/wasm-bundler/mdream_edge_bg.js +0 -413
  264. package/node_modules/mdream/wasm-bundler/mdream_edge_bg.wasm +0 -0
  265. package/node_modules/mdream/wasm-bundler/mdream_edge_bg.wasm.d.ts +0 -20
  266. package/node_modules/mdream/wasm-bundler/package.json +0 -19
  267. package/node_modules/pathe/LICENSE +0 -70
  268. package/node_modules/pathe/README.md +0 -73
  269. package/node_modules/pathe/dist/index.cjs +0 -39
  270. package/node_modules/pathe/dist/index.d.cts +0 -47
  271. package/node_modules/pathe/dist/index.d.mts +0 -47
  272. package/node_modules/pathe/dist/index.d.ts +0 -47
  273. package/node_modules/pathe/dist/index.mjs +0 -19
  274. package/node_modules/pathe/dist/shared/pathe.BSlhyZSM.cjs +0 -266
  275. package/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +0 -249
  276. package/node_modules/pathe/dist/utils.cjs +0 -82
  277. package/node_modules/pathe/dist/utils.d.cts +0 -32
  278. package/node_modules/pathe/dist/utils.d.mts +0 -32
  279. package/node_modules/pathe/dist/utils.d.ts +0 -32
  280. package/node_modules/pathe/dist/utils.mjs +0 -77
  281. package/node_modules/pathe/package.json +0 -61
  282. package/node_modules/pathe/utils.d.ts +0 -1
@@ -1,317 +0,0 @@
1
- // @ts-check
2
-
3
- /**
4
- * @param {unknown} value
5
- */
6
- const getType = (value) => {
7
- if (value === undefined) return 0
8
- if (value === null) return 1
9
- if (isBuffer(value)) return 10
10
- const t = typeof value
11
- if (t === 'boolean') return 2
12
- if (t === 'number') return 3
13
- if (t === 'string') return 4
14
- if (t === 'object') return 6
15
- if (t === 'bigint') return 9
16
- return -1
17
- }
18
-
19
- /**
20
- * @param {unknown} value
21
- * @returns {value is Uint8Array}
22
- */
23
- const isBuffer = (value) => {
24
- const BufferCtor = globalThis.Buffer
25
- if (typeof BufferCtor?.isBuffer === 'function') {
26
- return BufferCtor.isBuffer(value)
27
- }
28
- return value instanceof Uint8Array && value.constructor?.name === 'Buffer'
29
- }
30
-
31
- const RESPONSE_HEADER_SIZE = 16
32
- const RESPONSE_PAYLOAD_SIZE = 10240
33
- const RESPONSE_BUFFER_SIZE = RESPONSE_HEADER_SIZE + RESPONSE_PAYLOAD_SIZE
34
-
35
- /**
36
- * @param {Int32Array} sab
37
- * @param {Uint8Array} payload
38
- */
39
- const writeResponsePayload = (sab, payload) => {
40
- if (payload.length > RESPONSE_PAYLOAD_SIZE) {
41
- throw new RangeError('payload overflow')
42
- }
43
- new Uint8Array(sab.buffer).set(payload, RESPONSE_HEADER_SIZE)
44
- }
45
-
46
- /**
47
- * @param {import('memfs').IFs} memfs
48
- * @param {any} value
49
- * @param {ReturnType<typeof getType>} type
50
- * @returns {Uint8Array}
51
- */
52
- const encodeValue = (memfs, value, type) => {
53
- switch (type) {
54
- case 0:
55
- case 1:
56
- return new Uint8Array(0)
57
- case 2: {
58
- const view = new Int32Array(1)
59
- view[0] = value ? 1 : 0
60
- return new Uint8Array(view.buffer)
61
- }
62
- case 3: {
63
- const view = new Float64Array(1)
64
- view[0] = value
65
- return new Uint8Array(view.buffer)
66
- }
67
- case 4: {
68
- const view = new TextEncoder().encode(value)
69
- return view
70
- }
71
- case 10:
72
- return new Uint8Array(value)
73
- case 6: {
74
- function storeConstructor(obj, memfs, processed = new WeakSet()) {
75
- if (!obj || typeof obj !== 'object') {
76
- return
77
- }
78
-
79
- if (processed.has(obj)) {
80
- return
81
- }
82
-
83
- processed.add(obj)
84
-
85
- const [entry] =
86
- Object.entries(memfs).filter(
87
- ([_key, v]) => v === obj.constructor,
88
- )[0] ?? []
89
- if (entry) {
90
- Object.defineProperty(obj, '__constructor__', {
91
- configurable: true,
92
- writable: true,
93
- enumerable: true,
94
- value: entry,
95
- })
96
- }
97
-
98
- for (const value of Object.values(obj)) {
99
- storeConstructor(value, memfs, processed)
100
- }
101
- }
102
-
103
- storeConstructor(value, memfs)
104
-
105
- const json = JSON.stringify(value, (_, value) => {
106
- if (typeof value === 'bigint') {
107
- return `BigInt(${String(value)})`
108
- }
109
- if (value instanceof Error) {
110
- return {
111
- ...value,
112
- message: value.message,
113
- stack: value.stack,
114
- __error__: value.constructor.name,
115
- }
116
- }
117
- return value
118
- })
119
- const view = new TextEncoder().encode(json)
120
- return view
121
- }
122
- case 9: {
123
- return new TextEncoder().encode(String(value))
124
- }
125
- case -1:
126
- default:
127
- throw new Error('unsupported data')
128
- }
129
- }
130
-
131
- /**
132
- * @param {typeof import('memfs')} memfs
133
- * @param {Uint8Array} payload
134
- * @param {number} type
135
- * @returns {any}
136
- */
137
- const decodeValue = (memfs, payload, type) => {
138
- if (type === 0) return undefined
139
- if (type === 1) return null
140
- if (type === 2)
141
- return Boolean(new Int32Array(payload.buffer, payload.byteOffset, 1)[0])
142
- if (type === 3)
143
- return new Float64Array(payload.buffer, payload.byteOffset, 1)[0]
144
- if (type === 4) return new TextDecoder().decode(payload.slice())
145
- if (type === 10) {
146
- const BufferCtor = globalThis.Buffer
147
- if (typeof BufferCtor?.from === 'function') {
148
- return BufferCtor.from(payload)
149
- }
150
- return payload.slice()
151
- }
152
- if (type === 6) {
153
- const obj = JSON.parse(
154
- new TextDecoder().decode(payload.slice()),
155
- (_key, value) => {
156
- if (typeof value === 'string') {
157
- const matched = value.match(/^BigInt\((-?\d+)\)$/)
158
- if (matched && matched[1]) {
159
- return BigInt(matched[1])
160
- }
161
- }
162
- return value
163
- },
164
- )
165
-
166
- function loadConstructor(obj, memfs, processed = new WeakSet()) {
167
- if (!obj || typeof obj !== 'object') {
168
- return
169
- }
170
-
171
- if (processed.has(obj)) {
172
- return
173
- }
174
-
175
- processed.add(obj)
176
-
177
- if (obj.__constructor__) {
178
- const ctor = obj.__constructor__
179
- delete obj.__constructor__
180
- Object.setPrototypeOf(obj, memfs[ctor].prototype)
181
- }
182
-
183
- for (const value of Object.values(obj)) {
184
- loadConstructor(value, memfs, processed)
185
- }
186
- }
187
-
188
- loadConstructor(obj, memfs)
189
-
190
- if (obj.__error__) {
191
- const name = obj.__error__
192
- const ErrorConstructor = globalThis[name] || Error
193
- delete obj.__error__
194
- const err = new ErrorConstructor(obj.message)
195
- Object.defineProperty(err, 'stack', {
196
- configurable: true,
197
- enumerable: false,
198
- writable: true,
199
- value: err.stack,
200
- })
201
- Object.defineProperty(err, Symbol.toStringTag, {
202
- configurable: true,
203
- enumerable: false,
204
- writable: true,
205
- value: name,
206
- })
207
- for (const [k, v] of Object.entries(obj)) {
208
- if (k === 'message' || k === 'stack') continue
209
- err[k] = v
210
- }
211
- return err
212
- }
213
- return obj
214
- }
215
- if (type === 9) {
216
- return BigInt(new TextDecoder().decode(payload.slice()))
217
- }
218
- throw new Error('unsupported data')
219
- }
220
-
221
- /**
222
- * @param {import('memfs').IFs} fs
223
- * @returns {(e: { data: { __fs__: { sab: Int32Array, type: keyof import('memfs').IFs, payload: any[] } } }) => void}
224
- */
225
- // oxlint-disable-next-line no-unused-vars -- fixed in an upcoming release
226
- export const createOnMessage = (fs) =>
227
- function onMessage(e) {
228
- if (e.data.__fs__) {
229
- /**
230
- * 0..4 status(int32_t): 21(waiting) 0(success) 1(error)
231
- * 5..8 type(napi_valuetype): 0(undefined) 1(null) 2(boolean) 3(number) 4(string) 6(jsonstring) 9(bigint) 10(buffer) -1(unsupported)
232
- * 9..16 payload_size(uint32_t) <= 10240
233
- * 16..16 + payload_size payload_content
234
- */
235
- const { sab, type, payload } = e.data.__fs__
236
- const fn = fs[type]
237
- try {
238
- const ret = fn.apply(fs, payload)
239
- const t = getType(ret)
240
- Atomics.store(sab, 1, t)
241
- const v = encodeValue(fs, ret, t)
242
- Atomics.store(sab, 2, v.length)
243
- writeResponsePayload(sab, v)
244
- Atomics.store(sab, 0, 0) // success
245
- } catch (/** @type {any} */ err) {
246
- let t = getType(err)
247
- let v
248
- try {
249
- if (t === -1) {
250
- throw new Error('unsupported data')
251
- }
252
- v = encodeValue(fs, err, t)
253
- } catch {
254
- const fallback = (() => {
255
- try {
256
- return String(err)
257
- } catch {
258
- return 'Unserializable thrown value'
259
- }
260
- })()
261
- t = getType(fallback)
262
- v = encodeValue(fs, fallback, t)
263
- }
264
- if (v.length > RESPONSE_PAYLOAD_SIZE) {
265
- const overflowErr = new RangeError('payload overflow')
266
- t = getType(overflowErr)
267
- v = encodeValue(fs, overflowErr, t)
268
- }
269
- Atomics.store(sab, 1, t)
270
- Atomics.store(sab, 2, v.length)
271
- writeResponsePayload(sab, v)
272
- Atomics.store(sab, 0, 1) // error
273
- } finally {
274
- Atomics.notify(sab, 0)
275
- }
276
- }
277
- }
278
-
279
- /**
280
- * @param {typeof import('memfs')} memfs
281
- */
282
- export const createFsProxy = (memfs) =>
283
- new Proxy(
284
- {},
285
- {
286
- get(_target, p, _receiver) {
287
- /**
288
- * @param {any[]} args
289
- */
290
- return function (...args) {
291
- const sab = new SharedArrayBuffer(RESPONSE_BUFFER_SIZE)
292
- const i32arr = new Int32Array(sab)
293
- Atomics.store(i32arr, 0, 21)
294
-
295
- postMessage({
296
- __fs__: {
297
- sab: i32arr,
298
- type: p,
299
- payload: args,
300
- },
301
- })
302
-
303
- Atomics.wait(i32arr, 0, 21)
304
-
305
- const status = Atomics.load(i32arr, 0)
306
- const type = Atomics.load(i32arr, 1)
307
- const size = Atomics.load(i32arr, 2)
308
- const content = new Uint8Array(sab, RESPONSE_HEADER_SIZE, size)
309
- const value = decodeValue(memfs, content, type)
310
- if (status === 1) {
311
- throw value
312
- }
313
- return value
314
- }
315
- },
316
- },
317
- )
@@ -1,67 +0,0 @@
1
- {
2
- "name": "@napi-rs/wasm-runtime",
3
- "version": "1.2.4",
4
- "type": "module",
5
- "description": "Runtime and polyfill for wasm targets",
6
- "engines": {
7
- "node": "^20.19.0 || ^22.13.0 || >=23.5.0"
8
- },
9
- "homepage": "https://napi.rs/",
10
- "author": {
11
- "name": "LongYinan",
12
- "url": "https://github.com/Brooooooklyn"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/napi-rs/napi-rs.git",
17
- "directory": "wasm-runtime"
18
- },
19
- "license": "MIT",
20
- "publishConfig": {
21
- "registry": "https://registry.npmjs.org/",
22
- "access": "public"
23
- },
24
- "files": [
25
- "runtime.cjs",
26
- "runtime.js",
27
- "fs-proxy.js",
28
- "dist/*.cjs",
29
- "dist/*.js"
30
- ],
31
- "devDependencies": {
32
- "@emnapi/core": "^2.0.0-alpha.4",
33
- "buffer": "^6.0.3",
34
- "events": "^3.3.0",
35
- "memfs": "^4.64.0",
36
- "node-inspect-extracted": "^3.3.2",
37
- "path-browserify": "^1.0.1",
38
- "process": "^0.11.10",
39
- "readable-stream": "^4.7.0",
40
- "rolldown": "^1.2.1",
41
- "tslib": "^2.8.1"
42
- },
43
- "dependencies": {
44
- "@tybys/wasm-util": "^0.10.3"
45
- },
46
- "peerDependencies": {
47
- "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4",
48
- "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4"
49
- },
50
- "scripts": {
51
- "build": "rolldown -c",
52
- "test": "yarn run build && node --test"
53
- },
54
- "funding": {
55
- "type": "github",
56
- "url": "https://github.com/sponsors/Brooooooklyn"
57
- },
58
- "exports": {
59
- ".": {
60
- "import": "./runtime.js",
61
- "require": "./runtime.cjs"
62
- },
63
- "./fs": {
64
- "import": "./dist/fs.js"
65
- }
66
- }
67
- }
@@ -1,39 +0,0 @@
1
- const {
2
- MessageHandler,
3
- instantiateNapiModuleSync,
4
- instantiateNapiModule,
5
- } = require('@emnapi/core')
6
- // Single-threaded (non-shared-memory) WASI builds link an emnapi archive
7
- // without the C async-work and threadsafe-function implementations (they are
8
- // unconditional `napi_generic_failure` stubs without threads), so the
9
- // generated loaders provide the JavaScript implementations through these
10
- // plugins instead. Raw `instantiateNapiModule(Sync)` callers instantiating a
11
- // single-threaded napi-rs wasm must pass them too:
12
- // `plugins: [emnapiAsyncWorkPlugin, emnapiTSFNPlugin]` — without them
13
- // instantiation fails with a LinkError naming the missing import. Threaded
14
- // (shared-memory) builds link the C implementations and need no plugins;
15
- // this mirrors the upstream @emnapi/core v2 plugin split (v1 bundled these
16
- // implementations in the core runtime). The plugins are bundled into this
17
- // package so loading the runtime with @emnapi/core v1 does not resolve the
18
- // v2-only `@emnapi/core/plugins` package export.
19
- const {
20
- emnapiAsyncWorkPlugin,
21
- emnapiTSFNPlugin,
22
- } = require('./dist/emnapi-plugins.cjs')
23
- const { createContext, getDefaultContext } = require('@emnapi/runtime')
24
- const { WASI } = require('@tybys/wasm-util')
25
-
26
- const { createFsProxy, createOnMessage } = require('./dist/fs-proxy.cjs')
27
-
28
- module.exports = {
29
- MessageHandler,
30
- createContext,
31
- emnapiAsyncWorkPlugin,
32
- emnapiTSFNPlugin,
33
- instantiateNapiModule,
34
- instantiateNapiModuleSync,
35
- getDefaultContext,
36
- WASI,
37
- createFsProxy,
38
- createOnMessage,
39
- }
@@ -1,36 +0,0 @@
1
- import * as emnapiCore from '@emnapi/core'
2
- import * as emnapiRuntime from '@emnapi/runtime'
3
-
4
- import {
5
- emnapiAsyncWorkPlugin,
6
- emnapiTSFNPlugin,
7
- } from './dist/emnapi-plugins.js'
8
-
9
- const { instantiateNapiModuleSync, instantiateNapiModule, MessageHandler } =
10
- emnapiCore
11
- const { createContext, getDefaultContext } = emnapiRuntime
12
-
13
- // Single-threaded (non-shared-memory) WASI builds link an emnapi archive
14
- // without the C async-work and threadsafe-function implementations (they are
15
- // unconditional `napi_generic_failure` stubs without threads), so the
16
- // generated loaders provide the JavaScript implementations through these
17
- // plugins instead. Raw `instantiateNapiModule(Sync)` callers instantiating a
18
- // single-threaded napi-rs wasm must pass them too:
19
- // `plugins: [emnapiAsyncWorkPlugin, emnapiTSFNPlugin]` — without them
20
- // instantiation fails with a LinkError naming the missing import. Threaded
21
- // (shared-memory) builds link the C implementations and need no plugins;
22
- // this mirrors the upstream @emnapi/core v2 plugin split (v1 bundled these
23
- // implementations in the core runtime). The plugins are bundled into this
24
- // package so loading the runtime with @emnapi/core v1 does not resolve the
25
- // v2-only `@emnapi/core/plugins` package export.
26
- export {
27
- MessageHandler,
28
- createContext,
29
- emnapiAsyncWorkPlugin,
30
- emnapiTSFNPlugin,
31
- getDefaultContext,
32
- instantiateNapiModule,
33
- instantiateNapiModuleSync,
34
- }
35
- export * from '@tybys/wasm-util'
36
- export { createOnMessage, createFsProxy } from './fs-proxy.js'
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022-present Toyobayashi
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,193 +0,0 @@
1
- # @tybys/wasm-util
2
-
3
- WebAssembly related utils for browser environment
4
-
5
- **The output code is ES2019**
6
-
7
- ## Features
8
-
9
- All example code below need to be bundled by ES module bundlers like `webpack` / `rollup`, or specify import map in browser native ES module runtime.
10
-
11
- ### WASI polyfill for browser
12
-
13
- The API is similar to the `require('wasi').WASI` in Node.js.
14
-
15
- You can use `memfs-browser` to provide filesystem capability.
16
-
17
- - Example: [https://github.com/toyobayashi/wasi-wabt](https://github.com/toyobayashi/wasi-wabt)
18
- - Demo: [https://toyobayashi.github.io/wasi-wabt/](https://toyobayashi.github.io/wasi-wabt/)
19
-
20
- ```js
21
- import { load, WASI } from '@tybys/wasm-util'
22
- import { Volume, createFsFromVolume } from 'memfs-browser'
23
-
24
- const fs = createFsFromVolume(Volume.fromJSON({
25
- '/home/wasi': null
26
- }))
27
-
28
- const wasi = new WASI({
29
- args: ['chrome', 'file.wasm'],
30
- env: {
31
- NODE_ENV: 'development',
32
- WASI_SDK_PATH: '/opt/wasi-sdk'
33
- },
34
- preopens: {
35
- '/': '/'
36
- },
37
- fs,
38
-
39
- // redirect stdout / stderr
40
-
41
- // print (text) { console.log(text) },
42
- // printErr (text) { console.error(text) }
43
- })
44
-
45
- const imports = {
46
- wasi_snapshot_preview1: wasi.wasiImport
47
- }
48
-
49
- const { module, instance } = await load('/path/to/file.wasm', imports)
50
- wasi.start(instance)
51
- // wasi.initialize(instance)
52
- ```
53
-
54
- Implemented syscalls: [wasi_snapshot_preview1](#wasi_snapshot_preview1)
55
-
56
- ### `load` / `loadSync`
57
-
58
- `loadSync` has 4KB wasm size limit in browser.
59
-
60
- ```js
61
- // bundler
62
- import { load, loadSync } from '@tybys/wasm-util'
63
-
64
- const imports = { /* ... */ }
65
-
66
- // using path
67
- const { module, instance } = await load('/path/to/file.wasm', imports)
68
- const { module, instance } = loadSync('/path/to/file.wasm', imports)
69
-
70
- // using URL
71
- const { module, instance } = await load(new URL('./file.wasm', import.meta.url), imports)
72
- const { module, instance } = loadSync(new URL('./file.wasm', import.meta.url), imports)
73
-
74
- // using Uint8Array
75
- const buffer = new Uint8Array([
76
- 0x00, 0x61, 0x73, 0x6d,
77
- 0x01, 0x00, 0x00, 0x00
78
- ])
79
- const { module, instance } = await load(buffer, imports)
80
- const { module, instance } = loadSync(buffer, imports)
81
-
82
- // auto asyncify
83
- const {
84
- module,
85
- instance: asyncifiedInstance
86
- } = await load(buffer, imports, { /* asyncify options */})
87
- asyncifiedInstance.exports.fn() // => return Promise
88
- ```
89
-
90
- ### Extend Memory instance
91
-
92
- ```js
93
- import { Memory, extendMemory } from '@tybys/wasm-util'
94
-
95
- const memory = new WebAssembly.Memory({ initial: 256 })
96
- // const memory = instance.exports.memory
97
-
98
- extendMemory(memory)
99
- console.log(memory instanceof Memory)
100
- console.log(memory instanceof WebAssembly.Memory)
101
- // expose memory view getters like Emscripten
102
- const { HEAPU8, HEAPU32, view } = memory
103
- ```
104
-
105
- ### Asyncify wrap
106
-
107
- Build the C code using `clang`, `wasm-ld` and `wasm-opt`
108
-
109
- ```c
110
- void async_sleep(int ms);
111
-
112
- int main() {
113
- async_sleep(200);
114
- return 0;
115
- }
116
- ```
117
-
118
- ```js
119
- import { Asyncify } from '@tybys/wasm-util'
120
-
121
- const asyncify = new Asyncify()
122
-
123
- const imports = {
124
- env: {
125
- async_sleep: asyncify.wrapImportFunction(function (ms) {
126
- return new Promise((resolve) => {
127
- setTimeout(resolve, ms)
128
- })
129
- })
130
- }
131
- }
132
-
133
- // async_sleep(200)
134
- const bytes = await (await fetch('/asyncfied_by_wasm-opt.wasm')).arrayBuffer()
135
- const { instance } = await WebAssembly.instantiate(bytes, imports)
136
- const asyncifiedInstance = asyncify.init(instance.exports.memory, instance, {
137
- wrapExports: ['_start']
138
- })
139
-
140
- const p = asyncifedInstance._start()
141
- console.log(typeof p.then === 'function')
142
- const now = Date.now()
143
- await p
144
- console.log(Date.now() - now >= 200)
145
- ```
146
-
147
- ### wasi_snapshot_preview1
148
-
149
- - [x] args_get
150
- - [x] args_sizes_get
151
- - [x] environ_get
152
- - [x] environ_sizes_get
153
- - [x] clock_res_get
154
- - [x] clock_time_get
155
- - [ ] ~~fd_advise~~
156
- - [x] fd_allocate
157
- - [x] fd_close
158
- - [x] fd_datasync
159
- - [x] fd_fdstat_get
160
- - [ ] ~~fd_fdstat_set_flags~~
161
- - [x] fd_fdstat_set_rights
162
- - [x] fd_filestat_get
163
- - [x] fd_filestat_set_size
164
- - [x] fd_filestat_set_times
165
- - [x] fd_pread
166
- - [x] fd_prestat_get
167
- - [x] fd_prestat_dir_name
168
- - [x] fd_pwrite
169
- - [x] fd_read
170
- - [x] fd_readdir
171
- - [x] fd_renumber
172
- - [x] fd_seek
173
- - [x] fd_sync
174
- - [x] fd_tell
175
- - [x] fd_write
176
- - [x] path_create_directory
177
- - [x] path_filestat_get
178
- - [x] path_filestat_set_times
179
- - [x] path_link
180
- - [x] path_open
181
- - [x] path_readlink
182
- - [x] path_remove_directory
183
- - [x] path_rename
184
- - [x] path_symlink
185
- - [x] path_unlink_file
186
- - [x] poll_oneoff (timer only)
187
- - [x] proc_exit
188
- - [ ] ~~proc_raise~~
189
- - [x] sched_yield
190
- - [x] random_get
191
- - [ ] ~~sock_recv~~
192
- - [ ] ~~sock_send~~
193
- - [ ] ~~sock_shutdown~~
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }