@vibedeckx/win32-x64 0.1.12 → 0.1.16

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 (3179) hide show
  1. package/dist/ui/404/index.html +1 -1
  2. package/dist/ui/404.html +1 -1
  3. package/dist/ui/__next.__PAGE__.txt +1 -1
  4. package/dist/ui/__next._full.txt +1 -1
  5. package/dist/ui/__next._head.txt +1 -1
  6. package/dist/ui/__next._index.txt +1 -1
  7. package/dist/ui/__next._tree.txt +1 -1
  8. package/dist/ui/_not-found/__next._full.txt +1 -1
  9. package/dist/ui/_not-found/__next._head.txt +1 -1
  10. package/dist/ui/_not-found/__next._index.txt +1 -1
  11. package/dist/ui/_not-found/__next._not-found/__PAGE__.txt +1 -1
  12. package/dist/ui/_not-found/__next._not-found.txt +1 -1
  13. package/dist/ui/_not-found/__next._tree.txt +1 -1
  14. package/dist/ui/_not-found/index.html +1 -1
  15. package/dist/ui/_not-found/index.txt +1 -1
  16. package/dist/ui/index.html +1 -1
  17. package/dist/ui/index.txt +1 -1
  18. package/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  19. package/node_modules/better-sqlite3/package.json +2 -13
  20. package/node_modules/node-pty/package.json +3 -15
  21. package/package.json +1 -7
  22. package/node_modules/@ai-sdk/deepseek/CHANGELOG.md +0 -1602
  23. package/node_modules/@ai-sdk/deepseek/LICENSE +0 -13
  24. package/node_modules/@ai-sdk/deepseek/README.md +0 -43
  25. package/node_modules/@ai-sdk/deepseek/docs/30-deepseek.mdx +0 -183
  26. package/node_modules/@ai-sdk/gateway/CHANGELOG.md +0 -1768
  27. package/node_modules/@ai-sdk/gateway/LICENSE +0 -13
  28. package/node_modules/@ai-sdk/gateway/README.md +0 -44
  29. package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +0 -937
  30. package/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -979
  31. package/node_modules/@ai-sdk/provider/LICENSE +0 -13
  32. package/node_modules/@ai-sdk/provider/README.md +0 -1
  33. package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -1580
  34. package/node_modules/@ai-sdk/provider-utils/README.md +0 -1
  35. package/node_modules/@ai-sdk/provider-utils/dist/test/index.d.mts +0 -17
  36. package/node_modules/@ai-sdk/provider-utils/dist/test/index.d.ts +0 -17
  37. package/node_modules/@ai-sdk/provider-utils/dist/test/index.js +0 -110
  38. package/node_modules/@ai-sdk/provider-utils/dist/test/index.js.map +0 -1
  39. package/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs +0 -77
  40. package/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs.map +0 -1
  41. package/node_modules/@ai-sdk/provider-utils/src/test/convert-array-to-async-iterable.ts +0 -9
  42. package/node_modules/@ai-sdk/provider-utils/src/test/convert-array-to-readable-stream.ts +0 -15
  43. package/node_modules/@ai-sdk/provider-utils/src/test/convert-async-iterable-to-array.ts +0 -9
  44. package/node_modules/@ai-sdk/provider-utils/src/test/convert-readable-stream-to-array.ts +0 -14
  45. package/node_modules/@ai-sdk/provider-utils/src/test/convert-response-stream-to-array.ts +0 -9
  46. package/node_modules/@ai-sdk/provider-utils/src/test/index.ts +0 -7
  47. package/node_modules/@ai-sdk/provider-utils/src/test/is-node-version.ts +0 -4
  48. package/node_modules/@ai-sdk/provider-utils/src/test/mock-id.ts +0 -8
  49. package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/LICENSE +0 -16
  50. package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/README.md +0 -24
  51. package/node_modules/@ai-sdk/provider-utils/test.d.ts +0 -1
  52. package/node_modules/@clerk/backend/LICENSE +0 -21
  53. package/node_modules/@clerk/backend/README.md +0 -76
  54. package/node_modules/@clerk/backend/dist/tokens/__tests__/getAuth.test-d.d.ts +0 -2
  55. package/node_modules/@clerk/backend/dist/tokens/__tests__/getAuth.test-d.d.ts.map +0 -1
  56. package/node_modules/@clerk/backend/dist/tokens/__tests__/request.test-d.d.ts +0 -2
  57. package/node_modules/@clerk/backend/dist/tokens/__tests__/request.test-d.d.ts.map +0 -1
  58. package/node_modules/@clerk/fastify/LICENSE +0 -21
  59. package/node_modules/@clerk/fastify/README.md +0 -67
  60. package/node_modules/@clerk/shared/LICENSE +0 -21
  61. package/node_modules/@clerk/shared/README.md +0 -3
  62. package/node_modules/@fastify/accept-negotiator/LICENSE +0 -22
  63. package/node_modules/@fastify/accept-negotiator/README.md +0 -52
  64. package/node_modules/@fastify/accept-negotiator/types/index.d.ts +0 -17
  65. package/node_modules/@fastify/ajv-compiler/LICENSE +0 -23
  66. package/node_modules/@fastify/ajv-compiler/README.md +0 -237
  67. package/node_modules/@fastify/ajv-compiler/benchmark/small-object.mjs +0 -37
  68. package/node_modules/@fastify/ajv-compiler/test/duplicated-id-compile.test.js +0 -55
  69. package/node_modules/@fastify/ajv-compiler/test/index.test.js +0 -307
  70. package/node_modules/@fastify/ajv-compiler/test/plugins.test.js +0 -246
  71. package/node_modules/@fastify/ajv-compiler/test/serialization.test.js +0 -279
  72. package/node_modules/@fastify/ajv-compiler/test/standalone.test.js +0 -203
  73. package/node_modules/@fastify/ajv-compiler/types/index.d.ts +0 -87
  74. package/node_modules/@fastify/error/LICENSE +0 -21
  75. package/node_modules/@fastify/error/README.md +0 -140
  76. package/node_modules/@fastify/error/benchmarks/create.js +0 -9
  77. package/node_modules/@fastify/error/benchmarks/instantiate.js +0 -18
  78. package/node_modules/@fastify/error/benchmarks/no-stack.js +0 -13
  79. package/node_modules/@fastify/error/benchmarks/toString.js +0 -11
  80. package/node_modules/@fastify/error/test/index.test.js +0 -232
  81. package/node_modules/@fastify/error/test/instanceof.test.js +0 -263
  82. package/node_modules/@fastify/error/types/index.d.ts +0 -49
  83. package/node_modules/@fastify/fast-json-stringify-compiler/LICENSE +0 -21
  84. package/node_modules/@fastify/fast-json-stringify-compiler/README.md +0 -128
  85. package/node_modules/@fastify/fast-json-stringify-compiler/test/duplicate-schema.test.js +0 -26
  86. package/node_modules/@fastify/fast-json-stringify-compiler/test/plugin.test.js +0 -78
  87. package/node_modules/@fastify/fast-json-stringify-compiler/test/standalone.test.js +0 -230
  88. package/node_modules/@fastify/fast-json-stringify-compiler/types/index.d.ts +0 -41
  89. package/node_modules/@fastify/forwarded/LICENSE +0 -24
  90. package/node_modules/@fastify/forwarded/README.md +0 -43
  91. package/node_modules/@fastify/forwarded/types/index.d.ts +0 -14
  92. package/node_modules/@fastify/merge-json-schemas/LICENSE +0 -21
  93. package/node_modules/@fastify/merge-json-schemas/README.md +0 -119
  94. package/node_modules/@fastify/merge-json-schemas/test/additional-items.test.js +0 -164
  95. package/node_modules/@fastify/merge-json-schemas/test/additional-properties.test.js +0 -129
  96. package/node_modules/@fastify/merge-json-schemas/test/all-of.test.js +0 -43
  97. package/node_modules/@fastify/merge-json-schemas/test/any-of.test.js +0 -81
  98. package/node_modules/@fastify/merge-json-schemas/test/const.test.js +0 -58
  99. package/node_modules/@fastify/merge-json-schemas/test/contains.test.js +0 -55
  100. package/node_modules/@fastify/merge-json-schemas/test/custom-resolvers.test.js +0 -50
  101. package/node_modules/@fastify/merge-json-schemas/test/default-resolver.test.js +0 -111
  102. package/node_modules/@fastify/merge-json-schemas/test/default.test.js +0 -50
  103. package/node_modules/@fastify/merge-json-schemas/test/definitions.test.js +0 -46
  104. package/node_modules/@fastify/merge-json-schemas/test/defs.test.js +0 -46
  105. package/node_modules/@fastify/merge-json-schemas/test/dependencies.test.js +0 -75
  106. package/node_modules/@fastify/merge-json-schemas/test/dependent-required.test.js +0 -75
  107. package/node_modules/@fastify/merge-json-schemas/test/dependent-schemas.test.js +0 -76
  108. package/node_modules/@fastify/merge-json-schemas/test/enum.test.js +0 -44
  109. package/node_modules/@fastify/merge-json-schemas/test/exclusive-maximum.test.js +0 -30
  110. package/node_modules/@fastify/merge-json-schemas/test/exclusive-minimum.test.js +0 -30
  111. package/node_modules/@fastify/merge-json-schemas/test/format.test.js +0 -36
  112. package/node_modules/@fastify/merge-json-schemas/test/id.test.js +0 -22
  113. package/node_modules/@fastify/merge-json-schemas/test/if-then-else.test.js +0 -550
  114. package/node_modules/@fastify/merge-json-schemas/test/items.test.js +0 -152
  115. package/node_modules/@fastify/merge-json-schemas/test/max-items.test.js +0 -30
  116. package/node_modules/@fastify/merge-json-schemas/test/max-length.test.js +0 -30
  117. package/node_modules/@fastify/merge-json-schemas/test/max-properties.test.js +0 -30
  118. package/node_modules/@fastify/merge-json-schemas/test/maximum.test.js +0 -30
  119. package/node_modules/@fastify/merge-json-schemas/test/merge-schema.test.js +0 -29
  120. package/node_modules/@fastify/merge-json-schemas/test/min-items.test.js +0 -30
  121. package/node_modules/@fastify/merge-json-schemas/test/min-length.test.js +0 -30
  122. package/node_modules/@fastify/merge-json-schemas/test/min-properties.test.js +0 -30
  123. package/node_modules/@fastify/merge-json-schemas/test/minimum.test.js +0 -30
  124. package/node_modules/@fastify/merge-json-schemas/test/multiple-of.test.js +0 -36
  125. package/node_modules/@fastify/merge-json-schemas/test/not.test.js +0 -29
  126. package/node_modules/@fastify/merge-json-schemas/test/nullable.test.js +0 -30
  127. package/node_modules/@fastify/merge-json-schemas/test/one-of.test.js +0 -144
  128. package/node_modules/@fastify/merge-json-schemas/test/properties.test.js +0 -312
  129. package/node_modules/@fastify/merge-json-schemas/test/property-names.test.js +0 -49
  130. package/node_modules/@fastify/merge-json-schemas/test/required.test.js +0 -30
  131. package/node_modules/@fastify/merge-json-schemas/test/type.test.js +0 -52
  132. package/node_modules/@fastify/merge-json-schemas/test/unique-items.test.js +0 -38
  133. package/node_modules/@fastify/merge-json-schemas/test/utils.js +0 -9
  134. package/node_modules/@fastify/merge-json-schemas/types/index.d.ts +0 -61
  135. package/node_modules/@fastify/proxy-addr/LICENSE +0 -24
  136. package/node_modules/@fastify/proxy-addr/README.md +0 -141
  137. package/node_modules/@fastify/proxy-addr/benchmark/compiling.js +0 -50
  138. package/node_modules/@fastify/proxy-addr/benchmark/index.js +0 -30
  139. package/node_modules/@fastify/proxy-addr/benchmark/kind.js +0 -57
  140. package/node_modules/@fastify/proxy-addr/benchmark/matching.js +0 -78
  141. package/node_modules/@fastify/proxy-addr/test/all.test.js +0 -55
  142. package/node_modules/@fastify/proxy-addr/test/base.test.js +0 -365
  143. package/node_modules/@fastify/proxy-addr/test/compile.test.js +0 -58
  144. package/node_modules/@fastify/proxy-addr/types/index.d.ts +0 -18
  145. package/node_modules/@fastify/send/HISTORY.md +0 -521
  146. package/node_modules/@fastify/send/LICENSE +0 -23
  147. package/node_modules/@fastify/send/README.md +0 -310
  148. package/node_modules/@fastify/send/benchmarks/collapseLeadingSlashes.js +0 -13
  149. package/node_modules/@fastify/send/benchmarks/containsDotFile.js +0 -15
  150. package/node_modules/@fastify/send/benchmarks/isUtf8MimeType.js +0 -23
  151. package/node_modules/@fastify/send/benchmarks/normalizeList.js +0 -14
  152. package/node_modules/@fastify/send/benchmarks/parseBytesRange.js +0 -15
  153. package/node_modules/@fastify/send/examples/index.html +0 -1
  154. package/node_modules/@fastify/send/examples/simple.js +0 -15
  155. package/node_modules/@fastify/send/test/collapseLeadingSlashes.test.js +0 -22
  156. package/node_modules/@fastify/send/test/containsDotFile.test.js +0 -18
  157. package/node_modules/@fastify/send/test/fixtures/do..ts.txt +0 -1
  158. package/node_modules/@fastify/send/test/fixtures/empty.txt +0 -0
  159. package/node_modules/@fastify/send/test/fixtures/images/node-js.png +0 -0
  160. package/node_modules/@fastify/send/test/fixtures/name.d/name.txt +0 -1
  161. package/node_modules/@fastify/send/test/fixtures/name.dir/name.txt +0 -1
  162. package/node_modules/@fastify/send/test/fixtures/name.html +0 -1
  163. package/node_modules/@fastify/send/test/fixtures/name.txt +0 -1
  164. package/node_modules/@fastify/send/test/fixtures/no_ext +0 -1
  165. package/node_modules/@fastify/send/test/fixtures/nums.txt +0 -1
  166. package/node_modules/@fastify/send/test/fixtures/pets/index.html +0 -3
  167. package/node_modules/@fastify/send/test/fixtures/snow /342/230/203/index.html +0 -0
  168. package/node_modules/@fastify/send/test/fixtures/some thing.txt +0 -1
  169. package/node_modules/@fastify/send/test/fixtures/thing.html.html +0 -1
  170. package/node_modules/@fastify/send/test/fixtures/tobi.html +0 -1
  171. package/node_modules/@fastify/send/test/isUtf8MimeType.test.js +0 -22
  172. package/node_modules/@fastify/send/test/mime.test.js +0 -56
  173. package/node_modules/@fastify/send/test/normalizeList.test.js +0 -28
  174. package/node_modules/@fastify/send/test/parseBytesRange.test.js +0 -103
  175. package/node_modules/@fastify/send/test/send.1.test.js +0 -646
  176. package/node_modules/@fastify/send/test/send.2.test.js +0 -977
  177. package/node_modules/@fastify/send/test/send.3.test.js +0 -133
  178. package/node_modules/@fastify/send/test/utils.js +0 -36
  179. package/node_modules/@fastify/send/types/index.d.ts +0 -167
  180. package/node_modules/@fastify/static/LICENSE +0 -23
  181. package/node_modules/@fastify/static/README.md +0 -538
  182. package/node_modules/@fastify/static/example/public/images/sample.jpg +0 -0
  183. package/node_modules/@fastify/static/example/public/index.css +0 -9
  184. package/node_modules/@fastify/static/example/public/index.html +0 -11
  185. package/node_modules/@fastify/static/example/public/index.js +0 -8
  186. package/node_modules/@fastify/static/example/public2/test.css +0 -4
  187. package/node_modules/@fastify/static/example/public2/test.html +0 -8
  188. package/node_modules/@fastify/static/example/server-compress.js +0 -15
  189. package/node_modules/@fastify/static/example/server-dir-list.js +0 -38
  190. package/node_modules/@fastify/static/example/server-hidden-file.js +0 -15
  191. package/node_modules/@fastify/static/example/server.js +0 -13
  192. package/node_modules/@fastify/static/test/content-type/binary +0 -0
  193. package/node_modules/@fastify/static/test/content-type/binary.br +0 -1
  194. package/node_modules/@fastify/static/test/content-type/index.css +0 -0
  195. package/node_modules/@fastify/static/test/content-type/index.css.br +0 -1
  196. package/node_modules/@fastify/static/test/content-type/index.html +0 -5
  197. package/node_modules/@fastify/static/test/content-type/index.html.br +0 -0
  198. package/node_modules/@fastify/static/test/content-type/sample.jpg +0 -0
  199. package/node_modules/@fastify/static/test/content-type/test.txt +0 -0
  200. package/node_modules/@fastify/static/test/content-type/test.txt.br +0 -1
  201. package/node_modules/@fastify/static/test/content-type.test.js +0 -144
  202. package/node_modules/@fastify/static/test/dir-list.test.js +0 -738
  203. package/node_modules/@fastify/static/test/static/100%.txt +0 -1
  204. package/node_modules/@fastify/static/test/static/a .md +0 -1
  205. package/node_modules/@fastify/static/test/static/deep/path/for/test/index.html +0 -5
  206. package/node_modules/@fastify/static/test/static/deep/path/for/test/purpose/foo.html +0 -5
  207. package/node_modules/@fastify/static/test/static/foo.html +0 -3
  208. package/node_modules/@fastify/static/test/static/foobar.html +0 -3
  209. package/node_modules/@fastify/static/test/static/index.css +0 -0
  210. package/node_modules/@fastify/static/test/static/index.html +0 -5
  211. package/node_modules/@fastify/static/test/static/shallow/sample.jpg +0 -0
  212. package/node_modules/@fastify/static/test/static-dotfiles/dir/index.html +0 -0
  213. package/node_modules/@fastify/static/test/static-dotfiles/test.txt +0 -0
  214. package/node_modules/@fastify/static/test/static-encode/[...]/a .md +0 -1
  215. package/node_modules/@fastify/static/test/static-filtered/bar.private +0 -1
  216. package/node_modules/@fastify/static/test/static-filtered/deep/path/to/baz.html +0 -3
  217. package/node_modules/@fastify/static/test/static-filtered/deep/path/to/baz.private +0 -1
  218. package/node_modules/@fastify/static/test/static-filtered/index.html +0 -3
  219. package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html +0 -5
  220. package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html.br +0 -0
  221. package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html.gz +0 -0
  222. package/node_modules/@fastify/static/test/static-pre-compressed/baz.json +0 -3
  223. package/node_modules/@fastify/static/test/static-pre-compressed/dir/index.html +0 -5
  224. package/node_modules/@fastify/static/test/static-pre-compressed/dir/index.html.br +0 -0
  225. package/node_modules/@fastify/static/test/static-pre-compressed/dir-gz/index.html +0 -5
  226. package/node_modules/@fastify/static/test/static-pre-compressed/dir-gz/index.html.gz +0 -0
  227. package/node_modules/@fastify/static/test/static-pre-compressed/gzip-only.html +0 -3
  228. package/node_modules/@fastify/static/test/static-pre-compressed/gzip-only.html.gz +0 -0
  229. package/node_modules/@fastify/static/test/static-pre-compressed/index.html +0 -5
  230. package/node_modules/@fastify/static/test/static-pre-compressed/index.html.br +0 -0
  231. package/node_modules/@fastify/static/test/static-pre-compressed/sample.jpg +0 -0
  232. package/node_modules/@fastify/static/test/static-pre-compressed/sample.jpg.br +0 -0
  233. package/node_modules/@fastify/static/test/static-pre-compressed/uncompressed.html +0 -3
  234. package/node_modules/@fastify/static/test/static-symbolic-link/origin/subdir/subdir/index.html +0 -3
  235. package/node_modules/@fastify/static/test/static.test.js +0 -3793
  236. package/node_modules/@fastify/static/test/static2/bar.html +0 -3
  237. package/node_modules/@fastify/static/test/static2/index.html +0 -3
  238. package/node_modules/@fastify/static/types/index.d.ts +0 -140
  239. package/node_modules/@fastify/websocket/LICENSE +0 -23
  240. package/node_modules/@fastify/websocket/README.md +0 -393
  241. package/node_modules/@fastify/websocket/test/base.test.js +0 -663
  242. package/node_modules/@fastify/websocket/test/hooks.test.js +0 -414
  243. package/node_modules/@fastify/websocket/test/inject.test.js +0 -174
  244. package/node_modules/@fastify/websocket/test/router.test.js +0 -799
  245. package/node_modules/@fastify/websocket/types/index.d.ts +0 -116
  246. package/node_modules/@isaacs/cliui/LICENSE.md +0 -63
  247. package/node_modules/@isaacs/cliui/README.md +0 -151
  248. package/node_modules/@lukeed/ms/index.d.ts +0 -2
  249. package/node_modules/@lukeed/ms/license +0 -9
  250. package/node_modules/@lukeed/ms/readme.md +0 -133
  251. package/node_modules/@openrouter/ai-sdk-provider/LICENSE +0 -201
  252. package/node_modules/@openrouter/ai-sdk-provider/README.md +0 -156
  253. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -235
  254. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/LICENSE +0 -13
  255. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/README.md +0 -1
  256. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -469
  257. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/LICENSE +0 -13
  258. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/README.md +0 -1
  259. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/chunk-D6YTI3O5.mjs +0 -45
  260. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/chunk-D6YTI3O5.mjs.map +0 -1
  261. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/graphql-6JDEV3ML.mjs +0 -12082
  262. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/graphql-6JDEV3ML.mjs.map +0 -1
  263. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.d.mts +0 -162
  264. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.d.ts +0 -162
  265. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.js +0 -19133
  266. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.js.map +0 -1
  267. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.mjs +0 -19079
  268. package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.mjs.map +0 -1
  269. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/LICENSE.md +0 -17
  270. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/README.md +0 -126
  271. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
  272. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
  273. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/package.json +0 -15
  274. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
  275. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
  276. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
  277. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/test/index.test.js +0 -505
  278. package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/types/index.d.ts +0 -57
  279. package/node_modules/@opentelemetry/api/LICENSE +0 -201
  280. package/node_modules/@opentelemetry/api/README.md +0 -116
  281. package/node_modules/@opentelemetry/api/build/esm/api/context.d.ts +0 -41
  282. package/node_modules/@opentelemetry/api/build/esm/api/context.js.map +0 -1
  283. package/node_modules/@opentelemetry/api/build/esm/api/diag.d.ts +0 -30
  284. package/node_modules/@opentelemetry/api/build/esm/api/diag.js.map +0 -1
  285. package/node_modules/@opentelemetry/api/build/esm/api/metrics.d.ts +0 -28
  286. package/node_modules/@opentelemetry/api/build/esm/api/metrics.js.map +0 -1
  287. package/node_modules/@opentelemetry/api/build/esm/api/propagation.d.ts +0 -49
  288. package/node_modules/@opentelemetry/api/build/esm/api/propagation.js.map +0 -1
  289. package/node_modules/@opentelemetry/api/build/esm/api/trace.d.ts +0 -40
  290. package/node_modules/@opentelemetry/api/build/esm/api/trace.js.map +0 -1
  291. package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.d.ts +0 -29
  292. package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js.map +0 -1
  293. package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.d.ts +0 -12
  294. package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js.map +0 -1
  295. package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.d.ts +0 -5
  296. package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js.map +0 -1
  297. package/node_modules/@opentelemetry/api/build/esm/baggage/types.d.ts +0 -60
  298. package/node_modules/@opentelemetry/api/build/esm/baggage/types.js.map +0 -1
  299. package/node_modules/@opentelemetry/api/build/esm/baggage/utils.d.ts +0 -15
  300. package/node_modules/@opentelemetry/api/build/esm/baggage/utils.js.map +0 -1
  301. package/node_modules/@opentelemetry/api/build/esm/common/Attributes.d.ts +0 -15
  302. package/node_modules/@opentelemetry/api/build/esm/common/Attributes.js.map +0 -1
  303. package/node_modules/@opentelemetry/api/build/esm/common/Exception.d.ts +0 -26
  304. package/node_modules/@opentelemetry/api/build/esm/common/Exception.js.map +0 -1
  305. package/node_modules/@opentelemetry/api/build/esm/common/Time.d.ts +0 -20
  306. package/node_modules/@opentelemetry/api/build/esm/common/Time.js.map +0 -1
  307. package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.d.ts +0 -9
  308. package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js.map +0 -1
  309. package/node_modules/@opentelemetry/api/build/esm/context/context.d.ts +0 -6
  310. package/node_modules/@opentelemetry/api/build/esm/context/context.js.map +0 -1
  311. package/node_modules/@opentelemetry/api/build/esm/context/types.d.ts +0 -52
  312. package/node_modules/@opentelemetry/api/build/esm/context/types.js.map +0 -1
  313. package/node_modules/@opentelemetry/api/build/esm/context-api.d.ts +0 -4
  314. package/node_modules/@opentelemetry/api/build/esm/context-api.js.map +0 -1
  315. package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.d.ts +0 -20
  316. package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js.map +0 -1
  317. package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.d.ts +0 -38
  318. package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js.map +0 -1
  319. package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.d.ts +0 -3
  320. package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js.map +0 -1
  321. package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.d.ts +0 -8
  322. package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.js.map +0 -1
  323. package/node_modules/@opentelemetry/api/build/esm/diag/types.d.ts +0 -100
  324. package/node_modules/@opentelemetry/api/build/esm/diag/types.js.map +0 -1
  325. package/node_modules/@opentelemetry/api/build/esm/diag-api.d.ts +0 -9
  326. package/node_modules/@opentelemetry/api/build/esm/diag-api.js.map +0 -1
  327. package/node_modules/@opentelemetry/api/build/esm/experimental/index.d.ts +0 -3
  328. package/node_modules/@opentelemetry/api/build/esm/experimental/index.js.map +0 -1
  329. package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.d.ts +0 -13
  330. package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.js.map +0 -1
  331. package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.d.ts +0 -64
  332. package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.js.map +0 -1
  333. package/node_modules/@opentelemetry/api/build/esm/index.d.ts +0 -54
  334. package/node_modules/@opentelemetry/api/build/esm/index.js.map +0 -1
  335. package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.d.ts +0 -18
  336. package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js.map +0 -1
  337. package/node_modules/@opentelemetry/api/build/esm/internal/semver.d.ts +0 -34
  338. package/node_modules/@opentelemetry/api/build/esm/internal/semver.js.map +0 -1
  339. package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.d.ts +0 -110
  340. package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.js.map +0 -1
  341. package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.d.ts +0 -17
  342. package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.js.map +0 -1
  343. package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.d.ts +0 -115
  344. package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js.map +0 -1
  345. package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.d.ts +0 -82
  346. package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js.map +0 -1
  347. package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.d.ts +0 -11
  348. package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js.map +0 -1
  349. package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.d.ts +0 -31
  350. package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.js.map +0 -1
  351. package/node_modules/@opentelemetry/api/build/esm/metrics-api.d.ts +0 -4
  352. package/node_modules/@opentelemetry/api/build/esm/metrics-api.js.map +0 -1
  353. package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.d.ts +0 -10
  354. package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.js.map +0 -1
  355. package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.d.ts +0 -2
  356. package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.js.map +0 -1
  357. package/node_modules/@opentelemetry/api/build/esm/platform/index.d.ts +0 -2
  358. package/node_modules/@opentelemetry/api/build/esm/platform/index.js.map +0 -1
  359. package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.d.ts +0 -3
  360. package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js.map +0 -1
  361. package/node_modules/@opentelemetry/api/build/esm/platform/node/index.d.ts +0 -2
  362. package/node_modules/@opentelemetry/api/build/esm/platform/node/index.js.map +0 -1
  363. package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.d.ts +0 -13
  364. package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js.map +0 -1
  365. package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.d.ts +0 -84
  366. package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js.map +0 -1
  367. package/node_modules/@opentelemetry/api/build/esm/propagation-api.d.ts +0 -4
  368. package/node_modules/@opentelemetry/api/build/esm/propagation-api.js.map +0 -1
  369. package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.d.ts +0 -28
  370. package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js.map +0 -1
  371. package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.d.ts +0 -14
  372. package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js.map +0 -1
  373. package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.d.ts +0 -13
  374. package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js.map +0 -1
  375. package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.d.ts +0 -27
  376. package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js.map +0 -1
  377. package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.d.ts +0 -25
  378. package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js.map +0 -1
  379. package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.d.ts +0 -31
  380. package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.js.map +0 -1
  381. package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.d.ts +0 -49
  382. package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js.map +0 -1
  383. package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.d.ts +0 -23
  384. package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.js.map +0 -1
  385. package/node_modules/@opentelemetry/api/build/esm/trace/attributes.d.ts +0 -10
  386. package/node_modules/@opentelemetry/api/build/esm/trace/attributes.js.map +0 -1
  387. package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.d.ts +0 -41
  388. package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js.map +0 -1
  389. package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.d.ts +0 -22
  390. package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js.map +0 -1
  391. package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.d.ts +0 -15
  392. package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js.map +0 -1
  393. package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.d.ts +0 -3
  394. package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js.map +0 -1
  395. package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.d.ts +0 -5
  396. package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js.map +0 -1
  397. package/node_modules/@opentelemetry/api/build/esm/trace/link.d.ts +0 -26
  398. package/node_modules/@opentelemetry/api/build/esm/trace/link.js.map +0 -1
  399. package/node_modules/@opentelemetry/api/build/esm/trace/span.d.ts +0 -120
  400. package/node_modules/@opentelemetry/api/build/esm/trace/span.js.map +0 -1
  401. package/node_modules/@opentelemetry/api/build/esm/trace/span_context.d.ts +0 -53
  402. package/node_modules/@opentelemetry/api/build/esm/trace/span_context.js.map +0 -1
  403. package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.d.ts +0 -27
  404. package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js.map +0 -1
  405. package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.d.ts +0 -17
  406. package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js.map +0 -1
  407. package/node_modules/@opentelemetry/api/build/esm/trace/status.d.ts +0 -25
  408. package/node_modules/@opentelemetry/api/build/esm/trace/status.js.map +0 -1
  409. package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.d.ts +0 -7
  410. package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js.map +0 -1
  411. package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.d.ts +0 -38
  412. package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.js.map +0 -1
  413. package/node_modules/@opentelemetry/api/build/esm/trace/tracer.d.ts +0 -71
  414. package/node_modules/@opentelemetry/api/build/esm/trace/tracer.js.map +0 -1
  415. package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.d.ts +0 -10
  416. package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.js.map +0 -1
  417. package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.d.ts +0 -21
  418. package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.js.map +0 -1
  419. package/node_modules/@opentelemetry/api/build/esm/trace-api.d.ts +0 -4
  420. package/node_modules/@opentelemetry/api/build/esm/trace-api.js.map +0 -1
  421. package/node_modules/@opentelemetry/api/build/esm/version.d.ts +0 -2
  422. package/node_modules/@opentelemetry/api/build/esm/version.js.map +0 -1
  423. package/node_modules/@opentelemetry/api/build/esnext/api/context.d.ts +0 -41
  424. package/node_modules/@opentelemetry/api/build/esnext/api/context.js.map +0 -1
  425. package/node_modules/@opentelemetry/api/build/esnext/api/diag.d.ts +0 -30
  426. package/node_modules/@opentelemetry/api/build/esnext/api/diag.js.map +0 -1
  427. package/node_modules/@opentelemetry/api/build/esnext/api/metrics.d.ts +0 -28
  428. package/node_modules/@opentelemetry/api/build/esnext/api/metrics.js.map +0 -1
  429. package/node_modules/@opentelemetry/api/build/esnext/api/propagation.d.ts +0 -49
  430. package/node_modules/@opentelemetry/api/build/esnext/api/propagation.js.map +0 -1
  431. package/node_modules/@opentelemetry/api/build/esnext/api/trace.d.ts +0 -40
  432. package/node_modules/@opentelemetry/api/build/esnext/api/trace.js.map +0 -1
  433. package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.d.ts +0 -29
  434. package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.js.map +0 -1
  435. package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.d.ts +0 -12
  436. package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.js.map +0 -1
  437. package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.d.ts +0 -5
  438. package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.js.map +0 -1
  439. package/node_modules/@opentelemetry/api/build/esnext/baggage/types.d.ts +0 -60
  440. package/node_modules/@opentelemetry/api/build/esnext/baggage/types.js.map +0 -1
  441. package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.d.ts +0 -15
  442. package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.js.map +0 -1
  443. package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.d.ts +0 -15
  444. package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.js.map +0 -1
  445. package/node_modules/@opentelemetry/api/build/esnext/common/Exception.d.ts +0 -26
  446. package/node_modules/@opentelemetry/api/build/esnext/common/Exception.js.map +0 -1
  447. package/node_modules/@opentelemetry/api/build/esnext/common/Time.d.ts +0 -20
  448. package/node_modules/@opentelemetry/api/build/esnext/common/Time.js.map +0 -1
  449. package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.d.ts +0 -9
  450. package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.js.map +0 -1
  451. package/node_modules/@opentelemetry/api/build/esnext/context/context.d.ts +0 -6
  452. package/node_modules/@opentelemetry/api/build/esnext/context/context.js.map +0 -1
  453. package/node_modules/@opentelemetry/api/build/esnext/context/types.d.ts +0 -52
  454. package/node_modules/@opentelemetry/api/build/esnext/context/types.js.map +0 -1
  455. package/node_modules/@opentelemetry/api/build/esnext/context-api.d.ts +0 -4
  456. package/node_modules/@opentelemetry/api/build/esnext/context-api.js.map +0 -1
  457. package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.d.ts +0 -20
  458. package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.js.map +0 -1
  459. package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.d.ts +0 -38
  460. package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.js.map +0 -1
  461. package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.d.ts +0 -3
  462. package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.js.map +0 -1
  463. package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.d.ts +0 -8
  464. package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.js.map +0 -1
  465. package/node_modules/@opentelemetry/api/build/esnext/diag/types.d.ts +0 -100
  466. package/node_modules/@opentelemetry/api/build/esnext/diag/types.js.map +0 -1
  467. package/node_modules/@opentelemetry/api/build/esnext/diag-api.d.ts +0 -9
  468. package/node_modules/@opentelemetry/api/build/esnext/diag-api.js.map +0 -1
  469. package/node_modules/@opentelemetry/api/build/esnext/experimental/index.d.ts +0 -3
  470. package/node_modules/@opentelemetry/api/build/esnext/experimental/index.js.map +0 -1
  471. package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.d.ts +0 -13
  472. package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.js.map +0 -1
  473. package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.d.ts +0 -64
  474. package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.js.map +0 -1
  475. package/node_modules/@opentelemetry/api/build/esnext/index.d.ts +0 -54
  476. package/node_modules/@opentelemetry/api/build/esnext/index.js.map +0 -1
  477. package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.d.ts +0 -18
  478. package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.js.map +0 -1
  479. package/node_modules/@opentelemetry/api/build/esnext/internal/semver.d.ts +0 -34
  480. package/node_modules/@opentelemetry/api/build/esnext/internal/semver.js.map +0 -1
  481. package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.d.ts +0 -110
  482. package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.js.map +0 -1
  483. package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.d.ts +0 -17
  484. package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.js.map +0 -1
  485. package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.d.ts +0 -115
  486. package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.js.map +0 -1
  487. package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.d.ts +0 -82
  488. package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.js.map +0 -1
  489. package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.d.ts +0 -11
  490. package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.js.map +0 -1
  491. package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.d.ts +0 -31
  492. package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.js.map +0 -1
  493. package/node_modules/@opentelemetry/api/build/esnext/metrics-api.d.ts +0 -4
  494. package/node_modules/@opentelemetry/api/build/esnext/metrics-api.js.map +0 -1
  495. package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.d.ts +0 -10
  496. package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.js.map +0 -1
  497. package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.d.ts +0 -2
  498. package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.js.map +0 -1
  499. package/node_modules/@opentelemetry/api/build/esnext/platform/index.d.ts +0 -2
  500. package/node_modules/@opentelemetry/api/build/esnext/platform/index.js.map +0 -1
  501. package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.d.ts +0 -3
  502. package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.js.map +0 -1
  503. package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.d.ts +0 -2
  504. package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.js.map +0 -1
  505. package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.d.ts +0 -13
  506. package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.js.map +0 -1
  507. package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.d.ts +0 -84
  508. package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.js.map +0 -1
  509. package/node_modules/@opentelemetry/api/build/esnext/propagation-api.d.ts +0 -4
  510. package/node_modules/@opentelemetry/api/build/esnext/propagation-api.js.map +0 -1
  511. package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.d.ts +0 -28
  512. package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.js.map +0 -1
  513. package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.d.ts +0 -14
  514. package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.js.map +0 -1
  515. package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.d.ts +0 -13
  516. package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.js.map +0 -1
  517. package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.d.ts +0 -27
  518. package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.js.map +0 -1
  519. package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.d.ts +0 -25
  520. package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.js.map +0 -1
  521. package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.d.ts +0 -31
  522. package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.js.map +0 -1
  523. package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.d.ts +0 -49
  524. package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.js.map +0 -1
  525. package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.d.ts +0 -23
  526. package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.js.map +0 -1
  527. package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.d.ts +0 -10
  528. package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.js.map +0 -1
  529. package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.d.ts +0 -41
  530. package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.js.map +0 -1
  531. package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.d.ts +0 -22
  532. package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.js.map +0 -1
  533. package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.d.ts +0 -15
  534. package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.js.map +0 -1
  535. package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.d.ts +0 -3
  536. package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.js.map +0 -1
  537. package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.d.ts +0 -5
  538. package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.js.map +0 -1
  539. package/node_modules/@opentelemetry/api/build/esnext/trace/link.d.ts +0 -26
  540. package/node_modules/@opentelemetry/api/build/esnext/trace/link.js.map +0 -1
  541. package/node_modules/@opentelemetry/api/build/esnext/trace/span.d.ts +0 -120
  542. package/node_modules/@opentelemetry/api/build/esnext/trace/span.js.map +0 -1
  543. package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.d.ts +0 -53
  544. package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.js.map +0 -1
  545. package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.d.ts +0 -27
  546. package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.js.map +0 -1
  547. package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts +0 -17
  548. package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.js.map +0 -1
  549. package/node_modules/@opentelemetry/api/build/esnext/trace/status.d.ts +0 -25
  550. package/node_modules/@opentelemetry/api/build/esnext/trace/status.js.map +0 -1
  551. package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.d.ts +0 -7
  552. package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.js.map +0 -1
  553. package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.d.ts +0 -38
  554. package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.js.map +0 -1
  555. package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.d.ts +0 -71
  556. package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.js.map +0 -1
  557. package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.d.ts +0 -10
  558. package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.js.map +0 -1
  559. package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.d.ts +0 -21
  560. package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.js.map +0 -1
  561. package/node_modules/@opentelemetry/api/build/esnext/trace-api.d.ts +0 -4
  562. package/node_modules/@opentelemetry/api/build/esnext/trace-api.js.map +0 -1
  563. package/node_modules/@opentelemetry/api/build/esnext/version.d.ts +0 -2
  564. package/node_modules/@opentelemetry/api/build/esnext/version.js.map +0 -1
  565. package/node_modules/@opentelemetry/api/build/src/api/context.d.ts +0 -41
  566. package/node_modules/@opentelemetry/api/build/src/api/context.js.map +0 -1
  567. package/node_modules/@opentelemetry/api/build/src/api/diag.d.ts +0 -30
  568. package/node_modules/@opentelemetry/api/build/src/api/diag.js.map +0 -1
  569. package/node_modules/@opentelemetry/api/build/src/api/metrics.d.ts +0 -28
  570. package/node_modules/@opentelemetry/api/build/src/api/metrics.js.map +0 -1
  571. package/node_modules/@opentelemetry/api/build/src/api/propagation.d.ts +0 -49
  572. package/node_modules/@opentelemetry/api/build/src/api/propagation.js.map +0 -1
  573. package/node_modules/@opentelemetry/api/build/src/api/trace.d.ts +0 -40
  574. package/node_modules/@opentelemetry/api/build/src/api/trace.js.map +0 -1
  575. package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.d.ts +0 -29
  576. package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js.map +0 -1
  577. package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.d.ts +0 -12
  578. package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js.map +0 -1
  579. package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.d.ts +0 -5
  580. package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js.map +0 -1
  581. package/node_modules/@opentelemetry/api/build/src/baggage/types.d.ts +0 -60
  582. package/node_modules/@opentelemetry/api/build/src/baggage/types.js.map +0 -1
  583. package/node_modules/@opentelemetry/api/build/src/baggage/utils.d.ts +0 -15
  584. package/node_modules/@opentelemetry/api/build/src/baggage/utils.js.map +0 -1
  585. package/node_modules/@opentelemetry/api/build/src/common/Attributes.d.ts +0 -15
  586. package/node_modules/@opentelemetry/api/build/src/common/Attributes.js.map +0 -1
  587. package/node_modules/@opentelemetry/api/build/src/common/Exception.d.ts +0 -26
  588. package/node_modules/@opentelemetry/api/build/src/common/Exception.js.map +0 -1
  589. package/node_modules/@opentelemetry/api/build/src/common/Time.d.ts +0 -20
  590. package/node_modules/@opentelemetry/api/build/src/common/Time.js.map +0 -1
  591. package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.d.ts +0 -9
  592. package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js.map +0 -1
  593. package/node_modules/@opentelemetry/api/build/src/context/context.d.ts +0 -6
  594. package/node_modules/@opentelemetry/api/build/src/context/context.js.map +0 -1
  595. package/node_modules/@opentelemetry/api/build/src/context/types.d.ts +0 -52
  596. package/node_modules/@opentelemetry/api/build/src/context/types.js.map +0 -1
  597. package/node_modules/@opentelemetry/api/build/src/context-api.d.ts +0 -4
  598. package/node_modules/@opentelemetry/api/build/src/context-api.js.map +0 -1
  599. package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.d.ts +0 -20
  600. package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js.map +0 -1
  601. package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.d.ts +0 -38
  602. package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js.map +0 -1
  603. package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.d.ts +0 -3
  604. package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js.map +0 -1
  605. package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.d.ts +0 -8
  606. package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.js.map +0 -1
  607. package/node_modules/@opentelemetry/api/build/src/diag/types.d.ts +0 -100
  608. package/node_modules/@opentelemetry/api/build/src/diag/types.js.map +0 -1
  609. package/node_modules/@opentelemetry/api/build/src/diag-api.d.ts +0 -9
  610. package/node_modules/@opentelemetry/api/build/src/diag-api.js.map +0 -1
  611. package/node_modules/@opentelemetry/api/build/src/experimental/index.d.ts +0 -3
  612. package/node_modules/@opentelemetry/api/build/src/experimental/index.js.map +0 -1
  613. package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.d.ts +0 -13
  614. package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.js.map +0 -1
  615. package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.d.ts +0 -64
  616. package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.js.map +0 -1
  617. package/node_modules/@opentelemetry/api/build/src/index.d.ts +0 -54
  618. package/node_modules/@opentelemetry/api/build/src/index.js.map +0 -1
  619. package/node_modules/@opentelemetry/api/build/src/internal/global-utils.d.ts +0 -18
  620. package/node_modules/@opentelemetry/api/build/src/internal/global-utils.js.map +0 -1
  621. package/node_modules/@opentelemetry/api/build/src/internal/semver.d.ts +0 -34
  622. package/node_modules/@opentelemetry/api/build/src/internal/semver.js.map +0 -1
  623. package/node_modules/@opentelemetry/api/build/src/metrics/Meter.d.ts +0 -110
  624. package/node_modules/@opentelemetry/api/build/src/metrics/Meter.js.map +0 -1
  625. package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.d.ts +0 -17
  626. package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.js.map +0 -1
  627. package/node_modules/@opentelemetry/api/build/src/metrics/Metric.d.ts +0 -115
  628. package/node_modules/@opentelemetry/api/build/src/metrics/Metric.js.map +0 -1
  629. package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.d.ts +0 -82
  630. package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js.map +0 -1
  631. package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.d.ts +0 -11
  632. package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js.map +0 -1
  633. package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.d.ts +0 -31
  634. package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.js.map +0 -1
  635. package/node_modules/@opentelemetry/api/build/src/metrics-api.d.ts +0 -4
  636. package/node_modules/@opentelemetry/api/build/src/metrics-api.js.map +0 -1
  637. package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.d.ts +0 -10
  638. package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.js.map +0 -1
  639. package/node_modules/@opentelemetry/api/build/src/platform/browser/index.d.ts +0 -2
  640. package/node_modules/@opentelemetry/api/build/src/platform/browser/index.js.map +0 -1
  641. package/node_modules/@opentelemetry/api/build/src/platform/index.d.ts +0 -2
  642. package/node_modules/@opentelemetry/api/build/src/platform/index.js.map +0 -1
  643. package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.d.ts +0 -3
  644. package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js.map +0 -1
  645. package/node_modules/@opentelemetry/api/build/src/platform/node/index.d.ts +0 -2
  646. package/node_modules/@opentelemetry/api/build/src/platform/node/index.js.map +0 -1
  647. package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.d.ts +0 -13
  648. package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js.map +0 -1
  649. package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.d.ts +0 -84
  650. package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js.map +0 -1
  651. package/node_modules/@opentelemetry/api/build/src/propagation-api.d.ts +0 -4
  652. package/node_modules/@opentelemetry/api/build/src/propagation-api.js.map +0 -1
  653. package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.d.ts +0 -28
  654. package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js.map +0 -1
  655. package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.d.ts +0 -14
  656. package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js.map +0 -1
  657. package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.d.ts +0 -13
  658. package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js.map +0 -1
  659. package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.d.ts +0 -27
  660. package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js.map +0 -1
  661. package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.d.ts +0 -25
  662. package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js.map +0 -1
  663. package/node_modules/@opentelemetry/api/build/src/trace/Sampler.d.ts +0 -31
  664. package/node_modules/@opentelemetry/api/build/src/trace/Sampler.js.map +0 -1
  665. package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.d.ts +0 -49
  666. package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js.map +0 -1
  667. package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.d.ts +0 -23
  668. package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.js.map +0 -1
  669. package/node_modules/@opentelemetry/api/build/src/trace/attributes.d.ts +0 -10
  670. package/node_modules/@opentelemetry/api/build/src/trace/attributes.js.map +0 -1
  671. package/node_modules/@opentelemetry/api/build/src/trace/context-utils.d.ts +0 -41
  672. package/node_modules/@opentelemetry/api/build/src/trace/context-utils.js.map +0 -1
  673. package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.d.ts +0 -22
  674. package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js.map +0 -1
  675. package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.d.ts +0 -15
  676. package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js.map +0 -1
  677. package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.d.ts +0 -3
  678. package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.js.map +0 -1
  679. package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.d.ts +0 -5
  680. package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js.map +0 -1
  681. package/node_modules/@opentelemetry/api/build/src/trace/link.d.ts +0 -26
  682. package/node_modules/@opentelemetry/api/build/src/trace/link.js.map +0 -1
  683. package/node_modules/@opentelemetry/api/build/src/trace/span.d.ts +0 -120
  684. package/node_modules/@opentelemetry/api/build/src/trace/span.js.map +0 -1
  685. package/node_modules/@opentelemetry/api/build/src/trace/span_context.d.ts +0 -53
  686. package/node_modules/@opentelemetry/api/build/src/trace/span_context.js.map +0 -1
  687. package/node_modules/@opentelemetry/api/build/src/trace/span_kind.d.ts +0 -27
  688. package/node_modules/@opentelemetry/api/build/src/trace/span_kind.js.map +0 -1
  689. package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.d.ts +0 -17
  690. package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js.map +0 -1
  691. package/node_modules/@opentelemetry/api/build/src/trace/status.d.ts +0 -25
  692. package/node_modules/@opentelemetry/api/build/src/trace/status.js.map +0 -1
  693. package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.d.ts +0 -7
  694. package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.js.map +0 -1
  695. package/node_modules/@opentelemetry/api/build/src/trace/trace_state.d.ts +0 -38
  696. package/node_modules/@opentelemetry/api/build/src/trace/trace_state.js.map +0 -1
  697. package/node_modules/@opentelemetry/api/build/src/trace/tracer.d.ts +0 -71
  698. package/node_modules/@opentelemetry/api/build/src/trace/tracer.js.map +0 -1
  699. package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.d.ts +0 -10
  700. package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.js.map +0 -1
  701. package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.d.ts +0 -21
  702. package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.js.map +0 -1
  703. package/node_modules/@opentelemetry/api/build/src/trace-api.d.ts +0 -4
  704. package/node_modules/@opentelemetry/api/build/src/trace-api.js.map +0 -1
  705. package/node_modules/@opentelemetry/api/build/src/version.d.ts +0 -2
  706. package/node_modules/@opentelemetry/api/build/src/version.js.map +0 -1
  707. package/node_modules/@pinojs/redact/LICENSE +0 -21
  708. package/node_modules/@pinojs/redact/README.md +0 -350
  709. package/node_modules/@pinojs/redact/benchmarks/basic.js +0 -184
  710. package/node_modules/@pinojs/redact/index.d.ts +0 -52
  711. package/node_modules/@pinojs/redact/test/actual-redact-comparison.test.js +0 -211
  712. package/node_modules/@pinojs/redact/test/index.test.js +0 -824
  713. package/node_modules/@pinojs/redact/test/integration.test.js +0 -390
  714. package/node_modules/@pinojs/redact/test/multiple-wildcards.test.js +0 -227
  715. package/node_modules/@pinojs/redact/test/prototype-pollution.test.js +0 -223
  716. package/node_modules/@pinojs/redact/test/selective-clone.test.js +0 -115
  717. package/node_modules/@stablelib/base64/LICENSE +0 -21
  718. package/node_modules/@stablelib/base64/lib/base64.bench.d.ts +0 -1
  719. package/node_modules/@stablelib/base64/lib/base64.bench.js.map +0 -1
  720. package/node_modules/@stablelib/base64/lib/base64.d.ts +0 -34
  721. package/node_modules/@stablelib/base64/lib/base64.js.map +0 -1
  722. package/node_modules/@stablelib/base64/lib/base64.test.d.ts +0 -1
  723. package/node_modules/@stablelib/base64/lib/base64.test.js.map +0 -1
  724. package/node_modules/@standard-schema/spec/LICENSE +0 -21
  725. package/node_modules/@standard-schema/spec/README.md +0 -198
  726. package/node_modules/@stricli/core/README.md +0 -9
  727. package/node_modules/@tanstack/query-core/LICENSE +0 -21
  728. package/node_modules/@tanstack/query-core/build/legacy/chunk-PXG64RU4.js.map +0 -1
  729. package/node_modules/@tanstack/query-core/build/legacy/focusManager.cjs.map +0 -1
  730. package/node_modules/@tanstack/query-core/build/legacy/focusManager.d.cts +0 -17
  731. package/node_modules/@tanstack/query-core/build/legacy/focusManager.d.ts +0 -17
  732. package/node_modules/@tanstack/query-core/build/legacy/focusManager.js.map +0 -1
  733. package/node_modules/@tanstack/query-core/build/legacy/hydration-BD1pRmcy.d.cts +0 -1384
  734. package/node_modules/@tanstack/query-core/build/legacy/hydration-C-jfQLut.d.ts +0 -1384
  735. package/node_modules/@tanstack/query-core/build/legacy/hydration.cjs.map +0 -1
  736. package/node_modules/@tanstack/query-core/build/legacy/hydration.d.cts +0 -3
  737. package/node_modules/@tanstack/query-core/build/legacy/hydration.d.ts +0 -3
  738. package/node_modules/@tanstack/query-core/build/legacy/hydration.js.map +0 -1
  739. package/node_modules/@tanstack/query-core/build/legacy/index.cjs.map +0 -1
  740. package/node_modules/@tanstack/query-core/build/legacy/index.d.cts +0 -10
  741. package/node_modules/@tanstack/query-core/build/legacy/index.d.ts +0 -10
  742. package/node_modules/@tanstack/query-core/build/legacy/index.js.map +0 -1
  743. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.cjs.map +0 -1
  744. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.d.cts +0 -15
  745. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.d.ts +0 -15
  746. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.js.map +0 -1
  747. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.cjs.map +0 -1
  748. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.d.cts +0 -20
  749. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.d.ts +0 -20
  750. package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.js.map +0 -1
  751. package/node_modules/@tanstack/query-core/build/legacy/mutation.cjs.map +0 -1
  752. package/node_modules/@tanstack/query-core/build/legacy/mutation.d.cts +0 -3
  753. package/node_modules/@tanstack/query-core/build/legacy/mutation.d.ts +0 -3
  754. package/node_modules/@tanstack/query-core/build/legacy/mutation.js.map +0 -1
  755. package/node_modules/@tanstack/query-core/build/legacy/mutationCache.cjs.map +0 -1
  756. package/node_modules/@tanstack/query-core/build/legacy/mutationCache.d.cts +0 -3
  757. package/node_modules/@tanstack/query-core/build/legacy/mutationCache.d.ts +0 -3
  758. package/node_modules/@tanstack/query-core/build/legacy/mutationCache.js.map +0 -1
  759. package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.cjs.map +0 -1
  760. package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.d.cts +0 -3
  761. package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.d.ts +0 -3
  762. package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.js.map +0 -1
  763. package/node_modules/@tanstack/query-core/build/legacy/notifyManager.cjs.map +0 -1
  764. package/node_modules/@tanstack/query-core/build/legacy/notifyManager.d.cts +0 -46
  765. package/node_modules/@tanstack/query-core/build/legacy/notifyManager.d.ts +0 -46
  766. package/node_modules/@tanstack/query-core/build/legacy/notifyManager.js.map +0 -1
  767. package/node_modules/@tanstack/query-core/build/legacy/onlineManager.cjs.map +0 -1
  768. package/node_modules/@tanstack/query-core/build/legacy/onlineManager.d.cts +0 -16
  769. package/node_modules/@tanstack/query-core/build/legacy/onlineManager.d.ts +0 -16
  770. package/node_modules/@tanstack/query-core/build/legacy/onlineManager.js.map +0 -1
  771. package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.cjs.map +0 -1
  772. package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.d.cts +0 -27
  773. package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.d.ts +0 -27
  774. package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.js.map +0 -1
  775. package/node_modules/@tanstack/query-core/build/legacy/query.cjs.map +0 -1
  776. package/node_modules/@tanstack/query-core/build/legacy/query.d.cts +0 -3
  777. package/node_modules/@tanstack/query-core/build/legacy/query.d.ts +0 -3
  778. package/node_modules/@tanstack/query-core/build/legacy/query.js.map +0 -1
  779. package/node_modules/@tanstack/query-core/build/legacy/queryCache.cjs.map +0 -1
  780. package/node_modules/@tanstack/query-core/build/legacy/queryCache.d.cts +0 -3
  781. package/node_modules/@tanstack/query-core/build/legacy/queryCache.d.ts +0 -3
  782. package/node_modules/@tanstack/query-core/build/legacy/queryCache.js.map +0 -1
  783. package/node_modules/@tanstack/query-core/build/legacy/queryClient.cjs.map +0 -1
  784. package/node_modules/@tanstack/query-core/build/legacy/queryClient.d.cts +0 -3
  785. package/node_modules/@tanstack/query-core/build/legacy/queryClient.d.ts +0 -3
  786. package/node_modules/@tanstack/query-core/build/legacy/queryClient.js.map +0 -1
  787. package/node_modules/@tanstack/query-core/build/legacy/queryObserver.cjs.map +0 -1
  788. package/node_modules/@tanstack/query-core/build/legacy/queryObserver.d.cts +0 -3
  789. package/node_modules/@tanstack/query-core/build/legacy/queryObserver.d.ts +0 -3
  790. package/node_modules/@tanstack/query-core/build/legacy/queryObserver.js.map +0 -1
  791. package/node_modules/@tanstack/query-core/build/legacy/removable.cjs.map +0 -1
  792. package/node_modules/@tanstack/query-core/build/legacy/removable.d.cts +0 -11
  793. package/node_modules/@tanstack/query-core/build/legacy/removable.d.ts +0 -11
  794. package/node_modules/@tanstack/query-core/build/legacy/removable.js.map +0 -1
  795. package/node_modules/@tanstack/query-core/build/legacy/retryer.cjs.map +0 -1
  796. package/node_modules/@tanstack/query-core/build/legacy/retryer.d.cts +0 -3
  797. package/node_modules/@tanstack/query-core/build/legacy/retryer.d.ts +0 -3
  798. package/node_modules/@tanstack/query-core/build/legacy/retryer.js.map +0 -1
  799. package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.cjs.map +0 -1
  800. package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.d.cts +0 -34
  801. package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.d.ts +0 -34
  802. package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.js.map +0 -1
  803. package/node_modules/@tanstack/query-core/build/legacy/subscribable.cjs.map +0 -1
  804. package/node_modules/@tanstack/query-core/build/legacy/subscribable.d.cts +0 -10
  805. package/node_modules/@tanstack/query-core/build/legacy/subscribable.d.ts +0 -10
  806. package/node_modules/@tanstack/query-core/build/legacy/subscribable.js.map +0 -1
  807. package/node_modules/@tanstack/query-core/build/legacy/thenable.cjs.map +0 -1
  808. package/node_modules/@tanstack/query-core/build/legacy/thenable.d.cts +0 -47
  809. package/node_modules/@tanstack/query-core/build/legacy/thenable.d.ts +0 -47
  810. package/node_modules/@tanstack/query-core/build/legacy/thenable.js.map +0 -1
  811. package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.cjs.map +0 -1
  812. package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.d.cts +0 -58
  813. package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.d.ts +0 -58
  814. package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.js.map +0 -1
  815. package/node_modules/@tanstack/query-core/build/legacy/types.cjs.map +0 -1
  816. package/node_modules/@tanstack/query-core/build/legacy/types.d.cts +0 -3
  817. package/node_modules/@tanstack/query-core/build/legacy/types.d.ts +0 -3
  818. package/node_modules/@tanstack/query-core/build/legacy/types.js.map +0 -1
  819. package/node_modules/@tanstack/query-core/build/legacy/utils.cjs.map +0 -1
  820. package/node_modules/@tanstack/query-core/build/legacy/utils.d.cts +0 -3
  821. package/node_modules/@tanstack/query-core/build/legacy/utils.d.ts +0 -3
  822. package/node_modules/@tanstack/query-core/build/legacy/utils.js.map +0 -1
  823. package/node_modules/@tanstack/query-core/build/modern/focusManager.cjs.map +0 -1
  824. package/node_modules/@tanstack/query-core/build/modern/focusManager.d.cts +0 -17
  825. package/node_modules/@tanstack/query-core/build/modern/focusManager.d.ts +0 -17
  826. package/node_modules/@tanstack/query-core/build/modern/focusManager.js.map +0 -1
  827. package/node_modules/@tanstack/query-core/build/modern/hydration-BD1pRmcy.d.cts +0 -1384
  828. package/node_modules/@tanstack/query-core/build/modern/hydration-C-jfQLut.d.ts +0 -1384
  829. package/node_modules/@tanstack/query-core/build/modern/hydration.cjs.map +0 -1
  830. package/node_modules/@tanstack/query-core/build/modern/hydration.d.cts +0 -3
  831. package/node_modules/@tanstack/query-core/build/modern/hydration.d.ts +0 -3
  832. package/node_modules/@tanstack/query-core/build/modern/hydration.js.map +0 -1
  833. package/node_modules/@tanstack/query-core/build/modern/index.cjs.map +0 -1
  834. package/node_modules/@tanstack/query-core/build/modern/index.d.cts +0 -10
  835. package/node_modules/@tanstack/query-core/build/modern/index.d.ts +0 -10
  836. package/node_modules/@tanstack/query-core/build/modern/index.js.map +0 -1
  837. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs.map +0 -1
  838. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.d.cts +0 -15
  839. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.d.ts +0 -15
  840. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js.map +0 -1
  841. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs.map +0 -1
  842. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.d.cts +0 -20
  843. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.d.ts +0 -20
  844. package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js.map +0 -1
  845. package/node_modules/@tanstack/query-core/build/modern/mutation.cjs.map +0 -1
  846. package/node_modules/@tanstack/query-core/build/modern/mutation.d.cts +0 -3
  847. package/node_modules/@tanstack/query-core/build/modern/mutation.d.ts +0 -3
  848. package/node_modules/@tanstack/query-core/build/modern/mutation.js.map +0 -1
  849. package/node_modules/@tanstack/query-core/build/modern/mutationCache.cjs.map +0 -1
  850. package/node_modules/@tanstack/query-core/build/modern/mutationCache.d.cts +0 -3
  851. package/node_modules/@tanstack/query-core/build/modern/mutationCache.d.ts +0 -3
  852. package/node_modules/@tanstack/query-core/build/modern/mutationCache.js.map +0 -1
  853. package/node_modules/@tanstack/query-core/build/modern/mutationObserver.cjs.map +0 -1
  854. package/node_modules/@tanstack/query-core/build/modern/mutationObserver.d.cts +0 -3
  855. package/node_modules/@tanstack/query-core/build/modern/mutationObserver.d.ts +0 -3
  856. package/node_modules/@tanstack/query-core/build/modern/mutationObserver.js.map +0 -1
  857. package/node_modules/@tanstack/query-core/build/modern/notifyManager.cjs.map +0 -1
  858. package/node_modules/@tanstack/query-core/build/modern/notifyManager.d.cts +0 -46
  859. package/node_modules/@tanstack/query-core/build/modern/notifyManager.d.ts +0 -46
  860. package/node_modules/@tanstack/query-core/build/modern/notifyManager.js.map +0 -1
  861. package/node_modules/@tanstack/query-core/build/modern/onlineManager.cjs.map +0 -1
  862. package/node_modules/@tanstack/query-core/build/modern/onlineManager.d.cts +0 -16
  863. package/node_modules/@tanstack/query-core/build/modern/onlineManager.d.ts +0 -16
  864. package/node_modules/@tanstack/query-core/build/modern/onlineManager.js.map +0 -1
  865. package/node_modules/@tanstack/query-core/build/modern/queriesObserver.cjs.map +0 -1
  866. package/node_modules/@tanstack/query-core/build/modern/queriesObserver.d.cts +0 -27
  867. package/node_modules/@tanstack/query-core/build/modern/queriesObserver.d.ts +0 -27
  868. package/node_modules/@tanstack/query-core/build/modern/queriesObserver.js.map +0 -1
  869. package/node_modules/@tanstack/query-core/build/modern/query.cjs.map +0 -1
  870. package/node_modules/@tanstack/query-core/build/modern/query.d.cts +0 -3
  871. package/node_modules/@tanstack/query-core/build/modern/query.d.ts +0 -3
  872. package/node_modules/@tanstack/query-core/build/modern/query.js.map +0 -1
  873. package/node_modules/@tanstack/query-core/build/modern/queryCache.cjs.map +0 -1
  874. package/node_modules/@tanstack/query-core/build/modern/queryCache.d.cts +0 -3
  875. package/node_modules/@tanstack/query-core/build/modern/queryCache.d.ts +0 -3
  876. package/node_modules/@tanstack/query-core/build/modern/queryCache.js.map +0 -1
  877. package/node_modules/@tanstack/query-core/build/modern/queryClient.cjs.map +0 -1
  878. package/node_modules/@tanstack/query-core/build/modern/queryClient.d.cts +0 -3
  879. package/node_modules/@tanstack/query-core/build/modern/queryClient.d.ts +0 -3
  880. package/node_modules/@tanstack/query-core/build/modern/queryClient.js.map +0 -1
  881. package/node_modules/@tanstack/query-core/build/modern/queryObserver.cjs.map +0 -1
  882. package/node_modules/@tanstack/query-core/build/modern/queryObserver.d.cts +0 -3
  883. package/node_modules/@tanstack/query-core/build/modern/queryObserver.d.ts +0 -3
  884. package/node_modules/@tanstack/query-core/build/modern/queryObserver.js.map +0 -1
  885. package/node_modules/@tanstack/query-core/build/modern/removable.cjs.map +0 -1
  886. package/node_modules/@tanstack/query-core/build/modern/removable.d.cts +0 -11
  887. package/node_modules/@tanstack/query-core/build/modern/removable.d.ts +0 -11
  888. package/node_modules/@tanstack/query-core/build/modern/removable.js.map +0 -1
  889. package/node_modules/@tanstack/query-core/build/modern/retryer.cjs.map +0 -1
  890. package/node_modules/@tanstack/query-core/build/modern/retryer.d.cts +0 -3
  891. package/node_modules/@tanstack/query-core/build/modern/retryer.d.ts +0 -3
  892. package/node_modules/@tanstack/query-core/build/modern/retryer.js.map +0 -1
  893. package/node_modules/@tanstack/query-core/build/modern/streamedQuery.cjs.map +0 -1
  894. package/node_modules/@tanstack/query-core/build/modern/streamedQuery.d.cts +0 -34
  895. package/node_modules/@tanstack/query-core/build/modern/streamedQuery.d.ts +0 -34
  896. package/node_modules/@tanstack/query-core/build/modern/streamedQuery.js.map +0 -1
  897. package/node_modules/@tanstack/query-core/build/modern/subscribable.cjs.map +0 -1
  898. package/node_modules/@tanstack/query-core/build/modern/subscribable.d.cts +0 -10
  899. package/node_modules/@tanstack/query-core/build/modern/subscribable.d.ts +0 -10
  900. package/node_modules/@tanstack/query-core/build/modern/subscribable.js.map +0 -1
  901. package/node_modules/@tanstack/query-core/build/modern/thenable.cjs.map +0 -1
  902. package/node_modules/@tanstack/query-core/build/modern/thenable.d.cts +0 -47
  903. package/node_modules/@tanstack/query-core/build/modern/thenable.d.ts +0 -47
  904. package/node_modules/@tanstack/query-core/build/modern/thenable.js.map +0 -1
  905. package/node_modules/@tanstack/query-core/build/modern/timeoutManager.cjs.map +0 -1
  906. package/node_modules/@tanstack/query-core/build/modern/timeoutManager.d.cts +0 -58
  907. package/node_modules/@tanstack/query-core/build/modern/timeoutManager.d.ts +0 -58
  908. package/node_modules/@tanstack/query-core/build/modern/timeoutManager.js.map +0 -1
  909. package/node_modules/@tanstack/query-core/build/modern/types.cjs.map +0 -1
  910. package/node_modules/@tanstack/query-core/build/modern/types.d.cts +0 -3
  911. package/node_modules/@tanstack/query-core/build/modern/types.d.ts +0 -3
  912. package/node_modules/@tanstack/query-core/build/modern/types.js.map +0 -1
  913. package/node_modules/@tanstack/query-core/build/modern/utils.cjs.map +0 -1
  914. package/node_modules/@tanstack/query-core/build/modern/utils.d.cts +0 -3
  915. package/node_modules/@tanstack/query-core/build/modern/utils.d.ts +0 -3
  916. package/node_modules/@tanstack/query-core/build/modern/utils.js.map +0 -1
  917. package/node_modules/@vercel/oidc/CHANGELOG.md +0 -83
  918. package/node_modules/@vercel/oidc/LICENSE +0 -202
  919. package/node_modules/@vercel/oidc/README.md +0 -3
  920. package/node_modules/@vercel/oidc/docs/README.md +0 -104
  921. package/node_modules/abstract-logging/Readme.md +0 -47
  922. package/node_modules/agent-base/LICENSE +0 -22
  923. package/node_modules/agent-base/README.md +0 -69
  924. package/node_modules/ai/CHANGELOG.md +0 -7568
  925. package/node_modules/ai/LICENSE +0 -13
  926. package/node_modules/ai/README.md +0 -238
  927. package/node_modules/ai/dist/test/index.d.mts +0 -133
  928. package/node_modules/ai/dist/test/index.d.ts +0 -133
  929. package/node_modules/ai/dist/test/index.js +0 -275
  930. package/node_modules/ai/dist/test/index.js.map +0 -1
  931. package/node_modules/ai/dist/test/index.mjs +0 -245
  932. package/node_modules/ai/dist/test/index.mjs.map +0 -1
  933. package/node_modules/ai/docs/00-introduction/index.mdx +0 -76
  934. package/node_modules/ai/docs/02-foundations/01-overview.mdx +0 -43
  935. package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +0 -160
  936. package/node_modules/ai/docs/02-foundations/03-prompts.mdx +0 -616
  937. package/node_modules/ai/docs/02-foundations/04-tools.mdx +0 -251
  938. package/node_modules/ai/docs/02-foundations/05-streaming.mdx +0 -62
  939. package/node_modules/ai/docs/02-foundations/06-provider-options.mdx +0 -337
  940. package/node_modules/ai/docs/02-foundations/index.mdx +0 -49
  941. package/node_modules/ai/docs/02-getting-started/00-choosing-a-provider.mdx +0 -110
  942. package/node_modules/ai/docs/02-getting-started/01-navigating-the-library.mdx +0 -85
  943. package/node_modules/ai/docs/02-getting-started/02-nextjs-app-router.mdx +0 -559
  944. package/node_modules/ai/docs/02-getting-started/03-nextjs-pages-router.mdx +0 -542
  945. package/node_modules/ai/docs/02-getting-started/04-svelte.mdx +0 -627
  946. package/node_modules/ai/docs/02-getting-started/05-nuxt.mdx +0 -566
  947. package/node_modules/ai/docs/02-getting-started/06-nodejs.mdx +0 -512
  948. package/node_modules/ai/docs/02-getting-started/07-expo.mdx +0 -766
  949. package/node_modules/ai/docs/02-getting-started/08-tanstack-start.mdx +0 -583
  950. package/node_modules/ai/docs/02-getting-started/09-coding-agents.mdx +0 -179
  951. package/node_modules/ai/docs/02-getting-started/index.mdx +0 -44
  952. package/node_modules/ai/docs/03-agents/01-overview.mdx +0 -94
  953. package/node_modules/ai/docs/03-agents/02-building-agents.mdx +0 -406
  954. package/node_modules/ai/docs/03-agents/03-workflows.mdx +0 -386
  955. package/node_modules/ai/docs/03-agents/04-loop-control.mdx +0 -427
  956. package/node_modules/ai/docs/03-agents/05-configuring-call-options.mdx +0 -286
  957. package/node_modules/ai/docs/03-agents/06-memory.mdx +0 -221
  958. package/node_modules/ai/docs/03-agents/06-subagents.mdx +0 -362
  959. package/node_modules/ai/docs/03-agents/index.mdx +0 -46
  960. package/node_modules/ai/docs/03-ai-sdk-core/01-overview.mdx +0 -31
  961. package/node_modules/ai/docs/03-ai-sdk-core/05-generating-text.mdx +0 -707
  962. package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -498
  963. package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +0 -1156
  964. package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +0 -383
  965. package/node_modules/ai/docs/03-ai-sdk-core/20-prompt-engineering.mdx +0 -146
  966. package/node_modules/ai/docs/03-ai-sdk-core/25-settings.mdx +0 -198
  967. package/node_modules/ai/docs/03-ai-sdk-core/30-embeddings.mdx +0 -246
  968. package/node_modules/ai/docs/03-ai-sdk-core/31-reranking.mdx +0 -218
  969. package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +0 -341
  970. package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +0 -227
  971. package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +0 -169
  972. package/node_modules/ai/docs/03-ai-sdk-core/38-video-generation.mdx +0 -366
  973. package/node_modules/ai/docs/03-ai-sdk-core/40-middleware.mdx +0 -485
  974. package/node_modules/ai/docs/03-ai-sdk-core/45-provider-management.mdx +0 -349
  975. package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +0 -149
  976. package/node_modules/ai/docs/03-ai-sdk-core/55-testing.mdx +0 -219
  977. package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +0 -391
  978. package/node_modules/ai/docs/03-ai-sdk-core/65-devtools.mdx +0 -107
  979. package/node_modules/ai/docs/03-ai-sdk-core/65-event-listeners.mdx +0 -915
  980. package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +0 -93
  981. package/node_modules/ai/docs/04-ai-sdk-ui/01-overview.mdx +0 -44
  982. package/node_modules/ai/docs/04-ai-sdk-ui/02-chatbot.mdx +0 -1313
  983. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +0 -535
  984. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +0 -263
  985. package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +0 -682
  986. package/node_modules/ai/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -389
  987. package/node_modules/ai/docs/04-ai-sdk-ui/05-completion.mdx +0 -181
  988. package/node_modules/ai/docs/04-ai-sdk-ui/08-object-generation.mdx +0 -344
  989. package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -397
  990. package/node_modules/ai/docs/04-ai-sdk-ui/21-error-handling.mdx +0 -190
  991. package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +0 -174
  992. package/node_modules/ai/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -104
  993. package/node_modules/ai/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -152
  994. package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -477
  995. package/node_modules/ai/docs/04-ai-sdk-ui/index.mdx +0 -64
  996. package/node_modules/ai/docs/05-ai-sdk-rsc/01-overview.mdx +0 -45
  997. package/node_modules/ai/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +0 -209
  998. package/node_modules/ai/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -279
  999. package/node_modules/ai/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -105
  1000. package/node_modules/ai/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +0 -282
  1001. package/node_modules/ai/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -157
  1002. package/node_modules/ai/docs/05-ai-sdk-rsc/06-loading-state.mdx +0 -273
  1003. package/node_modules/ai/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -94
  1004. package/node_modules/ai/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -42
  1005. package/node_modules/ai/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +0 -722
  1006. package/node_modules/ai/docs/05-ai-sdk-rsc/index.mdx +0 -63
  1007. package/node_modules/ai/docs/06-advanced/01-prompt-engineering.mdx +0 -96
  1008. package/node_modules/ai/docs/06-advanced/02-stopping-streams.mdx +0 -184
  1009. package/node_modules/ai/docs/06-advanced/03-backpressure.mdx +0 -173
  1010. package/node_modules/ai/docs/06-advanced/04-caching.mdx +0 -169
  1011. package/node_modules/ai/docs/06-advanced/05-multiple-streamables.mdx +0 -68
  1012. package/node_modules/ai/docs/06-advanced/06-rate-limiting.mdx +0 -60
  1013. package/node_modules/ai/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -225
  1014. package/node_modules/ai/docs/06-advanced/08-model-as-router.mdx +0 -120
  1015. package/node_modules/ai/docs/06-advanced/09-multistep-interfaces.mdx +0 -115
  1016. package/node_modules/ai/docs/06-advanced/09-sequential-generations.mdx +0 -55
  1017. package/node_modules/ai/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -117
  1018. package/node_modules/ai/docs/06-advanced/index.mdx +0 -11
  1019. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +0 -2715
  1020. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +0 -3656
  1021. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -197
  1022. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -191
  1023. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +0 -309
  1024. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -252
  1025. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +0 -152
  1026. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +0 -221
  1027. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -265
  1028. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -210
  1029. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +0 -498
  1030. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -154
  1031. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/18-create-agent-ui-stream-response.mdx +0 -173
  1032. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/18-pipe-agent-ui-stream-to-response.mdx +0 -150
  1033. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-tool.mdx +0 -209
  1034. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +0 -223
  1035. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -423
  1036. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -68
  1037. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -94
  1038. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -109
  1039. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -58
  1040. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -342
  1041. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -415
  1042. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -246
  1043. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +0 -101
  1044. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +0 -113
  1045. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +0 -198
  1046. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +0 -157
  1047. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -52
  1048. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +0 -59
  1049. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +0 -64
  1050. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -74
  1051. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -68
  1052. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -71
  1053. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -80
  1054. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/69-add-tool-input-examples-middleware.mdx +0 -155
  1055. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -147
  1056. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/70-step-count-is.mdx +0 -84
  1057. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -120
  1058. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -83
  1059. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -94
  1060. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -145
  1061. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -30
  1062. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -89
  1063. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -68
  1064. package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +0 -178
  1065. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +0 -493
  1066. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -185
  1067. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +0 -196
  1068. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +0 -231
  1069. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -108
  1070. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +0 -162
  1071. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +0 -119
  1072. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/42-pipe-ui-message-stream-to-response.mdx +0 -77
  1073. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -57
  1074. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -99
  1075. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -75
  1076. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +0 -333
  1077. package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -89
  1078. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +0 -767
  1079. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +0 -90
  1080. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +0 -91
  1081. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -78
  1082. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -79
  1083. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -50
  1084. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -70
  1085. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -26
  1086. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -42
  1087. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -35
  1088. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -46
  1089. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -266
  1090. package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -67
  1091. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +0 -31
  1092. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -28
  1093. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -24
  1094. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -26
  1095. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -26
  1096. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -25
  1097. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -47
  1098. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -25
  1099. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -24
  1100. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -27
  1101. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -25
  1102. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -24
  1103. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -24
  1104. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -25
  1105. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -24
  1106. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -36
  1107. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -43
  1108. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -25
  1109. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -24
  1110. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +0 -26
  1111. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +0 -28
  1112. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -26
  1113. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -24
  1114. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -39
  1115. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -27
  1116. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-too-many-embedding-values-for-call-error.mdx +0 -27
  1117. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-call-not-found-for-approval-error.mdx +0 -25
  1118. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -28
  1119. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -25
  1120. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +0 -67
  1121. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -25
  1122. package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -39
  1123. package/node_modules/ai/docs/07-reference/index.mdx +0 -28
  1124. package/node_modules/ai/docs/08-migration-guides/00-versioning.mdx +0 -46
  1125. package/node_modules/ai/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -823
  1126. package/node_modules/ai/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -882
  1127. package/node_modules/ai/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -3427
  1128. package/node_modules/ai/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -99
  1129. package/node_modules/ai/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -14
  1130. package/node_modules/ai/docs/08-migration-guides/29-migration-guide-4-0.mdx +0 -1157
  1131. package/node_modules/ai/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -14
  1132. package/node_modules/ai/docs/08-migration-guides/37-migration-guide-3-3.mdx +0 -64
  1133. package/node_modules/ai/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -46
  1134. package/node_modules/ai/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -168
  1135. package/node_modules/ai/docs/08-migration-guides/index.mdx +0 -22
  1136. package/node_modules/ai/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -33
  1137. package/node_modules/ai/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -40
  1138. package/node_modules/ai/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -36
  1139. package/node_modules/ai/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -16
  1140. package/node_modules/ai/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -106
  1141. package/node_modules/ai/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -31
  1142. package/node_modules/ai/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -31
  1143. package/node_modules/ai/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -60
  1144. package/node_modules/ai/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -34
  1145. package/node_modules/ai/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -26
  1146. package/node_modules/ai/docs/09-troubleshooting/09-client-stream-error.mdx +0 -25
  1147. package/node_modules/ai/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -32
  1148. package/node_modules/ai/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +0 -149
  1149. package/node_modules/ai/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -46
  1150. package/node_modules/ai/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -59
  1151. package/node_modules/ai/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +0 -73
  1152. package/node_modules/ai/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -73
  1153. package/node_modules/ai/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -48
  1154. package/node_modules/ai/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -55
  1155. package/node_modules/ai/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -33
  1156. package/node_modules/ai/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -63
  1157. package/node_modules/ai/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +0 -141
  1158. package/node_modules/ai/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -66
  1159. package/node_modules/ai/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -50
  1160. package/node_modules/ai/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -76
  1161. package/node_modules/ai/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -82
  1162. package/node_modules/ai/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -21
  1163. package/node_modules/ai/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -24
  1164. package/node_modules/ai/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -39
  1165. package/node_modules/ai/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -22
  1166. package/node_modules/ai/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +0 -108
  1167. package/node_modules/ai/docs/09-troubleshooting/index.mdx +0 -11
  1168. package/node_modules/ai/internal.d.ts +0 -1
  1169. package/node_modules/ai/src/test/mock-embedding-model-v2.ts +0 -35
  1170. package/node_modules/ai/src/test/mock-embedding-model-v3.ts +0 -48
  1171. package/node_modules/ai/src/test/mock-image-model-v2.ts +0 -28
  1172. package/node_modules/ai/src/test/mock-image-model-v3.ts +0 -28
  1173. package/node_modules/ai/src/test/mock-language-model-v2.ts +0 -72
  1174. package/node_modules/ai/src/test/mock-language-model-v3.ts +0 -77
  1175. package/node_modules/ai/src/test/mock-provider-v2.ts +0 -68
  1176. package/node_modules/ai/src/test/mock-provider-v3.ts +0 -80
  1177. package/node_modules/ai/src/test/mock-reranking-model-v3.ts +0 -25
  1178. package/node_modules/ai/src/test/mock-server-response.ts +0 -69
  1179. package/node_modules/ai/src/test/mock-speech-model-v2.ts +0 -24
  1180. package/node_modules/ai/src/test/mock-speech-model-v3.ts +0 -24
  1181. package/node_modules/ai/src/test/mock-tracer.ts +0 -156
  1182. package/node_modules/ai/src/test/mock-transcription-model-v2.ts +0 -24
  1183. package/node_modules/ai/src/test/mock-transcription-model-v3.ts +0 -24
  1184. package/node_modules/ai/src/test/mock-values.ts +0 -4
  1185. package/node_modules/ai/src/test/mock-video-model-v3.ts +0 -28
  1186. package/node_modules/ai/src/test/not-implemented.ts +0 -3
  1187. package/node_modules/ai/test.d.ts +0 -1
  1188. package/node_modules/ajv/LICENSE +0 -22
  1189. package/node_modules/ajv/README.md +0 -207
  1190. package/node_modules/ajv-formats/LICENSE +0 -21
  1191. package/node_modules/ajv-formats/README.md +0 -125
  1192. package/node_modules/atomic-sleep/LICENSE +0 -22
  1193. package/node_modules/atomic-sleep/readme.md +0 -58
  1194. package/node_modules/avvio/LICENSE +0 -24
  1195. package/node_modules/avvio/README.md +0 -700
  1196. package/node_modules/avvio/examples/example.js +0 -72
  1197. package/node_modules/avvio/index.d.ts +0 -95
  1198. package/node_modules/avvio/test/after-and-ready.test.js +0 -903
  1199. package/node_modules/avvio/test/after-pass-through.test.js +0 -33
  1200. package/node_modules/avvio/test/after-self-promise.test.js +0 -20
  1201. package/node_modules/avvio/test/after-throw.test.js +0 -26
  1202. package/node_modules/avvio/test/after-use-after.test.js +0 -87
  1203. package/node_modules/avvio/test/async-await.test.js +0 -323
  1204. package/node_modules/avvio/test/await-after.test.js +0 -448
  1205. package/node_modules/avvio/test/await-self.test.js +0 -31
  1206. package/node_modules/avvio/test/await-use.test.js +0 -295
  1207. package/node_modules/avvio/test/basic.test.js +0 -459
  1208. package/node_modules/avvio/test/callbacks.test.js +0 -116
  1209. package/node_modules/avvio/test/catch-override-exception.test.js +0 -27
  1210. package/node_modules/avvio/test/chainable.test.js +0 -70
  1211. package/node_modules/avvio/test/close.test.js +0 -562
  1212. package/node_modules/avvio/test/errors.test.js +0 -26
  1213. package/node_modules/avvio/test/esm.mjs +0 -12
  1214. package/node_modules/avvio/test/esm.test.js +0 -8
  1215. package/node_modules/avvio/test/events-listeners.test.js +0 -23
  1216. package/node_modules/avvio/test/expose.test.js +0 -76
  1217. package/node_modules/avvio/test/fixtures/dummy.txt +0 -1
  1218. package/node_modules/avvio/test/fixtures/esm.mjs +0 -3
  1219. package/node_modules/avvio/test/fixtures/plugin-no-next.js +0 -5
  1220. package/node_modules/avvio/test/gh-issues/bug-205.test.js +0 -17
  1221. package/node_modules/avvio/test/lib/create-promise.test.js +0 -56
  1222. package/node_modules/avvio/test/lib/execute-with-thenable.test.js +0 -86
  1223. package/node_modules/avvio/test/lib/get-plugin-name.test.js +0 -67
  1224. package/node_modules/avvio/test/lib/is-bundled-or-typescript-plugin.test.js +0 -20
  1225. package/node_modules/avvio/test/lib/is-promise-like.test.js +0 -20
  1226. package/node_modules/avvio/test/lib/thenify.test.js +0 -140
  1227. package/node_modules/avvio/test/lib/time-tree.test.js +0 -391
  1228. package/node_modules/avvio/test/lib/validate-plugin.test.js +0 -19
  1229. package/node_modules/avvio/test/load-plugin.test.js +0 -132
  1230. package/node_modules/avvio/test/no-done.test.js +0 -19
  1231. package/node_modules/avvio/test/on-ready-timeout-await.test.js +0 -33
  1232. package/node_modules/avvio/test/override.test.js +0 -385
  1233. package/node_modules/avvio/test/plugin-loaded-so-far.test.js +0 -81
  1234. package/node_modules/avvio/test/plugin-name.test.js +0 -58
  1235. package/node_modules/avvio/test/plugin-timeout-await.test.js +0 -33
  1236. package/node_modules/avvio/test/plugin-timeout.test.js +0 -227
  1237. package/node_modules/avvio/test/pretty-print.test.js +0 -76
  1238. package/node_modules/avvio/test/reentrant.test.js +0 -126
  1239. package/node_modules/avvio/test/symbol-async-dispose.test.js +0 -28
  1240. package/node_modules/avvio/test/to-json.test.js +0 -130
  1241. package/node_modules/avvio/test/twice-done.test.js +0 -23
  1242. package/node_modules/avvio/test/types/index.ts +0 -412
  1243. package/node_modules/avvio/test/types/tsconfig.json +0 -9
  1244. package/node_modules/balanced-match/LICENSE.md +0 -23
  1245. package/node_modules/balanced-match/README.md +0 -57
  1246. package/node_modules/base64-js/LICENSE +0 -21
  1247. package/node_modules/base64-js/README.md +0 -34
  1248. package/node_modules/base64-js/index.d.ts +0 -3
  1249. package/node_modules/better-sqlite3/LICENSE +0 -21
  1250. package/node_modules/better-sqlite3/README.md +0 -99
  1251. package/node_modules/better-sqlite3/binding.gyp +0 -38
  1252. package/node_modules/better-sqlite3/deps/common.gypi +0 -68
  1253. package/node_modules/better-sqlite3/deps/copy.js +0 -31
  1254. package/node_modules/better-sqlite3/deps/defines.gypi +0 -41
  1255. package/node_modules/better-sqlite3/deps/download.sh +0 -122
  1256. package/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
  1257. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -261480
  1258. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -13715
  1259. package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -719
  1260. package/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
  1261. package/node_modules/better-sqlite3/deps/test_extension.c +0 -21
  1262. package/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -2186
  1263. package/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
  1264. package/node_modules/bindings/LICENSE.md +0 -22
  1265. package/node_modules/bindings/README.md +0 -98
  1266. package/node_modules/bl/LICENSE.md +0 -13
  1267. package/node_modules/bl/README.md +0 -247
  1268. package/node_modules/bl/test/convert.js +0 -21
  1269. package/node_modules/bl/test/indexOf.js +0 -492
  1270. package/node_modules/bl/test/isBufferList.js +0 -32
  1271. package/node_modules/bl/test/test.js +0 -869
  1272. package/node_modules/brace-expansion/LICENSE +0 -23
  1273. package/node_modules/brace-expansion/README.md +0 -94
  1274. package/node_modules/buffer/AUTHORS.md +0 -70
  1275. package/node_modules/buffer/LICENSE +0 -21
  1276. package/node_modules/buffer/README.md +0 -410
  1277. package/node_modules/buffer/index.d.ts +0 -186
  1278. package/node_modules/bundle-name/license +0 -9
  1279. package/node_modules/bundle-name/readme.md +0 -23
  1280. package/node_modules/chownr/LICENSE +0 -15
  1281. package/node_modules/chownr/README.md +0 -3
  1282. package/node_modules/content-disposition/HISTORY.md +0 -60
  1283. package/node_modules/content-disposition/LICENSE +0 -22
  1284. package/node_modules/content-disposition/README.md +0 -142
  1285. package/node_modules/cookie/LICENSE +0 -24
  1286. package/node_modules/cookie/README.md +0 -295
  1287. package/node_modules/cookies/HISTORY.md +0 -137
  1288. package/node_modules/cookies/LICENSE +0 -23
  1289. package/node_modules/cookies/README.md +0 -147
  1290. package/node_modules/cross-spawn/LICENSE +0 -21
  1291. package/node_modules/cross-spawn/README.md +0 -89
  1292. package/node_modules/debug/LICENSE +0 -20
  1293. package/node_modules/debug/README.md +0 -481
  1294. package/node_modules/decompress-response/index.d.ts +0 -22
  1295. package/node_modules/decompress-response/license +0 -9
  1296. package/node_modules/decompress-response/readme.md +0 -48
  1297. package/node_modules/deep-extend/LICENSE +0 -20
  1298. package/node_modules/deep-extend/README.md +0 -91
  1299. package/node_modules/default-browser/index.d.ts +0 -29
  1300. package/node_modules/default-browser/license +0 -9
  1301. package/node_modules/default-browser/readme.md +0 -24
  1302. package/node_modules/default-browser-id/license +0 -9
  1303. package/node_modules/default-browser-id/readme.md +0 -19
  1304. package/node_modules/define-lazy-prop/index.d.ts +0 -31
  1305. package/node_modules/define-lazy-prop/license +0 -9
  1306. package/node_modules/define-lazy-prop/readme.md +0 -55
  1307. package/node_modules/depd/History.md +0 -103
  1308. package/node_modules/depd/LICENSE +0 -22
  1309. package/node_modules/depd/Readme.md +0 -280
  1310. package/node_modules/dequal/index.d.ts +0 -1
  1311. package/node_modules/dequal/license +0 -21
  1312. package/node_modules/dequal/lite/index.d.ts +0 -1
  1313. package/node_modules/dequal/readme.md +0 -112
  1314. package/node_modules/detect-libc/LICENSE +0 -201
  1315. package/node_modules/detect-libc/README.md +0 -163
  1316. package/node_modules/detect-libc/index.d.ts +0 -14
  1317. package/node_modules/duplexify/LICENSE +0 -21
  1318. package/node_modules/duplexify/README.md +0 -97
  1319. package/node_modules/end-of-stream/LICENSE +0 -21
  1320. package/node_modules/end-of-stream/README.md +0 -54
  1321. package/node_modules/escape-html/LICENSE +0 -24
  1322. package/node_modules/escape-html/Readme.md +0 -43
  1323. package/node_modules/eventsource-parser/LICENSE +0 -21
  1324. package/node_modules/eventsource-parser/README.md +0 -126
  1325. package/node_modules/expand-template/LICENSE +0 -21
  1326. package/node_modules/expand-template/README.md +0 -43
  1327. package/node_modules/fast-decode-uri-component/LICENSE +0 -23
  1328. package/node_modules/fast-decode-uri-component/README.md +0 -43
  1329. package/node_modules/fast-deep-equal/LICENSE +0 -21
  1330. package/node_modules/fast-deep-equal/README.md +0 -96
  1331. package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  1332. package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  1333. package/node_modules/fast-deep-equal/index.d.ts +0 -4
  1334. package/node_modules/fast-deep-equal/react.d.ts +0 -2
  1335. package/node_modules/fast-json-stringify/LICENSE +0 -24
  1336. package/node_modules/fast-json-stringify/README.md +0 -742
  1337. package/node_modules/fast-json-stringify/benchmark/bench-cmp-branch.js +0 -116
  1338. package/node_modules/fast-json-stringify/benchmark/bench-cmp-lib.js +0 -323
  1339. package/node_modules/fast-json-stringify/benchmark/bench-thread.js +0 -33
  1340. package/node_modules/fast-json-stringify/benchmark/bench.js +0 -391
  1341. package/node_modules/fast-json-stringify/examples/example.js +0 -81
  1342. package/node_modules/fast-json-stringify/examples/server.js +0 -42
  1343. package/node_modules/fast-json-stringify/test/additionalProperties.test.js +0 -332
  1344. package/node_modules/fast-json-stringify/test/allof.test.js +0 -751
  1345. package/node_modules/fast-json-stringify/test/any.test.js +0 -231
  1346. package/node_modules/fast-json-stringify/test/anyof.test.js +0 -792
  1347. package/node_modules/fast-json-stringify/test/array.test.js +0 -666
  1348. package/node_modules/fast-json-stringify/test/asNumber.test.js +0 -13
  1349. package/node_modules/fast-json-stringify/test/basic.test.js +0 -400
  1350. package/node_modules/fast-json-stringify/test/bigint.test.js +0 -76
  1351. package/node_modules/fast-json-stringify/test/clean-cache.test.js +0 -47
  1352. package/node_modules/fast-json-stringify/test/const.test.js +0 -314
  1353. package/node_modules/fast-json-stringify/test/date.test.js +0 -639
  1354. package/node_modules/fast-json-stringify/test/debug-mode.test.js +0 -121
  1355. package/node_modules/fast-json-stringify/test/defaults.test.js +0 -376
  1356. package/node_modules/fast-json-stringify/test/enum.test.js +0 -37
  1357. package/node_modules/fast-json-stringify/test/fix-604.test.js +0 -25
  1358. package/node_modules/fast-json-stringify/test/if-then-else.test.js +0 -468
  1359. package/node_modules/fast-json-stringify/test/inferType.test.js +0 -92
  1360. package/node_modules/fast-json-stringify/test/infinity.test.js +0 -55
  1361. package/node_modules/fast-json-stringify/test/integer.test.js +0 -194
  1362. package/node_modules/fast-json-stringify/test/invalidSchema.test.js +0 -18
  1363. package/node_modules/fast-json-stringify/test/issue-479.test.js +0 -57
  1364. package/node_modules/fast-json-stringify/test/issue-793.test.js +0 -107
  1365. package/node_modules/fast-json-stringify/test/issue-794.test.js +0 -177
  1366. package/node_modules/fast-json-stringify/test/json-add-comma.test.js +0 -57
  1367. package/node_modules/fast-json-stringify/test/json-schema-test-suite/README.md +0 -10
  1368. package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft4/required.json +0 -54
  1369. package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft4.test.js +0 -12
  1370. package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft6/required.json +0 -70
  1371. package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft6.test.js +0 -12
  1372. package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7/required.json +0 -70
  1373. package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7.test.js +0 -12
  1374. package/node_modules/fast-json-stringify/test/json-schema-test-suite/util.js +0 -31
  1375. package/node_modules/fast-json-stringify/test/missing-values.test.js +0 -88
  1376. package/node_modules/fast-json-stringify/test/multi-type-serializer.test.js +0 -19
  1377. package/node_modules/fast-json-stringify/test/nestedObjects.test.js +0 -63
  1378. package/node_modules/fast-json-stringify/test/nullable.test.js +0 -543
  1379. package/node_modules/fast-json-stringify/test/oneof.test.js +0 -490
  1380. package/node_modules/fast-json-stringify/test/patternProperties.test.js +0 -168
  1381. package/node_modules/fast-json-stringify/test/recursion.test.js +0 -245
  1382. package/node_modules/fast-json-stringify/test/ref.json +0 -12
  1383. package/node_modules/fast-json-stringify/test/ref.test.js +0 -2046
  1384. package/node_modules/fast-json-stringify/test/regex.test.js +0 -32
  1385. package/node_modules/fast-json-stringify/test/required.test.js +0 -204
  1386. package/node_modules/fast-json-stringify/test/requiresAjv.test.js +0 -50
  1387. package/node_modules/fast-json-stringify/test/sanitize.test.js +0 -141
  1388. package/node_modules/fast-json-stringify/test/sanitize2.test.js +0 -18
  1389. package/node_modules/fast-json-stringify/test/sanitize3.test.js +0 -17
  1390. package/node_modules/fast-json-stringify/test/sanitize4.test.js +0 -16
  1391. package/node_modules/fast-json-stringify/test/sanitize5.test.js +0 -16
  1392. package/node_modules/fast-json-stringify/test/sanitize6.test.js +0 -22
  1393. package/node_modules/fast-json-stringify/test/sanitize7.test.js +0 -68
  1394. package/node_modules/fast-json-stringify/test/side-effect.test.js +0 -196
  1395. package/node_modules/fast-json-stringify/test/standalone-mode.test.js +0 -219
  1396. package/node_modules/fast-json-stringify/test/string.test.js +0 -84
  1397. package/node_modules/fast-json-stringify/test/surrogate.test.js +0 -67
  1398. package/node_modules/fast-json-stringify/test/toJSON.test.js +0 -203
  1399. package/node_modules/fast-json-stringify/test/typebox.test.js +0 -36
  1400. package/node_modules/fast-json-stringify/test/typesArray.test.js +0 -550
  1401. package/node_modules/fast-json-stringify/test/unknownFormats.test.js +0 -27
  1402. package/node_modules/fast-json-stringify/test/webpack.test.js +0 -50
  1403. package/node_modules/fast-json-stringify/types/index.d.ts +0 -231
  1404. package/node_modules/fast-querystring/LICENSE +0 -25
  1405. package/node_modules/fast-querystring/README.md +0 -114
  1406. package/node_modules/fast-querystring/lib/index.d.ts +0 -14
  1407. package/node_modules/fast-sha256/LICENSE +0 -24
  1408. package/node_modules/fast-sha256/README.md +0 -127
  1409. package/node_modules/fast-sha256/sha256.d.ts +0 -39
  1410. package/node_modules/fast-uri/LICENSE +0 -32
  1411. package/node_modules/fast-uri/README.md +0 -143
  1412. package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  1413. package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  1414. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  1415. package/node_modules/fast-uri/benchmark/package.json +0 -17
  1416. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  1417. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  1418. package/node_modules/fast-uri/test/ajv.test.js +0 -43
  1419. package/node_modules/fast-uri/test/equal.test.js +0 -108
  1420. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
  1421. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  1422. package/node_modules/fast-uri/test/parse.test.js +0 -318
  1423. package/node_modules/fast-uri/test/resolve.test.js +0 -78
  1424. package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  1425. package/node_modules/fast-uri/test/serialize.test.js +0 -151
  1426. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  1427. package/node_modules/fast-uri/test/uri-js.test.js +0 -912
  1428. package/node_modules/fast-uri/test/util.test.js +0 -38
  1429. package/node_modules/fast-uri/types/index.d.ts +0 -60
  1430. package/node_modules/fastify/AGENTS.md +0 -290
  1431. package/node_modules/fastify/GOVERNANCE.md +0 -4
  1432. package/node_modules/fastify/LICENSE +0 -21
  1433. package/node_modules/fastify/PROJECT_CHARTER.md +0 -126
  1434. package/node_modules/fastify/README.md +0 -423
  1435. package/node_modules/fastify/SECURITY.md +0 -220
  1436. package/node_modules/fastify/SPONSORS.md +0 -24
  1437. package/node_modules/fastify/docs/Guides/Benchmarking.md +0 -60
  1438. package/node_modules/fastify/docs/Guides/Database.md +0 -321
  1439. package/node_modules/fastify/docs/Guides/Delay-Accepting-Requests.md +0 -608
  1440. package/node_modules/fastify/docs/Guides/Detecting-When-Clients-Abort.md +0 -172
  1441. package/node_modules/fastify/docs/Guides/Ecosystem.md +0 -726
  1442. package/node_modules/fastify/docs/Guides/Fluent-Schema.md +0 -127
  1443. package/node_modules/fastify/docs/Guides/Getting-Started.md +0 -620
  1444. package/node_modules/fastify/docs/Guides/Index.md +0 -43
  1445. package/node_modules/fastify/docs/Guides/Migration-Guide-V3.md +0 -287
  1446. package/node_modules/fastify/docs/Guides/Migration-Guide-V4.md +0 -267
  1447. package/node_modules/fastify/docs/Guides/Migration-Guide-V5.md +0 -727
  1448. package/node_modules/fastify/docs/Guides/Plugins-Guide.md +0 -520
  1449. package/node_modules/fastify/docs/Guides/Prototype-Poisoning.md +0 -383
  1450. package/node_modules/fastify/docs/Guides/Recommendations.md +0 -378
  1451. package/node_modules/fastify/docs/Guides/Serverless.md +0 -604
  1452. package/node_modules/fastify/docs/Guides/Style-Guide.md +0 -246
  1453. package/node_modules/fastify/docs/Guides/Testing.md +0 -481
  1454. package/node_modules/fastify/docs/Guides/Write-Plugin.md +0 -103
  1455. package/node_modules/fastify/docs/Guides/Write-Type-Provider.md +0 -34
  1456. package/node_modules/fastify/docs/Reference/ContentTypeParser.md +0 -271
  1457. package/node_modules/fastify/docs/Reference/Decorators.md +0 -436
  1458. package/node_modules/fastify/docs/Reference/Encapsulation.md +0 -194
  1459. package/node_modules/fastify/docs/Reference/Errors.md +0 -377
  1460. package/node_modules/fastify/docs/Reference/HTTP2.md +0 -94
  1461. package/node_modules/fastify/docs/Reference/Hooks.md +0 -958
  1462. package/node_modules/fastify/docs/Reference/Index.md +0 -73
  1463. package/node_modules/fastify/docs/Reference/LTS.md +0 -86
  1464. package/node_modules/fastify/docs/Reference/Lifecycle.md +0 -99
  1465. package/node_modules/fastify/docs/Reference/Logging.md +0 -268
  1466. package/node_modules/fastify/docs/Reference/Middleware.md +0 -79
  1467. package/node_modules/fastify/docs/Reference/Plugins.md +0 -245
  1468. package/node_modules/fastify/docs/Reference/Principles.md +0 -73
  1469. package/node_modules/fastify/docs/Reference/Reply.md +0 -1001
  1470. package/node_modules/fastify/docs/Reference/Request.md +0 -295
  1471. package/node_modules/fastify/docs/Reference/Routes.md +0 -802
  1472. package/node_modules/fastify/docs/Reference/Server.md +0 -2389
  1473. package/node_modules/fastify/docs/Reference/Type-Providers.md +0 -256
  1474. package/node_modules/fastify/docs/Reference/TypeScript.md +0 -1729
  1475. package/node_modules/fastify/docs/Reference/Validation-and-Serialization.md +0 -1130
  1476. package/node_modules/fastify/docs/Reference/Warnings.md +0 -58
  1477. package/node_modules/fastify/docs/index.md +0 -24
  1478. package/node_modules/fastify/docs/resources/encapsulation_context.drawio +0 -1
  1479. package/node_modules/fastify/docs/resources/encapsulation_context.svg +0 -3
  1480. package/node_modules/fastify/examples/asyncawait.js +0 -38
  1481. package/node_modules/fastify/examples/benchmark/body.json +0 -3
  1482. package/node_modules/fastify/examples/benchmark/hooks-benchmark-async-await.js +0 -44
  1483. package/node_modules/fastify/examples/benchmark/hooks-benchmark.js +0 -52
  1484. package/node_modules/fastify/examples/benchmark/parser.js +0 -47
  1485. package/node_modules/fastify/examples/benchmark/simple.js +0 -30
  1486. package/node_modules/fastify/examples/benchmark/webstream.js +0 -27
  1487. package/node_modules/fastify/examples/hooks.js +0 -91
  1488. package/node_modules/fastify/examples/http2.js +0 -39
  1489. package/node_modules/fastify/examples/https.js +0 -38
  1490. package/node_modules/fastify/examples/parser.js +0 -53
  1491. package/node_modules/fastify/examples/plugin.js +0 -12
  1492. package/node_modules/fastify/examples/route-prefix.js +0 -38
  1493. package/node_modules/fastify/examples/shared-schema.js +0 -38
  1494. package/node_modules/fastify/examples/simple-stream.js +0 -20
  1495. package/node_modules/fastify/examples/simple.js +0 -32
  1496. package/node_modules/fastify/examples/simple.mjs +0 -27
  1497. package/node_modules/fastify/examples/typescript-server.ts +0 -79
  1498. package/node_modules/fastify/examples/use-plugin.js +0 -29
  1499. package/node_modules/fastify/fastify.d.ts +0 -253
  1500. package/node_modules/fastify/test/404s.test.js +0 -2035
  1501. package/node_modules/fastify/test/500s.test.js +0 -422
  1502. package/node_modules/fastify/test/allow-unsafe-regex.test.js +0 -92
  1503. package/node_modules/fastify/test/als.test.js +0 -65
  1504. package/node_modules/fastify/test/async-await.test.js +0 -705
  1505. package/node_modules/fastify/test/async-dispose.test.js +0 -20
  1506. package/node_modules/fastify/test/async_hooks.test.js +0 -52
  1507. package/node_modules/fastify/test/body-limit.test.js +0 -224
  1508. package/node_modules/fastify/test/buffer.test.js +0 -74
  1509. package/node_modules/fastify/test/build/error-serializer.test.js +0 -36
  1510. package/node_modules/fastify/test/build/version.test.js +0 -14
  1511. package/node_modules/fastify/test/build-certificate.js +0 -109
  1512. package/node_modules/fastify/test/bundler/README.md +0 -29
  1513. package/node_modules/fastify/test/bundler/esbuild/bundler-test.js +0 -32
  1514. package/node_modules/fastify/test/bundler/esbuild/package.json +0 -10
  1515. package/node_modules/fastify/test/bundler/esbuild/src/fail-plugin-version.js +0 -14
  1516. package/node_modules/fastify/test/bundler/esbuild/src/index.js +0 -9
  1517. package/node_modules/fastify/test/bundler/webpack/bundler-test.js +0 -32
  1518. package/node_modules/fastify/test/bundler/webpack/package.json +0 -11
  1519. package/node_modules/fastify/test/bundler/webpack/src/fail-plugin-version.js +0 -14
  1520. package/node_modules/fastify/test/bundler/webpack/src/index.js +0 -9
  1521. package/node_modules/fastify/test/bundler/webpack/webpack.config.js +0 -15
  1522. package/node_modules/fastify/test/case-insensitive.test.js +0 -102
  1523. package/node_modules/fastify/test/chainable.test.js +0 -40
  1524. package/node_modules/fastify/test/child-logger-factory.test.js +0 -128
  1525. package/node_modules/fastify/test/client-timeout.test.js +0 -38
  1526. package/node_modules/fastify/test/close-pipelining.test.js +0 -78
  1527. package/node_modules/fastify/test/close.test.js +0 -706
  1528. package/node_modules/fastify/test/conditional-pino.test.js +0 -47
  1529. package/node_modules/fastify/test/connection-timeout.test.js +0 -42
  1530. package/node_modules/fastify/test/constrained-routes.test.js +0 -1138
  1531. package/node_modules/fastify/test/content-length.test.js +0 -174
  1532. package/node_modules/fastify/test/content-parser.test.js +0 -739
  1533. package/node_modules/fastify/test/content-type.test.js +0 -181
  1534. package/node_modules/fastify/test/context-config.test.js +0 -164
  1535. package/node_modules/fastify/test/custom-http-server.test.js +0 -118
  1536. package/node_modules/fastify/test/custom-parser-async.test.js +0 -59
  1537. package/node_modules/fastify/test/custom-parser.0.test.js +0 -701
  1538. package/node_modules/fastify/test/custom-parser.1.test.js +0 -266
  1539. package/node_modules/fastify/test/custom-parser.2.test.js +0 -91
  1540. package/node_modules/fastify/test/custom-parser.3.test.js +0 -208
  1541. package/node_modules/fastify/test/custom-parser.4.test.js +0 -218
  1542. package/node_modules/fastify/test/custom-parser.5.test.js +0 -130
  1543. package/node_modules/fastify/test/custom-querystring-parser.test.js +0 -129
  1544. package/node_modules/fastify/test/decorator.test.js +0 -1330
  1545. package/node_modules/fastify/test/delete.test.js +0 -344
  1546. package/node_modules/fastify/test/diagnostics-channel/404.test.js +0 -49
  1547. package/node_modules/fastify/test/diagnostics-channel/async-delay-request.test.js +0 -65
  1548. package/node_modules/fastify/test/diagnostics-channel/async-request.test.js +0 -64
  1549. package/node_modules/fastify/test/diagnostics-channel/error-before-handler.test.js +0 -35
  1550. package/node_modules/fastify/test/diagnostics-channel/error-request.test.js +0 -53
  1551. package/node_modules/fastify/test/diagnostics-channel/error-status.test.js +0 -123
  1552. package/node_modules/fastify/test/diagnostics-channel/init.test.js +0 -50
  1553. package/node_modules/fastify/test/diagnostics-channel/sync-delay-request.test.js +0 -49
  1554. package/node_modules/fastify/test/diagnostics-channel/sync-request-reply.test.js +0 -51
  1555. package/node_modules/fastify/test/diagnostics-channel/sync-request.test.js +0 -54
  1556. package/node_modules/fastify/test/encapsulated-child-logger-factory.test.js +0 -69
  1557. package/node_modules/fastify/test/encapsulated-error-handler.test.js +0 -237
  1558. package/node_modules/fastify/test/esm/errorCodes.test.mjs +0 -10
  1559. package/node_modules/fastify/test/esm/esm.test.mjs +0 -13
  1560. package/node_modules/fastify/test/esm/index.test.js +0 -8
  1561. package/node_modules/fastify/test/esm/named-exports.mjs +0 -14
  1562. package/node_modules/fastify/test/esm/other.mjs +0 -8
  1563. package/node_modules/fastify/test/esm/plugin.mjs +0 -8
  1564. package/node_modules/fastify/test/fastify-instance.test.js +0 -300
  1565. package/node_modules/fastify/test/find-route.test.js +0 -152
  1566. package/node_modules/fastify/test/fluent-schema.test.js +0 -209
  1567. package/node_modules/fastify/test/genReqId.test.js +0 -426
  1568. package/node_modules/fastify/test/handler-context.test.js +0 -45
  1569. package/node_modules/fastify/test/handler-timeout.test.js +0 -367
  1570. package/node_modules/fastify/test/has-route.test.js +0 -88
  1571. package/node_modules/fastify/test/header-overflow.test.js +0 -55
  1572. package/node_modules/fastify/test/helper.js +0 -496
  1573. package/node_modules/fastify/test/hooks-async.test.js +0 -1099
  1574. package/node_modules/fastify/test/hooks.on-listen.test.js +0 -1162
  1575. package/node_modules/fastify/test/hooks.on-ready.test.js +0 -421
  1576. package/node_modules/fastify/test/hooks.test.js +0 -3578
  1577. package/node_modules/fastify/test/http-methods/copy.test.js +0 -35
  1578. package/node_modules/fastify/test/http-methods/custom-http-methods.test.js +0 -114
  1579. package/node_modules/fastify/test/http-methods/get.test.js +0 -412
  1580. package/node_modules/fastify/test/http-methods/head.test.js +0 -263
  1581. package/node_modules/fastify/test/http-methods/lock.test.js +0 -108
  1582. package/node_modules/fastify/test/http-methods/mkcalendar.test.js +0 -143
  1583. package/node_modules/fastify/test/http-methods/mkcol.test.js +0 -35
  1584. package/node_modules/fastify/test/http-methods/move.test.js +0 -42
  1585. package/node_modules/fastify/test/http-methods/propfind.test.js +0 -136
  1586. package/node_modules/fastify/test/http-methods/proppatch.test.js +0 -105
  1587. package/node_modules/fastify/test/http-methods/report.test.js +0 -142
  1588. package/node_modules/fastify/test/http-methods/search.test.js +0 -233
  1589. package/node_modules/fastify/test/http-methods/trace.test.js +0 -21
  1590. package/node_modules/fastify/test/http-methods/unlock.test.js +0 -38
  1591. package/node_modules/fastify/test/http2/closing.test.js +0 -270
  1592. package/node_modules/fastify/test/http2/constraint.test.js +0 -109
  1593. package/node_modules/fastify/test/http2/head.test.js +0 -34
  1594. package/node_modules/fastify/test/http2/plain.test.js +0 -68
  1595. package/node_modules/fastify/test/http2/secure-with-fallback.test.js +0 -113
  1596. package/node_modules/fastify/test/http2/secure.test.js +0 -67
  1597. package/node_modules/fastify/test/http2/unknown-http-method.test.js +0 -34
  1598. package/node_modules/fastify/test/https/custom-https-server.test.js +0 -58
  1599. package/node_modules/fastify/test/https/https.test.js +0 -136
  1600. package/node_modules/fastify/test/imports.test.js +0 -17
  1601. package/node_modules/fastify/test/inject.test.js +0 -502
  1602. package/node_modules/fastify/test/input-validation.js +0 -335
  1603. package/node_modules/fastify/test/internals/all.test.js +0 -38
  1604. package/node_modules/fastify/test/internals/content-type-parser.test.js +0 -111
  1605. package/node_modules/fastify/test/internals/context.test.js +0 -31
  1606. package/node_modules/fastify/test/internals/decorator.test.js +0 -156
  1607. package/node_modules/fastify/test/internals/errors.test.js +0 -982
  1608. package/node_modules/fastify/test/internals/handle-request.test.js +0 -270
  1609. package/node_modules/fastify/test/internals/hook-runner.test.js +0 -449
  1610. package/node_modules/fastify/test/internals/hooks.test.js +0 -96
  1611. package/node_modules/fastify/test/internals/initial-config.test.js +0 -383
  1612. package/node_modules/fastify/test/internals/logger.test.js +0 -163
  1613. package/node_modules/fastify/test/internals/plugin.test.js +0 -170
  1614. package/node_modules/fastify/test/internals/promise.test.js +0 -63
  1615. package/node_modules/fastify/test/internals/reply-serialize.test.js +0 -714
  1616. package/node_modules/fastify/test/internals/reply.test.js +0 -1920
  1617. package/node_modules/fastify/test/internals/req-id-gen-factory.test.js +0 -133
  1618. package/node_modules/fastify/test/internals/request-validate.test.js +0 -1402
  1619. package/node_modules/fastify/test/internals/request.test.js +0 -506
  1620. package/node_modules/fastify/test/internals/schema-controller-perf.test.js +0 -40
  1621. package/node_modules/fastify/test/internals/server.test.js +0 -91
  1622. package/node_modules/fastify/test/internals/validation.test.js +0 -352
  1623. package/node_modules/fastify/test/issue-4959.test.js +0 -118
  1624. package/node_modules/fastify/test/keep-alive-timeout.test.js +0 -42
  1625. package/node_modules/fastify/test/listen.1.test.js +0 -154
  1626. package/node_modules/fastify/test/listen.2.test.js +0 -113
  1627. package/node_modules/fastify/test/listen.3.test.js +0 -83
  1628. package/node_modules/fastify/test/listen.4.test.js +0 -168
  1629. package/node_modules/fastify/test/listen.5.test.js +0 -122
  1630. package/node_modules/fastify/test/logger/instantiation.test.js +0 -341
  1631. package/node_modules/fastify/test/logger/logger-test-utils.js +0 -47
  1632. package/node_modules/fastify/test/logger/logging.test.js +0 -460
  1633. package/node_modules/fastify/test/logger/options.test.js +0 -579
  1634. package/node_modules/fastify/test/logger/request.test.js +0 -292
  1635. package/node_modules/fastify/test/logger/response.test.js +0 -183
  1636. package/node_modules/fastify/test/logger/tap-parallel-not-ok +0 -0
  1637. package/node_modules/fastify/test/max-requests-per-socket.test.js +0 -113
  1638. package/node_modules/fastify/test/middleware.test.js +0 -37
  1639. package/node_modules/fastify/test/noop-set.test.js +0 -19
  1640. package/node_modules/fastify/test/nullable-validation.test.js +0 -187
  1641. package/node_modules/fastify/test/options.error-handler.test.js +0 -5
  1642. package/node_modules/fastify/test/options.test.js +0 -5
  1643. package/node_modules/fastify/test/output-validation.test.js +0 -140
  1644. package/node_modules/fastify/test/patch.error-handler.test.js +0 -5
  1645. package/node_modules/fastify/test/patch.test.js +0 -5
  1646. package/node_modules/fastify/test/plugin.1.test.js +0 -230
  1647. package/node_modules/fastify/test/plugin.2.test.js +0 -314
  1648. package/node_modules/fastify/test/plugin.3.test.js +0 -287
  1649. package/node_modules/fastify/test/plugin.4.test.js +0 -504
  1650. package/node_modules/fastify/test/plugin.helper.js +0 -8
  1651. package/node_modules/fastify/test/plugin.name.display.js +0 -10
  1652. package/node_modules/fastify/test/post-empty-body.test.js +0 -38
  1653. package/node_modules/fastify/test/pretty-print.test.js +0 -366
  1654. package/node_modules/fastify/test/promises.test.js +0 -125
  1655. package/node_modules/fastify/test/proto-poisoning.test.js +0 -145
  1656. package/node_modules/fastify/test/put.error-handler.test.js +0 -5
  1657. package/node_modules/fastify/test/put.test.js +0 -5
  1658. package/node_modules/fastify/test/register.test.js +0 -184
  1659. package/node_modules/fastify/test/reply-code.test.js +0 -148
  1660. package/node_modules/fastify/test/reply-early-hints.test.js +0 -100
  1661. package/node_modules/fastify/test/reply-error.test.js +0 -815
  1662. package/node_modules/fastify/test/reply-trailers.test.js +0 -445
  1663. package/node_modules/fastify/test/reply-web-stream-locked.test.js +0 -37
  1664. package/node_modules/fastify/test/request-error.test.js +0 -624
  1665. package/node_modules/fastify/test/request-header-host.test.js +0 -339
  1666. package/node_modules/fastify/test/request-id.test.js +0 -118
  1667. package/node_modules/fastify/test/request-timeout.test.js +0 -53
  1668. package/node_modules/fastify/test/route-hooks.test.js +0 -635
  1669. package/node_modules/fastify/test/route-prefix.test.js +0 -904
  1670. package/node_modules/fastify/test/route-shorthand.test.js +0 -48
  1671. package/node_modules/fastify/test/route.1.test.js +0 -259
  1672. package/node_modules/fastify/test/route.2.test.js +0 -100
  1673. package/node_modules/fastify/test/route.3.test.js +0 -213
  1674. package/node_modules/fastify/test/route.4.test.js +0 -127
  1675. package/node_modules/fastify/test/route.5.test.js +0 -211
  1676. package/node_modules/fastify/test/route.6.test.js +0 -306
  1677. package/node_modules/fastify/test/route.7.test.js +0 -406
  1678. package/node_modules/fastify/test/route.8.test.js +0 -225
  1679. package/node_modules/fastify/test/router-options.test.js +0 -1108
  1680. package/node_modules/fastify/test/same-shape.test.js +0 -124
  1681. package/node_modules/fastify/test/schema-examples.test.js +0 -661
  1682. package/node_modules/fastify/test/schema-feature.test.js +0 -2198
  1683. package/node_modules/fastify/test/schema-serialization.test.js +0 -1171
  1684. package/node_modules/fastify/test/schema-special-usage.test.js +0 -1348
  1685. package/node_modules/fastify/test/schema-validation.test.js +0 -1572
  1686. package/node_modules/fastify/test/scripts/validate-ecosystem-links.test.js +0 -339
  1687. package/node_modules/fastify/test/serialize-response.test.js +0 -186
  1688. package/node_modules/fastify/test/server.test.js +0 -347
  1689. package/node_modules/fastify/test/set-error-handler.test.js +0 -69
  1690. package/node_modules/fastify/test/skip-reply-send.test.js +0 -317
  1691. package/node_modules/fastify/test/stream-serializers.test.js +0 -40
  1692. package/node_modules/fastify/test/stream.1.test.js +0 -94
  1693. package/node_modules/fastify/test/stream.2.test.js +0 -129
  1694. package/node_modules/fastify/test/stream.3.test.js +0 -198
  1695. package/node_modules/fastify/test/stream.4.test.js +0 -176
  1696. package/node_modules/fastify/test/stream.5.test.js +0 -188
  1697. package/node_modules/fastify/test/sync-routes.test.js +0 -32
  1698. package/node_modules/fastify/test/throw.test.js +0 -359
  1699. package/node_modules/fastify/test/toolkit.js +0 -63
  1700. package/node_modules/fastify/test/trust-proxy.test.js +0 -221
  1701. package/node_modules/fastify/test/type-provider.test.js +0 -22
  1702. package/node_modules/fastify/test/types/content-type-parser.test-d.ts +0 -72
  1703. package/node_modules/fastify/test/types/decorate-request-reply.test-d.ts +0 -18
  1704. package/node_modules/fastify/test/types/dummy-plugin.ts +0 -9
  1705. package/node_modules/fastify/test/types/errors.test-d.ts +0 -90
  1706. package/node_modules/fastify/test/types/fastify.test-d.ts +0 -352
  1707. package/node_modules/fastify/test/types/hooks.test-d.ts +0 -550
  1708. package/node_modules/fastify/test/types/import.ts +0 -2
  1709. package/node_modules/fastify/test/types/instance.test-d.ts +0 -588
  1710. package/node_modules/fastify/test/types/logger.test-d.ts +0 -277
  1711. package/node_modules/fastify/test/types/plugin.test-d.ts +0 -97
  1712. package/node_modules/fastify/test/types/register.test-d.ts +0 -237
  1713. package/node_modules/fastify/test/types/reply.test-d.ts +0 -254
  1714. package/node_modules/fastify/test/types/request.test-d.ts +0 -188
  1715. package/node_modules/fastify/test/types/route.test-d.ts +0 -553
  1716. package/node_modules/fastify/test/types/schema.test-d.ts +0 -135
  1717. package/node_modules/fastify/test/types/serverFactory.test-d.ts +0 -37
  1718. package/node_modules/fastify/test/types/type-provider.test-d.ts +0 -1213
  1719. package/node_modules/fastify/test/types/using.test-d.ts +0 -17
  1720. package/node_modules/fastify/test/upgrade.test.js +0 -52
  1721. package/node_modules/fastify/test/url-rewriting.test.js +0 -122
  1722. package/node_modules/fastify/test/use-semicolon-delimiter.test.js +0 -168
  1723. package/node_modules/fastify/test/validation-error-handling.test.js +0 -900
  1724. package/node_modules/fastify/test/versioned-routes.test.js +0 -603
  1725. package/node_modules/fastify/test/web-api.test.js +0 -616
  1726. package/node_modules/fastify/test/wrap-thenable.test.js +0 -30
  1727. package/node_modules/fastify/types/content-type-parser.d.ts +0 -75
  1728. package/node_modules/fastify/types/context.d.ts +0 -22
  1729. package/node_modules/fastify/types/errors.d.ts +0 -92
  1730. package/node_modules/fastify/types/hooks.d.ts +0 -875
  1731. package/node_modules/fastify/types/instance.d.ts +0 -609
  1732. package/node_modules/fastify/types/logger.d.ts +0 -107
  1733. package/node_modules/fastify/types/plugin.d.ts +0 -44
  1734. package/node_modules/fastify/types/register.d.ts +0 -42
  1735. package/node_modules/fastify/types/reply.d.ts +0 -81
  1736. package/node_modules/fastify/types/request.d.ts +0 -95
  1737. package/node_modules/fastify/types/route.d.ts +0 -199
  1738. package/node_modules/fastify/types/schema.d.ts +0 -61
  1739. package/node_modules/fastify/types/server-factory.d.ts +0 -19
  1740. package/node_modules/fastify/types/type-provider.d.ts +0 -130
  1741. package/node_modules/fastify/types/utils.d.ts +0 -98
  1742. package/node_modules/fastify-plugin/LICENSE +0 -23
  1743. package/node_modules/fastify-plugin/README.md +0 -188
  1744. package/node_modules/fastify-plugin/test/bundlers.test.js +0 -110
  1745. package/node_modules/fastify-plugin/test/checkVersion.test.js +0 -67
  1746. package/node_modules/fastify-plugin/test/composite.test.js +0 -14
  1747. package/node_modules/fastify-plugin/test/esm/esm.mjs +0 -11
  1748. package/node_modules/fastify-plugin/test/esm/index.test.js +0 -11
  1749. package/node_modules/fastify-plugin/test/extractPluginName.test.js +0 -49
  1750. package/node_modules/fastify-plugin/test/mu1tip1e.composite.test.js +0 -15
  1751. package/node_modules/fastify-plugin/test/test.js +0 -396
  1752. package/node_modules/fastify-plugin/test/toCamelCase.test.js +0 -24
  1753. package/node_modules/fastify-plugin/types/plugin.d.ts +0 -61
  1754. package/node_modules/fastq/LICENSE +0 -13
  1755. package/node_modules/fastq/README.md +0 -310
  1756. package/node_modules/fastq/SECURITY.md +0 -15
  1757. package/node_modules/fastq/index.d.ts +0 -59
  1758. package/node_modules/fastq/test/example.ts +0 -83
  1759. package/node_modules/fastq/test/promise.js +0 -325
  1760. package/node_modules/fastq/test/test.js +0 -733
  1761. package/node_modules/fastq/test/tsconfig.json +0 -11
  1762. package/node_modules/file-uri-to-path/History.md +0 -21
  1763. package/node_modules/file-uri-to-path/LICENSE +0 -20
  1764. package/node_modules/file-uri-to-path/README.md +0 -74
  1765. package/node_modules/file-uri-to-path/index.d.ts +0 -2
  1766. package/node_modules/file-uri-to-path/test/test.js +0 -24
  1767. package/node_modules/file-uri-to-path/test/tests.json +0 -13
  1768. package/node_modules/find-my-way/LICENSE +0 -21
  1769. package/node_modules/find-my-way/README.md +0 -875
  1770. package/node_modules/find-my-way/benchmark/bench-thread.js +0 -35
  1771. package/node_modules/find-my-way/benchmark/bench.js +0 -156
  1772. package/node_modules/find-my-way/benchmark/compare-branches.js +0 -113
  1773. package/node_modules/find-my-way/benchmark/uri-decoding.js +0 -55
  1774. package/node_modules/find-my-way/index.d.ts +0 -241
  1775. package/node_modules/find-my-way/test/case-insensitive.test.js +0 -230
  1776. package/node_modules/find-my-way/test/constraint.custom-versioning.test.js +0 -130
  1777. package/node_modules/find-my-way/test/constraint.custom.async.test.js +0 -111
  1778. package/node_modules/find-my-way/test/constraint.custom.test.js +0 -273
  1779. package/node_modules/find-my-way/test/constraint.default-versioning.test.js +0 -289
  1780. package/node_modules/find-my-way/test/constraint.host.test.js +0 -104
  1781. package/node_modules/find-my-way/test/constraints.test.js +0 -108
  1782. package/node_modules/find-my-way/test/custom-querystring-parser.test.js +0 -46
  1783. package/node_modules/find-my-way/test/errors.test.js +0 -484
  1784. package/node_modules/find-my-way/test/fastify-issue-3129.test.js +0 -34
  1785. package/node_modules/find-my-way/test/fastify-issue-3957.test.js +0 -23
  1786. package/node_modules/find-my-way/test/find-route.test.js +0 -275
  1787. package/node_modules/find-my-way/test/find.test.js +0 -16
  1788. package/node_modules/find-my-way/test/for-in-loop.test.js +0 -22
  1789. package/node_modules/find-my-way/test/full-url.test.js +0 -30
  1790. package/node_modules/find-my-way/test/has-route.test.js +0 -218
  1791. package/node_modules/find-my-way/test/host-storage.test.js +0 -27
  1792. package/node_modules/find-my-way/test/http2/constraint.host.test.js +0 -44
  1793. package/node_modules/find-my-way/test/issue-101.test.js +0 -31
  1794. package/node_modules/find-my-way/test/issue-104.test.js +0 -206
  1795. package/node_modules/find-my-way/test/issue-110.test.js +0 -31
  1796. package/node_modules/find-my-way/test/issue-132.test.js +0 -80
  1797. package/node_modules/find-my-way/test/issue-145.test.js +0 -24
  1798. package/node_modules/find-my-way/test/issue-149.test.js +0 -21
  1799. package/node_modules/find-my-way/test/issue-151.test.js +0 -54
  1800. package/node_modules/find-my-way/test/issue-154.test.js +0 -21
  1801. package/node_modules/find-my-way/test/issue-161.test.js +0 -88
  1802. package/node_modules/find-my-way/test/issue-17.test.js +0 -397
  1803. package/node_modules/find-my-way/test/issue-175.test.js +0 -80
  1804. package/node_modules/find-my-way/test/issue-182.test.js +0 -18
  1805. package/node_modules/find-my-way/test/issue-190.test.js +0 -44
  1806. package/node_modules/find-my-way/test/issue-20.test.js +0 -79
  1807. package/node_modules/find-my-way/test/issue-206.test.js +0 -121
  1808. package/node_modules/find-my-way/test/issue-221.test.js +0 -50
  1809. package/node_modules/find-my-way/test/issue-234.test.js +0 -94
  1810. package/node_modules/find-my-way/test/issue-238.test.js +0 -119
  1811. package/node_modules/find-my-way/test/issue-240.test.js +0 -30
  1812. package/node_modules/find-my-way/test/issue-241.test.js +0 -32
  1813. package/node_modules/find-my-way/test/issue-247.test.js +0 -51
  1814. package/node_modules/find-my-way/test/issue-254.test.js +0 -31
  1815. package/node_modules/find-my-way/test/issue-28.test.js +0 -618
  1816. package/node_modules/find-my-way/test/issue-280.test.js +0 -14
  1817. package/node_modules/find-my-way/test/issue-285.test.js +0 -37
  1818. package/node_modules/find-my-way/test/issue-330.test.js +0 -231
  1819. package/node_modules/find-my-way/test/issue-44.test.js +0 -149
  1820. package/node_modules/find-my-way/test/issue-46.test.js +0 -75
  1821. package/node_modules/find-my-way/test/issue-49.test.js +0 -108
  1822. package/node_modules/find-my-way/test/issue-59.test.js +0 -131
  1823. package/node_modules/find-my-way/test/issue-62.test.js +0 -28
  1824. package/node_modules/find-my-way/test/issue-63.test.js +0 -23
  1825. package/node_modules/find-my-way/test/issue-67.test.js +0 -50
  1826. package/node_modules/find-my-way/test/issue-93.test.js +0 -19
  1827. package/node_modules/find-my-way/test/lookup-async.test.js +0 -29
  1828. package/node_modules/find-my-way/test/lookup.test.js +0 -58
  1829. package/node_modules/find-my-way/test/matching-order.test.js +0 -17
  1830. package/node_modules/find-my-way/test/max-param-length.test.js +0 -44
  1831. package/node_modules/find-my-way/test/methods.test.js +0 -830
  1832. package/node_modules/find-my-way/test/null-object.test.js +0 -36
  1833. package/node_modules/find-my-way/test/on-bad-url.test.js +0 -72
  1834. package/node_modules/find-my-way/test/optional-params.test.js +0 -216
  1835. package/node_modules/find-my-way/test/params-collisions.test.js +0 -126
  1836. package/node_modules/find-my-way/test/path-params-match.test.js +0 -53
  1837. package/node_modules/find-my-way/test/path-utils.test.js +0 -68
  1838. package/node_modules/find-my-way/test/pretty-print-tree.test.js +0 -596
  1839. package/node_modules/find-my-way/test/pretty-print.test.js +0 -680
  1840. package/node_modules/find-my-way/test/querystring.test.js +0 -54
  1841. package/node_modules/find-my-way/test/regex.test.js +0 -269
  1842. package/node_modules/find-my-way/test/routes-registered.test.js +0 -45
  1843. package/node_modules/find-my-way/test/server.test.js +0 -368
  1844. package/node_modules/find-my-way/test/shorthands.test.js +0 -44
  1845. package/node_modules/find-my-way/test/store.test.js +0 -49
  1846. package/node_modules/find-my-way/test/types/router.test-d.ts +0 -187
  1847. package/node_modules/find-my-way/test/url-sanitizer.test.js +0 -43
  1848. package/node_modules/foreground-child/LICENSE +0 -15
  1849. package/node_modules/foreground-child/README.md +0 -128
  1850. package/node_modules/fs-constants/LICENSE +0 -21
  1851. package/node_modules/fs-constants/README.md +0 -26
  1852. package/node_modules/github-from-package/LICENSE +0 -18
  1853. package/node_modules/github-from-package/example/package.json +0 -8
  1854. package/node_modules/github-from-package/example/url.js +0 -3
  1855. package/node_modules/github-from-package/test/a.json +0 -8
  1856. package/node_modules/github-from-package/test/b.json +0 -5
  1857. package/node_modules/github-from-package/test/c.json +0 -5
  1858. package/node_modules/github-from-package/test/d.json +0 -7
  1859. package/node_modules/github-from-package/test/e.json +0 -5
  1860. package/node_modules/github-from-package/test/url.js +0 -19
  1861. package/node_modules/glob/LICENSE.md +0 -63
  1862. package/node_modules/glob/README.md +0 -1294
  1863. package/node_modules/glob-to-regexp/README.md +0 -75
  1864. package/node_modules/http-errors/HISTORY.md +0 -186
  1865. package/node_modules/http-errors/LICENSE +0 -23
  1866. package/node_modules/http-errors/README.md +0 -169
  1867. package/node_modules/https-proxy-agent/LICENSE +0 -22
  1868. package/node_modules/https-proxy-agent/README.md +0 -70
  1869. package/node_modules/ieee754/LICENSE +0 -11
  1870. package/node_modules/ieee754/README.md +0 -51
  1871. package/node_modules/ieee754/index.d.ts +0 -10
  1872. package/node_modules/inherits/LICENSE +0 -16
  1873. package/node_modules/inherits/README.md +0 -42
  1874. package/node_modules/ini/LICENSE +0 -15
  1875. package/node_modules/ini/README.md +0 -102
  1876. package/node_modules/ip-address/LICENSE +0 -19
  1877. package/node_modules/ip-address/README.md +0 -105
  1878. package/node_modules/ipaddr.js/LICENSE +0 -19
  1879. package/node_modules/ipaddr.js/README.md +0 -233
  1880. package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -72
  1881. package/node_modules/is-docker/index.d.ts +0 -13
  1882. package/node_modules/is-docker/license +0 -9
  1883. package/node_modules/is-docker/readme.md +0 -27
  1884. package/node_modules/is-inside-container/index.d.ts +0 -13
  1885. package/node_modules/is-inside-container/license +0 -9
  1886. package/node_modules/is-inside-container/readme.md +0 -36
  1887. package/node_modules/is-wsl/index.d.ts +0 -15
  1888. package/node_modules/is-wsl/license +0 -9
  1889. package/node_modules/is-wsl/readme.md +0 -21
  1890. package/node_modules/isexe/LICENSE +0 -15
  1891. package/node_modules/isexe/README.md +0 -51
  1892. package/node_modules/isexe/test/basic.js +0 -221
  1893. package/node_modules/jackspeak/LICENSE.md +0 -55
  1894. package/node_modules/jackspeak/README.md +0 -394
  1895. package/node_modules/js-cookie/LICENSE +0 -21
  1896. package/node_modules/js-cookie/README.md +0 -305
  1897. package/node_modules/json-schema/LICENSE +0 -195
  1898. package/node_modules/json-schema/README.md +0 -3
  1899. package/node_modules/json-schema-ref-resolver/LICENSE +0 -21
  1900. package/node_modules/json-schema-ref-resolver/README.md +0 -406
  1901. package/node_modules/json-schema-ref-resolver/test/anchor.test.js +0 -56
  1902. package/node_modules/json-schema-ref-resolver/test/collisions.test.js +0 -199
  1903. package/node_modules/json-schema-ref-resolver/test/deref-schema.test.js +0 -287
  1904. package/node_modules/json-schema-ref-resolver/test/get-deref-schema.test.js +0 -363
  1905. package/node_modules/json-schema-ref-resolver/test/get-schema-dependencies.test.js +0 -158
  1906. package/node_modules/json-schema-ref-resolver/test/get-schema-refs.test.js +0 -87
  1907. package/node_modules/json-schema-ref-resolver/test/get-schema.test.js +0 -222
  1908. package/node_modules/json-schema-ref-resolver/test/has-schema.test.js +0 -28
  1909. package/node_modules/json-schema-ref-resolver/types/index.d.ts +0 -67
  1910. package/node_modules/json-schema-traverse/LICENSE +0 -21
  1911. package/node_modules/json-schema-traverse/README.md +0 -95
  1912. package/node_modules/json-schema-traverse/index.d.ts +0 -40
  1913. package/node_modules/keygrip/HISTORY.md +0 -25
  1914. package/node_modules/keygrip/LICENSE +0 -21
  1915. package/node_modules/keygrip/README.md +0 -103
  1916. package/node_modules/light-my-request/LICENSE +0 -32
  1917. package/node_modules/light-my-request/README.md +0 -261
  1918. package/node_modules/light-my-request/benchmark/benchmark.js +0 -164
  1919. package/node_modules/light-my-request/node_modules/process-warning/LICENSE +0 -21
  1920. package/node_modules/light-my-request/node_modules/process-warning/README.md +0 -118
  1921. package/node_modules/light-my-request/node_modules/process-warning/benchmarks/warn.js +0 -25
  1922. package/node_modules/light-my-request/node_modules/process-warning/examples/example.js +0 -11
  1923. package/node_modules/light-my-request/node_modules/process-warning/test/emit-interpolated-string.test.js +0 -29
  1924. package/node_modules/light-my-request/node_modules/process-warning/test/emit-once-only.test.js +0 -28
  1925. package/node_modules/light-my-request/node_modules/process-warning/test/emit-reset.test.js +0 -36
  1926. package/node_modules/light-my-request/node_modules/process-warning/test/emit-set.test.js +0 -30
  1927. package/node_modules/light-my-request/node_modules/process-warning/test/emit-unlimited.test.js +0 -37
  1928. package/node_modules/light-my-request/node_modules/process-warning/test/index.test.js +0 -99
  1929. package/node_modules/light-my-request/node_modules/process-warning/test/issue-88.test.js +0 -33
  1930. package/node_modules/light-my-request/node_modules/process-warning/test/jest.test.js +0 -22
  1931. package/node_modules/light-my-request/node_modules/process-warning/test/no-warnings.test.js +0 -80
  1932. package/node_modules/light-my-request/node_modules/process-warning/types/index.d.ts +0 -37
  1933. package/node_modules/light-my-request/test/async-await.test.js +0 -55
  1934. package/node_modules/light-my-request/test/index.test.js +0 -2316
  1935. package/node_modules/light-my-request/test/request.test.js +0 -16
  1936. package/node_modules/light-my-request/test/response.test.js +0 -19
  1937. package/node_modules/light-my-request/test/stream.test.js +0 -359
  1938. package/node_modules/light-my-request/types/index.d.ts +0 -128
  1939. package/node_modules/lru-cache/LICENSE.md +0 -55
  1940. package/node_modules/lru-cache/README.md +0 -383
  1941. package/node_modules/mime/LICENSE +0 -21
  1942. package/node_modules/mime/README.md +0 -178
  1943. package/node_modules/mimic-response/index.d.ts +0 -17
  1944. package/node_modules/mimic-response/license +0 -9
  1945. package/node_modules/mimic-response/readme.md +0 -78
  1946. package/node_modules/minimatch/LICENSE.md +0 -55
  1947. package/node_modules/minimatch/README.md +0 -528
  1948. package/node_modules/minimist/CHANGELOG.md +0 -298
  1949. package/node_modules/minimist/LICENSE +0 -18
  1950. package/node_modules/minimist/README.md +0 -121
  1951. package/node_modules/minimist/example/parse.js +0 -4
  1952. package/node_modules/minimist/test/all_bool.js +0 -34
  1953. package/node_modules/minimist/test/bool.js +0 -177
  1954. package/node_modules/minimist/test/dash.js +0 -43
  1955. package/node_modules/minimist/test/default_bool.js +0 -37
  1956. package/node_modules/minimist/test/dotted.js +0 -24
  1957. package/node_modules/minimist/test/kv_short.js +0 -32
  1958. package/node_modules/minimist/test/long.js +0 -33
  1959. package/node_modules/minimist/test/num.js +0 -38
  1960. package/node_modules/minimist/test/parse.js +0 -209
  1961. package/node_modules/minimist/test/parse_modified.js +0 -11
  1962. package/node_modules/minimist/test/proto.js +0 -64
  1963. package/node_modules/minimist/test/short.js +0 -69
  1964. package/node_modules/minimist/test/stop_early.js +0 -17
  1965. package/node_modules/minimist/test/unknown.js +0 -104
  1966. package/node_modules/minimist/test/whitespace.js +0 -10
  1967. package/node_modules/minipass/LICENSE.md +0 -55
  1968. package/node_modules/minipass/README.md +0 -825
  1969. package/node_modules/mkdirp-classic/LICENSE +0 -21
  1970. package/node_modules/mkdirp-classic/README.md +0 -18
  1971. package/node_modules/ms/license.md +0 -21
  1972. package/node_modules/ms/readme.md +0 -59
  1973. package/node_modules/nanoid/LICENSE +0 -20
  1974. package/node_modules/nanoid/README.md +0 -39
  1975. package/node_modules/nanoid/async/index.d.ts +0 -56
  1976. package/node_modules/nanoid/index.d.cts +0 -91
  1977. package/node_modules/nanoid/index.d.ts +0 -91
  1978. package/node_modules/nanoid/non-secure/index.d.ts +0 -33
  1979. package/node_modules/napi-build-utils/LICENSE +0 -21
  1980. package/node_modules/napi-build-utils/README.md +0 -52
  1981. package/node_modules/napi-build-utils/index.md +0 -0
  1982. package/node_modules/node-abi/LICENSE +0 -21
  1983. package/node_modules/node-abi/README.md +0 -54
  1984. package/node_modules/node-addon-api/LICENSE.md +0 -9
  1985. package/node_modules/node-addon-api/README.md +0 -319
  1986. package/node_modules/node-addon-api/common.gypi +0 -20
  1987. package/node_modules/node-addon-api/except.gypi +0 -25
  1988. package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  1989. package/node_modules/node-addon-api/napi-inl.h +0 -6607
  1990. package/node_modules/node-addon-api/napi.h +0 -3201
  1991. package/node_modules/node-addon-api/node_addon_api.gyp +0 -32
  1992. package/node_modules/node-addon-api/node_api.gyp +0 -9
  1993. package/node_modules/node-addon-api/noexcept.gypi +0 -26
  1994. package/node_modules/node-addon-api/nothing.c +0 -0
  1995. package/node_modules/node-addon-api/tools/README.md +0 -73
  1996. package/node_modules/node-pty/LICENSE +0 -69
  1997. package/node_modules/node-pty/README.md +0 -165
  1998. package/node_modules/node-pty/binding.gyp +0 -111
  1999. package/node_modules/node-pty/deps/winpty/LICENSE +0 -21
  2000. package/node_modules/node-pty/deps/winpty/Makefile +0 -166
  2001. package/node_modules/node-pty/deps/winpty/README.md +0 -151
  2002. package/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
  2003. package/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
  2004. package/node_modules/node-pty/deps/winpty/configure +0 -167
  2005. package/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
  2006. package/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
  2007. package/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
  2008. package/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
  2009. package/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
  2010. package/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
  2011. package/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
  2012. package/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
  2013. package/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
  2014. package/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
  2015. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
  2016. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
  2017. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
  2018. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
  2019. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
  2020. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
  2021. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
  2022. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
  2023. package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
  2024. package/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
  2025. package/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
  2026. package/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
  2027. package/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
  2028. package/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
  2029. package/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
  2030. package/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
  2031. package/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
  2032. package/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
  2033. package/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
  2034. package/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
  2035. package/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
  2036. package/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
  2037. package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
  2038. package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
  2039. package/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
  2040. package/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
  2041. package/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
  2042. package/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
  2043. package/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
  2044. package/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
  2045. package/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
  2046. package/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
  2047. package/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
  2048. package/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
  2049. package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
  2050. package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
  2051. package/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
  2052. package/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
  2053. package/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
  2054. package/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
  2055. package/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
  2056. package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
  2057. package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
  2058. package/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
  2059. package/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
  2060. package/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
  2061. package/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
  2062. package/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
  2063. package/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
  2064. package/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
  2065. package/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
  2066. package/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
  2067. package/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
  2068. package/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
  2069. package/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
  2070. package/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
  2071. package/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
  2072. package/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
  2073. package/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
  2074. package/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
  2075. package/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
  2076. package/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
  2077. package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
  2078. package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
  2079. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
  2080. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
  2081. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
  2082. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
  2083. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
  2084. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
  2085. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
  2086. package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
  2087. package/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
  2088. package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
  2089. package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
  2090. package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
  2091. package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
  2092. package/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
  2093. package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
  2094. package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
  2095. package/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
  2096. package/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
  2097. package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
  2098. package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
  2099. package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
  2100. package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
  2101. package/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
  2102. package/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
  2103. package/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
  2104. package/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
  2105. package/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
  2106. package/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
  2107. package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
  2108. package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
  2109. package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
  2110. package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
  2111. package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
  2112. package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
  2113. package/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
  2114. package/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
  2115. package/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
  2116. package/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
  2117. package/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
  2118. package/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
  2119. package/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
  2120. package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
  2121. package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
  2122. package/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
  2123. package/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
  2124. package/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
  2125. package/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
  2126. package/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
  2127. package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
  2128. package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
  2129. package/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
  2130. package/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
  2131. package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
  2132. package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
  2133. package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
  2134. package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
  2135. package/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
  2136. package/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
  2137. package/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
  2138. package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
  2139. package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
  2140. package/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
  2141. package/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
  2142. package/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
  2143. package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
  2144. package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
  2145. package/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
  2146. package/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
  2147. package/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
  2148. package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
  2149. package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
  2150. package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
  2151. package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
  2152. package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
  2153. package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
  2154. package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
  2155. package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
  2156. package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
  2157. package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
  2158. package/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
  2159. package/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
  2160. package/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
  2161. package/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
  2162. package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
  2163. package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
  2164. package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
  2165. package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
  2166. package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
  2167. package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
  2168. package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
  2169. package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
  2170. package/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
  2171. package/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
  2172. package/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
  2173. package/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
  2174. package/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
  2175. package/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
  2176. package/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
  2177. package/node_modules/node-pty/lib/index.js.map +0 -1
  2178. package/node_modules/node-pty/lib/interfaces.js.map +0 -1
  2179. package/node_modules/node-pty/lib/shared/conout.js.map +0 -1
  2180. package/node_modules/node-pty/lib/terminal.js.map +0 -1
  2181. package/node_modules/node-pty/lib/terminal.test.js.map +0 -1
  2182. package/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
  2183. package/node_modules/node-pty/lib/types.js.map +0 -1
  2184. package/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
  2185. package/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
  2186. package/node_modules/node-pty/lib/utils.js.map +0 -1
  2187. package/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
  2188. package/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
  2189. package/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
  2190. package/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
  2191. package/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
  2192. package/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
  2193. package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
  2194. package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
  2195. package/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
  2196. package/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
  2197. package/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
  2198. package/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
  2199. package/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
  2200. package/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
  2201. package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
  2202. package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
  2203. package/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
  2204. package/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
  2205. package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
  2206. package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
  2207. package/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
  2208. package/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
  2209. package/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
  2210. package/node_modules/node-pty/scripts/increment-version.js +0 -54
  2211. package/node_modules/node-pty/scripts/post-install.js +0 -80
  2212. package/node_modules/node-pty/scripts/prebuild.js +0 -34
  2213. package/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
  2214. package/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
  2215. package/node_modules/node-pty/src/eventEmitter2.ts +0 -48
  2216. package/node_modules/node-pty/src/index.ts +0 -52
  2217. package/node_modules/node-pty/src/interfaces.ts +0 -130
  2218. package/node_modules/node-pty/src/native.d.ts +0 -54
  2219. package/node_modules/node-pty/src/shared/conout.ts +0 -15
  2220. package/node_modules/node-pty/src/terminal.test.ts +0 -119
  2221. package/node_modules/node-pty/src/terminal.ts +0 -211
  2222. package/node_modules/node-pty/src/testUtils.test.ts +0 -23
  2223. package/node_modules/node-pty/src/tsconfig.json +0 -22
  2224. package/node_modules/node-pty/src/types.ts +0 -15
  2225. package/node_modules/node-pty/src/unix/pty.cc +0 -799
  2226. package/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
  2227. package/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
  2228. package/node_modules/node-pty/src/unixTerminal.ts +0 -388
  2229. package/node_modules/node-pty/src/utils.ts +0 -29
  2230. package/node_modules/node-pty/src/win/conpty.cc +0 -583
  2231. package/node_modules/node-pty/src/win/conpty.h +0 -41
  2232. package/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
  2233. package/node_modules/node-pty/src/win/path_util.cc +0 -95
  2234. package/node_modules/node-pty/src/win/path_util.h +0 -26
  2235. package/node_modules/node-pty/src/win/winpty.cc +0 -333
  2236. package/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
  2237. package/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
  2238. package/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
  2239. package/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
  2240. package/node_modules/node-pty/src/windowsTerminal.ts +0 -203
  2241. package/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
  2242. package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
  2243. package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
  2244. package/node_modules/node-pty/typings/node-pty.d.ts +0 -211
  2245. package/node_modules/on-exit-leak-free/LICENSE +0 -21
  2246. package/node_modules/on-exit-leak-free/README.md +0 -54
  2247. package/node_modules/on-exit-leak-free/test/base.test.js +0 -30
  2248. package/node_modules/on-exit-leak-free/test/event-emitter-leak.test.js +0 -23
  2249. package/node_modules/on-exit-leak-free/test/fixtures/beforeExit.js +0 -33
  2250. package/node_modules/on-exit-leak-free/test/fixtures/close.js +0 -21
  2251. package/node_modules/on-exit-leak-free/test/fixtures/gc-not-close.js +0 -24
  2252. package/node_modules/on-exit-leak-free/test/fixtures/unregister.js +0 -24
  2253. package/node_modules/once/LICENSE +0 -15
  2254. package/node_modules/once/README.md +0 -79
  2255. package/node_modules/open/index.d.ts +0 -158
  2256. package/node_modules/open/license +0 -9
  2257. package/node_modules/open/readme.md +0 -183
  2258. package/node_modules/package-json-from-dist/LICENSE.md +0 -63
  2259. package/node_modules/package-json-from-dist/README.md +0 -110
  2260. package/node_modules/path-key/index.d.ts +0 -40
  2261. package/node_modules/path-key/license +0 -9
  2262. package/node_modules/path-key/readme.md +0 -61
  2263. package/node_modules/path-scurry/LICENSE.md +0 -55
  2264. package/node_modules/path-scurry/README.md +0 -636
  2265. package/node_modules/pino/CONTRIBUTING.md +0 -30
  2266. package/node_modules/pino/LICENSE +0 -21
  2267. package/node_modules/pino/README.md +0 -177
  2268. package/node_modules/pino/SECURITY.md +0 -87
  2269. package/node_modules/pino/benchmarks/basic.bench.js +0 -95
  2270. package/node_modules/pino/benchmarks/child-child.bench.js +0 -52
  2271. package/node_modules/pino/benchmarks/child-creation.bench.js +0 -73
  2272. package/node_modules/pino/benchmarks/child.bench.js +0 -62
  2273. package/node_modules/pino/benchmarks/deep-object.bench.js +0 -88
  2274. package/node_modules/pino/benchmarks/formatters.bench.js +0 -50
  2275. package/node_modules/pino/benchmarks/internal/custom-levels.js +0 -67
  2276. package/node_modules/pino/benchmarks/internal/just-pino-heavy.bench.js +0 -76
  2277. package/node_modules/pino/benchmarks/internal/just-pino.bench.js +0 -182
  2278. package/node_modules/pino/benchmarks/internal/parent-vs-child.bench.js +0 -75
  2279. package/node_modules/pino/benchmarks/internal/redact.bench.js +0 -86
  2280. package/node_modules/pino/benchmarks/long-string.bench.js +0 -81
  2281. package/node_modules/pino/benchmarks/multi-arg.bench.js +0 -193
  2282. package/node_modules/pino/benchmarks/multistream.js +0 -98
  2283. package/node_modules/pino/benchmarks/object.bench.js +0 -82
  2284. package/node_modules/pino/benchmarks/utils/generate-benchmark-doc.js +0 -36
  2285. package/node_modules/pino/benchmarks/utils/runbench.js +0 -138
  2286. package/node_modules/pino/benchmarks/utils/wrap-log-level.js +0 -55
  2287. package/node_modules/pino/docs/api.md +0 -1593
  2288. package/node_modules/pino/docs/asynchronous.md +0 -40
  2289. package/node_modules/pino/docs/benchmarks.md +0 -55
  2290. package/node_modules/pino/docs/browser.md +0 -278
  2291. package/node_modules/pino/docs/bundling.md +0 -40
  2292. package/node_modules/pino/docs/child-loggers.md +0 -95
  2293. package/node_modules/pino/docs/diagnostics.md +0 -16
  2294. package/node_modules/pino/docs/ecosystem.md +0 -86
  2295. package/node_modules/pino/docs/help.md +0 -345
  2296. package/node_modules/pino/docs/lts.md +0 -64
  2297. package/node_modules/pino/docs/pretty.md +0 -35
  2298. package/node_modules/pino/docs/redaction.md +0 -135
  2299. package/node_modules/pino/docs/transports.md +0 -1376
  2300. package/node_modules/pino/docs/web.md +0 -309
  2301. package/node_modules/pino/examples/basic.js +0 -43
  2302. package/node_modules/pino/examples/transport.js +0 -68
  2303. package/node_modules/pino/pino.d.ts +0 -908
  2304. package/node_modules/pino/test/basic.test.js +0 -886
  2305. package/node_modules/pino/test/broken-pipe.test.js +0 -59
  2306. package/node_modules/pino/test/browser-child.test.js +0 -132
  2307. package/node_modules/pino/test/browser-disabled.test.js +0 -87
  2308. package/node_modules/pino/test/browser-early-console-freeze.test.js +0 -12
  2309. package/node_modules/pino/test/browser-is-level-enabled.test.js +0 -101
  2310. package/node_modules/pino/test/browser-levels.test.js +0 -241
  2311. package/node_modules/pino/test/browser-serializers.test.js +0 -352
  2312. package/node_modules/pino/test/browser-timestamp.test.js +0 -88
  2313. package/node_modules/pino/test/browser-transmit.test.js +0 -417
  2314. package/node_modules/pino/test/browser.test.js +0 -698
  2315. package/node_modules/pino/test/complex-objects.test.js +0 -36
  2316. package/node_modules/pino/test/crlf.test.js +0 -34
  2317. package/node_modules/pino/test/custom-levels.test.js +0 -267
  2318. package/node_modules/pino/test/diagnostics.test.js +0 -107
  2319. package/node_modules/pino/test/error-key.test.js +0 -37
  2320. package/node_modules/pino/test/error.test.js +0 -403
  2321. package/node_modules/pino/test/escaping.test.js +0 -93
  2322. package/node_modules/pino/test/esm/esm.mjs +0 -14
  2323. package/node_modules/pino/test/esm/index.test.js +0 -21
  2324. package/node_modules/pino/test/esm/named-exports.mjs +0 -29
  2325. package/node_modules/pino/test/exit.test.js +0 -79
  2326. package/node_modules/pino/test/fixtures/broken-pipe/basic.js +0 -9
  2327. package/node_modules/pino/test/fixtures/broken-pipe/destination.js +0 -10
  2328. package/node_modules/pino/test/fixtures/broken-pipe/syncfalse.js +0 -12
  2329. package/node_modules/pino/test/fixtures/console-transport.js +0 -13
  2330. package/node_modules/pino/test/fixtures/crashing-transport.js +0 -13
  2331. package/node_modules/pino/test/fixtures/default-exit.js +0 -8
  2332. package/node_modules/pino/test/fixtures/destination-exit.js +0 -8
  2333. package/node_modules/pino/test/fixtures/eval/index.js +0 -13
  2334. package/node_modules/pino/test/fixtures/eval/node_modules/14-files.js +0 -3
  2335. package/node_modules/pino/test/fixtures/eval/node_modules/2-files.js +0 -3
  2336. package/node_modules/pino/test/fixtures/eval/node_modules/file1.js +0 -5
  2337. package/node_modules/pino/test/fixtures/eval/node_modules/file10.js +0 -5
  2338. package/node_modules/pino/test/fixtures/eval/node_modules/file11.js +0 -5
  2339. package/node_modules/pino/test/fixtures/eval/node_modules/file12.js +0 -5
  2340. package/node_modules/pino/test/fixtures/eval/node_modules/file13.js +0 -5
  2341. package/node_modules/pino/test/fixtures/eval/node_modules/file14.js +0 -11
  2342. package/node_modules/pino/test/fixtures/eval/node_modules/file2.js +0 -5
  2343. package/node_modules/pino/test/fixtures/eval/node_modules/file3.js +0 -5
  2344. package/node_modules/pino/test/fixtures/eval/node_modules/file4.js +0 -5
  2345. package/node_modules/pino/test/fixtures/eval/node_modules/file5.js +0 -5
  2346. package/node_modules/pino/test/fixtures/eval/node_modules/file6.js +0 -5
  2347. package/node_modules/pino/test/fixtures/eval/node_modules/file7.js +0 -5
  2348. package/node_modules/pino/test/fixtures/eval/node_modules/file8.js +0 -5
  2349. package/node_modules/pino/test/fixtures/eval/node_modules/file9.js +0 -5
  2350. package/node_modules/pino/test/fixtures/noop-transport.js +0 -10
  2351. package/node_modules/pino/test/fixtures/pretty/null-prototype.js +0 -8
  2352. package/node_modules/pino/test/fixtures/stdout-hack-protection.js +0 -11
  2353. package/node_modules/pino/test/fixtures/syncfalse-child.js +0 -6
  2354. package/node_modules/pino/test/fixtures/syncfalse-exit.js +0 -9
  2355. package/node_modules/pino/test/fixtures/syncfalse-flush-exit.js +0 -10
  2356. package/node_modules/pino/test/fixtures/syncfalse.js +0 -6
  2357. package/node_modules/pino/test/fixtures/syntax-error-esm.mjs +0 -2
  2358. package/node_modules/pino/test/fixtures/to-file-transport-with-transform.js +0 -20
  2359. package/node_modules/pino/test/fixtures/to-file-transport.js +0 -13
  2360. package/node_modules/pino/test/fixtures/to-file-transport.mjs +0 -8
  2361. package/node_modules/pino/test/fixtures/transport/index.js +0 -12
  2362. package/node_modules/pino/test/fixtures/transport/package.json +0 -5
  2363. package/node_modules/pino/test/fixtures/transport-exit-immediately-with-async-dest.js +0 -16
  2364. package/node_modules/pino/test/fixtures/transport-exit-immediately.js +0 -11
  2365. package/node_modules/pino/test/fixtures/transport-exit-on-ready.js +0 -12
  2366. package/node_modules/pino/test/fixtures/transport-invalid-node-options.js +0 -26
  2367. package/node_modules/pino/test/fixtures/transport-main.js +0 -9
  2368. package/node_modules/pino/test/fixtures/transport-many-lines.js +0 -29
  2369. package/node_modules/pino/test/fixtures/transport-preload-main.mjs +0 -13
  2370. package/node_modules/pino/test/fixtures/transport-preload.mjs +0 -13
  2371. package/node_modules/pino/test/fixtures/transport-string-stdout.js +0 -9
  2372. package/node_modules/pino/test/fixtures/transport-transform.js +0 -21
  2373. package/node_modules/pino/test/fixtures/transport-uses-pino-config.js +0 -33
  2374. package/node_modules/pino/test/fixtures/transport-with-on-exit.js +0 -12
  2375. package/node_modules/pino/test/fixtures/transport-worker-data.js +0 -19
  2376. package/node_modules/pino/test/fixtures/transport-worker-name.js +0 -24
  2377. package/node_modules/pino/test/fixtures/transport-worker.js +0 -15
  2378. package/node_modules/pino/test/fixtures/transport-wrong-export-type.js +0 -3
  2379. package/node_modules/pino/test/fixtures/ts/to-file-transport-native.mts +0 -15
  2380. package/node_modules/pino/test/fixtures/ts/to-file-transport-with-transform.ts +0 -18
  2381. package/node_modules/pino/test/fixtures/ts/to-file-transport.ts +0 -11
  2382. package/node_modules/pino/test/fixtures/ts/transpile.cjs +0 -36
  2383. package/node_modules/pino/test/fixtures/ts/transport-exit-immediately-with-async-dest.ts +0 -15
  2384. package/node_modules/pino/test/fixtures/ts/transport-exit-immediately.ts +0 -10
  2385. package/node_modules/pino/test/fixtures/ts/transport-exit-on-ready.ts +0 -11
  2386. package/node_modules/pino/test/fixtures/ts/transport-main.ts +0 -8
  2387. package/node_modules/pino/test/fixtures/ts/transport-string-stdout.ts +0 -8
  2388. package/node_modules/pino/test/fixtures/ts/transport-worker.ts +0 -14
  2389. package/node_modules/pino/test/formatters.test.js +0 -364
  2390. package/node_modules/pino/test/helper.d.ts +0 -4
  2391. package/node_modules/pino/test/helper.js +0 -155
  2392. package/node_modules/pino/test/hooks.test.js +0 -114
  2393. package/node_modules/pino/test/http.test.js +0 -214
  2394. package/node_modules/pino/test/internals/version.test.js +0 -17
  2395. package/node_modules/pino/test/is-level-enabled.test.js +0 -179
  2396. package/node_modules/pino/test/jest/basic.spec.js +0 -10
  2397. package/node_modules/pino/test/levels.test.js +0 -810
  2398. package/node_modules/pino/test/metadata.test.js +0 -120
  2399. package/node_modules/pino/test/mixin-merge-strategy.test.js +0 -57
  2400. package/node_modules/pino/test/mixin.test.js +0 -241
  2401. package/node_modules/pino/test/multistream.test.js +0 -729
  2402. package/node_modules/pino/test/redact.test.js +0 -893
  2403. package/node_modules/pino/test/serializers.test.js +0 -257
  2404. package/node_modules/pino/test/stdout-protection.test.js +0 -41
  2405. package/node_modules/pino/test/syncfalse.test.js +0 -186
  2406. package/node_modules/pino/test/timestamp-nano.test.js +0 -37
  2407. package/node_modules/pino/test/timestamp.test.js +0 -124
  2408. package/node_modules/pino/test/transport/big.test.js +0 -42
  2409. package/node_modules/pino/test/transport/bundlers-support.test.js +0 -99
  2410. package/node_modules/pino/test/transport/caller.test.js +0 -24
  2411. package/node_modules/pino/test/transport/core.test.js +0 -733
  2412. package/node_modules/pino/test/transport/core.transpiled.test.ts +0 -114
  2413. package/node_modules/pino/test/transport/crash.test.js +0 -36
  2414. package/node_modules/pino/test/transport/module-link.test.js +0 -241
  2415. package/node_modules/pino/test/transport/native-type-stripping.test.mjs +0 -151
  2416. package/node_modules/pino/test/transport/node-options.test.js +0 -116
  2417. package/node_modules/pino/test/transport/pipeline.test.js +0 -137
  2418. package/node_modules/pino/test/transport/preload.test.js +0 -54
  2419. package/node_modules/pino/test/transport/repl.test.js +0 -15
  2420. package/node_modules/pino/test/transport/sync-false.test.js +0 -67
  2421. package/node_modules/pino/test/transport/sync-true.test.js +0 -57
  2422. package/node_modules/pino/test/transport/targets.test.js +0 -48
  2423. package/node_modules/pino/test/transport/uses-pino-config.test.js +0 -166
  2424. package/node_modules/pino/test/transport-stream.test.js +0 -40
  2425. package/node_modules/pino/test/types/pino-import.test-d.cts +0 -30
  2426. package/node_modules/pino/test/types/pino-multistream.test-d.ts +0 -28
  2427. package/node_modules/pino/test/types/pino-top-export.test-d.ts +0 -34
  2428. package/node_modules/pino/test/types/pino-transport.test-d.ts +0 -156
  2429. package/node_modules/pino/test/types/pino-type-only.test-d.ts +0 -75
  2430. package/node_modules/pino/test/types/pino.test-d.ts +0 -683
  2431. package/node_modules/pino/test/types/pino.ts +0 -91
  2432. package/node_modules/pino-abstract-transport/LICENSE +0 -21
  2433. package/node_modules/pino-abstract-transport/README.md +0 -171
  2434. package/node_modules/pino-abstract-transport/index.d.ts +0 -122
  2435. package/node_modules/pino-abstract-transport/test/base.test.js +0 -473
  2436. package/node_modules/pino-abstract-transport/test/fixtures/transport-async-iteration.js +0 -22
  2437. package/node_modules/pino-abstract-transport/test/fixtures/transport-on-data.js +0 -22
  2438. package/node_modules/pino-abstract-transport/test/fixtures/transport-transform.js +0 -24
  2439. package/node_modules/pino-abstract-transport/test/fixtures/worker-pipeline.js +0 -15
  2440. package/node_modules/pino-abstract-transport/test/match.js +0 -24
  2441. package/node_modules/pino-abstract-transport/test/types/index.test-d.ts +0 -31
  2442. package/node_modules/pino-abstract-transport/test/worker.test.js +0 -372
  2443. package/node_modules/pino-std-serializers/LICENSE +0 -7
  2444. package/node_modules/pino-std-serializers/Readme.md +0 -182
  2445. package/node_modules/pino-std-serializers/index.d.ts +0 -145
  2446. package/node_modules/pino-std-serializers/test/err-with-cause.test.js +0 -187
  2447. package/node_modules/pino-std-serializers/test/err.test.js +0 -200
  2448. package/node_modules/pino-std-serializers/test/req.test.js +0 -477
  2449. package/node_modules/pino-std-serializers/test/res.test.js +0 -120
  2450. package/node_modules/pino-std-serializers/test/types/index.test-d.ts +0 -71
  2451. package/node_modules/prebuild-install/CHANGELOG.md +0 -131
  2452. package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
  2453. package/node_modules/prebuild-install/LICENSE +0 -21
  2454. package/node_modules/prebuild-install/README.md +0 -163
  2455. package/node_modules/process-warning/LICENSE +0 -21
  2456. package/node_modules/process-warning/README.md +0 -118
  2457. package/node_modules/process-warning/benchmarks/warn.js +0 -25
  2458. package/node_modules/process-warning/examples/example.js +0 -11
  2459. package/node_modules/process-warning/test/emit-interpolated-string.test.js +0 -34
  2460. package/node_modules/process-warning/test/emit-once-only.test.js +0 -33
  2461. package/node_modules/process-warning/test/emit-reset.test.js +0 -40
  2462. package/node_modules/process-warning/test/emit-set.test.js +0 -35
  2463. package/node_modules/process-warning/test/emit-unlimited.test.js +0 -42
  2464. package/node_modules/process-warning/test/index.test.js +0 -99
  2465. package/node_modules/process-warning/test/issue-88.test.js +0 -38
  2466. package/node_modules/process-warning/test/jest.test.js +0 -24
  2467. package/node_modules/process-warning/test/no-warnings.test.js +0 -80
  2468. package/node_modules/process-warning/test/promise.js +0 -10
  2469. package/node_modules/process-warning/types/index.d.ts +0 -37
  2470. package/node_modules/pump/LICENSE +0 -21
  2471. package/node_modules/pump/README.md +0 -74
  2472. package/node_modules/pump/SECURITY.md +0 -5
  2473. package/node_modules/quick-format-unescaped/LICENSE +0 -21
  2474. package/node_modules/quick-format-unescaped/readme.md +0 -66
  2475. package/node_modules/quick-format-unescaped/test/index.js +0 -136
  2476. package/node_modules/rc/LICENSE.APACHE2 +0 -15
  2477. package/node_modules/rc/LICENSE.BSD +0 -26
  2478. package/node_modules/rc/LICENSE.MIT +0 -24
  2479. package/node_modules/rc/README.md +0 -227
  2480. package/node_modules/rc/test/ini.js +0 -16
  2481. package/node_modules/rc/test/nested-env-vars.js +0 -50
  2482. package/node_modules/rc/test/test.js +0 -59
  2483. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  2484. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  2485. package/node_modules/readable-stream/LICENSE +0 -47
  2486. package/node_modules/readable-stream/README.md +0 -106
  2487. package/node_modules/real-require/LICENSE.md +0 -21
  2488. package/node_modules/real-require/README.md +0 -51
  2489. package/node_modules/require-from-string/license +0 -21
  2490. package/node_modules/require-from-string/readme.md +0 -56
  2491. package/node_modules/ret/LICENSE +0 -21
  2492. package/node_modules/ret/README.md +0 -539
  2493. package/node_modules/reusify/LICENSE +0 -22
  2494. package/node_modules/reusify/README.md +0 -139
  2495. package/node_modules/reusify/SECURITY.md +0 -15
  2496. package/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
  2497. package/node_modules/reusify/benchmarks/fib.js +0 -13
  2498. package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
  2499. package/node_modules/reusify/reusify.d.ts +0 -14
  2500. package/node_modules/rfdc/LICENSE +0 -15
  2501. package/node_modules/rfdc/index.d.ts +0 -13
  2502. package/node_modules/rfdc/readme.md +0 -181
  2503. package/node_modules/rfdc/test/index.js +0 -306
  2504. package/node_modules/run-applescript/index.d.ts +0 -66
  2505. package/node_modules/run-applescript/license +0 -9
  2506. package/node_modules/run-applescript/readme.md +0 -78
  2507. package/node_modules/safe-buffer/LICENSE +0 -21
  2508. package/node_modules/safe-buffer/README.md +0 -584
  2509. package/node_modules/safe-buffer/index.d.ts +0 -187
  2510. package/node_modules/safe-regex2/LICENSE +0 -21
  2511. package/node_modules/safe-regex2/README.md +0 -68
  2512. package/node_modules/safe-regex2/example/safe.js +0 -5
  2513. package/node_modules/safe-regex2/test/regex.test.js +0 -57
  2514. package/node_modules/safe-regex2/types/index.d.ts +0 -9
  2515. package/node_modules/safe-stable-stringify/LICENSE +0 -21
  2516. package/node_modules/safe-stable-stringify/esm/wrapper.d.ts +0 -4
  2517. package/node_modules/safe-stable-stringify/index.d.ts +0 -22
  2518. package/node_modules/safe-stable-stringify/readme.md +0 -179
  2519. package/node_modules/secure-json-parse/LICENSE +0 -19
  2520. package/node_modules/secure-json-parse/README.md +0 -132
  2521. package/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
  2522. package/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
  2523. package/node_modules/secure-json-parse/benchmarks/package.json +0 -15
  2524. package/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
  2525. package/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
  2526. package/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
  2527. package/node_modules/secure-json-parse/test/index.test.js +0 -649
  2528. package/node_modules/secure-json-parse/types/index.d.ts +0 -60
  2529. package/node_modules/semver/LICENSE +0 -15
  2530. package/node_modules/semver/README.md +0 -665
  2531. package/node_modules/set-cookie-parser/LICENSE +0 -21
  2532. package/node_modules/set-cookie-parser/README.md +0 -202
  2533. package/node_modules/setprototypeof/LICENSE +0 -13
  2534. package/node_modules/setprototypeof/README.md +0 -31
  2535. package/node_modules/setprototypeof/index.d.ts +0 -2
  2536. package/node_modules/setprototypeof/test/index.js +0 -24
  2537. package/node_modules/shebang-command/license +0 -9
  2538. package/node_modules/shebang-command/readme.md +0 -34
  2539. package/node_modules/shebang-regex/index.d.ts +0 -22
  2540. package/node_modules/shebang-regex/license +0 -9
  2541. package/node_modules/shebang-regex/readme.md +0 -33
  2542. package/node_modules/signal-exit/LICENSE.txt +0 -16
  2543. package/node_modules/signal-exit/README.md +0 -74
  2544. package/node_modules/simple-concat/LICENSE +0 -20
  2545. package/node_modules/simple-concat/README.md +0 -44
  2546. package/node_modules/simple-concat/test/basic.js +0 -41
  2547. package/node_modules/simple-get/LICENSE +0 -20
  2548. package/node_modules/simple-get/README.md +0 -333
  2549. package/node_modules/smart-buffer/LICENSE +0 -20
  2550. package/node_modules/smart-buffer/README.md +0 -633
  2551. package/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
  2552. package/node_modules/smart-buffer/build/utils.js.map +0 -1
  2553. package/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
  2554. package/node_modules/smart-buffer/docs/README_v3.md +0 -367
  2555. package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
  2556. package/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
  2557. package/node_modules/smart-buffer/typings/utils.d.ts +0 -66
  2558. package/node_modules/socks/LICENSE +0 -20
  2559. package/node_modules/socks/README.md +0 -686
  2560. package/node_modules/socks/build/client/socksclient.js.map +0 -1
  2561. package/node_modules/socks/build/common/constants.js.map +0 -1
  2562. package/node_modules/socks/build/common/helpers.js.map +0 -1
  2563. package/node_modules/socks/build/common/receivebuffer.js.map +0 -1
  2564. package/node_modules/socks/build/common/util.js.map +0 -1
  2565. package/node_modules/socks/build/index.js.map +0 -1
  2566. package/node_modules/socks/docs/examples/index.md +0 -17
  2567. package/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
  2568. package/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
  2569. package/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
  2570. package/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
  2571. package/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
  2572. package/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
  2573. package/node_modules/socks/docs/index.md +0 -5
  2574. package/node_modules/socks/docs/migratingFromV1.md +0 -86
  2575. package/node_modules/socks/typings/client/socksclient.d.ts +0 -162
  2576. package/node_modules/socks/typings/common/constants.d.ts +0 -151
  2577. package/node_modules/socks/typings/common/helpers.d.ts +0 -17
  2578. package/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
  2579. package/node_modules/socks/typings/common/util.d.ts +0 -14
  2580. package/node_modules/socks/typings/index.d.ts +0 -1
  2581. package/node_modules/socks-proxy-agent/LICENSE +0 -22
  2582. package/node_modules/socks-proxy-agent/README.md +0 -50
  2583. package/node_modules/sonic-boom/LICENSE +0 -21
  2584. package/node_modules/sonic-boom/README.md +0 -153
  2585. package/node_modules/sonic-boom/test/destroy.test.js +0 -49
  2586. package/node_modules/sonic-boom/test/end.test.js +0 -98
  2587. package/node_modules/sonic-boom/test/flush-sync.test.js +0 -140
  2588. package/node_modules/sonic-boom/test/flush.test.js +0 -419
  2589. package/node_modules/sonic-boom/test/fsync.test.js +0 -63
  2590. package/node_modules/sonic-boom/test/helper.js +0 -42
  2591. package/node_modules/sonic-boom/test/minlength.test.js +0 -35
  2592. package/node_modules/sonic-boom/test/mode.test.js +0 -116
  2593. package/node_modules/sonic-boom/test/periodicflush.test.js +0 -61
  2594. package/node_modules/sonic-boom/test/reopen.test.js +0 -239
  2595. package/node_modules/sonic-boom/test/retry.test.js +0 -414
  2596. package/node_modules/sonic-boom/test/sync.test.js +0 -261
  2597. package/node_modules/sonic-boom/test/write.test.js +0 -515
  2598. package/node_modules/sonic-boom/types/index.d.ts +0 -63
  2599. package/node_modules/sonic-boom/types/tests/test.ts +0 -4
  2600. package/node_modules/split2/LICENSE +0 -13
  2601. package/node_modules/split2/README.md +0 -85
  2602. package/node_modules/standardwebhooks/README.md +0 -41
  2603. package/node_modules/statuses/HISTORY.md +0 -87
  2604. package/node_modules/statuses/LICENSE +0 -23
  2605. package/node_modules/statuses/README.md +0 -139
  2606. package/node_modules/std-env/README.md +0 -118
  2607. package/node_modules/stream-shift/LICENSE +0 -21
  2608. package/node_modules/stream-shift/README.md +0 -25
  2609. package/node_modules/string_decoder/LICENSE +0 -48
  2610. package/node_modules/string_decoder/README.md +0 -47
  2611. package/node_modules/strip-json-comments/license +0 -21
  2612. package/node_modules/strip-json-comments/readme.md +0 -64
  2613. package/node_modules/tar-fs/LICENSE +0 -21
  2614. package/node_modules/tar-fs/README.md +0 -165
  2615. package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
  2616. package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
  2617. package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
  2618. package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
  2619. package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
  2620. package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
  2621. package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
  2622. package/node_modules/tar-fs/test/fixtures/e/file +0 -0
  2623. package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
  2624. package/node_modules/tar-fs/test/index.js +0 -346
  2625. package/node_modules/tar-stream/LICENSE +0 -21
  2626. package/node_modules/tar-stream/README.md +0 -168
  2627. package/node_modules/thread-stream/CLAUDE.md +0 -53
  2628. package/node_modules/thread-stream/LICENSE +0 -21
  2629. package/node_modules/thread-stream/README.md +0 -135
  2630. package/node_modules/thread-stream/index.d.ts +0 -92
  2631. package/node_modules/thread-stream/test/base.test.js +0 -259
  2632. package/node_modules/thread-stream/test/bench.test.js +0 -38
  2633. package/node_modules/thread-stream/test/bundlers.test.js +0 -59
  2634. package/node_modules/thread-stream/test/close-on-gc.js +0 -37
  2635. package/node_modules/thread-stream/test/commonjs-fallback.test.js +0 -75
  2636. package/node_modules/thread-stream/test/context.test.js +0 -21
  2637. package/node_modules/thread-stream/test/create-and-exit.js +0 -16
  2638. package/node_modules/thread-stream/test/custom-worker.js +0 -9
  2639. package/node_modules/thread-stream/test/dir with spaces/test-package.zip +0 -0
  2640. package/node_modules/thread-stream/test/emit-event.js +0 -22
  2641. package/node_modules/thread-stream/test/end.test.js +0 -56
  2642. package/node_modules/thread-stream/test/error.js +0 -14
  2643. package/node_modules/thread-stream/test/esm.test.mjs +0 -46
  2644. package/node_modules/thread-stream/test/event.test.js +0 -24
  2645. package/node_modules/thread-stream/test/exit.js +0 -14
  2646. package/node_modules/thread-stream/test/get-context.js +0 -22
  2647. package/node_modules/thread-stream/test/helper.d.ts +0 -1
  2648. package/node_modules/thread-stream/test/helper.js +0 -26
  2649. package/node_modules/thread-stream/test/indexes.test.js +0 -11
  2650. package/node_modules/thread-stream/test/multibyte-chars.test.mjs +0 -75
  2651. package/node_modules/thread-stream/test/on-message.js +0 -18
  2652. package/node_modules/thread-stream/test/pkg/index.js +0 -37
  2653. package/node_modules/thread-stream/test/pkg/pkg.config.json +0 -14
  2654. package/node_modules/thread-stream/test/pkg/pkg.test.js +0 -45
  2655. package/node_modules/thread-stream/test/port.js +0 -16
  2656. package/node_modules/thread-stream/test/post-message.test.js +0 -23
  2657. package/node_modules/thread-stream/test/string-limit-2.test.js +0 -35
  2658. package/node_modules/thread-stream/test/string-limit.test.js +0 -37
  2659. package/node_modules/thread-stream/test/syntax-error.mjs +0 -2
  2660. package/node_modules/thread-stream/test/thread-management.test.js +0 -138
  2661. package/node_modules/thread-stream/test/to-file-on-destroy.js +0 -23
  2662. package/node_modules/thread-stream/test/to-file-on-final.js +0 -24
  2663. package/node_modules/thread-stream/test/to-file.js +0 -12
  2664. package/node_modules/thread-stream/test/to-file.mjs +0 -8
  2665. package/node_modules/thread-stream/test/to-next.js +0 -9
  2666. package/node_modules/thread-stream/test/transpiled.test.js +0 -29
  2667. package/node_modules/thread-stream/test/ts/to-file.ts +0 -10
  2668. package/node_modules/thread-stream/test/ts/transpile.sh +0 -19
  2669. package/node_modules/thread-stream/test/ts-commonjs-default-export.zip +0 -0
  2670. package/node_modules/thread-stream/test/ts-native.test.mjs +0 -35
  2671. package/node_modules/thread-stream/test/ts-node-fallback.test.js +0 -35
  2672. package/node_modules/thread-stream/test/uncaughtException.js +0 -21
  2673. package/node_modules/thread-stream/test/unhandledRejection.js +0 -21
  2674. package/node_modules/thread-stream/test/yarnrc.yml +0 -7
  2675. package/node_modules/toad-cache/LICENSE +0 -21
  2676. package/node_modules/toad-cache/README.md +0 -265
  2677. package/node_modules/toad-cache/toad-cache.d.cts +0 -138
  2678. package/node_modules/toad-cache/toad-cache.d.ts +0 -128
  2679. package/node_modules/toidentifier/HISTORY.md +0 -9
  2680. package/node_modules/toidentifier/LICENSE +0 -21
  2681. package/node_modules/toidentifier/README.md +0 -61
  2682. package/node_modules/tslib/LICENSE.txt +0 -12
  2683. package/node_modules/tslib/README.md +0 -164
  2684. package/node_modules/tslib/SECURITY.md +0 -41
  2685. package/node_modules/tslib/modules/index.d.ts +0 -38
  2686. package/node_modules/tslib/tslib.d.ts +0 -460
  2687. package/node_modules/tsscmp/LICENSE +0 -21
  2688. package/node_modules/tsscmp/README.md +0 -48
  2689. package/node_modules/tsscmp/test/benchmark/index.js +0 -30
  2690. package/node_modules/tsscmp/test/unit/index.js +0 -69
  2691. package/node_modules/tunnel-agent/LICENSE +0 -55
  2692. package/node_modules/tunnel-agent/README.md +0 -4
  2693. package/node_modules/undici/LICENSE +0 -21
  2694. package/node_modules/undici/README.md +0 -741
  2695. package/node_modules/undici/docs/docs/api/Agent.md +0 -84
  2696. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  2697. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  2698. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  2699. package/node_modules/undici/docs/docs/api/Client.md +0 -285
  2700. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  2701. package/node_modules/undici/docs/docs/api/Connector.md +0 -115
  2702. package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  2703. package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  2704. package/node_modules/undici/docs/docs/api/Debug.md +0 -62
  2705. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  2706. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  2707. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  2708. package/node_modules/undici/docs/docs/api/Errors.md +0 -49
  2709. package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  2710. package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  2711. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  2712. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  2713. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  2714. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  2715. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  2716. package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  2717. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  2718. package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  2719. package/node_modules/undici/docs/docs/api/Pool.md +0 -84
  2720. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  2721. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  2722. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  2723. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  2724. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  2725. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  2726. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  2727. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  2728. package/node_modules/undici/docs/docs/api/Util.md +0 -25
  2729. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  2730. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  2731. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  2732. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  2733. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  2734. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  2735. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  2736. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  2737. package/node_modules/undici/index.d.ts +0 -3
  2738. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  2739. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  2740. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  2741. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  2742. package/node_modules/undici/types/README.md +0 -6
  2743. package/node_modules/undici/types/agent.d.ts +0 -32
  2744. package/node_modules/undici/types/api.d.ts +0 -43
  2745. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  2746. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  2747. package/node_modules/undici/types/cache.d.ts +0 -36
  2748. package/node_modules/undici/types/client-stats.d.ts +0 -15
  2749. package/node_modules/undici/types/client.d.ts +0 -123
  2750. package/node_modules/undici/types/connector.d.ts +0 -36
  2751. package/node_modules/undici/types/content-type.d.ts +0 -21
  2752. package/node_modules/undici/types/cookies.d.ts +0 -30
  2753. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  2754. package/node_modules/undici/types/dispatcher.d.ts +0 -273
  2755. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  2756. package/node_modules/undici/types/errors.d.ts +0 -177
  2757. package/node_modules/undici/types/eventsource.d.ts +0 -66
  2758. package/node_modules/undici/types/fetch.d.ts +0 -231
  2759. package/node_modules/undici/types/formdata.d.ts +0 -114
  2760. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  2761. package/node_modules/undici/types/global-origin.d.ts +0 -7
  2762. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  2763. package/node_modules/undici/types/handlers.d.ts +0 -14
  2764. package/node_modules/undici/types/header.d.ts +0 -160
  2765. package/node_modules/undici/types/index.d.ts +0 -91
  2766. package/node_modules/undici/types/interceptors.d.ts +0 -80
  2767. package/node_modules/undici/types/mock-agent.d.ts +0 -68
  2768. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  2769. package/node_modules/undici/types/mock-client.d.ts +0 -27
  2770. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  2771. package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  2772. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  2773. package/node_modules/undici/types/patch.d.ts +0 -29
  2774. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  2775. package/node_modules/undici/types/pool.d.ts +0 -41
  2776. package/node_modules/undici/types/proxy-agent.d.ts +0 -29
  2777. package/node_modules/undici/types/readable.d.ts +0 -68
  2778. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  2779. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  2780. package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  2781. package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  2782. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  2783. package/node_modules/undici/types/util.d.ts +0 -18
  2784. package/node_modules/undici/types/utility.d.ts +0 -7
  2785. package/node_modules/undici/types/webidl.d.ts +0 -347
  2786. package/node_modules/undici/types/websocket.d.ts +0 -188
  2787. package/node_modules/util-deprecate/History.md +0 -16
  2788. package/node_modules/util-deprecate/LICENSE +0 -24
  2789. package/node_modules/util-deprecate/README.md +0 -53
  2790. package/node_modules/which/LICENSE +0 -15
  2791. package/node_modules/which/README.md +0 -54
  2792. package/node_modules/wrappy/LICENSE +0 -15
  2793. package/node_modules/wrappy/README.md +0 -36
  2794. package/node_modules/ws/LICENSE +0 -20
  2795. package/node_modules/ws/README.md +0 -548
  2796. package/node_modules/wsl-utils/index.d.ts +0 -21
  2797. package/node_modules/wsl-utils/license +0 -9
  2798. package/node_modules/wsl-utils/readme.md +0 -50
  2799. package/node_modules/zod/LICENSE +0 -21
  2800. package/node_modules/zod/README.md +0 -208
  2801. package/node_modules/zod/index.d.cts +0 -4
  2802. package/node_modules/zod/index.d.ts +0 -4
  2803. package/node_modules/zod/locales/index.d.cts +0 -1
  2804. package/node_modules/zod/locales/index.d.ts +0 -1
  2805. package/node_modules/zod/mini/index.d.cts +0 -3
  2806. package/node_modules/zod/mini/index.d.ts +0 -3
  2807. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  2808. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  2809. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  2810. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  2811. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  2812. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  2813. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  2814. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  2815. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  2816. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  2817. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  2818. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  2819. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  2820. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  2821. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  2822. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  2823. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  2824. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  2825. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  2826. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  2827. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  2828. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  2829. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  2830. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  2831. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  2832. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  2833. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  2834. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  2835. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  2836. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  2837. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  2838. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  2839. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  2840. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  2841. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  2842. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  2843. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  2844. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  2845. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  2846. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  2847. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  2848. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  2849. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  2850. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  2851. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  2852. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  2853. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  2854. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  2855. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  2856. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  2857. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  2858. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  2859. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  2860. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  2861. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  2862. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  2863. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  2864. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  2865. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  2866. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  2867. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  2868. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  2869. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  2870. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  2871. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  2872. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  2873. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  2874. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  2875. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  2876. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  2877. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  2878. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  2879. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  2880. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  2881. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2882. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2883. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2884. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  2885. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  2886. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
  2887. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2888. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  2889. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
  2890. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2891. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  2892. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2893. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  2894. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  2895. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
  2896. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  2897. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2898. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
  2899. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  2900. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
  2901. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  2902. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  2903. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  2904. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  2905. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
  2906. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  2907. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2908. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  2909. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  2910. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  2911. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  2912. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  2913. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  2914. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  2915. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  2916. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2917. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2918. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  2919. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2920. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
  2921. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
  2922. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
  2923. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
  2924. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  2925. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  2926. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  2927. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
  2928. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2929. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2930. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2931. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  2932. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -632
  2933. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
  2934. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
  2935. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  2936. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  2937. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  2938. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  2939. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
  2940. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  2941. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  2942. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  2943. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2990
  2944. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
  2945. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
  2946. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
  2947. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  2948. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2949. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2950. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  2951. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2952. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2953. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2954. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  2955. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  2956. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  2957. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2958. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2959. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
  2960. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
  2961. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  2962. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  2963. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  2964. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  2965. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  2966. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
  2967. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  2968. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  2969. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  2970. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
  2971. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  2972. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  2973. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2974. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  2975. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  2976. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
  2977. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  2978. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  2979. package/node_modules/zod/v3/errors.d.cts +0 -5
  2980. package/node_modules/zod/v3/errors.d.ts +0 -5
  2981. package/node_modules/zod/v3/external.d.cts +0 -6
  2982. package/node_modules/zod/v3/external.d.ts +0 -6
  2983. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  2984. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  2985. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  2986. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  2987. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  2988. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  2989. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  2990. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  2991. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  2992. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  2993. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  2994. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  2995. package/node_modules/zod/v3/index.d.cts +0 -4
  2996. package/node_modules/zod/v3/index.d.ts +0 -4
  2997. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  2998. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  2999. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  3000. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  3001. package/node_modules/zod/v3/types.d.cts +0 -1034
  3002. package/node_modules/zod/v3/types.d.ts +0 -1034
  3003. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  3004. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  3005. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  3006. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  3007. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  3008. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  3009. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  3010. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  3011. package/node_modules/zod/v4/classic/external.d.cts +0 -15
  3012. package/node_modules/zod/v4/classic/external.d.ts +0 -15
  3013. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  3014. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  3015. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  3016. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  3017. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  3018. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  3019. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  3020. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  3021. package/node_modules/zod/v4/classic/schemas.d.cts +0 -739
  3022. package/node_modules/zod/v4/classic/schemas.d.ts +0 -739
  3023. package/node_modules/zod/v4/core/api.d.cts +0 -304
  3024. package/node_modules/zod/v4/core/api.d.ts +0 -304
  3025. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  3026. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  3027. package/node_modules/zod/v4/core/core.d.cts +0 -70
  3028. package/node_modules/zod/v4/core/core.d.ts +0 -70
  3029. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  3030. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  3031. package/node_modules/zod/v4/core/errors.d.cts +0 -220
  3032. package/node_modules/zod/v4/core/errors.d.ts +0 -220
  3033. package/node_modules/zod/v4/core/index.d.cts +0 -16
  3034. package/node_modules/zod/v4/core/index.d.ts +0 -16
  3035. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  3036. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  3037. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  3038. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  3039. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  3040. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  3041. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  3042. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  3043. package/node_modules/zod/v4/core/regexes.d.cts +0 -79
  3044. package/node_modules/zod/v4/core/regexes.d.ts +0 -79
  3045. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  3046. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  3047. package/node_modules/zod/v4/core/schemas.d.cts +0 -1146
  3048. package/node_modules/zod/v4/core/schemas.d.ts +0 -1146
  3049. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  3050. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  3051. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  3052. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  3053. package/node_modules/zod/v4/core/util.d.cts +0 -199
  3054. package/node_modules/zod/v4/core/util.d.ts +0 -199
  3055. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  3056. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  3057. package/node_modules/zod/v4/index.d.cts +0 -3
  3058. package/node_modules/zod/v4/index.d.ts +0 -3
  3059. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  3060. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  3061. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  3062. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  3063. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  3064. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  3065. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  3066. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  3067. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  3068. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  3069. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  3070. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  3071. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  3072. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  3073. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  3074. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  3075. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  3076. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  3077. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  3078. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  3079. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  3080. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  3081. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  3082. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  3083. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  3084. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  3085. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  3086. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  3087. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  3088. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  3089. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  3090. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  3091. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  3092. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  3093. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  3094. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  3095. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  3096. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  3097. package/node_modules/zod/v4/locales/index.d.cts +0 -49
  3098. package/node_modules/zod/v4/locales/index.d.ts +0 -49
  3099. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  3100. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  3101. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  3102. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  3103. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  3104. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  3105. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  3106. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  3107. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  3108. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  3109. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  3110. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  3111. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  3112. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  3113. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  3114. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  3115. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  3116. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  3117. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  3118. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  3119. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  3120. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  3121. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  3122. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  3123. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  3124. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  3125. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  3126. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  3127. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  3128. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  3129. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  3130. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  3131. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  3132. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  3133. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  3134. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  3135. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  3136. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  3137. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  3138. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  3139. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  3140. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  3141. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  3142. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  3143. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  3144. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  3145. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  3146. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  3147. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  3148. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  3149. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  3150. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  3151. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  3152. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  3153. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  3154. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  3155. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  3156. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  3157. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  3158. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  3159. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  3160. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  3161. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  3162. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  3163. package/node_modules/zod/v4/mini/external.d.cts +0 -12
  3164. package/node_modules/zod/v4/mini/external.d.ts +0 -12
  3165. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  3166. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  3167. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  3168. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  3169. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  3170. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  3171. package/node_modules/zod/v4/mini/schemas.d.cts +0 -427
  3172. package/node_modules/zod/v4/mini/schemas.d.ts +0 -427
  3173. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  3174. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  3175. /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_buildManifest.js +0 -0
  3176. /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_clientMiddlewareManifest.json +0 -0
  3177. /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_ssgManifest.js +0 -0
  3178. /package/node_modules/node-pty/{third_party/conpty/1.23.251008001/win10-x64 → build/Release/conpty}/OpenConsole.exe +0 -0
  3179. /package/node_modules/node-pty/{third_party/conpty/1.23.251008001/win10-x64 → build/Release/conpty}/conpty.dll +0 -0
@@ -1,3793 +0,0 @@
1
- 'use strict'
2
-
3
- /* eslint n/no-deprecated-api: "off" */
4
-
5
- const path = require('node:path')
6
- const fs = require('node:fs')
7
- const url = require('node:url')
8
- const http = require('node:http')
9
- const { test } = require('node:test')
10
- const Fastify = require('fastify')
11
- const compress = require('@fastify/compress')
12
- const concat = require('concat-stream')
13
- const pino = require('pino')
14
- const proxyquire = require('proxyquire')
15
-
16
- const fastifyStatic = require('../')
17
-
18
- const indexContent = fs
19
- .readFileSync('./test/static/index.html')
20
- .toString('utf8')
21
- const index2Content = fs
22
- .readFileSync('./test/static2/index.html')
23
- .toString('utf8')
24
- const foobarContent = fs
25
- .readFileSync('./test/static/foobar.html')
26
- .toString('utf8')
27
- const deepContent = fs
28
- .readFileSync('./test/static/deep/path/for/test/purpose/foo.html')
29
- .toString('utf8')
30
- const innerIndex = fs
31
- .readFileSync('./test/static/deep/path/for/test/index.html')
32
- .toString('utf8')
33
- const allThreeBr = fs.readFileSync(
34
- './test/static-pre-compressed/all-three.html.br'
35
- )
36
- const allThreeGzip = fs.readFileSync(
37
- './test/static-pre-compressed/all-three.html.gz'
38
- )
39
- const gzipOnly = fs.readFileSync(
40
- './test/static-pre-compressed/gzip-only.html.gz'
41
- )
42
- const indexBr = fs.readFileSync(
43
- './test/static-pre-compressed/index.html.br'
44
- )
45
- const dirIndexBr = fs.readFileSync(
46
- './test/static-pre-compressed/dir/index.html.br'
47
- )
48
- const dirIndexGz = fs.readFileSync(
49
- './test/static-pre-compressed/dir-gz/index.html.gz'
50
- )
51
- const uncompressedStatic = fs
52
- .readFileSync('./test/static-pre-compressed/uncompressed.html')
53
- .toString('utf8')
54
- const fooContent = fs.readFileSync('./test/static/foo.html').toString('utf8')
55
- const barContent = fs.readFileSync('./test/static2/bar.html').toString('utf8')
56
- const jsonHiddenContent = fs.readFileSync('./test/static-hidden/.hidden/sample.json').toString('utf8')
57
-
58
- const GENERIC_RESPONSE_CHECK_COUNT = 5
59
- function genericResponseChecks (t, response) {
60
- t.assert.ok(/text\/(html|css)/.test(response.headers.get?.('content-type') ?? response.headers['content-type']))
61
- t.assert.ok(response.headers.get?.('etag') ?? response.headers.etag)
62
- t.assert.ok(response.headers.get?.('last-modified') ?? response.headers['last-modified'])
63
- t.assert.ok(response.headers.get?.('date') ?? response.headers.date)
64
- t.assert.ok(response.headers.get?.('cache-control') ?? response.headers['cache-control'])
65
- }
66
-
67
- const GENERIC_ERROR_RESPONSE_CHECK_COUNT = 2
68
- function genericErrorResponseChecks (t, response) {
69
- t.assert.deepStrictEqual(response.headers.get?.('content-type') ?? response.headers['content-type'], 'application/json; charset=utf-8')
70
- t.assert.ok(response.headers.get?.('date') ?? response.headers.date)
71
- }
72
-
73
- if (typeof Promise.withResolvers === 'undefined') {
74
- Promise.withResolvers = function () {
75
- let promiseResolve, promiseReject
76
- const promise = new Promise((resolve, reject) => {
77
- promiseResolve = resolve
78
- promiseReject = reject
79
- })
80
- return { promise, resolve: promiseResolve, reject: promiseReject }
81
- }
82
- }
83
-
84
- test('register /static prefixAvoidTrailingSlash', async t => {
85
- t.plan(11)
86
-
87
- const pluginOptions = {
88
- root: path.join(__dirname, '/static'),
89
- prefix: '/static',
90
- prefixAvoidTrailingSlash: true
91
- }
92
- const fastify = Fastify()
93
- fastify.register(fastifyStatic, pluginOptions)
94
-
95
- t.after(() => fastify.close())
96
-
97
- await fastify.listen({ port: 0 })
98
-
99
- fastify.server.unref()
100
-
101
- await t.test('/static/index.html', async (t) => {
102
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
103
-
104
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
105
-
106
- t.assert.ok(response.ok)
107
- t.assert.deepStrictEqual(response.status, 200)
108
- t.assert.deepStrictEqual(await response.text(), indexContent)
109
-
110
- genericResponseChecks(t, response)
111
- })
112
-
113
- await t.test('/static/index.css', async (t) => {
114
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
115
-
116
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.css')
117
-
118
- t.assert.ok(response.ok)
119
- t.assert.deepStrictEqual(response.status, 200)
120
- genericResponseChecks(t, response)
121
- })
122
-
123
- await t.test('/static/', async (t) => {
124
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
125
-
126
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/')
127
- t.assert.ok(response.ok)
128
- t.assert.deepStrictEqual(response.status, 200)
129
- t.assert.deepStrictEqual(await response.text(), indexContent)
130
- genericResponseChecks(t, response)
131
- })
132
-
133
- await t.test('/static', async (t) => {
134
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
135
-
136
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static')
137
- t.assert.ok(response.ok)
138
- t.assert.deepStrictEqual(response.status, 200)
139
- t.assert.deepStrictEqual(await response.text(), indexContent)
140
- genericResponseChecks(t, response)
141
- })
142
-
143
- await t.test('/static/deep/path/for/test/purpose/foo.html', async (t) => {
144
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
145
-
146
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/purpose/foo.html')
147
- t.assert.ok(response.ok)
148
- t.assert.deepStrictEqual(response.status, 200)
149
- t.assert.deepStrictEqual(await response.text(), deepContent)
150
- genericResponseChecks(t, response)
151
- })
152
-
153
- await t.test('/static/deep/path/for/test/', async (t) => {
154
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
155
-
156
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/')
157
- t.assert.ok(response.ok)
158
- t.assert.deepStrictEqual(response.status, 200)
159
- t.assert.deepStrictEqual(await response.text(), innerIndex)
160
- genericResponseChecks(t, response)
161
- })
162
-
163
- await t.test('/static/this/path/for/test', async (t) => {
164
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
165
-
166
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/for/test')
167
- t.assert.ok(!response.ok)
168
- t.assert.deepStrictEqual(response.status, 404)
169
- genericErrorResponseChecks(t, response)
170
- })
171
-
172
- await t.test('/static/this/path/doesnt/exist.html', async (t) => {
173
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
174
-
175
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/doesnt/exist.html')
176
- t.assert.ok(!response.ok)
177
- t.assert.deepStrictEqual(response.status, 404)
178
- genericErrorResponseChecks(t, response)
179
- })
180
-
181
- await t.test('/static/../index.js', async (t) => {
182
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
183
-
184
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/../index.js')
185
- t.assert.ok(!response.ok)
186
- t.assert.deepStrictEqual(response.status, 404)
187
- genericErrorResponseChecks(t, response)
188
- })
189
-
190
- await t.test('file not exposed outside of the plugin', async (t) => {
191
- t.plan(2)
192
-
193
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foobar.html')
194
- t.assert.ok(!response.ok)
195
- t.assert.deepStrictEqual(response.status, 404)
196
- })
197
-
198
- await t.test('file retrieve with HEAD method', async t => {
199
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
200
-
201
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
202
- method: 'HEAD'
203
- })
204
-
205
- t.assert.ok(response.ok)
206
- t.assert.deepStrictEqual(response.status, 200)
207
- t.assert.deepStrictEqual(await response.text(), '')
208
- genericResponseChecks(t, response)
209
- })
210
- })
211
-
212
- test('register /static', async (t) => {
213
- t.plan(10)
214
-
215
- const pluginOptions = {
216
- root: path.join(__dirname, '/static'),
217
- prefix: '/static'
218
- }
219
- const fastify = Fastify()
220
- fastify.register(fastifyStatic, pluginOptions)
221
-
222
- t.after(() => fastify.close())
223
-
224
- await fastify.listen({ port: 0 })
225
-
226
- fastify.server.unref()
227
-
228
- await t.test('/static/index.html', async (t) => {
229
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
230
-
231
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
232
- t.assert.ok(response.ok)
233
- t.assert.deepStrictEqual(response.status, 200)
234
- t.assert.deepStrictEqual(await response.text(), indexContent)
235
- genericResponseChecks(t, response)
236
- })
237
-
238
- await t.test('/static/index.css', async (t) => {
239
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
240
-
241
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.css')
242
- t.assert.ok(response.ok)
243
- t.assert.deepStrictEqual(response.status, 200)
244
- genericResponseChecks(t, response)
245
- })
246
-
247
- await t.test('/static/', async (t) => {
248
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
249
-
250
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/')
251
- t.assert.ok(response.ok)
252
- t.assert.deepStrictEqual(response.status, 200)
253
- t.assert.deepStrictEqual(await response.text(), indexContent)
254
- genericResponseChecks(t, response)
255
- })
256
-
257
- await t.test('/static', async (t) => {
258
- t.plan(2)
259
-
260
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static')
261
- t.assert.ok(!response.ok)
262
- t.assert.deepStrictEqual(response.status, 404)
263
- })
264
-
265
- await t.test('/static/deep/path/for/test/purpose/foo.html', async (t) => {
266
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
267
-
268
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/purpose/foo.html')
269
- t.assert.ok(response.ok)
270
- t.assert.deepStrictEqual(response.status, 200)
271
- t.assert.deepStrictEqual(await response.text(), deepContent)
272
- genericResponseChecks(t, response)
273
- })
274
-
275
- await t.test('/static/deep/path/for/test/', async (t) => {
276
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
277
-
278
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/')
279
- t.assert.ok(response.ok)
280
- t.assert.deepStrictEqual(response.status, 200)
281
- t.assert.deepStrictEqual(await response.text(), innerIndex)
282
- genericResponseChecks(t, response)
283
- })
284
-
285
- await t.test('/static/this/path/for/test', async (t) => {
286
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
287
-
288
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/for/test')
289
- t.assert.ok(!response.ok)
290
- t.assert.deepStrictEqual(response.status, 404)
291
- genericErrorResponseChecks(t, response)
292
- })
293
-
294
- await t.test('/static/this/path/doesnt/exist.html', async (t) => {
295
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
296
-
297
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/doesnt/exist.html')
298
- t.assert.ok(!response.ok)
299
- t.assert.deepStrictEqual(response.status, 404)
300
- genericErrorResponseChecks(t, response)
301
- })
302
-
303
- await t.test('/static/../index.js', async (t) => {
304
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
305
-
306
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/../index.js', {
307
- redirect: 'error'
308
- })
309
- t.assert.ok(!response.ok)
310
- t.assert.deepStrictEqual(response.status, 404)
311
- genericErrorResponseChecks(t, response)
312
- })
313
-
314
- await t.test('file not exposed outside of the plugin', async (t) => {
315
- t.plan(2)
316
-
317
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foobar.html')
318
- t.assert.ok(!response.ok)
319
- t.assert.deepStrictEqual(response.status, 404)
320
- })
321
- })
322
-
323
- test('register /static/', async t => {
324
- t.plan(11)
325
-
326
- const pluginOptions = {
327
- root: path.join(__dirname, '/static'),
328
- prefix: '/static/'
329
- }
330
- const fastify = Fastify()
331
- fastify.register(fastifyStatic, pluginOptions)
332
-
333
- t.after(() => fastify.close())
334
-
335
- await fastify.listen({ port: 0 })
336
-
337
- fastify.server.unref()
338
-
339
- await t.test('/static/index.html', async (t) => {
340
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
341
-
342
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
343
- t.assert.ok(response.ok)
344
- t.assert.deepStrictEqual(response.status, 200)
345
- t.assert.deepStrictEqual(await response.text(), indexContent)
346
- genericResponseChecks(t, response)
347
- })
348
-
349
- await t.test('/static/index.html', async t => {
350
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
351
-
352
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
353
- method: 'HEAD'
354
- })
355
- t.assert.ok(response.ok)
356
- t.assert.deepStrictEqual(response.status, 200)
357
- t.assert.deepStrictEqual(await response.text(), '')
358
- genericResponseChecks(t, response)
359
- })
360
-
361
- await t.test('/static/index.css', async (t) => {
362
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
363
-
364
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.css')
365
- t.assert.ok(response.ok)
366
- t.assert.deepStrictEqual(response.status, 200)
367
- genericResponseChecks(t, response)
368
- })
369
-
370
- await t.test('/static/', async (t) => {
371
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
372
-
373
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/')
374
- t.assert.ok(response.ok)
375
- t.assert.deepStrictEqual(response.status, 200)
376
- t.assert.deepStrictEqual(await response.text(), indexContent)
377
- genericResponseChecks(t, response)
378
- })
379
-
380
- await t.test('/static', async (t) => {
381
- t.plan(2)
382
-
383
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static')
384
- t.assert.ok(!response.ok)
385
- t.assert.deepStrictEqual(response.status, 404)
386
- })
387
-
388
- await t.test('/static/deep/path/for/test/purpose/foo.html', async (t) => {
389
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
390
-
391
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/purpose/foo.html')
392
- t.assert.ok(response.ok)
393
- t.assert.deepStrictEqual(response.status, 200)
394
- t.assert.deepStrictEqual(await response.text(), deepContent)
395
- genericResponseChecks(t, response)
396
- })
397
-
398
- await t.test('/static/deep/path/for/test/', async (t) => {
399
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
400
-
401
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/')
402
- t.assert.ok(response.ok)
403
- t.assert.deepStrictEqual(response.status, 200)
404
- t.assert.deepStrictEqual(await response.text(), innerIndex)
405
- genericResponseChecks(t, response)
406
- })
407
-
408
- await t.test('/static/this/path/for/test', async (t) => {
409
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
410
-
411
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/for/test')
412
- t.assert.ok(!response.ok)
413
- t.assert.deepStrictEqual(response.status, 404)
414
- genericErrorResponseChecks(t, response)
415
- })
416
-
417
- await t.test('/static/this/path/doesnt/exist.html', async (t) => {
418
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
419
-
420
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/doesnt/exist.html')
421
- t.assert.ok(!response.ok)
422
- t.assert.deepStrictEqual(response.status, 404)
423
- genericErrorResponseChecks(t, response)
424
- })
425
-
426
- await t.test('/static/../index.js', async (t) => {
427
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
428
-
429
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/../index.js')
430
- t.assert.ok(!response.ok)
431
- t.assert.deepStrictEqual(response.status, 404)
432
- genericErrorResponseChecks(t, response)
433
- })
434
-
435
- await t.test('304', async t => {
436
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
437
-
438
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
439
- t.assert.ok(response.ok)
440
- t.assert.deepStrictEqual(response.status, 200)
441
- t.assert.deepStrictEqual(await response.text(), indexContent)
442
- genericResponseChecks(t, response)
443
-
444
- const response2 = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
445
- headers: {
446
- 'if-none-match': response.headers.get('etag')
447
- },
448
- cache: 'no-cache'
449
- })
450
- t.assert.ok(!response2.ok)
451
- t.assert.deepStrictEqual(response2.status, 304)
452
- })
453
- })
454
-
455
- test('register /static and /static2', async (t) => {
456
- t.plan(4)
457
-
458
- const pluginOptions = {
459
- root: [path.join(__dirname, '/static'), path.join(__dirname, '/static2')],
460
- prefix: '/static'
461
- }
462
- const fastify = Fastify()
463
- fastify.register(fastifyStatic, pluginOptions)
464
-
465
- fastify.get('/foo', (_req, rep) => {
466
- rep.sendFile('foo.html')
467
- })
468
-
469
- fastify.get('/bar', (_req, rep) => {
470
- rep.sendFile('bar.html')
471
- })
472
-
473
- t.after(() => fastify.close())
474
-
475
- await fastify.listen({ port: 0 })
476
-
477
- fastify.server.unref()
478
-
479
- await t.test('/static/index.html', async (t) => {
480
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
481
-
482
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
483
- t.assert.ok(response.ok)
484
- t.assert.deepStrictEqual(response.status, 200)
485
- const responseText = await response.text()
486
- t.assert.deepStrictEqual(responseText, indexContent)
487
- t.assert.notDeepStrictEqual(responseText, index2Content)
488
- genericResponseChecks(t, response)
489
- })
490
-
491
- await t.test('/static/bar.html', async (t) => {
492
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
493
-
494
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/bar.html')
495
- t.assert.ok(response.ok)
496
- t.assert.deepStrictEqual(response.status, 200)
497
- t.assert.deepStrictEqual(await response.text(), barContent)
498
- genericResponseChecks(t, response)
499
- })
500
-
501
- await t.test('sendFile foo.html', async (t) => {
502
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
503
-
504
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo')
505
- t.assert.ok(response.ok)
506
- t.assert.deepStrictEqual(response.status, 200)
507
- t.assert.deepStrictEqual(await response.text(), fooContent)
508
- genericResponseChecks(t, response)
509
- })
510
-
511
- await t.test('sendFile bar.html', async (t) => {
512
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
513
-
514
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/bar')
515
- t.assert.ok(response.ok)
516
- t.assert.deepStrictEqual(response.status, 200)
517
- t.assert.deepStrictEqual(await response.text(), barContent)
518
- genericResponseChecks(t, response)
519
- })
520
- })
521
-
522
- test('register /static with constraints', async (t) => {
523
- t.plan(2)
524
-
525
- const pluginOptions = {
526
- root: path.join(__dirname, '/static'),
527
- prefix: '/static',
528
- constraints: {
529
- version: '1.2.0'
530
- }
531
- }
532
- const fastify = Fastify()
533
- fastify.register(fastifyStatic, pluginOptions)
534
-
535
- t.after(() => fastify.close())
536
-
537
- await fastify.listen({ port: 0 })
538
- fastify.server.unref()
539
-
540
- await t.test('example.com/static/index.html', async (t) => {
541
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
542
-
543
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
544
- headers: {
545
- 'accept-version': '1.x'
546
- }
547
- })
548
- t.assert.ok(response.ok)
549
- t.assert.deepStrictEqual(response.status, 200)
550
- t.assert.deepStrictEqual(await response.text(), indexContent)
551
- genericResponseChecks(t, response)
552
- })
553
-
554
- await t.test('not-example.com/static/index.html', async (t) => {
555
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
556
-
557
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
558
- headers: {
559
- 'accept-version': '2.x'
560
- }
561
- })
562
- t.assert.ok(!response.ok)
563
- t.assert.deepStrictEqual(response.status, 404)
564
- genericErrorResponseChecks(t, response)
565
- })
566
- })
567
-
568
- test('payload.path is set', async (t) => {
569
- t.plan(2)
570
-
571
- const pluginOptions = {
572
- root: path.join(__dirname, '/static'),
573
- prefix: '/static/'
574
- }
575
- const fastify = Fastify()
576
- let gotFilename
577
- fastify.register(fastifyStatic, pluginOptions)
578
- fastify.addHook('onSend', function (_req, _reply, payload, next) {
579
- gotFilename = payload.path
580
- next()
581
- })
582
-
583
- t.after(() => fastify.close())
584
-
585
- await fastify.listen({ port: 0 })
586
-
587
- fastify.server.unref()
588
-
589
- await t.test('/static/index.html', async (t) => {
590
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
591
-
592
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
593
- t.assert.ok(response.ok)
594
- t.assert.deepStrictEqual(response.status, 200)
595
- t.assert.deepStrictEqual(await response.text(), indexContent)
596
- t.assert.deepStrictEqual(typeof gotFilename, 'string')
597
- t.assert.deepStrictEqual(gotFilename, path.join(pluginOptions.root, 'index.html'))
598
- genericResponseChecks(t, response)
599
- })
600
-
601
- await t.test('/static/this/path/doesnt/exist.html', async (t) => {
602
- t.plan(3 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
603
-
604
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/doesnt/exist.html')
605
- t.assert.ok(!response.ok)
606
- t.assert.deepStrictEqual(response.status, 404)
607
- t.assert.deepStrictEqual(typeof gotFilename, 'undefined')
608
- genericErrorResponseChecks(t, response)
609
- })
610
- })
611
-
612
- test('error responses can be customized with fastify.setErrorHandler()', async t => {
613
- t.plan(1)
614
-
615
- const pluginOptions = {
616
- root: path.join(__dirname, '/static')
617
- }
618
- const fastify = Fastify()
619
-
620
- fastify.setErrorHandler(function errorHandler (err, _request, reply) {
621
- reply.code(403).type('text/plain').send(`${err.statusCode} Custom error message`)
622
- })
623
-
624
- fastify.get('/index.js', (_, reply) => {
625
- return reply.type('text/html').sendFile('foo.js')
626
- })
627
-
628
- fastify.register(fastifyStatic, pluginOptions)
629
-
630
- t.after(() => fastify.close())
631
-
632
- await fastify.listen({ port: 0 })
633
-
634
- fastify.server.unref()
635
-
636
- await t.test('/../index.js', async t => {
637
- t.plan(4)
638
-
639
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.js')
640
- t.assert.ok(!response.ok)
641
- t.assert.deepStrictEqual(response.status, 403)
642
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/plain')
643
- t.assert.deepStrictEqual(await response.text(), '500 Custom error message')
644
- })
645
- })
646
-
647
- test('not found responses can be customized with fastify.setNotFoundHandler()', async t => {
648
- t.plan(1)
649
-
650
- const pluginOptions = {
651
- root: path.join(__dirname, '/static')
652
- }
653
- const fastify = Fastify()
654
-
655
- fastify.setNotFoundHandler(function notFoundHandler (request, reply) {
656
- reply.code(404).type('text/plain').send(request.raw.url + ' Not Found')
657
- })
658
-
659
- fastify.register(fastifyStatic, pluginOptions)
660
-
661
- t.after(() => fastify.close())
662
-
663
- await fastify.listen({ port: 0 })
664
-
665
- fastify.server.unref()
666
-
667
- await t.test('/path/does/not/exist.html', async t => {
668
- t.plan(4)
669
-
670
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/path/does/not/exist.html')
671
- t.assert.ok(!response.ok)
672
- t.assert.deepStrictEqual(response.status, 404)
673
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/plain')
674
- t.assert.deepStrictEqual(await response.text(), '/path/does/not/exist.html Not Found')
675
- })
676
- })
677
-
678
- test('fastify.setNotFoundHandler() is called for dotfiles when send is configured to ignore dotfiles', async t => {
679
- t.plan(1)
680
-
681
- const pluginOptions = {
682
- root: path.join(__dirname, '/static'),
683
- send: {
684
- dotfiles: 'ignore'
685
- }
686
- }
687
- const fastify = Fastify()
688
-
689
- fastify.setNotFoundHandler(function notFoundHandler (request, reply) {
690
- reply.code(404).type('text/plain').send(request.raw.url + ' Not Found')
691
- })
692
-
693
- fastify.register(fastifyStatic, pluginOptions)
694
-
695
- t.after(() => fastify.close())
696
-
697
- await fastify.listen({ port: 0 })
698
-
699
- fastify.server.unref()
700
-
701
- // Requesting files with a leading dot doesn't follow the same code path as
702
- // other 404 errors
703
- await t.test('/path/does/not/.exist.html', async t => {
704
- t.plan(4)
705
-
706
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/path/does/not/.exist.html')
707
- t.assert.ok(!response.ok)
708
- t.assert.deepStrictEqual(response.status, 404)
709
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/plain')
710
- t.assert.deepStrictEqual(await response.text(), '/path/does/not/.exist.html Not Found')
711
- })
712
- })
713
-
714
- test('serving disabled', async (t) => {
715
- t.plan(2)
716
-
717
- const pluginOptions = {
718
- root: path.join(__dirname, '/static'),
719
- prefix: '/static/',
720
- serve: false
721
- }
722
- const fastify = Fastify()
723
- fastify.register(fastifyStatic, pluginOptions)
724
-
725
- t.after(() => fastify.close())
726
-
727
- fastify.get('/foo/bar', (_request, reply) => {
728
- reply.sendFile('index.html')
729
- })
730
-
731
- t.after(() => fastify.close())
732
-
733
- await fastify.listen({ port: 0 })
734
-
735
- fastify.server.unref()
736
-
737
- await t.test('/static/index.html not found', async (t) => {
738
- t.plan(2)
739
-
740
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
741
- t.assert.ok(!response.ok)
742
- t.assert.deepStrictEqual(response.status, 404)
743
- })
744
-
745
- await t.test('/static/index.html via sendFile found', async (t) => {
746
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
747
-
748
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar')
749
- t.assert.ok(response.ok)
750
- t.assert.deepStrictEqual(response.status, 200)
751
- t.assert.deepStrictEqual(await response.text(), indexContent)
752
- genericResponseChecks(t, response)
753
- })
754
- })
755
-
756
- test('serving disabled without root', async (t) => {
757
- t.plan(2)
758
-
759
- const pluginOptions = {
760
- prefix: '/static/',
761
- serve: false
762
- }
763
- const fastify = Fastify()
764
- fastify.register(fastifyStatic, pluginOptions)
765
-
766
- t.after(() => fastify.close())
767
-
768
- fastify.get('/foo/bar/r', (_request, reply) => {
769
- reply.sendFile('index.html')
770
- })
771
-
772
- fastify.get('/foo/bar/a', (_request, reply) => {
773
- reply.sendFile(path.join(__dirname, pluginOptions.prefix, 'index.html'))
774
- })
775
-
776
- t.after(() => fastify.close())
777
-
778
- await fastify.listen({ port: 0 })
779
-
780
- fastify.server.unref()
781
-
782
- await t.test('/static/index.html via sendFile not found', async (t) => {
783
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
784
-
785
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar/a')
786
- t.assert.ok(response.ok)
787
- t.assert.deepStrictEqual(response.status, 200)
788
- t.assert.deepStrictEqual(await response.text(), indexContent)
789
- genericResponseChecks(t, response)
790
- })
791
-
792
- await t.test('/static/index.html via sendFile with relative path not found', async (t) => {
793
- t.plan(2)
794
-
795
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar/r')
796
- t.assert.ok(!response.ok)
797
- t.assert.deepStrictEqual(response.status, 404)
798
- })
799
- })
800
-
801
- test('sendFile', async (t) => {
802
- t.plan(4)
803
-
804
- const pluginOptions = {
805
- root: path.join(__dirname, '/static'),
806
- prefix: '/static'
807
- }
808
- const fastify = Fastify()
809
- const maxAge = Math.round(Math.random() * 10) * 10000
810
- fastify.register(fastifyStatic, pluginOptions)
811
-
812
- t.after(() => fastify.close())
813
-
814
- fastify.get('/foo/bar', function (_req, reply) {
815
- reply.sendFile('/index.html')
816
- })
817
-
818
- fastify.get('/root/path/override/test', (_request, reply) => {
819
- reply.sendFile(
820
- '/foo.html',
821
- path.join(__dirname, 'static', 'deep', 'path', 'for', 'test', 'purpose')
822
- )
823
- })
824
-
825
- fastify.get('/foo/bar/options/override/test', function (_req, reply) {
826
- reply.sendFile('/index.html', { maxAge })
827
- })
828
-
829
- await fastify.listen({ port: 0 })
830
- fastify.server.unref()
831
-
832
- await t.test('reply.sendFile()', async (t) => {
833
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
834
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar')
835
- t.assert.ok(response.ok)
836
- t.assert.deepStrictEqual(response.status, 200)
837
- t.assert.deepStrictEqual(await response.text(), indexContent)
838
- genericResponseChecks(t, response)
839
- })
840
-
841
- await t.test('reply.sendFile() with rootPath', async (t) => {
842
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
843
-
844
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/root/path/override/test')
845
- t.assert.ok(response.ok)
846
- t.assert.deepStrictEqual(response.status, 200)
847
- t.assert.deepStrictEqual(await response.text(), deepContent)
848
- genericResponseChecks(t, response)
849
- })
850
-
851
- await t.test('reply.sendFile() again without root path', async (t) => {
852
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
853
-
854
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar')
855
- t.assert.ok(response.ok)
856
- t.assert.deepStrictEqual(response.status, 200)
857
- t.assert.deepStrictEqual(await response.text(), indexContent)
858
- genericResponseChecks(t, response)
859
- })
860
-
861
- await t.test('reply.sendFile() with options', async (t) => {
862
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
863
-
864
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar/options/override/test')
865
- t.assert.ok(response.ok)
866
- t.assert.deepStrictEqual(response.status, 200)
867
- t.assert.deepStrictEqual(await response.text(), indexContent)
868
- t.assert.deepStrictEqual(response.headers.get('cache-control'), `public, max-age=${maxAge / 1000}`)
869
- genericResponseChecks(t, response)
870
- })
871
- })
872
-
873
- test('sendFile disabled', async (t) => {
874
- t.plan(1)
875
-
876
- const pluginOptions = {
877
- root: path.join(__dirname, '/static'),
878
- prefix: '/static',
879
- decorateReply: false
880
- }
881
- const fastify = Fastify()
882
- fastify.register(fastifyStatic, pluginOptions)
883
-
884
- t.after(() => fastify.close())
885
-
886
- fastify.get('/foo/bar', function (_req, reply) {
887
- if (reply.sendFile === undefined) {
888
- reply.send('pass')
889
- } else {
890
- reply.send('fail')
891
- }
892
- })
893
-
894
- await fastify.listen({ port: 0 })
895
-
896
- fastify.server.unref()
897
-
898
- await t.test('reply.sendFile undefined', async (t) => {
899
- t.plan(3)
900
-
901
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar')
902
- t.assert.ok(response.ok)
903
- t.assert.deepStrictEqual(response.status, 200)
904
- t.assert.deepStrictEqual(await response.text(), 'pass')
905
- })
906
- })
907
-
908
- test('allowedPath option - pathname', async (t) => {
909
- t.plan(2)
910
-
911
- const pluginOptions = {
912
- root: path.join(__dirname, '/static'),
913
- allowedPath: (pathName) => pathName !== '/foobar.html'
914
- }
915
- const fastify = Fastify()
916
- fastify.register(fastifyStatic, pluginOptions)
917
-
918
- t.after(() => fastify.close())
919
-
920
- await fastify.listen({ port: 0 })
921
- fastify.server.unref()
922
-
923
- await t.test('/foobar.html not found', async (t) => {
924
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
925
-
926
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foobar.html')
927
- t.assert.ok(!response.ok)
928
- t.assert.deepStrictEqual(response.status, 404)
929
- genericErrorResponseChecks(t, response)
930
- })
931
-
932
- await t.test('/index.css found', async (t) => {
933
- t.plan(2)
934
-
935
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.css')
936
- t.assert.ok(response.ok)
937
- t.assert.deepStrictEqual(response.status, 200)
938
- })
939
- })
940
-
941
- test('allowedPath option - request', async (t) => {
942
- t.plan(2)
943
-
944
- const pluginOptions = {
945
- root: path.join(__dirname, '/static'),
946
- allowedPath: (_pathName, _root, request) => request.query.key === 'temporaryKey'
947
- }
948
- const fastify = Fastify()
949
- fastify.register(fastifyStatic, pluginOptions)
950
-
951
- t.after(() => fastify.close())
952
-
953
- await fastify.listen({ port: 0 })
954
-
955
- fastify.server.unref()
956
-
957
- await t.test('/foobar.html not found', async (t) => {
958
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
959
-
960
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foobar.html')
961
- t.assert.ok(!response.ok)
962
- t.assert.deepStrictEqual(response.status, 404)
963
- genericErrorResponseChecks(t, response)
964
- })
965
-
966
- await t.test('/index.css found', async (t) => {
967
- t.plan(2)
968
-
969
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.css?key=temporaryKey')
970
- t.assert.ok(response.ok)
971
- t.assert.deepStrictEqual(response.status, 200)
972
- })
973
- })
974
-
975
- test('download', async (t) => {
976
- t.plan(6)
977
-
978
- const pluginOptions = {
979
- root: path.join(__dirname, '/static'),
980
- prefix: '/static'
981
- }
982
- const fastify = Fastify()
983
- fastify.register(fastifyStatic, pluginOptions)
984
-
985
- t.after(() => fastify.close())
986
-
987
- fastify.get('/foo/bar', function (_req, reply) {
988
- reply.download('/index.html')
989
- })
990
-
991
- fastify.get('/foo/bar/change', function (_req, reply) {
992
- reply.download('/index.html', 'hello-world.html')
993
- })
994
-
995
- fastify.get('/foo/bar/override', function (_req, reply) {
996
- reply.download('/index.html', 'hello-world.html', {
997
- maxAge: '2 hours',
998
- immutable: true
999
- })
1000
- })
1001
-
1002
- fastify.get('/foo/bar/override/2', function (_req, reply) {
1003
- reply.download('/index.html', { acceptRanges: false })
1004
- })
1005
-
1006
- fastify.get('/root/path/override/test', (_request, reply) => {
1007
- reply.download('/foo.html', {
1008
- root: path.join(
1009
- __dirname,
1010
- 'static',
1011
- 'deep',
1012
- 'path',
1013
- 'for',
1014
- 'test',
1015
- 'purpose'
1016
- )
1017
- })
1018
- })
1019
-
1020
- fastify.get('/root/path/override/test/change', (_request, reply) => {
1021
- reply.download('/foo.html', 'hello-world.html', {
1022
- root: path.join(
1023
- __dirname,
1024
- 'static',
1025
- 'deep',
1026
- 'path',
1027
- 'for',
1028
- 'test',
1029
- 'purpose'
1030
- )
1031
- })
1032
- })
1033
-
1034
- await fastify.listen({ port: 0 })
1035
-
1036
- fastify.server.unref()
1037
-
1038
- await t.test('reply.download()', async (t) => {
1039
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
1040
-
1041
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar')
1042
- t.assert.ok(response.ok)
1043
- t.assert.deepStrictEqual(response.headers.get('content-disposition'), 'attachment; filename="index.html"')
1044
- t.assert.deepStrictEqual(response.status, 200)
1045
- t.assert.deepStrictEqual(await response.text(), indexContent)
1046
- genericResponseChecks(t, response)
1047
- })
1048
-
1049
- await t.test('reply.download() with fileName', async t => {
1050
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
1051
-
1052
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar/change')
1053
- t.assert.ok(response.ok)
1054
- t.assert.deepStrictEqual(response.status, 200)
1055
- t.assert.deepStrictEqual(response.headers.get('content-disposition'), 'attachment; filename="hello-world.html"')
1056
- t.assert.deepStrictEqual(await response.text(), indexContent)
1057
- genericResponseChecks(t, response)
1058
- })
1059
-
1060
- await t.test('reply.download() with fileName - override', async (t) => {
1061
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
1062
-
1063
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/root/path/override/test')
1064
- t.assert.ok(response.ok)
1065
- t.assert.deepStrictEqual(response.status, 200)
1066
- t.assert.deepStrictEqual(response.headers.get('content-disposition'), 'attachment; filename="foo.html"')
1067
- t.assert.deepStrictEqual(await response.text(), deepContent)
1068
- genericResponseChecks(t, response)
1069
- })
1070
-
1071
- await t.test('reply.download() with custom opts', async (t) => {
1072
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
1073
-
1074
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar/override')
1075
- t.assert.ok(response.ok)
1076
- t.assert.deepStrictEqual(response.status, 200)
1077
- t.assert.deepStrictEqual(response.headers.get('content-disposition'), 'attachment; filename="hello-world.html"')
1078
- t.assert.deepStrictEqual(response.headers.get('cache-control'), 'public, max-age=7200, immutable')
1079
- t.assert.deepStrictEqual(await response.text(), indexContent)
1080
- genericResponseChecks(t, response)
1081
- })
1082
-
1083
- await t.test('reply.download() with custom opts (2)', async (t) => {
1084
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
1085
-
1086
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar/override/2')
1087
- t.assert.ok(response.ok)
1088
- t.assert.deepStrictEqual(response.status, 200)
1089
- t.assert.deepStrictEqual(response.headers.get('content-disposition'), 'attachment; filename="index.html"')
1090
- t.assert.deepStrictEqual(response.headers.get('accept-ranges'), null)
1091
- t.assert.deepStrictEqual(await response.text(), indexContent)
1092
- genericResponseChecks(t, response)
1093
- })
1094
-
1095
- await t.test('reply.download() with rootPath and fileName', async (t) => {
1096
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
1097
-
1098
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/root/path/override/test/change')
1099
- t.assert.ok(response.ok)
1100
- t.assert.deepStrictEqual(response.status, 200)
1101
- t.assert.deepStrictEqual(response.headers.get('content-disposition'), 'attachment; filename="hello-world.html"')
1102
- t.assert.deepStrictEqual(await response.text(), deepContent)
1103
- genericResponseChecks(t, response)
1104
- })
1105
- })
1106
-
1107
- test('download disabled', async (t) => {
1108
- t.plan(2)
1109
-
1110
- const pluginOptions = {
1111
- root: path.join(__dirname, '/static'),
1112
- prefix: '/static',
1113
- decorateReply: false
1114
- }
1115
- const fastify = Fastify()
1116
- fastify.register(fastifyStatic, pluginOptions)
1117
-
1118
- fastify.get('/foo/bar', function (_req, reply) {
1119
- if (reply.download === undefined) {
1120
- t.assert.deepStrictEqual(reply.download, undefined)
1121
- reply.send('pass')
1122
- } else {
1123
- reply.send('fail')
1124
- }
1125
- })
1126
-
1127
- t.after(() => fastify.close())
1128
-
1129
- await fastify.listen({ port: 0 })
1130
-
1131
- fastify.server.unref()
1132
-
1133
- await t.test('reply.sendFile undefined', async (t) => {
1134
- t.plan(3)
1135
-
1136
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/foo/bar')
1137
- t.assert.ok(response.ok)
1138
- t.assert.deepStrictEqual(response.status, 200)
1139
- t.assert.deepStrictEqual(await response.text(), 'pass')
1140
- })
1141
- })
1142
-
1143
- test('prefix default', (t) => {
1144
- t.plan(1)
1145
- const pluginOptions = { root: path.join(__dirname, 'static') }
1146
- const fastify = Fastify({ logger: false })
1147
- t.assert.doesNotThrow(() => fastify.register(fastifyStatic, pluginOptions))
1148
- })
1149
-
1150
- test('root not found warning', async (t) => {
1151
- t.plan(1)
1152
- const rootPath = path.join(__dirname, 'does-not-exist')
1153
- const pluginOptions = { root: rootPath }
1154
- const destination = concat((data) => {
1155
- t.assert.deepStrictEqual(JSON.parse(data).msg, `"root" path "${rootPath}" must exist`)
1156
- })
1157
- const loggerInstance = pino(
1158
- {
1159
- level: 'warn'
1160
- },
1161
- destination
1162
- )
1163
- const fastify = Fastify({ loggerInstance })
1164
- fastify.register(fastifyStatic, pluginOptions)
1165
-
1166
- await fastify.listen({ port: 0 })
1167
- fastify.server.unref()
1168
- destination.end()
1169
- })
1170
-
1171
- test('send options', (t) => {
1172
- t.plan(12)
1173
- const pluginOptions = {
1174
- root: path.join(__dirname, '/static'),
1175
- acceptRanges: 'acceptRanges',
1176
- contentType: 'contentType',
1177
- cacheControl: 'cacheControl',
1178
- dotfiles: 'dotfiles',
1179
- etag: 'etag',
1180
- extensions: 'extensions',
1181
- immutable: 'immutable',
1182
- index: 'index',
1183
- lastModified: 'lastModified',
1184
- maxAge: 'maxAge'
1185
- }
1186
- const fastify = Fastify({ logger: false })
1187
- const { resolve, promise } = Promise.withResolvers()
1188
- const fastifyStatic = require('proxyquire')('../', {
1189
- '@fastify/send': function sendStub (_req, pathName, options) {
1190
- t.assert.deepStrictEqual(pathName, '/index.html')
1191
- t.assert.deepStrictEqual(options.root, path.join(__dirname, '/static'))
1192
- t.assert.deepStrictEqual(options.acceptRanges, 'acceptRanges')
1193
- t.assert.deepStrictEqual(options.contentType, 'contentType')
1194
- t.assert.deepStrictEqual(options.cacheControl, 'cacheControl')
1195
- t.assert.deepStrictEqual(options.dotfiles, 'dotfiles')
1196
- t.assert.deepStrictEqual(options.etag, 'etag')
1197
- t.assert.deepStrictEqual(options.extensions, 'extensions')
1198
- t.assert.deepStrictEqual(options.immutable, 'immutable')
1199
- t.assert.deepStrictEqual(options.index, 'index')
1200
- t.assert.deepStrictEqual(options.lastModified, 'lastModified')
1201
- t.assert.deepStrictEqual(options.maxAge, 'maxAge')
1202
- resolve()
1203
- return { on: () => { }, pipe: () => { } }
1204
- }
1205
- })
1206
- fastify.register(fastifyStatic, pluginOptions)
1207
- fastify.inject({ url: '/index.html' })
1208
-
1209
- return promise
1210
- })
1211
-
1212
- test('setHeaders option', async (t) => {
1213
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
1214
-
1215
- const pluginOptions = {
1216
- root: path.join(__dirname, 'static'),
1217
- setHeaders: function (res, pathName) {
1218
- t.assert.deepStrictEqual(pathName, path.join(__dirname, 'static/index.html'))
1219
- res.setHeader('X-Test-Header', 'test')
1220
- }
1221
- }
1222
- const fastify = Fastify()
1223
- fastify.register(fastifyStatic, pluginOptions)
1224
-
1225
- t.after(() => fastify.close())
1226
-
1227
- await fastify.listen({ port: 0 })
1228
-
1229
- fastify.server.unref()
1230
-
1231
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
1232
- t.assert.ok(response.ok)
1233
- t.assert.deepStrictEqual(response.status, 200)
1234
- t.assert.deepStrictEqual(response.headers.get('x-test-header'), 'test')
1235
- t.assert.deepStrictEqual(await response.text(), indexContent)
1236
- genericResponseChecks(t, response)
1237
- })
1238
-
1239
- test('maxAge option', async (t) => {
1240
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
1241
-
1242
- const pluginOptions = {
1243
- root: path.join(__dirname, 'static'),
1244
- maxAge: 3600000
1245
- }
1246
- const fastify = Fastify()
1247
- fastify.register(fastifyStatic, pluginOptions)
1248
-
1249
- t.after(() => fastify.close())
1250
-
1251
- await fastify.listen({ port: 0 })
1252
- fastify.server.unref()
1253
-
1254
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
1255
- t.assert.ok(response.ok)
1256
- t.assert.deepStrictEqual(response.status, 200)
1257
- t.assert.deepStrictEqual(response.headers.get('cache-control'), 'public, max-age=3600')
1258
- t.assert.deepStrictEqual(await response.text(), indexContent)
1259
- genericResponseChecks(t, response)
1260
- })
1261
-
1262
- test('errors', async (t) => {
1263
- t.plan(12)
1264
-
1265
- await t.test('no root', async (t) => {
1266
- t.plan(1)
1267
- const pluginOptions = {}
1268
- const fastify = Fastify({ logger: false })
1269
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1270
- })
1271
-
1272
- await t.test('root is not a string', async (t) => {
1273
- t.plan(1)
1274
- const pluginOptions = { root: 42 }
1275
- const fastify = Fastify({ logger: false })
1276
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1277
- })
1278
-
1279
- await t.test('root is not an absolute path', async (t) => {
1280
- t.plan(1)
1281
- const pluginOptions = { root: './my/path' }
1282
- const fastify = Fastify({ logger: false })
1283
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1284
- })
1285
-
1286
- await t.test('root is not a directory', async (t) => {
1287
- t.plan(1)
1288
- const pluginOptions = { root: __filename }
1289
- const fastify = Fastify({ logger: false })
1290
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1291
- })
1292
-
1293
- await t.test('root is an empty array', async (t) => {
1294
- t.plan(1)
1295
- const pluginOptions = { root: [] }
1296
- const fastify = Fastify({ logger: false })
1297
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1298
- })
1299
-
1300
- await t.test('root array does not contain strings', async (t) => {
1301
- t.plan(1)
1302
- const pluginOptions = { root: [1] }
1303
- const fastify = Fastify({ logger: false })
1304
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1305
- })
1306
-
1307
- await t.test('root array does not contain an absolute path', async (t) => {
1308
- t.plan(1)
1309
- const pluginOptions = { root: ['./my/path'] }
1310
- const fastify = Fastify({ logger: false })
1311
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1312
- })
1313
-
1314
- await t.test('root array path is not a directory', async (t) => {
1315
- t.plan(1)
1316
- const pluginOptions = { root: [__filename] }
1317
- const fastify = Fastify({ logger: false })
1318
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1319
- })
1320
-
1321
- await t.test('all root array paths must be valid', async (t) => {
1322
- t.plan(1)
1323
- const pluginOptions = { root: [path.join(__dirname, '/static'), 1] }
1324
- const fastify = Fastify({ logger: false })
1325
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1326
- })
1327
-
1328
- await t.test('no root and serve: false', async (t) => {
1329
- t.plan(1)
1330
- const pluginOptions = {
1331
- serve: false,
1332
- root: []
1333
- }
1334
- const fastify = Fastify({ logger: false })
1335
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1336
- })
1337
-
1338
- await t.test('duplicate root paths are not allowed', async (t) => {
1339
- t.plan(1)
1340
- const pluginOptions = {
1341
- root: [path.join(__dirname, '/static'), path.join(__dirname, '/static')]
1342
- }
1343
- const fastify = Fastify({ logger: false })
1344
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1345
- })
1346
-
1347
- await t.test('setHeaders is not a function', async (t) => {
1348
- t.plan(1)
1349
- const pluginOptions = { root: __dirname, setHeaders: 'headers' }
1350
- const fastify = Fastify({ logger: false })
1351
- await t.assert.rejects(async () => await fastify.register(fastifyStatic, pluginOptions))
1352
- })
1353
- })
1354
-
1355
- test('register no prefix', async (t) => {
1356
- t.plan(7)
1357
-
1358
- const pluginOptions = {
1359
- root: path.join(__dirname, '/static')
1360
- }
1361
- const fastify = Fastify()
1362
- fastify.register(fastifyStatic, pluginOptions)
1363
-
1364
- fastify.get('/', (_request, reply) => {
1365
- reply.send({ hello: 'world' })
1366
- })
1367
-
1368
- t.after(() => fastify.close())
1369
-
1370
- await fastify.listen({ port: 0 })
1371
-
1372
- fastify.server.unref()
1373
-
1374
- await t.test('/index.html', async (t) => {
1375
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1376
-
1377
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
1378
- t.assert.ok(response.ok)
1379
- t.assert.deepStrictEqual(response.status, 200)
1380
- t.assert.deepStrictEqual(await response.text(), indexContent)
1381
- genericResponseChecks(t, response)
1382
- })
1383
-
1384
- await t.test('/index.css', async (t) => {
1385
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
1386
-
1387
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.css')
1388
- t.assert.ok(response.ok)
1389
- t.assert.deepStrictEqual(response.status, 200)
1390
- genericResponseChecks(t, response)
1391
- })
1392
-
1393
- await t.test('/', async (t) => {
1394
- t.plan(3)
1395
-
1396
- const response = await fetch('http://localhost:' + fastify.server.address().port)
1397
- t.assert.ok(response.ok)
1398
- t.assert.deepStrictEqual(response.status, 200)
1399
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1400
- })
1401
-
1402
- await t.test('/deep/path/for/test/purpose/foo.html', async (t) => {
1403
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1404
-
1405
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/purpose/foo.html')
1406
- t.assert.ok(response.ok)
1407
- t.assert.deepStrictEqual(response.status, 200)
1408
- t.assert.deepStrictEqual(await response.text(), deepContent)
1409
- genericResponseChecks(t, response)
1410
- })
1411
-
1412
- await t.test('/deep/path/for/test/', async (t) => {
1413
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1414
-
1415
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/')
1416
- t.assert.ok(response.ok)
1417
- t.assert.deepStrictEqual(response.status, 200)
1418
- t.assert.deepStrictEqual(await response.text(), innerIndex)
1419
- genericResponseChecks(t, response)
1420
- })
1421
-
1422
- await t.test('/this/path/doesnt/exist.html', async (t) => {
1423
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
1424
-
1425
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/this/path/doesnt/exist.html')
1426
- t.assert.ok(!response.ok)
1427
- t.assert.deepStrictEqual(response.status, 404)
1428
- genericErrorResponseChecks(t, response)
1429
- })
1430
-
1431
- await t.test('/../index.js', async (t) => {
1432
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
1433
-
1434
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/../index.js')
1435
- t.assert.ok(!response.ok)
1436
- t.assert.deepStrictEqual(response.status, 404)
1437
- genericErrorResponseChecks(t, response)
1438
- })
1439
- })
1440
-
1441
- test('with fastify-compress', async t => {
1442
- t.plan(2)
1443
-
1444
- const pluginOptions = {
1445
- root: path.join(__dirname, '/static')
1446
- }
1447
- const fastify = Fastify()
1448
- fastify.register(compress, { threshold: 0 })
1449
- fastify.register(fastifyStatic, pluginOptions)
1450
-
1451
- t.after(() => fastify.close())
1452
-
1453
- await fastify.listen({ port: 0 })
1454
-
1455
- await t.test('deflate', async function (t) {
1456
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1457
-
1458
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html', {
1459
- headers: {
1460
- 'accept-encoding': ['deflate']
1461
- }
1462
- })
1463
- t.assert.ok(response.ok)
1464
- t.assert.deepStrictEqual(response.status, 200)
1465
- t.assert.deepStrictEqual(response.headers.get('content-encoding'), 'deflate')
1466
- genericResponseChecks(t, response)
1467
- })
1468
-
1469
- await t.test('gzip', async function (t) {
1470
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1471
-
1472
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
1473
- t.assert.ok(response.ok)
1474
- t.assert.deepStrictEqual(response.status, 200)
1475
- t.assert.deepStrictEqual(response.headers.get('content-encoding'), 'gzip')
1476
- genericResponseChecks(t, response)
1477
- })
1478
- })
1479
- test('register /static/ with schemaHide true', async t => {
1480
- t.plan(2)
1481
-
1482
- const pluginOptions = {
1483
- root: path.join(__dirname, '/static'),
1484
- prefix: '/static/',
1485
- schemaHide: true
1486
- }
1487
-
1488
- const fastify = Fastify()
1489
-
1490
- fastify.addHook('onRoute', function (routeOptions) {
1491
- t.assert.deepStrictEqual(routeOptions.schema, { hide: true })
1492
- })
1493
-
1494
- fastify.register(fastifyStatic, pluginOptions)
1495
-
1496
- t.after(() => fastify.close())
1497
-
1498
- await fastify.listen({ port: 0 })
1499
-
1500
- fastify.server.unref()
1501
-
1502
- await t.test('/static/index.html', async (t) => {
1503
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1504
-
1505
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
1506
- t.assert.ok(response.ok)
1507
- t.assert.deepStrictEqual(response.status, 200)
1508
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/html; charset=utf-8')
1509
- genericResponseChecks(t, response)
1510
- })
1511
- })
1512
-
1513
- test('register /static/ with schemaHide false', async t => {
1514
- t.plan(2)
1515
-
1516
- const pluginOptions = {
1517
- root: path.join(__dirname, '/static'),
1518
- prefix: '/static/',
1519
- schemaHide: false
1520
- }
1521
-
1522
- const fastify = Fastify()
1523
-
1524
- fastify.addHook('onRoute', function (routeOptions) {
1525
- t.assert.deepStrictEqual(routeOptions.schema, { hide: false })
1526
- })
1527
-
1528
- fastify.register(fastifyStatic, pluginOptions)
1529
-
1530
- t.after(() => fastify.close())
1531
-
1532
- await fastify.listen({ port: 0 })
1533
-
1534
- fastify.server.unref()
1535
-
1536
- await t.test('/static/index.html', async (t) => {
1537
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1538
-
1539
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
1540
- t.assert.ok(response.ok)
1541
- t.assert.deepStrictEqual(response.status, 200)
1542
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/html; charset=utf-8')
1543
- genericResponseChecks(t, response)
1544
- })
1545
- })
1546
-
1547
- test('register /static/ without schemaHide', async t => {
1548
- t.plan(2)
1549
-
1550
- const pluginOptions = {
1551
- root: path.join(__dirname, '/static'),
1552
- prefix: '/static/'
1553
- }
1554
-
1555
- const fastify = Fastify()
1556
-
1557
- fastify.addHook('onRoute', function (routeOptions) {
1558
- t.assert.deepStrictEqual(routeOptions.schema, { hide: true })
1559
- })
1560
-
1561
- fastify.register(fastifyStatic, pluginOptions)
1562
-
1563
- t.after(() => fastify.close())
1564
-
1565
- await fastify.listen({ port: 0 })
1566
-
1567
- fastify.server.unref()
1568
-
1569
- await t.test('/static/index.html', async (t) => {
1570
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1571
-
1572
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
1573
- t.assert.ok(response.ok)
1574
- t.assert.deepStrictEqual(response.status, 200)
1575
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/html; charset=utf-8')
1576
- genericResponseChecks(t, response)
1577
- })
1578
- })
1579
-
1580
- test('fastify with exposeHeadRoutes', async t => {
1581
- t.plan(1)
1582
-
1583
- const pluginOptions = {
1584
- root: path.join(__dirname, '/static'),
1585
- wildcard: false
1586
- }
1587
- const fastify = Fastify()
1588
- fastify.register(fastifyStatic, pluginOptions)
1589
-
1590
- t.after(() => fastify.close())
1591
-
1592
- await fastify.listen({ port: 0 })
1593
-
1594
- fastify.server.unref()
1595
-
1596
- await t.test('/index.html', async t => {
1597
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1598
-
1599
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html', { method: 'HEAD' })
1600
- t.assert.ok(response.ok)
1601
- t.assert.deepStrictEqual(response.status, 200)
1602
- t.assert.deepStrictEqual(await response.text(), '')
1603
- genericResponseChecks(t, response)
1604
- })
1605
- })
1606
-
1607
- test('register with wildcard false', async t => {
1608
- t.plan(8)
1609
-
1610
- const pluginOptions = {
1611
- root: path.join(__dirname, '/static'),
1612
- wildcard: false
1613
- }
1614
- const fastify = Fastify()
1615
- fastify.register(fastifyStatic, pluginOptions)
1616
-
1617
- fastify.get('/*', (_request, reply) => {
1618
- reply.send({ hello: 'world' })
1619
- })
1620
-
1621
- t.after(() => fastify.close())
1622
-
1623
- await fastify.listen({ port: 0 })
1624
-
1625
- fastify.server.unref()
1626
-
1627
- await t.test('/index.html', async t => {
1628
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1629
-
1630
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
1631
- t.assert.ok(response.ok)
1632
- t.assert.deepStrictEqual(response.status, 200)
1633
- t.assert.deepStrictEqual(await response.text(), indexContent)
1634
- genericResponseChecks(t, response)
1635
- })
1636
-
1637
- await t.test('/index.css', async (t) => {
1638
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
1639
-
1640
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.css')
1641
- t.assert.ok(response.ok)
1642
- t.assert.deepStrictEqual(response.status, 200)
1643
- genericResponseChecks(t, response)
1644
- })
1645
-
1646
- await t.test('/', async (t) => {
1647
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1648
-
1649
- const response = await fetch('http://localhost:' + fastify.server.address().port)
1650
- t.assert.ok(response.ok)
1651
- t.assert.deepStrictEqual(response.status, 200)
1652
- t.assert.deepStrictEqual(await response.text(), indexContent)
1653
- genericResponseChecks(t, response)
1654
- })
1655
-
1656
- await t.test('/not-defined', async (t) => {
1657
- t.plan(3)
1658
-
1659
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/not-defined')
1660
- t.assert.ok(response.ok)
1661
- t.assert.deepStrictEqual(response.status, 200)
1662
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1663
- })
1664
-
1665
- await t.test('/deep/path/for/test/purpose/foo.html', async (t) => {
1666
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1667
-
1668
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/purpose/foo.html')
1669
- t.assert.ok(response.ok)
1670
- t.assert.deepStrictEqual(response.status, 200)
1671
- t.assert.deepStrictEqual(await response.text(), deepContent)
1672
- genericResponseChecks(t, response)
1673
- })
1674
-
1675
- await t.test('/deep/path/for/test/', async (t) => {
1676
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1677
-
1678
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/')
1679
- t.assert.ok(response.ok)
1680
- t.assert.deepStrictEqual(response.status, 200)
1681
- t.assert.deepStrictEqual(await response.text(), innerIndex)
1682
- genericResponseChecks(t, response)
1683
- })
1684
-
1685
- await t.test('/../index.js', async (t) => {
1686
- t.plan(3)
1687
-
1688
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/../index.js')
1689
- t.assert.ok(response.ok)
1690
- t.assert.deepStrictEqual(response.status, 200)
1691
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1692
- })
1693
-
1694
- await t.test('/index.css', async t => {
1695
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1696
-
1697
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.css')
1698
- t.assert.ok(response.ok)
1699
- t.assert.deepStrictEqual(response.status, 200)
1700
- t.assert.deepStrictEqual(await response.text(), '')
1701
- genericResponseChecks(t, response)
1702
- })
1703
- })
1704
-
1705
- test('register with wildcard false (trailing slash in the root)', async t => {
1706
- t.plan(5)
1707
-
1708
- const pluginOptions = {
1709
- root: path.join(__dirname, '/static/'),
1710
- prefix: '/assets/',
1711
- index: false,
1712
- wildcard: false
1713
- }
1714
- const fastify = Fastify({
1715
- ignoreTrailingSlash: true
1716
- })
1717
- fastify.register(fastifyStatic, pluginOptions)
1718
-
1719
- fastify.get('/*', (_request, reply) => {
1720
- reply.send({ hello: 'world' })
1721
- })
1722
-
1723
- t.after(() => fastify.close())
1724
-
1725
- await fastify.listen({ port: 0 })
1726
-
1727
- fastify.server.unref()
1728
-
1729
- await t.test('/index.css', async (t) => {
1730
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
1731
-
1732
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/assets/index.css')
1733
- t.assert.ok(response.ok)
1734
- t.assert.deepStrictEqual(response.status, 200)
1735
- genericResponseChecks(t, response)
1736
- })
1737
-
1738
- await t.test('/not-defined', async (t) => {
1739
- t.plan(3)
1740
-
1741
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/assets/not-defined')
1742
- t.assert.ok(response.ok)
1743
- t.assert.deepStrictEqual(response.status, 200)
1744
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1745
- })
1746
-
1747
- await t.test('/deep/path/for/test/purpose/foo.html', async (t) => {
1748
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1749
-
1750
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/assets/deep/path/for/test/purpose/foo.html')
1751
- t.assert.ok(response.ok)
1752
- t.assert.deepStrictEqual(response.status, 200)
1753
- t.assert.deepStrictEqual(await response.text(), deepContent)
1754
- genericResponseChecks(t, response)
1755
- })
1756
-
1757
- await t.test('/../index.js', async (t) => {
1758
- t.plan(3)
1759
-
1760
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/assets/../index.js')
1761
- t.assert.ok(response.ok)
1762
- t.assert.deepStrictEqual(response.status, 200)
1763
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1764
- })
1765
-
1766
- await t.test('/index.css', async t => {
1767
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1768
-
1769
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/assets/index.css')
1770
- t.assert.ok(response.ok)
1771
- t.assert.deepStrictEqual(response.status, 200)
1772
- t.assert.deepStrictEqual(await response.text(), '')
1773
- genericResponseChecks(t, response)
1774
- })
1775
- })
1776
-
1777
- test('register with wildcard string', async (t) => {
1778
- t.plan(1)
1779
-
1780
- const pluginOptions = {
1781
- root: path.join(__dirname, '/static'),
1782
- wildcard: '**/index.html'
1783
- }
1784
- const fastify = Fastify()
1785
- fastify.register(fastifyStatic, pluginOptions)
1786
-
1787
- fastify.get('/*', (_request, reply) => {
1788
- reply.send({ hello: 'world' })
1789
- })
1790
-
1791
- await t.assert.rejects(fastify.ready())
1792
- })
1793
-
1794
- test('register with wildcard string on multiple root paths', async (t) => {
1795
- t.plan(1)
1796
-
1797
- const pluginOptions = {
1798
- root: [path.join(__dirname, '/static'), path.join(__dirname, '/static2')],
1799
- wildcard: '**/*.js'
1800
- }
1801
- const fastify = Fastify()
1802
- fastify.register(fastifyStatic, pluginOptions)
1803
-
1804
- fastify.get('/*', (_request, reply) => {
1805
- reply.send({ hello: 'world' })
1806
- })
1807
-
1808
- t.after(() => fastify.close())
1809
-
1810
- await t.assert.rejects(fastify.listen({ port: 0 }))
1811
- })
1812
-
1813
- test('register with wildcard false and alternative index', async t => {
1814
- t.plan(10)
1815
-
1816
- const pluginOptions = {
1817
- root: path.join(__dirname, '/static'),
1818
- wildcard: false,
1819
- index: ['foobar.html', 'foo.html', 'index.html']
1820
- }
1821
- const fastify = Fastify()
1822
- fastify.register(fastifyStatic, pluginOptions)
1823
-
1824
- fastify.get('/*', (_request, reply) => {
1825
- reply.send({ hello: 'world' })
1826
- })
1827
-
1828
- t.after(() => fastify.close())
1829
-
1830
- await fastify.listen({ port: 0 })
1831
-
1832
- fastify.server.unref()
1833
-
1834
- await t.test('/index.html', async (t) => {
1835
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1836
-
1837
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
1838
- t.assert.ok(response.ok)
1839
- t.assert.deepStrictEqual(response.status, 200)
1840
- t.assert.deepStrictEqual(await response.text(), indexContent)
1841
- genericResponseChecks(t, response)
1842
- })
1843
-
1844
- await t.test('/index.html', async t => {
1845
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1846
-
1847
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html', { method: 'HEAD' })
1848
- t.assert.ok(response.ok)
1849
- t.assert.deepStrictEqual(response.status, 200)
1850
- t.assert.deepStrictEqual(await response.text(), '')
1851
- genericResponseChecks(t, response)
1852
- })
1853
-
1854
- await t.test('/index.css', async (t) => {
1855
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
1856
-
1857
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.css')
1858
- t.assert.ok(response.ok)
1859
- t.assert.deepStrictEqual(response.status, 200)
1860
- genericResponseChecks(t, response)
1861
- })
1862
-
1863
- await t.test('/?a=b', async (t) => {
1864
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1865
-
1866
- const response = await fetch('http://localhost:' + fastify.server.address().port)
1867
- t.assert.ok(response.ok)
1868
- t.assert.deepStrictEqual(response.status, 200)
1869
- t.assert.deepStrictEqual(await response.text(), foobarContent)
1870
- genericResponseChecks(t, response)
1871
- })
1872
-
1873
- await t.test('/?a=b', async t => {
1874
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1875
-
1876
- const response = await fetch('http://localhost:' + fastify.server.address().port, {
1877
- method: 'HEAD'
1878
- })
1879
- t.assert.ok(response.ok)
1880
- t.assert.deepStrictEqual(response.status, 200)
1881
- t.assert.deepStrictEqual(await response.text(), '')
1882
- genericResponseChecks(t, response)
1883
- })
1884
-
1885
- await t.test('/not-defined', async (t) => {
1886
- t.plan(3)
1887
-
1888
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/not-defined')
1889
- t.assert.ok(response.ok)
1890
- t.assert.deepStrictEqual(response.status, 200)
1891
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1892
- })
1893
-
1894
- await t.test('/deep/path/for/test/purpose/', async (t) => {
1895
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1896
-
1897
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/purpose/')
1898
- t.assert.ok(response.ok)
1899
- t.assert.deepStrictEqual(response.status, 200)
1900
- t.assert.deepStrictEqual(await response.text(), deepContent)
1901
- genericResponseChecks(t, response)
1902
- })
1903
-
1904
- await t.test('/deep/path/for/test/', async (t) => {
1905
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1906
-
1907
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/')
1908
- t.assert.ok(response.ok)
1909
- t.assert.deepStrictEqual(response.status, 200)
1910
- t.assert.deepStrictEqual(await response.text(), innerIndex)
1911
- genericResponseChecks(t, response)
1912
- })
1913
-
1914
- await t.test('/deep/path/for/test/', async t => {
1915
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1916
-
1917
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/for/test/', {
1918
- method: 'HEAD'
1919
- })
1920
- t.assert.ok(response.ok)
1921
- t.assert.deepStrictEqual(response.status, 200)
1922
- t.assert.deepStrictEqual(await response.text(), '')
1923
- genericResponseChecks(t, response)
1924
- })
1925
-
1926
- await t.test('/../index.js', async (t) => {
1927
- t.plan(3)
1928
-
1929
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/../index.js')
1930
- t.assert.ok(response.ok)
1931
- t.assert.deepStrictEqual(response.status, 200)
1932
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
1933
- })
1934
- })
1935
-
1936
- test('register /static with wildcard false and alternative index', async t => {
1937
- t.plan(10)
1938
-
1939
- const pluginOptions = {
1940
- root: path.join(__dirname, '/static'),
1941
- prefix: '/static',
1942
- wildcard: false,
1943
- index: ['foobar.html', 'foo.html', 'index.html']
1944
- }
1945
- const fastify = Fastify()
1946
- fastify.register(fastifyStatic, pluginOptions)
1947
-
1948
- fastify.get('/*', (_request, reply) => {
1949
- reply.send({ hello: 'world' })
1950
- })
1951
-
1952
- t.after(() => fastify.close())
1953
-
1954
- await fastify.listen({ port: 0 })
1955
-
1956
- fastify.server.unref()
1957
-
1958
- await t.test('/static/index.html', async (t) => {
1959
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1960
-
1961
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
1962
- t.assert.ok(response.ok)
1963
- t.assert.deepStrictEqual(response.status, 200)
1964
- t.assert.deepStrictEqual(await response.text(), indexContent)
1965
- genericResponseChecks(t, response)
1966
- })
1967
-
1968
- await t.test('/static/index.html', async t => {
1969
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
1970
-
1971
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
1972
- method: 'HEAD'
1973
- })
1974
- t.assert.ok(response.ok)
1975
- t.assert.deepStrictEqual(response.status, 200)
1976
- t.assert.deepStrictEqual(await response.text(), '')
1977
- genericResponseChecks(t, response)
1978
- })
1979
-
1980
- await t.test('/static/index.css', async (t) => {
1981
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
1982
-
1983
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.css')
1984
- t.assert.ok(response.ok)
1985
- t.assert.deepStrictEqual(response.status, 200)
1986
- genericResponseChecks(t, response)
1987
- })
1988
-
1989
- await t.test('/static', (t) => {
1990
- t.plan(2)
1991
-
1992
- const { promise, resolve } = Promise.withResolvers()
1993
-
1994
- const testurl = 'http://localhost:' + fastify.server.address().port + '/static'
1995
- const req = http.request(url.parse(testurl), res => {
1996
- t.assert.deepStrictEqual(res.statusCode, 200)
1997
- let body = ''
1998
- res.on('data', (chunk) => {
1999
- body += chunk.toString()
2000
- })
2001
- res.on('end', () => {
2002
- t.assert.deepStrictEqual(JSON.parse(body.toString()), { hello: 'world' })
2003
- resolve()
2004
- })
2005
- })
2006
- req.on('error', (err) => console.error(err))
2007
- req.end()
2008
-
2009
- return promise
2010
- })
2011
-
2012
- await t.test('/static/', async (t) => {
2013
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2014
-
2015
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/')
2016
- t.assert.ok(response.ok)
2017
- t.assert.deepStrictEqual(response.status, 200)
2018
- t.assert.deepStrictEqual(await response.text(), foobarContent)
2019
- genericResponseChecks(t, response)
2020
- })
2021
-
2022
- await t.test('/static/', async t => {
2023
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2024
-
2025
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/', {
2026
- method: 'HEAD'
2027
- })
2028
- t.assert.ok(response.ok)
2029
- t.assert.deepStrictEqual(response.status, 200)
2030
- t.assert.deepStrictEqual(await response.text(), '')
2031
- genericResponseChecks(t, response)
2032
- })
2033
-
2034
- await t.test('/static/not-defined', async (t) => {
2035
- t.plan(3)
2036
-
2037
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/not-defined')
2038
- t.assert.ok(response.ok)
2039
- t.assert.deepStrictEqual(response.status, 200)
2040
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
2041
- })
2042
-
2043
- await t.test('/static/deep/path/for/test/purpose/', async (t) => {
2044
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2045
-
2046
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/purpose/')
2047
- t.assert.ok(response.ok)
2048
- t.assert.deepStrictEqual(response.status, 200)
2049
- t.assert.deepStrictEqual(await response.text(), deepContent)
2050
- genericResponseChecks(t, response)
2051
- })
2052
-
2053
- await t.test('/static/deep/path/for/test/', async (t) => {
2054
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2055
-
2056
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/')
2057
- t.assert.ok(response.ok)
2058
- t.assert.deepStrictEqual(response.status, 200)
2059
- t.assert.deepStrictEqual(await response.text(), innerIndex)
2060
- genericResponseChecks(t, response)
2061
- })
2062
-
2063
- await t.test('/static/../index.js', async (t) => {
2064
- t.plan(3)
2065
-
2066
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/../index.js')
2067
- t.assert.ok(response.ok)
2068
- t.assert.deepStrictEqual(response.status, 200)
2069
- t.assert.deepStrictEqual(await response.json(), { hello: 'world' })
2070
- })
2071
- })
2072
-
2073
- test('register /static with redirect true', async t => {
2074
- t.plan(6)
2075
-
2076
- const pluginOptions = {
2077
- root: path.join(__dirname, '/static'),
2078
- prefix: '/static',
2079
- redirect: true,
2080
- index: 'index.html'
2081
- }
2082
-
2083
- const fastify = Fastify()
2084
-
2085
- fastify.register(fastifyStatic, pluginOptions)
2086
-
2087
- t.after(() => fastify.close())
2088
-
2089
- await fastify.listen({ port: 0 })
2090
-
2091
- fastify.server.unref()
2092
-
2093
- await t.test('/static?a=b', async (t) => {
2094
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
2095
-
2096
- const { promise, resolve } = Promise.withResolvers()
2097
-
2098
- const testurl = 'http://localhost:' + fastify.server.address().port + '/static?a=b'
2099
- const req = http.request(url.parse(testurl), res => {
2100
- t.assert.deepStrictEqual(res.statusCode, 301)
2101
- t.assert.deepStrictEqual(res.headers.location, '/static/?a=b')
2102
- resolve()
2103
- })
2104
- req.on('error', (err) => console.error(err))
2105
- req.end()
2106
-
2107
- await promise
2108
-
2109
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static?a=b')
2110
- t.assert.ok(response.ok)
2111
- t.assert.deepStrictEqual(response.status, 200)
2112
- t.assert.deepStrictEqual(await response.text(), indexContent)
2113
- genericResponseChecks(t, response)
2114
- })
2115
-
2116
- await t.test('/static', t => {
2117
- t.plan(2)
2118
-
2119
- const { promise, resolve } = Promise.withResolvers()
2120
-
2121
- const testurl = 'http://localhost:' + fastify.server.address().port + '/static'
2122
- const req = http.request(url.parse(testurl), res => {
2123
- t.assert.deepStrictEqual(res.statusCode, 301)
2124
- t.assert.deepStrictEqual(res.headers.location, '/static/')
2125
-
2126
- resolve()
2127
- })
2128
- req.on('error', err => console.error(err))
2129
- req.end()
2130
-
2131
- return promise
2132
- })
2133
-
2134
- await t.test('/static/', async t => {
2135
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2136
-
2137
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/')
2138
- t.assert.ok(response.ok)
2139
- t.assert.deepStrictEqual(response.status, 200)
2140
- t.assert.deepStrictEqual(await response.text(), indexContent)
2141
- genericResponseChecks(t, response)
2142
- })
2143
-
2144
- await t.test('/static/deep', async (t) => {
2145
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
2146
-
2147
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep')
2148
- t.assert.ok(!response.ok)
2149
- t.assert.deepStrictEqual(response.status, 404)
2150
- genericErrorResponseChecks(t, response)
2151
- })
2152
-
2153
- await t.test('/static/deep/path/for/test?a=b', async (t) => {
2154
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
2155
-
2156
- const { promise, resolve } = Promise.withResolvers()
2157
-
2158
- const testurl = 'http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test?a=b'
2159
- const req = http.request(url.parse(testurl), res => {
2160
- t.assert.deepStrictEqual(res.statusCode, 301)
2161
- t.assert.deepStrictEqual(res.headers.location, '/static/deep/path/for/test/?a=b')
2162
- resolve()
2163
- })
2164
- req.on('error', (err) => console.error(err))
2165
- req.end()
2166
-
2167
- await promise
2168
-
2169
- // verify the redirect with query parameters works
2170
- const response = await fetch(testurl)
2171
- t.assert.ok(response.ok)
2172
- t.assert.deepStrictEqual(response.status, 200)
2173
- t.assert.deepStrictEqual(await response.text(), innerIndex)
2174
- genericResponseChecks(t, response)
2175
- })
2176
-
2177
- await t.test('/static/deep/path/for/test', async (t) => {
2178
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2179
-
2180
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test')
2181
- t.assert.ok(response.ok)
2182
- t.assert.deepStrictEqual(response.status, 200)
2183
- t.assert.deepStrictEqual(await response.text(), innerIndex)
2184
- genericResponseChecks(t, response)
2185
- })
2186
- })
2187
-
2188
- test('register /static with redirect true and wildcard false', async t => {
2189
- t.plan(7)
2190
-
2191
- const pluginOptions = {
2192
- root: path.join(__dirname, '/static'),
2193
- prefix: '/static',
2194
- redirect: true,
2195
- wildcard: false,
2196
- index: 'index.html'
2197
- }
2198
-
2199
- const fastify = Fastify()
2200
-
2201
- fastify.register(fastifyStatic, pluginOptions)
2202
-
2203
- t.after(() => fastify.close())
2204
-
2205
- await fastify.listen({ port: 0 })
2206
-
2207
- fastify.server.unref()
2208
-
2209
- await t.test('/static?a=b', async t => {
2210
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
2211
-
2212
- const { promise, resolve } = Promise.withResolvers()
2213
-
2214
- const testurl = 'http://localhost:' + fastify.server.address().port + '/static?a=b'
2215
- const req = http.request(url.parse(testurl), res => {
2216
- t.assert.deepStrictEqual(res.statusCode, 301)
2217
- t.assert.deepStrictEqual(res.headers.location, '/static/?a=b')
2218
- resolve()
2219
- })
2220
- req.on('error', err => console.error(err))
2221
- req.end()
2222
- await promise
2223
-
2224
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static?a=b')
2225
- t.assert.ok(response.ok)
2226
- t.assert.deepStrictEqual(response.status, 200)
2227
- t.assert.deepStrictEqual(await response.text(), indexContent)
2228
- genericResponseChecks(t, response)
2229
- })
2230
-
2231
- await t.test('/static/?a=b', async t => {
2232
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2233
-
2234
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/?a=b')
2235
- t.assert.ok(response.ok)
2236
- t.assert.deepStrictEqual(response.status, 200)
2237
- t.assert.deepStrictEqual(await response.text(), indexContent)
2238
- genericResponseChecks(t, response)
2239
- })
2240
-
2241
- await t.test('/static/?a=b - HEAD', async t => {
2242
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2243
-
2244
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/?a=b', { method: 'HEAD' })
2245
- t.assert.ok(response.ok)
2246
- t.assert.deepStrictEqual(response.status, 200)
2247
- t.assert.deepStrictEqual(await response.text(), '')
2248
- genericResponseChecks(t, response)
2249
- })
2250
-
2251
- await t.test('/static/deep', async t => {
2252
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
2253
-
2254
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep')
2255
- t.assert.ok(!response.ok)
2256
- t.assert.deepStrictEqual(response.status, 404)
2257
- genericErrorResponseChecks(t, response)
2258
- })
2259
-
2260
- await t.test('/static/deep/path/for/test?a=b', async t => {
2261
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
2262
-
2263
- const { promise, resolve } = Promise.withResolvers()
2264
-
2265
- const testurl = 'http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test?a=b'
2266
- const req = http.request(url.parse(testurl), res => {
2267
- t.assert.deepStrictEqual(res.statusCode, 301)
2268
- t.assert.deepStrictEqual(res.headers.location, '/static/deep/path/for/test/?a=b')
2269
- resolve()
2270
- })
2271
- req.on('error', err => console.error(err))
2272
- req.end()
2273
- await promise
2274
-
2275
- const response = await fetch(testurl)
2276
- t.assert.ok(response.ok)
2277
- t.assert.deepStrictEqual(response.status, 200)
2278
- t.assert.deepStrictEqual(await response.text(), innerIndex)
2279
- genericResponseChecks(t, response)
2280
- })
2281
-
2282
- await t.test('/static/deep/path/for/test', async t => {
2283
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2284
-
2285
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test')
2286
- t.assert.ok(response.ok)
2287
- t.assert.deepStrictEqual(response.status, 200)
2288
- t.assert.deepStrictEqual(await response.text(), innerIndex)
2289
- genericResponseChecks(t, response)
2290
- })
2291
-
2292
- await t.test('/static/deep/path/for/test', async t => {
2293
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2294
-
2295
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test', { method: 'HEAD' })
2296
- t.assert.ok(response.ok)
2297
- t.assert.deepStrictEqual(response.status, 200)
2298
- t.assert.deepStrictEqual(await response.text(), '')
2299
- genericResponseChecks(t, response)
2300
- })
2301
- })
2302
-
2303
- test('trailing slash behavior with redirect = false', async (t) => {
2304
- t.plan(5)
2305
-
2306
- const fastify = Fastify()
2307
- fastify.register(fastifyStatic, {
2308
- root: path.join(__dirname, '/static'),
2309
- prefix: '/static',
2310
- redirect: false
2311
- })
2312
- fastify.server.unref()
2313
-
2314
- t.after(() => fastify.close())
2315
-
2316
- await fastify.listen({ port: 0 })
2317
-
2318
- fastify.server.unref()
2319
-
2320
- const host = 'http://localhost:' + fastify.server.address().port
2321
-
2322
- await t.test('prefix with no trailing slash => 404', async (t) => {
2323
- t.plan(2)
2324
-
2325
- const response = await fetch(host + '/static')
2326
- t.assert.ok(!response.ok)
2327
- t.assert.deepStrictEqual(response.status, 404)
2328
- })
2329
-
2330
- await t.test('prefix with trailing trailing slash => 200', async (t) => {
2331
- t.plan(2)
2332
-
2333
- const response = await fetch(host + '/static/')
2334
- t.assert.ok(response.ok)
2335
- t.assert.deepStrictEqual(response.status, 200)
2336
- })
2337
-
2338
- await t.test('deep path with no index.html or trailing slash => 404', async (t) => {
2339
- t.plan(2)
2340
-
2341
- const response = await fetch(host + '/static/deep/path')
2342
- t.assert.ok(!response.ok)
2343
- t.assert.deepStrictEqual(response.status, 404)
2344
- })
2345
-
2346
- await t.test('deep path with index.html but no trailing slash => 200', async (t) => {
2347
- t.plan(2)
2348
-
2349
- const response = await fetch(host + '/static/deep/path/for/test')
2350
- t.assert.ok(response.ok)
2351
- t.assert.deepStrictEqual(response.status, 200)
2352
- })
2353
-
2354
- await t.test('deep path with index.html and trailing slash => 200', async (t) => {
2355
- t.plan(2)
2356
-
2357
- const response = await fetch(host + '/static/deep/path/for/test/')
2358
- t.assert.ok(response.ok)
2359
- t.assert.deepStrictEqual(response.status, 200)
2360
- })
2361
- })
2362
-
2363
- test('if dotfiles are properly served according to plugin options', async (t) => {
2364
- t.plan(3)
2365
- const exampleContents = fs
2366
- .readFileSync(path.join(__dirname, 'static', '.example'), {
2367
- encoding: 'utf8'
2368
- })
2369
- .toString()
2370
-
2371
- await t.test('freely serve dotfiles', async (t) => {
2372
- t.plan(3)
2373
- const fastify = Fastify()
2374
-
2375
- const pluginOptions = {
2376
- root: path.join(__dirname, 'static'),
2377
- prefix: '/static/',
2378
- dotfiles: 'allow'
2379
- }
2380
-
2381
- fastify.register(fastifyStatic, pluginOptions)
2382
-
2383
- t.after(() => fastify.close())
2384
-
2385
- await fastify.listen({ port: 0 })
2386
- fastify.server.unref()
2387
-
2388
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/.example')
2389
- t.assert.ok(response.ok)
2390
- t.assert.deepStrictEqual(response.status, 200)
2391
- t.assert.deepStrictEqual(await response.text(), exampleContents)
2392
- })
2393
-
2394
- await t.test('ignore dotfiles', async (t) => {
2395
- t.plan(2)
2396
- const fastify = Fastify()
2397
-
2398
- const pluginOptions = {
2399
- root: path.join(__dirname, 'static'),
2400
- prefix: '/static/',
2401
- dotfiles: 'ignore'
2402
- }
2403
-
2404
- fastify.register(fastifyStatic, pluginOptions)
2405
-
2406
- t.after(() => fastify.close())
2407
-
2408
- await fastify.listen({ port: 0 })
2409
- fastify.server.unref()
2410
-
2411
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/.example')
2412
- t.assert.ok(!response.ok)
2413
- t.assert.deepStrictEqual(response.status, 404)
2414
- })
2415
-
2416
- await t.test('deny requests to serve a dotfile', async (t) => {
2417
- t.plan(2)
2418
- const fastify = Fastify()
2419
-
2420
- const pluginOptions = {
2421
- root: path.join(__dirname, 'static'),
2422
- prefix: '/static/',
2423
- dotfiles: 'deny'
2424
- }
2425
-
2426
- fastify.register(fastifyStatic, pluginOptions)
2427
-
2428
- t.after(() => fastify.close())
2429
- await fastify.listen({ port: 0 })
2430
- fastify.server.unref()
2431
-
2432
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/.example')
2433
- t.assert.ok(!response.ok)
2434
- t.assert.deepStrictEqual(response.status, 403)
2435
- })
2436
- })
2437
-
2438
- test('register with failing glob handler', async (t) => {
2439
- const fastifyStatic = proxyquire.noCallThru()('../', {
2440
- glob: function globStub (_pattern, _options, cb) {
2441
- process.nextTick(function () {
2442
- return cb(new Error('mock glob error'))
2443
- })
2444
- }
2445
- })
2446
-
2447
- const pluginOptions = {
2448
- root: path.join(__dirname, '/static'),
2449
- serve: true,
2450
- wildcard: false
2451
- }
2452
- const fastify = Fastify()
2453
- fastify.register(fastifyStatic, pluginOptions)
2454
-
2455
- t.after(() => fastify.close())
2456
-
2457
- await t.assert.rejects(fastify.listen({ port: 0 }))
2458
- })
2459
-
2460
- test(
2461
- 'register with rootpath that causes statSync to fail with non-ENOENT code',
2462
- async (t) => {
2463
- const fastifyStatic = proxyquire('../', {
2464
- 'node:fs': {
2465
- statSync: function statSyncStub () {
2466
- throw new Error({ code: 'MOCK' })
2467
- }
2468
- }
2469
- })
2470
-
2471
- const pluginOptions = {
2472
- root: path.join(__dirname, '/static'),
2473
- wildcard: true
2474
- }
2475
- const fastify = Fastify()
2476
- fastify.register(fastifyStatic, pluginOptions)
2477
-
2478
- t.after(() => fastify.close())
2479
-
2480
- await t.assert.rejects(fastify.listen({ port: 0 }))
2481
- }
2482
- )
2483
-
2484
- test('inject support', async (t) => {
2485
- const pluginOptions = {
2486
- root: path.join(__dirname, '/static'),
2487
- prefix: '/static'
2488
- }
2489
- const fastify = Fastify()
2490
- fastify.register(fastifyStatic, pluginOptions)
2491
- t.after(() => fastify.close())
2492
-
2493
- const response = await fastify.inject({
2494
- method: 'GET',
2495
- url: '/static/index.html'
2496
- })
2497
- t.assert.deepStrictEqual(response.statusCode, 200)
2498
- t.assert.deepStrictEqual(response.body.toString(), indexContent)
2499
- })
2500
-
2501
- test('routes should use custom errorHandler premature stream close', async t => {
2502
- t.plan(2)
2503
-
2504
- const pluginOptions = {
2505
- root: path.join(__dirname, '/static'),
2506
- prefix: '/static/'
2507
- }
2508
-
2509
- const fastify = Fastify()
2510
-
2511
- fastify.addHook('onRoute', function (routeOptions) {
2512
- t.assert.ok(routeOptions.errorHandler instanceof Function)
2513
-
2514
- routeOptions.onRequest = (_request, _reply, done) => {
2515
- const fakeError = new Error()
2516
- fakeError.code = 'ERR_STREAM_PREMATURE_CLOSE'
2517
- done(fakeError)
2518
- }
2519
- })
2520
-
2521
- fastify.register(fastifyStatic, pluginOptions)
2522
- t.after(() => fastify.close())
2523
-
2524
- await t.assert.rejects(fastify.inject({ method: 'GET', url: '/static/index.html' }))
2525
- })
2526
-
2527
- test('routes should fallback to default errorHandler', async t => {
2528
- t.plan(3)
2529
-
2530
- const pluginOptions = {
2531
- root: path.join(__dirname, '/static'),
2532
- prefix: '/static/'
2533
- }
2534
-
2535
- const fastify = Fastify()
2536
-
2537
- fastify.addHook('onRoute', function (routeOptions) {
2538
- t.assert.ok(routeOptions.errorHandler instanceof Function)
2539
-
2540
- routeOptions.preHandler = (_request, _reply, done) => {
2541
- const fakeError = new Error()
2542
- fakeError.code = 'SOMETHING_ELSE'
2543
- done(fakeError)
2544
- }
2545
- })
2546
-
2547
- fastify.register(fastifyStatic, pluginOptions)
2548
- t.after(() => fastify.close())
2549
-
2550
- const response = await fastify.inject({ method: 'GET', url: '/static/index.html' })
2551
- t.assert.deepStrictEqual(response.statusCode, 500)
2552
- t.assert.deepStrictEqual(await response.json(), {
2553
- statusCode: 500,
2554
- code: 'SOMETHING_ELSE',
2555
- error: 'Internal Server Error',
2556
- message: ''
2557
- })
2558
- })
2559
-
2560
- test('percent encoded URLs in glob mode', async (t) => {
2561
- t.plan(3)
2562
-
2563
- const fastify = Fastify({})
2564
-
2565
- fastify.register(fastifyStatic, {
2566
- root: path.join(__dirname, 'static'),
2567
- prefix: '/static',
2568
- wildcard: true
2569
- })
2570
-
2571
- t.after(() => fastify.close())
2572
-
2573
- await fastify.listen({ port: 0 })
2574
- fastify.server.unref()
2575
-
2576
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/a .md')
2577
- t.assert.ok(response.ok)
2578
- t.assert.deepStrictEqual(response.status, 200)
2579
- t.assert.deepStrictEqual(
2580
- fs.readFileSync(path.join(__dirname, 'static', 'a .md'), 'utf-8'),
2581
- await response.text()
2582
- )
2583
- })
2584
-
2585
- test('register /static and /static2 without wildcard', async t => {
2586
- t.plan(2)
2587
-
2588
- const pluginOptions = {
2589
- root: [path.join(__dirname, '/static'), path.join(__dirname, '/static2')],
2590
- wildcard: false
2591
- }
2592
- const fastify = Fastify()
2593
- fastify.register(fastifyStatic, pluginOptions)
2594
-
2595
- t.after(() => fastify.close())
2596
-
2597
- await fastify.listen({ port: 0 })
2598
- fastify.server.unref()
2599
-
2600
- await t.test('/index.html', async t => {
2601
- t.plan(4 + GENERIC_RESPONSE_CHECK_COUNT)
2602
-
2603
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
2604
- t.assert.ok(response.ok)
2605
- t.assert.deepStrictEqual(response.status, 200)
2606
- const responseContent = await response.text()
2607
- t.assert.notDeepStrictEqual(responseContent, index2Content)
2608
- t.assert.deepStrictEqual(responseContent, indexContent)
2609
- genericResponseChecks(t, response)
2610
- })
2611
-
2612
- await t.test('/static/bar.html', async t => {
2613
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
2614
-
2615
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/bar.html')
2616
- t.assert.ok(response.ok)
2617
- t.assert.deepStrictEqual(response.status, 200)
2618
- t.assert.deepStrictEqual(await response.text(), barContent)
2619
- genericResponseChecks(t, response)
2620
- })
2621
- })
2622
-
2623
- test(
2624
- 'will serve pre-compressed files with .br at the highest priority',
2625
- async (t) => {
2626
- const pluginOptions = {
2627
- root: path.join(__dirname, '/static-pre-compressed'),
2628
- prefix: '/static-pre-compressed/',
2629
- preCompressed: true
2630
- }
2631
-
2632
- const fastify = Fastify()
2633
-
2634
- fastify.register(fastifyStatic, pluginOptions)
2635
- t.after(() => fastify.close())
2636
-
2637
- const response = await fastify.inject({
2638
- method: 'GET',
2639
- url: '/static-pre-compressed/all-three.html',
2640
- headers: {
2641
- 'accept-encoding': 'gzip, deflate, br'
2642
- }
2643
- })
2644
-
2645
- genericResponseChecks(t, response)
2646
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'br')
2647
- t.assert.deepStrictEqual(response.statusCode, 200)
2648
- t.assert.deepStrictEqual(response.rawPayload, allThreeBr)
2649
- }
2650
- )
2651
-
2652
- test(
2653
- 'will serve pre-compressed files and fallback to .gz if .br is not on disk',
2654
- async (t) => {
2655
- const pluginOptions = {
2656
- root: path.join(__dirname, '/static-pre-compressed'),
2657
- prefix: '/static-pre-compressed/',
2658
- preCompressed: true
2659
- }
2660
-
2661
- const fastify = Fastify()
2662
-
2663
- fastify.register(fastifyStatic, pluginOptions)
2664
- t.after(() => fastify.close())
2665
-
2666
- const response = await fastify.inject({
2667
- method: 'GET',
2668
- url: '/static-pre-compressed/gzip-only.html',
2669
- headers: {
2670
- 'accept-encoding': 'gzip, deflate, br'
2671
- }
2672
- })
2673
-
2674
- genericResponseChecks(t, response)
2675
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
2676
- t.assert.deepStrictEqual(response.statusCode, 200)
2677
- t.assert.deepStrictEqual(response.rawPayload, gzipOnly)
2678
- }
2679
- )
2680
-
2681
- test(
2682
- 'will serve pre-compressed files with .gzip if * directive used',
2683
- async (t) => {
2684
- const pluginOptions = {
2685
- root: path.join(__dirname, '/static-pre-compressed'),
2686
- prefix: '/static-pre-compressed/',
2687
- preCompressed: true
2688
- }
2689
-
2690
- const fastify = Fastify()
2691
-
2692
- fastify.register(fastifyStatic, pluginOptions)
2693
- t.after(() => fastify.close())
2694
-
2695
- const response = await fastify.inject({
2696
- method: 'GET',
2697
- url: '/static-pre-compressed/all-three.html',
2698
- headers: {
2699
- 'accept-encoding': '*'
2700
- }
2701
- })
2702
-
2703
- genericResponseChecks(t, response)
2704
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
2705
- t.assert.deepStrictEqual(response.statusCode, 200)
2706
- t.assert.deepStrictEqual(response.rawPayload, allThreeGzip)
2707
- }
2708
- )
2709
-
2710
- test(
2711
- 'will serve pre-compressed files with .gzip if multiple * directives used',
2712
- async (t) => {
2713
- const pluginOptions = {
2714
- root: path.join(__dirname, '/static-pre-compressed'),
2715
- prefix: '/static-pre-compressed/',
2716
- preCompressed: true
2717
- }
2718
-
2719
- const fastify = Fastify()
2720
-
2721
- fastify.register(fastifyStatic, pluginOptions)
2722
- t.after(() => fastify.close())
2723
-
2724
- const response = await fastify.inject({
2725
- method: 'GET',
2726
- url: '/static-pre-compressed/all-three.html',
2727
- headers: {
2728
- 'accept-encoding': '*, *'
2729
- }
2730
- })
2731
-
2732
- genericResponseChecks(t, response)
2733
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
2734
- t.assert.deepStrictEqual(response.statusCode, 200)
2735
- t.assert.deepStrictEqual(response.rawPayload, allThreeGzip)
2736
- }
2737
- )
2738
-
2739
- test(
2740
- 'will serve uncompressed files if there are no compressed variants on disk',
2741
- async (t) => {
2742
- const pluginOptions = {
2743
- root: path.join(__dirname, '/static-pre-compressed'),
2744
- prefix: '/static-pre-compressed/',
2745
- preCompressed: true
2746
- }
2747
-
2748
- const fastify = Fastify()
2749
-
2750
- fastify.register(fastifyStatic, pluginOptions)
2751
- t.after(() => fastify.close())
2752
-
2753
- const response = await fastify.inject({
2754
- method: 'GET',
2755
- url: '/static-pre-compressed/uncompressed.html',
2756
- headers: {
2757
- 'accept-encoding': 'gzip, deflate, br'
2758
- }
2759
- })
2760
-
2761
- genericResponseChecks(t, response)
2762
- t.assert.deepStrictEqual(response.headers['content-encoding'], undefined)
2763
- t.assert.deepStrictEqual(response.statusCode, 200)
2764
- t.assert.deepStrictEqual(response.body, uncompressedStatic)
2765
- }
2766
- )
2767
-
2768
- test(
2769
- 'will serve pre-compressed files with .br at the highest priority (with wildcard: false)',
2770
- async (t) => {
2771
- const pluginOptions = {
2772
- root: path.join(__dirname, '/static-pre-compressed'),
2773
- prefix: '/static-pre-compressed/',
2774
- preCompressed: true,
2775
- wildcard: false
2776
- }
2777
-
2778
- const fastify = Fastify()
2779
-
2780
- fastify.register(fastifyStatic, pluginOptions)
2781
- t.after(() => fastify.close())
2782
-
2783
- const response = await fastify.inject({
2784
- method: 'GET',
2785
- url: '/static-pre-compressed/all-three.html',
2786
- headers: {
2787
- 'accept-encoding': 'gzip, deflate, br'
2788
- }
2789
- })
2790
-
2791
- genericResponseChecks(t, response)
2792
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'br')
2793
- t.assert.deepStrictEqual(response.statusCode, 200)
2794
- t.assert.deepStrictEqual(response.rawPayload, allThreeBr)
2795
- }
2796
- )
2797
-
2798
- test(
2799
- 'will serve pre-compressed files and fallback to .gz if .br is not on disk (with wildcard: false)',
2800
- async (t) => {
2801
- const pluginOptions = {
2802
- root: path.join(__dirname, '/static-pre-compressed'),
2803
- prefix: '/static-pre-compressed/',
2804
- preCompressed: true,
2805
- wildcard: false
2806
- }
2807
-
2808
- const fastify = Fastify()
2809
-
2810
- fastify.register(fastifyStatic, pluginOptions)
2811
- t.after(() => fastify.close())
2812
-
2813
- const response = await fastify.inject({
2814
- method: 'GET',
2815
- url: '/static-pre-compressed/gzip-only.html',
2816
- headers: {
2817
- 'accept-encoding': 'gzip, deflate, br'
2818
- }
2819
- })
2820
-
2821
- genericResponseChecks(t, response)
2822
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
2823
- t.assert.deepStrictEqual(response.statusCode, 200)
2824
- t.assert.deepStrictEqual(response.rawPayload, gzipOnly)
2825
- }
2826
- )
2827
-
2828
- test(
2829
- 'will serve pre-compressed files with .gzip if * directive used (with wildcard: false)',
2830
- async (t) => {
2831
- const pluginOptions = {
2832
- root: path.join(__dirname, '/static-pre-compressed'),
2833
- prefix: '/static-pre-compressed/',
2834
- preCompressed: true,
2835
- wildcard: false
2836
- }
2837
-
2838
- const fastify = Fastify()
2839
-
2840
- fastify.register(fastifyStatic, pluginOptions)
2841
- t.after(() => fastify.close())
2842
-
2843
- const response = await fastify.inject({
2844
- method: 'GET',
2845
- url: '/static-pre-compressed/all-three.html',
2846
- headers: {
2847
- 'accept-encoding': '*'
2848
- }
2849
- })
2850
-
2851
- genericResponseChecks(t, response)
2852
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
2853
- t.assert.deepStrictEqual(response.statusCode, 200)
2854
- t.assert.deepStrictEqual(response.rawPayload, allThreeGzip)
2855
- }
2856
- )
2857
-
2858
- test(
2859
- 'will serve pre-compressed files with .gzip if multiple * directives used (with wildcard: false)',
2860
- async (t) => {
2861
- const pluginOptions = {
2862
- root: path.join(__dirname, '/static-pre-compressed'),
2863
- prefix: '/static-pre-compressed/',
2864
- preCompressed: true,
2865
- wildcard: false
2866
- }
2867
-
2868
- const fastify = Fastify()
2869
-
2870
- fastify.register(fastifyStatic, pluginOptions)
2871
- t.after(() => fastify.close())
2872
-
2873
- const response = await fastify.inject({
2874
- method: 'GET',
2875
- url: '/static-pre-compressed/all-three.html',
2876
- headers: {
2877
- 'accept-encoding': '*, *'
2878
- }
2879
- })
2880
-
2881
- genericResponseChecks(t, response)
2882
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
2883
- t.assert.deepStrictEqual(response.statusCode, 200)
2884
- t.assert.deepStrictEqual(response.rawPayload, allThreeGzip)
2885
- }
2886
- )
2887
-
2888
- test(
2889
- 'will serve uncompressed files if there are no compressed variants on disk (with wildcard: false)',
2890
- async (t) => {
2891
- const pluginOptions = {
2892
- root: path.join(__dirname, '/static-pre-compressed'),
2893
- prefix: '/static-pre-compressed/',
2894
- preCompressed: true,
2895
- wildcard: false
2896
- }
2897
-
2898
- const fastify = Fastify()
2899
-
2900
- fastify.register(fastifyStatic, pluginOptions)
2901
- t.after(() => fastify.close())
2902
-
2903
- const response = await fastify.inject({
2904
- method: 'GET',
2905
- url: '/static-pre-compressed/uncompressed.html',
2906
- headers: {
2907
- 'accept-encoding': 'gzip, deflate, br'
2908
- }
2909
- })
2910
-
2911
- genericResponseChecks(t, response)
2912
- t.assert.deepStrictEqual(response.headers['content-encoding'], undefined)
2913
- t.assert.deepStrictEqual(response.statusCode, 200)
2914
- t.assert.deepStrictEqual(response.body, uncompressedStatic)
2915
- }
2916
- )
2917
-
2918
- test(
2919
- 'will serve uncompressed files the accept-encoding header is missing',
2920
- async (t) => {
2921
- const pluginOptions = {
2922
- root: path.join(__dirname, '/static-pre-compressed'),
2923
- prefix: '/static-pre-compressed/',
2924
- preCompressed: true
2925
- }
2926
-
2927
- const fastify = Fastify()
2928
-
2929
- fastify.register(fastifyStatic, pluginOptions)
2930
- t.after(() => fastify.close())
2931
-
2932
- const response = await fastify.inject({
2933
- method: 'GET',
2934
- url: '/static-pre-compressed/uncompressed.html'
2935
- })
2936
-
2937
- genericResponseChecks(t, response)
2938
- t.assert.deepStrictEqual(response.headers['content-encoding'], undefined)
2939
- t.assert.deepStrictEqual(response.statusCode, 200)
2940
- t.assert.deepStrictEqual(response.body, uncompressedStatic)
2941
- }
2942
- )
2943
-
2944
- test(
2945
- 'will serve precompressed index',
2946
- async (t) => {
2947
- const pluginOptions = {
2948
- root: path.join(__dirname, '/static-pre-compressed'),
2949
- prefix: '/static-pre-compressed/',
2950
- preCompressed: true
2951
- }
2952
-
2953
- const fastify = Fastify()
2954
-
2955
- fastify.register(fastifyStatic, pluginOptions)
2956
- t.after(() => fastify.close())
2957
-
2958
- const response = await fastify.inject({
2959
- method: 'GET',
2960
- url: '/static-pre-compressed/',
2961
- headers: {
2962
- 'accept-encoding': 'gzip, deflate, br'
2963
- }
2964
- })
2965
-
2966
- genericResponseChecks(t, response)
2967
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'br')
2968
- t.assert.deepStrictEqual(response.statusCode, 200)
2969
- t.assert.deepStrictEqual(response.rawPayload, indexBr)
2970
- }
2971
- )
2972
-
2973
- test(
2974
- 'will serve preCompressed index without trailing slash',
2975
- async (t) => {
2976
- const pluginOptions = {
2977
- root: path.join(__dirname, '/static-pre-compressed'),
2978
- prefix: '/static-pre-compressed/',
2979
- preCompressed: true,
2980
- redirect: false
2981
- }
2982
-
2983
- const fastify = Fastify()
2984
-
2985
- fastify.register(fastifyStatic, pluginOptions)
2986
- t.after(() => fastify.close())
2987
-
2988
- const response = await fastify.inject({
2989
- method: 'GET',
2990
- url: '/static-pre-compressed/dir',
2991
- headers: {
2992
- 'accept-encoding': 'gzip, deflate, br'
2993
- }
2994
- })
2995
-
2996
- genericResponseChecks(t, response)
2997
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'br')
2998
- t.assert.deepStrictEqual(response.statusCode, 200)
2999
- t.assert.deepStrictEqual(response.rawPayload, dirIndexBr)
3000
- }
3001
- )
3002
-
3003
- test(
3004
- 'will redirect to preCompressed index without trailing slash when redirect is true',
3005
- async (t) => {
3006
- const pluginOptions = {
3007
- root: path.join(__dirname, '/static-pre-compressed'),
3008
- prefix: '/static-pre-compressed/',
3009
- preCompressed: true,
3010
- redirect: true,
3011
- }
3012
-
3013
- const fastify = Fastify()
3014
-
3015
- fastify.register(fastifyStatic, pluginOptions)
3016
- t.after(() => fastify.close())
3017
-
3018
- const response = await fastify.inject({
3019
- method: 'GET',
3020
- url: '/static-pre-compressed/dir',
3021
- headers: {
3022
- 'accept-encoding': 'gzip, deflate, br'
3023
- }
3024
- })
3025
-
3026
- t.assert.deepStrictEqual(response.statusCode, 301)
3027
- t.assert.deepStrictEqual(response.headers.location, '/static-pre-compressed/dir/')
3028
- }
3029
- )
3030
-
3031
- test(
3032
- 'will serve precompressed gzip index in subdir',
3033
- async (t) => {
3034
- const pluginOptions = {
3035
- root: path.join(__dirname, '/static-pre-compressed'),
3036
- preCompressed: true
3037
- }
3038
-
3039
- const fastify = Fastify()
3040
-
3041
- fastify.register(fastifyStatic, pluginOptions)
3042
- t.after(() => fastify.close())
3043
-
3044
- const response = await fastify.inject({
3045
- method: 'GET',
3046
- url: '/dir-gz',
3047
- headers: {
3048
- 'accept-encoding': 'gzip, deflate, br'
3049
- }
3050
- })
3051
-
3052
- genericResponseChecks(t, response)
3053
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
3054
- t.assert.deepStrictEqual(response.statusCode, 200)
3055
- t.assert.deepStrictEqual(response.rawPayload, dirIndexGz)
3056
- }
3057
- )
3058
-
3059
- test(
3060
- 'will serve precompressed index with alternative index option',
3061
- async (t) => {
3062
- const pluginOptions = {
3063
- root: path.join(__dirname, '/static-pre-compressed'),
3064
- prefix: '/static-pre-compressed/',
3065
- preCompressed: true,
3066
- index: ['all-three.html']
3067
- }
3068
-
3069
- const fastify = Fastify()
3070
-
3071
- fastify.register(fastifyStatic, pluginOptions)
3072
- t.after(() => fastify.close())
3073
-
3074
- const response = await fastify.inject({
3075
- method: 'GET',
3076
- url: '/static-pre-compressed/',
3077
- headers: {
3078
- 'accept-encoding': 'gzip, deflate, br'
3079
- }
3080
- })
3081
-
3082
- genericResponseChecks(t, response)
3083
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'br')
3084
- t.assert.deepStrictEqual(response.statusCode, 200)
3085
- t.assert.deepStrictEqual(response.rawPayload, allThreeBr)
3086
- }
3087
- )
3088
-
3089
- test(
3090
- 'will serve precompressed file without content-type charset',
3091
- async (t) => {
3092
- const pluginOptions = {
3093
- root: path.join(__dirname, '/static-pre-compressed'),
3094
- prefix: '/static-pre-compressed/',
3095
- preCompressed: true
3096
- }
3097
-
3098
- const fastify = Fastify()
3099
-
3100
- fastify.register(fastifyStatic, pluginOptions)
3101
- t.after(() => fastify.close())
3102
-
3103
- const response = await fastify.inject({
3104
- method: 'GET',
3105
- url: '/static-pre-compressed/sample.jpg',
3106
- headers: {
3107
- 'accept-encoding': 'gzip, deflate, br'
3108
- }
3109
- })
3110
-
3111
- t.assert.deepStrictEqual(response.headers['content-type'], 'image/jpeg')
3112
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'br')
3113
- t.assert.deepStrictEqual(response.statusCode, 200)
3114
- }
3115
- )
3116
-
3117
- test(
3118
- 'will not redirect but serve a file if preCompressed but no compressed file exists and redirect is true',
3119
- async (t) => {
3120
- const pluginOptions = {
3121
- root: path.join(__dirname, '/static-pre-compressed'),
3122
- prefix: '/static-pre-compressed/',
3123
- preCompressed: true,
3124
- redirect: true
3125
- }
3126
-
3127
- const fastify = Fastify()
3128
-
3129
- fastify.register(fastifyStatic, pluginOptions)
3130
- t.after(() => fastify.close())
3131
-
3132
- const response = await fastify.inject({
3133
- method: 'GET',
3134
- url: '/static-pre-compressed/baz.json',
3135
- headers: {
3136
- 'accept-encoding': '*'
3137
- }
3138
- })
3139
-
3140
- t.assert.deepStrictEqual(response.statusCode, 200)
3141
- t.assert.deepStrictEqual(response.headers['content-type'], 'application/json; charset=utf-8')
3142
- }
3143
- )
3144
-
3145
- test(
3146
- 'nonexistent index with precompressed option',
3147
- async (t) => {
3148
- const pluginOptions = {
3149
- root: path.join(__dirname, '/static-pre-compressed'),
3150
- prefix: '/static-pre-compressed/',
3151
- preCompressed: true
3152
- }
3153
-
3154
- const fastify = Fastify()
3155
-
3156
- fastify.register(fastifyStatic, pluginOptions)
3157
- t.after(() => fastify.close())
3158
-
3159
- const response = await fastify.inject({
3160
- method: 'GET',
3161
- url: '/static-pre-compressed/empty/',
3162
- headers: {
3163
- 'accept-encoding': 'gzip, deflate, br'
3164
- }
3165
- })
3166
-
3167
- t.assert.deepStrictEqual(response.statusCode, 404)
3168
- genericErrorResponseChecks(t, response)
3169
- }
3170
- )
3171
-
3172
- test('should not redirect to protocol-relative locations', async (t) => {
3173
- const urls = [
3174
- ['//^/..', '/', 301],
3175
- ['//^/.', null, 404], // it is NOT recognized as a directory by pillarjs/send
3176
- ['//:/..', '/', 301],
3177
- ['/\\\\a//google.com/%2e%2e%2f%2e%2e', '/a//google.com/%2e%2e%2f%2e%2e/', 301],
3178
- ['//a//youtube.com/%2e%2e%2f%2e%2e', '/a//youtube.com/%2e%2e%2f%2e%2e/', 301],
3179
- ['/^', null, 404], // it is NOT recognized as a directory by pillarjs/send
3180
- ['//google.com/%2e%2e', '/', 301],
3181
- ['//users/%2e%2e', '/', 301],
3182
- ['//users', null, 404],
3183
- ['///deep/path//for//test//index.html', null, 200]
3184
- ]
3185
-
3186
- t.plan(urls.length * 2)
3187
- const fastify = Fastify()
3188
- fastify.register(fastifyStatic, {
3189
- root: path.join(__dirname, '/static'),
3190
- redirect: true
3191
- })
3192
- t.after(() => fastify.close())
3193
-
3194
- const address = await fastify.listen({ port: 0 })
3195
- fastify.server.unref()
3196
-
3197
- const promises = urls.map(([testUrl, expected, status]) => {
3198
- const { promise, resolve } = Promise.withResolvers()
3199
-
3200
- const req = http.request(url.parse(address + testUrl), res => {
3201
- t.assert.deepStrictEqual(res.statusCode, status, `status ${testUrl}`)
3202
-
3203
- if (expected) {
3204
- t.assert.deepStrictEqual(res.headers.location, expected)
3205
- } else {
3206
- t.assert.ok(!res.headers.location)
3207
- }
3208
-
3209
- resolve()
3210
- })
3211
- req.on('error', t.assert.fail)
3212
- req.end()
3213
- return promise
3214
- })
3215
-
3216
- await Promise.all(promises)
3217
- })
3218
-
3219
- test('should not serve index if option is `false`', async (t) => {
3220
- t.plan(2)
3221
-
3222
- const pluginOptions = {
3223
- root: path.join(__dirname, '/static'),
3224
- prefix: '/static',
3225
- index: false
3226
- }
3227
- const fastify = Fastify()
3228
- fastify.register(fastifyStatic, pluginOptions)
3229
-
3230
- t.after(() => fastify.close())
3231
-
3232
- await fastify.listen({ port: 0 })
3233
- fastify.server.unref()
3234
-
3235
- await t.test('/static/index.html', async (t) => {
3236
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3237
-
3238
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
3239
- t.assert.ok(response.ok)
3240
- t.assert.deepStrictEqual(response.status, 200)
3241
- t.assert.deepStrictEqual(await response.text(), indexContent)
3242
- genericResponseChecks(t, response)
3243
- })
3244
-
3245
- await t.test('/static', async (t) => {
3246
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
3247
-
3248
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static')
3249
- t.assert.ok(!response.ok)
3250
- t.assert.deepStrictEqual(response.status, 404)
3251
- genericErrorResponseChecks(t, response)
3252
- })
3253
- })
3254
-
3255
- test('should follow symbolic link without wildcard', async (t) => {
3256
- t.plan(4)
3257
- const fastify = Fastify()
3258
- fastify.register(fastifyStatic, {
3259
- root: path.join(__dirname, '/static-symbolic-link'),
3260
- wildcard: false
3261
- })
3262
- t.after(() => fastify.close())
3263
-
3264
- await fastify.listen({ port: 0 })
3265
- fastify.server.unref()
3266
-
3267
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/origin/subdir/subdir/index.html')
3268
- t.assert.ok(response.ok)
3269
- t.assert.deepStrictEqual(response.status, 200)
3270
-
3271
- const response2 = await fetch('http://localhost:' + fastify.server.address().port + '/dir/symlink/subdir/subdir/index.html')
3272
- t.assert.ok(response2.ok)
3273
- t.assert.deepStrictEqual(response2.status, 200)
3274
- })
3275
-
3276
- test('should serve files into hidden dir with wildcard `false`', async (t) => {
3277
- t.plan(8)
3278
-
3279
- const pluginOptions = {
3280
- root: path.join(__dirname, '/static-hidden'),
3281
- wildcard: false,
3282
- serveDotFiles: true
3283
- }
3284
- const fastify = Fastify()
3285
- fastify.register(fastifyStatic, pluginOptions)
3286
-
3287
- t.after(() => fastify.close())
3288
-
3289
- await fastify.listen({ port: 0 })
3290
- fastify.server.unref()
3291
-
3292
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/.hidden/sample.json')
3293
- t.assert.ok(response.ok)
3294
- t.assert.deepStrictEqual(response.status, 200)
3295
- t.assert.deepStrictEqual(await response.text(), jsonHiddenContent)
3296
- t.assert.ok(/application\/(json)/.test(response.headers.get('content-type')))
3297
- t.assert.ok(response.headers.get('etag'))
3298
- t.assert.ok(response.headers.get('last-modified'))
3299
- t.assert.ok(response.headers.get('date'))
3300
- t.assert.ok(response.headers.get('cache-control'))
3301
- })
3302
-
3303
- test('should not found hidden file with wildcard is `false`', async (t) => {
3304
- t.plan(2)
3305
-
3306
- const pluginOptions = {
3307
- root: path.join(__dirname, '/static-hidden'),
3308
- wildcard: false
3309
- }
3310
- const fastify = Fastify()
3311
- fastify.register(fastifyStatic, pluginOptions)
3312
-
3313
- t.after(() => fastify.close())
3314
- await fastify.listen({ port: 0 })
3315
- fastify.server.unref()
3316
-
3317
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/.hidden/sample.json')
3318
- t.assert.ok(!response.ok)
3319
- t.assert.deepStrictEqual(response.status, 404)
3320
- })
3321
-
3322
- test('should serve files into hidden dir without wildcard option', async (t) => {
3323
- t.plan(8)
3324
-
3325
- const pluginOptions = {
3326
- root: path.join(__dirname, '/static-hidden')
3327
- }
3328
- const fastify = Fastify()
3329
- fastify.register(fastifyStatic, pluginOptions)
3330
-
3331
- t.after(() => fastify.close())
3332
-
3333
- await fastify.listen({ port: 0 })
3334
- fastify.server.unref()
3335
-
3336
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/.hidden/sample.json')
3337
- t.assert.ok(response.ok)
3338
- t.assert.deepStrictEqual(response.status, 200)
3339
- t.assert.deepStrictEqual(await response.text(), jsonHiddenContent)
3340
- t.assert.ok(/application\/(json)/.test(response.headers.get('content-type')))
3341
- t.assert.ok(response.headers.get('etag'))
3342
- t.assert.ok(response.headers.get('last-modified'))
3343
- t.assert.ok(response.headers.get('date'))
3344
- t.assert.ok(response.headers.get('cache-control'))
3345
- })
3346
-
3347
- test(
3348
- 'will serve pre-compressed files with .gzip if multi-root',
3349
- async (t) => {
3350
- const pluginOptions = {
3351
- root: [path.join(__dirname, '/static-pre-compressed'), path.join(__dirname, '/static')],
3352
- preCompressed: true
3353
- }
3354
-
3355
- const fastify = Fastify()
3356
-
3357
- fastify.register(fastifyStatic, pluginOptions)
3358
- t.after(() => fastify.close())
3359
-
3360
- const response = await fastify.inject({
3361
- method: 'GET',
3362
- url: 'all-three.html',
3363
- headers: {
3364
- 'accept-encoding': '*, *'
3365
- }
3366
- })
3367
-
3368
- genericResponseChecks(t, response)
3369
- t.assert.deepStrictEqual(response.headers['content-encoding'], 'gzip')
3370
- t.assert.deepStrictEqual(response.statusCode, 200)
3371
- t.assert.deepStrictEqual(response.rawPayload, allThreeGzip)
3372
- }
3373
- )
3374
-
3375
- test(
3376
- 'will still serve un-compressed files with multi-root and preCompressed as true',
3377
- async (t) => {
3378
- const pluginOptions = {
3379
- root: [path.join(__dirname, '/static-pre-compressed'), path.join(__dirname, '/static')],
3380
- preCompressed: true
3381
- }
3382
-
3383
- const fastify = Fastify()
3384
-
3385
- fastify.register(fastifyStatic, pluginOptions)
3386
- t.after(() => fastify.close())
3387
-
3388
- const response = await fastify.inject({
3389
- method: 'GET',
3390
- url: 'foobar.html',
3391
- headers: {
3392
- 'accept-encoding': '*, *'
3393
- }
3394
- })
3395
-
3396
- genericResponseChecks(t, response)
3397
- t.assert.deepStrictEqual(response.statusCode, 200)
3398
- t.assert.deepStrictEqual(response.body, foobarContent)
3399
- }
3400
- )
3401
-
3402
- test(
3403
- 'converts URL to path',
3404
- async (t) => {
3405
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
3406
- const pluginOptions = {
3407
- root: url.pathToFileURL(path.join(__dirname, '/static'))
3408
- }
3409
-
3410
- const fastify = Fastify()
3411
-
3412
- fastify.register(fastifyStatic, pluginOptions)
3413
- const response = await fastify.inject({
3414
- method: 'GET',
3415
- url: 'foobar.html',
3416
- headers: {
3417
- 'accept-encoding': '*, *'
3418
- }
3419
- })
3420
- genericResponseChecks(t, response)
3421
- t.assert.deepStrictEqual(response.statusCode, 200)
3422
- t.assert.deepStrictEqual(response.body, foobarContent)
3423
- }
3424
- )
3425
-
3426
- test(
3427
- 'converts array of URLs to path, contains string path',
3428
- async (t) => {
3429
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
3430
- const pluginOptions = {
3431
- root: [url.pathToFileURL(path.join(__dirname, '/static')), path.join(__dirname, 'static-dotfiles'), url.pathToFileURL(path.join(__dirname, '/static-pre-compressed'))]
3432
- }
3433
-
3434
- const fastify = Fastify()
3435
-
3436
- fastify.register(fastifyStatic, pluginOptions)
3437
- const response = await fastify.inject({
3438
- method: 'GET',
3439
- url: 'foobar.html',
3440
- headers: {
3441
- 'accept-encoding': '*, *'
3442
- }
3443
- })
3444
- genericResponseChecks(t, response)
3445
- t.assert.deepStrictEqual(response.statusCode, 200)
3446
- t.assert.deepStrictEqual(response.body, foobarContent)
3447
- }
3448
- )
3449
-
3450
- test(
3451
- 'serves files with paths that have characters modified by encodeUri when wildcard is false',
3452
- async (t) => {
3453
- const aContent = fs.readFileSync(path.join(__dirname, 'static-encode/[...]', 'a .md'), 'utf-8')
3454
-
3455
- t.plan(4)
3456
- const pluginOptions = {
3457
- root: url.pathToFileURL(path.join(__dirname, '/static-encode')),
3458
- wildcard: false
3459
- }
3460
-
3461
- const fastify = Fastify()
3462
-
3463
- fastify.register(fastifyStatic, pluginOptions)
3464
- const response = await fastify.inject({
3465
- method: 'GET',
3466
- url: '[...]/a .md',
3467
- headers: {
3468
- 'accept-encoding': '*, *'
3469
- }
3470
- })
3471
- t.assert.deepStrictEqual(response.statusCode, 200)
3472
- t.assert.deepStrictEqual(response.body, aContent)
3473
-
3474
- const response2 = await fastify.inject({
3475
- method: 'GET',
3476
- url: '%5B...%5D/a%20.md',
3477
- headers: {
3478
- 'accept-encoding': '*, *'
3479
- }
3480
- })
3481
- t.assert.deepStrictEqual(response2.statusCode, 200)
3482
- t.assert.deepStrictEqual(response2.body, aContent)
3483
- }
3484
- )
3485
-
3486
- test(
3487
- 'serves files with % in the filename',
3488
- async (t) => {
3489
- t.plan(2)
3490
-
3491
- const txtContent = fs.readFileSync(path.join(__dirname, 'static', '100%.txt'), 'utf-8')
3492
-
3493
- const pluginOptions = {
3494
- root: url.pathToFileURL(path.join(__dirname, '/static')),
3495
- wildcard: false
3496
- }
3497
-
3498
- const fastify = Fastify()
3499
-
3500
- fastify.register(fastifyStatic, pluginOptions)
3501
- const response = await fastify.inject({
3502
- method: 'GET',
3503
- url: '100%25.txt',
3504
- headers: {
3505
- 'accept-encoding': '*, *'
3506
- }
3507
- })
3508
- t.assert.deepStrictEqual(response.statusCode, 200)
3509
- t.assert.deepStrictEqual(response.body, txtContent)
3510
- }
3511
- )
3512
-
3513
- test('content-length in head route should not return zero when using wildcard', async t => {
3514
- t.plan(5)
3515
-
3516
- const pluginOptions = {
3517
- root: path.join(__dirname, '/static')
3518
- }
3519
- const fastify = Fastify()
3520
-
3521
- fastify.register(fastifyStatic, pluginOptions)
3522
-
3523
- t.after(() => fastify.close())
3524
-
3525
- await fastify.listen({ port: 0 })
3526
- fastify.server.unref()
3527
-
3528
- const file = fs.readFileSync(path.join(__dirname, '/static/index.html'))
3529
- const contentLength = Buffer.byteLength(file).toString()
3530
-
3531
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html', { method: 'HEAD' })
3532
- t.assert.ok(response.ok)
3533
- t.assert.deepStrictEqual(response.status, 200)
3534
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/html; charset=utf-8')
3535
- t.assert.deepStrictEqual(response.headers.get('content-length'), contentLength)
3536
- t.assert.deepStrictEqual(await response.text(), '')
3537
- })
3538
-
3539
- test('respect the .code when using with sendFile', async t => {
3540
- t.plan(5)
3541
-
3542
- const pluginOptions = {
3543
- root: path.join(__dirname, '/static')
3544
- }
3545
- const fastify = Fastify()
3546
-
3547
- fastify.register(fastifyStatic, pluginOptions)
3548
-
3549
- fastify.get('/custom', (_, reply) => {
3550
- return reply.code(404).type('text/html').sendFile('foo.html')
3551
- })
3552
-
3553
- t.after(() => fastify.close())
3554
-
3555
- await fastify.listen({ port: 0 })
3556
- fastify.server.unref()
3557
-
3558
- const file = fs.readFileSync(path.join(__dirname, '/static/foo.html'))
3559
- const contentLength = Buffer.byteLength(file).toString()
3560
-
3561
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/custom', { method: 'HEAD' })
3562
- t.assert.ok(!response.ok)
3563
- t.assert.deepStrictEqual(response.status, 404)
3564
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/html; charset=utf-8')
3565
- t.assert.deepStrictEqual(response.headers.get('content-length'), contentLength)
3566
- t.assert.deepStrictEqual(await response.text(), '')
3567
- })
3568
-
3569
- test('respect the .type when using with sendFile with contentType disabled', async t => {
3570
- t.plan(5)
3571
-
3572
- const pluginOptions = {
3573
- root: path.join(__dirname, '/static'),
3574
- contentType: false
3575
- }
3576
- const fastify = Fastify()
3577
-
3578
- fastify.register(fastifyStatic, pluginOptions)
3579
-
3580
- fastify.get('/custom', (_, reply) => {
3581
- return reply.type('text/html; charset=windows-1252').sendFile('foo.html')
3582
- })
3583
-
3584
- t.after(() => fastify.close())
3585
-
3586
- await fastify.listen({ port: 0 })
3587
- fastify.server.unref()
3588
-
3589
- const file = fs.readFileSync(path.join(__dirname, '/static/foo.html'))
3590
- const contentLength = Buffer.byteLength(file).toString()
3591
-
3592
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/custom')
3593
- t.assert.ok(response.ok)
3594
- t.assert.deepStrictEqual(response.status, 200)
3595
- t.assert.deepStrictEqual(response.headers.get('content-type'), 'text/html; charset=windows-1252')
3596
- t.assert.deepStrictEqual(response.headers.get('content-length'), contentLength)
3597
- t.assert.deepStrictEqual(await response.text(), fooContent)
3598
- })
3599
-
3600
- test('register /static/ with custom log level', async t => {
3601
- t.plan(9)
3602
-
3603
- const pluginOptions = {
3604
- root: path.join(__dirname, '/static'),
3605
- prefix: '/static/',
3606
- logLevel: 'warn'
3607
- }
3608
- const fastify = Fastify({
3609
- logger: {
3610
- stream: {
3611
- write: (logLine) => {
3612
- if (logLine.includes('"msg":"incoming request"')) {
3613
- console.warn(logLine)
3614
- throw new Error('Should never reach this point since log level is set at WARN!! Unexpected log line: ' + logLine)
3615
- }
3616
- },
3617
- },
3618
- },
3619
- })
3620
- fastify.register(fastifyStatic, pluginOptions)
3621
-
3622
- t.after(() => fastify.close())
3623
-
3624
- await fastify.listen({ port: 0 })
3625
- fastify.server.unref()
3626
-
3627
- await t.test('/static/index.html', async (t) => {
3628
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3629
-
3630
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
3631
- t.assert.ok(response.ok)
3632
- t.assert.deepStrictEqual(response.status, 200)
3633
- t.assert.deepStrictEqual(await response.text(), indexContent)
3634
- genericResponseChecks(t, response)
3635
- })
3636
-
3637
- await t.test('/static/index.html', async t => {
3638
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3639
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', { method: 'HEAD' })
3640
- t.assert.ok(response.ok)
3641
- t.assert.deepStrictEqual(response.status, 200)
3642
- t.assert.deepStrictEqual(await response.text(), '')
3643
- genericResponseChecks(t, response)
3644
- })
3645
-
3646
- await t.test('/static/index.css', async (t) => {
3647
- t.plan(2 + GENERIC_RESPONSE_CHECK_COUNT)
3648
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.css')
3649
- t.assert.ok(response.ok)
3650
- t.assert.deepStrictEqual(response.status, 200)
3651
- genericResponseChecks(t, response)
3652
- })
3653
-
3654
- await t.test('/static/', async (t) => {
3655
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3656
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/')
3657
-
3658
- t.assert.ok(response.ok)
3659
- t.assert.deepStrictEqual(response.status, 200)
3660
- t.assert.deepStrictEqual(await response.text(), indexContent)
3661
- genericResponseChecks(t, response)
3662
- })
3663
-
3664
- await t.test('/static/deep/path/for/test/purpose/foo.html', async (t) => {
3665
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3666
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/purpose/foo.html')
3667
-
3668
- t.assert.ok(response.ok)
3669
- t.assert.deepStrictEqual(response.status, 200)
3670
- t.assert.deepStrictEqual(await response.text(), deepContent)
3671
- genericResponseChecks(t, response)
3672
- })
3673
- await t.test('/static/deep/path/for/test/', async (t) => {
3674
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3675
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/deep/path/for/test/')
3676
-
3677
- t.assert.ok(response.ok)
3678
- t.assert.deepStrictEqual(response.status, 200)
3679
- t.assert.deepStrictEqual(await response.text(), innerIndex)
3680
- genericResponseChecks(t, response)
3681
- })
3682
-
3683
- await t.test('/static/this/path/for/test', async (t) => {
3684
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
3685
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/for/test')
3686
-
3687
- t.assert.ok(!response.ok)
3688
- t.assert.deepStrictEqual(response.status, 404)
3689
- genericErrorResponseChecks(t, response)
3690
- })
3691
-
3692
- await t.test('/static/this/path/doesnt/exist.html', async (t) => {
3693
- t.plan(2 + GENERIC_ERROR_RESPONSE_CHECK_COUNT)
3694
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/this/path/doesnt/exist.html')
3695
-
3696
- t.assert.ok(!response.ok)
3697
- t.assert.deepStrictEqual(response.status, 404)
3698
- genericErrorResponseChecks(t, response)
3699
- })
3700
-
3701
- await t.test('304', async t => {
3702
- t.plan(5 + GENERIC_RESPONSE_CHECK_COUNT)
3703
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html')
3704
-
3705
- t.assert.ok(response.ok)
3706
- t.assert.deepStrictEqual(response.status, 200)
3707
- t.assert.deepStrictEqual(await response.text(), indexContent)
3708
- genericResponseChecks(t, response)
3709
-
3710
- const response2 = await fetch('http://localhost:' + fastify.server.address().port + '/static/index.html', {
3711
- headers: {
3712
- 'if-none-match': response.headers.get('etag')
3713
- },
3714
- cache: 'no-cache'
3715
- })
3716
- t.assert.ok(!response2.ok)
3717
- t.assert.deepStrictEqual(response2.status, 304)
3718
- })
3719
- })
3720
-
3721
- test('register with wildcard false and globIgnore', async t => {
3722
- t.plan(5)
3723
-
3724
- const indexContent = fs
3725
- .readFileSync('./test/static-filtered/index.html')
3726
- .toString('utf8')
3727
-
3728
- const deepContent = fs
3729
- .readFileSync('./test/static-filtered/deep/path/to/baz.html')
3730
- .toString('utf8')
3731
-
3732
- const pluginOptions = {
3733
- root: path.join(__dirname, '/static-filtered'),
3734
- wildcard: false,
3735
- globIgnore: ['**/*.private']
3736
- }
3737
- const fastify = Fastify()
3738
- fastify.register(fastifyStatic, pluginOptions)
3739
-
3740
- t.after(() => fastify.close())
3741
-
3742
- await fastify.listen({ port: 0 })
3743
-
3744
- fastify.server.unref()
3745
-
3746
- await t.test('/index.html', async t => {
3747
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3748
-
3749
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/index.html')
3750
- t.assert.ok(response.ok)
3751
- t.assert.deepStrictEqual(response.status, 200)
3752
- t.assert.deepStrictEqual(await response.text(), indexContent)
3753
- genericResponseChecks(t, response)
3754
- })
3755
-
3756
- await t.test('/bar.private', async t => {
3757
- t.plan(2)
3758
-
3759
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/bar.private')
3760
- t.assert.ok(!response.ok)
3761
- t.assert.deepStrictEqual(response.status, 404)
3762
- await response.text()
3763
- })
3764
-
3765
- await t.test('/', async (t) => {
3766
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3767
-
3768
- const response = await fetch('http://localhost:' + fastify.server.address().port)
3769
- t.assert.ok(response.ok)
3770
- t.assert.deepStrictEqual(response.status, 200)
3771
- t.assert.deepStrictEqual(await response.text(), indexContent)
3772
- genericResponseChecks(t, response)
3773
- })
3774
-
3775
- await t.test('/deep/path/to/baz.html', async (t) => {
3776
- t.plan(3 + GENERIC_RESPONSE_CHECK_COUNT)
3777
-
3778
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/to/baz.html')
3779
- t.assert.ok(response.ok)
3780
- t.assert.deepStrictEqual(response.status, 200)
3781
- t.assert.deepStrictEqual(await response.text(), deepContent)
3782
- genericResponseChecks(t, response)
3783
- })
3784
-
3785
- await t.test('/deep/path/to/baz.private', async (t) => {
3786
- t.plan(2)
3787
-
3788
- const response = await fetch('http://localhost:' + fastify.server.address().port + '/deep/path/to/baz.private')
3789
- t.assert.ok(!response.ok)
3790
- t.assert.deepStrictEqual(response.status, 404)
3791
- await response.text()
3792
- })
3793
- })