nuxt-ignis 0.5.2 → 0.5.3

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 (409) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +1 -1
  3. package/.nuxt/components.d.ts +480 -858
  4. package/.nuxt/content/components.ts +177 -320
  5. package/.nuxt/dev/index.mjs +542 -530
  6. package/.nuxt/dev/index.mjs.map +1 -1
  7. package/.nuxt/dist/server/client.manifest.mjs +1 -1
  8. package/.nuxt/dist/server/client.precomputed.mjs +1 -1
  9. package/.nuxt/eslint-typegen.d.ts +60 -111
  10. package/.nuxt/eslint.config.d.mts +2 -2
  11. package/.nuxt/eslint.config.mjs +9 -9
  12. package/.nuxt/imports.d.ts +71 -70
  13. package/.nuxt/manifest/latest.json +1 -1
  14. package/.nuxt/manifest/meta/dev.json +1 -1
  15. package/.nuxt/module/nuxt-robots.d.ts +13 -12
  16. package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
  17. package/.nuxt/module/nuxt-site-config.d.ts +8 -8
  18. package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
  19. package/.nuxt/nitro.json +4 -4
  20. package/.nuxt/nuxt.d.ts +6 -6
  21. package/.nuxt/nuxt.json +2 -2
  22. package/.nuxt/nuxt.node.d.ts +7 -6
  23. package/.nuxt/tsconfig.app.json +192 -188
  24. package/.nuxt/tsconfig.json +195 -191
  25. package/.nuxt/tsconfig.node.json +108 -104
  26. package/.nuxt/tsconfig.server.json +128 -127
  27. package/.nuxt/tsconfig.shared.json +62 -62
  28. package/.nuxt/types/build.d.ts +1 -1
  29. package/.nuxt/types/components.d.ts +480 -858
  30. package/.nuxt/types/i18n-plugin.d.ts +2 -2
  31. package/.nuxt/types/imports.d.ts +368 -366
  32. package/.nuxt/types/modules.d.ts +22 -24
  33. package/.nuxt/types/nitro-imports.d.ts +66 -66
  34. package/.nuxt/types/nitro-nuxt.d.ts +1 -1
  35. package/.nuxt/types/nitro-routes.d.ts +16 -16
  36. package/.nuxt/types/plugins.d.ts +37 -37
  37. package/.nuxt/types/runtime-config.d.ts +3 -1
  38. package/.output/nitro.json +2 -2
  39. package/.output/public/_ignis-config.json +6 -0
  40. package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
  41. package/.output/public/_nuxt/-z2jk33i.js +1 -0
  42. package/.output/public/_nuxt/3L5yAyVe.js +1 -0
  43. package/.output/public/_nuxt/8nlalpbc.js +1 -0
  44. package/.output/public/_nuxt/As5Zy5cG.js +1 -0
  45. package/.output/public/_nuxt/B-TDuiGE.js +1 -0
  46. package/.output/public/_nuxt/B04mZI32.js +1 -0
  47. package/.output/public/_nuxt/B3zmx-p1.js +1 -0
  48. package/.output/public/_nuxt/B4eQjLRH.js +1 -0
  49. package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
  50. package/.output/public/_nuxt/BB2ULiwb.js +1 -0
  51. package/.output/public/_nuxt/BEvX3xjB.js +1 -0
  52. package/.output/public/_nuxt/BFcGh2xo.js +1 -0
  53. package/.output/public/_nuxt/BFdGKCUO.js +1 -0
  54. package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
  55. package/.output/public/_nuxt/BeRTSVEP.js +1 -0
  56. package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
  57. package/.output/public/_nuxt/BvFz8iHh.js +1 -0
  58. package/.output/public/_nuxt/BwUgVogm.js +1 -0
  59. package/.output/public/_nuxt/C1fHW8CN.js +1 -0
  60. package/.output/public/_nuxt/C1getMtX.js +49 -0
  61. package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
  62. package/.output/public/_nuxt/CExm4AMI.js +1 -0
  63. package/.output/public/_nuxt/CHcd0nHy.js +1 -0
  64. package/.output/public/_nuxt/CTbEZMxa.js +1 -0
  65. package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
  66. package/.output/public/_nuxt/Cna7T5zY.js +1 -0
  67. package/.output/public/_nuxt/CnghUxEk.js +1 -0
  68. package/.output/public/_nuxt/CvJSUdvI.js +1 -0
  69. package/.output/public/_nuxt/CwgBHvd_.js +1 -0
  70. package/.output/public/_nuxt/D1nIr4-J.js +1 -0
  71. package/.output/public/_nuxt/D2atCez-.js +1 -0
  72. package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
  73. package/.output/public/_nuxt/D5duQQkG.js +1 -0
  74. package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
  75. package/.output/public/_nuxt/DB3c8m3K.js +1 -0
  76. package/.output/public/_nuxt/DFP1sKjc.js +1 -0
  77. package/.output/public/_nuxt/DI5_qtj_.js +1 -0
  78. package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
  79. package/.output/public/_nuxt/DN3AlbuD.js +1 -0
  80. package/.output/public/_nuxt/DPDbQA17.js +1 -0
  81. package/.output/public/_nuxt/DSErOj49.js +1 -0
  82. package/.output/public/_nuxt/DXrSmKSt.js +1 -0
  83. package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
  84. package/.output/public/_nuxt/DgCebJqk.js +1 -0
  85. package/.output/public/_nuxt/DhhwMwQM.js +1 -0
  86. package/.output/public/_nuxt/Djhwz52y.js +1 -0
  87. package/.output/public/_nuxt/DnE1KSqg.js +1 -0
  88. package/.output/public/_nuxt/DncFEy6i.js +1 -0
  89. package/.output/public/_nuxt/DpZCZGQO.js +1 -0
  90. package/.output/public/_nuxt/Dx95U2T3.js +1 -0
  91. package/.output/public/_nuxt/FUdAqSn9.js +9 -0
  92. package/.output/public/_nuxt/GvxWNFgu.js +1 -0
  93. package/.output/public/_nuxt/HgKyGH3C.js +1 -0
  94. package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
  95. package/.output/public/_nuxt/LpFrvoF7.js +1 -0
  96. package/.output/public/_nuxt/{Pre.DHQaXnEy.css → Pre.HegCCrfd.css} +1 -1
  97. package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
  98. package/.output/public/_nuxt/U1_7ggcx.js +1 -0
  99. package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
  100. package/.output/public/_nuxt/ahq42_9S.js +1 -0
  101. package/.output/public/_nuxt/b0AtYQ73.js +1 -0
  102. package/.output/public/_nuxt/builds/latest.json +1 -1
  103. package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
  104. package/.output/public/_nuxt/efC_w6sP.js +1 -0
  105. package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
  106. package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
  107. package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
  108. package/.output/public/_nuxt/ulE7jr93.js +1 -0
  109. package/.output/public/_nuxt/xHyrElgL.js +1 -0
  110. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  111. package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
  112. package/.output/server/chunks/_/nitro.mjs +1176 -1775
  113. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  114. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  115. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
  116. package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
  117. package/.output/server/chunks/raw/headers.mjs.map +1 -1
  118. package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
  119. package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
  120. package/.output/server/chunks/routes/renderer.mjs +27 -2
  121. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  122. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
  123. package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
  124. package/.output/server/chunks/virtual/global-sources.mjs +0 -8
  125. package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
  126. package/.output/server/index.mjs +1 -1
  127. package/.output/server/index.mjs.map +1 -1
  128. package/.output/server/node_modules/.nitro/{entities@4.5.0/lib/decode_codepoint.js → entities@7.0.0/dist/commonjs/decode-codepoint.js} +16 -15
  129. package/.output/server/node_modules/.nitro/{entities@4.5.0/lib → entities@7.0.0/dist/commonjs}/decode.js +200 -168
  130. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
  131. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
  132. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
  133. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
  134. package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
  135. package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
  136. package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
  137. package/.output/server/node_modules/@intlify/core/package.json +3 -3
  138. package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
  139. package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
  140. package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
  141. package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
  142. package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
  143. package/.output/server/node_modules/@intlify/shared/package.json +1 -1
  144. package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
  145. package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
  146. package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
  147. package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
  148. package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
  149. package/.output/server/node_modules/@poppinss/string/package.json +28 -25
  150. package/.output/server/node_modules/@shikijs/core/dist/index.mjs +111 -31
  151. package/.output/server/node_modules/@shikijs/core/package.json +2 -2
  152. package/.output/server/node_modules/@shikijs/engine-javascript/package.json +2 -2
  153. package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
  154. package/.output/server/node_modules/@shikijs/langs/package.json +2 -2
  155. package/.output/server/node_modules/@shikijs/themes/package.json +2 -2
  156. package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +56 -16
  157. package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
  158. package/.output/server/node_modules/@shikijs/types/package.json +1 -1
  159. package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/dist/compiler-core.cjs.prod.js +106 -85
  160. package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/package.json +3 -3
  161. package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/dist/compiler-dom.cjs.prod.js +54 -54
  162. package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/package.json +3 -3
  163. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +26 -26
  164. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  165. package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.25 → @vue/reactivity}/dist/reactivity.cjs.prod.js +4 -4
  166. package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.22 → @vue/reactivity}/package.json +2 -2
  167. package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.25 → @vue/runtime-core}/dist/runtime-core.cjs.prod.js +175 -155
  168. package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.22 → @vue/runtime-core}/package.json +3 -3
  169. package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.25 → @vue/runtime-dom}/dist/runtime-dom.cjs.prod.js +9 -9
  170. package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.22 → @vue/runtime-dom}/package.json +5 -5
  171. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
  172. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
  173. package/.output/server/node_modules/{.nitro/@vue/shared@3.5.25 → @vue/shared}/dist/shared.cjs.prod.js +1 -1
  174. package/.output/server/node_modules/{.nitro/@vue/shared@3.5.22 → @vue/shared}/package.json +1 -1
  175. package/.output/server/node_modules/devalue/index.js +1 -0
  176. package/.output/server/node_modules/devalue/package.json +1 -1
  177. package/.output/server/node_modules/devalue/src/parse.js +5 -1
  178. package/.output/server/node_modules/devalue/src/stringify.js +7 -3
  179. package/.output/server/node_modules/devalue/src/uneval.js +7 -3
  180. package/.output/server/node_modules/devalue/src/utils.js +5 -1
  181. package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
  182. package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
  183. package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
  184. package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
  185. package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
  186. package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  187. package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +2 -2
  188. package/.output/server/node_modules/jose/package.json +1 -1
  189. package/.output/server/node_modules/node-mock-http/package.json +10 -10
  190. package/.output/server/node_modules/regex/package.json +6 -6
  191. package/.output/server/node_modules/regex/src/atomic.js +6 -3
  192. package/.output/server/node_modules/shiki/package.json +7 -7
  193. package/.output/server/node_modules/strnum/package.json +1 -1
  194. package/.output/server/node_modules/strnum/strnum.js +1 -1
  195. package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
  196. package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
  197. package/.output/server/node_modules/unhead/dist/shared/{unhead.DH45uomy.mjs → unhead.CGCfDSEL.mjs} +3 -3
  198. package/.output/server/node_modules/unhead/dist/shared/{unhead.BpRRHAhY.mjs → unhead.CYpwL2hc.mjs} +12 -12
  199. package/.output/server/node_modules/unhead/dist/shared/{unhead.DZbvapt-.mjs → unhead.CbpEuj3y.mjs} +3 -2
  200. package/.output/server/node_modules/unhead/dist/shared/{unhead.Djo8ep_Y.mjs → unhead.ckV6dpEQ.mjs} +1 -1
  201. package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
  202. package/.output/server/node_modules/unhead/package.json +1 -1
  203. package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/dist/vue.cjs.js +1 -1
  204. package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/dist/vue.cjs.prod.js +1 -1
  205. package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/package.json +6 -6
  206. package/.output/server/node_modules/vue-router/dist/{devtools-BLCumUwL.mjs → devtools-EWN81iOl.mjs} +6 -4
  207. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
  208. package/.output/server/node_modules/vue-router/package.json +2 -3
  209. package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
  210. package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
  211. package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
  212. package/.output/server/node_modules/yaml/dist/errors.js +1 -1
  213. package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
  214. package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
  215. package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
  216. package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
  217. package/.output/server/node_modules/yaml/package.json +4 -4
  218. package/.output/server/package.json +35 -38
  219. package/bin/set-app-vue.js +1 -1
  220. package/bin/set-css.js +1 -1
  221. package/bin/set-eslint.js +1 -1
  222. package/bin/setup.js +3 -3
  223. package/eslint.config.mjs +7 -4
  224. package/package.json +7 -7
  225. package/public/_ignis-config.json +6 -0
  226. package/vitest.config.ts +1 -3
  227. package/.output/public/_nuxt/-PRJHlJd.js +0 -1
  228. package/.output/public/_nuxt/38NkCNo_.js +0 -0
  229. package/.output/public/_nuxt/4p0_eEbF.js +0 -0
  230. package/.output/public/_nuxt/5P9Ak6Zm.js +0 -0
  231. package/.output/public/_nuxt/5msm7UDY.js +0 -0
  232. package/.output/public/_nuxt/7I_cTX05.js +0 -1
  233. package/.output/public/_nuxt/7N8aGG8C.js +0 -1
  234. package/.output/public/_nuxt/9j0d6I4O.js +0 -0
  235. package/.output/public/_nuxt/B7b1sBVf.js +0 -0
  236. package/.output/public/_nuxt/B7pFyPXj.js +0 -1
  237. package/.output/public/_nuxt/B8s7UrMM.js +0 -1
  238. package/.output/public/_nuxt/BHBmrOu8.js +0 -1
  239. package/.output/public/_nuxt/BHIv_dM4.js +0 -0
  240. package/.output/public/_nuxt/BI2n4fU-.js +0 -0
  241. package/.output/public/_nuxt/BJos6QuZ.js +0 -0
  242. package/.output/public/_nuxt/BKsXoEBs.js +0 -0
  243. package/.output/public/_nuxt/BNKvjWkT.js +0 -1
  244. package/.output/public/_nuxt/BQmtXkqc.js +0 -1
  245. package/.output/public/_nuxt/BQuCJQB8.js +0 -0
  246. package/.output/public/_nuxt/BSEIdlOb.js +0 -0
  247. package/.output/public/_nuxt/BST7mczs.js +0 -1
  248. package/.output/public/_nuxt/BTAjWPAo.js +0 -1
  249. package/.output/public/_nuxt/BYIIksjz.js +0 -0
  250. package/.output/public/_nuxt/BfZ1Ro0X.js +0 -1
  251. package/.output/public/_nuxt/Bg-6qayI.js +0 -1
  252. package/.output/public/_nuxt/BgP-osMP.js +0 -1
  253. package/.output/public/_nuxt/BiCkyLWS.js +0 -1
  254. package/.output/public/_nuxt/BjN_umGo.js +0 -1
  255. package/.output/public/_nuxt/BqK0HYmw.js +0 -1
  256. package/.output/public/_nuxt/BrSteMIA.js +0 -1
  257. package/.output/public/_nuxt/C-MeLOeF.js +0 -1
  258. package/.output/public/_nuxt/C-OKZMJp.js +0 -1
  259. package/.output/public/_nuxt/C6tJinWY.js +0 -0
  260. package/.output/public/_nuxt/C7lLQr2h.js +0 -0
  261. package/.output/public/_nuxt/CDLGLk8m.js +0 -1
  262. package/.output/public/_nuxt/CDT62st6.js +0 -1
  263. package/.output/public/_nuxt/CFimyBH-.js +0 -0
  264. package/.output/public/_nuxt/CG7cd7Sy.js +0 -1
  265. package/.output/public/_nuxt/CKPnIC-C.js +0 -0
  266. package/.output/public/_nuxt/COPw3T3p.js +0 -1
  267. package/.output/public/_nuxt/CQGFUxxa.js +0 -1
  268. package/.output/public/_nuxt/CSX_cLY6.js +0 -1
  269. package/.output/public/_nuxt/CaVNnfk7.js +0 -0
  270. package/.output/public/_nuxt/Cd1ifhTP.js +0 -0
  271. package/.output/public/_nuxt/CdygaddQ.js +0 -9
  272. package/.output/public/_nuxt/Cf-VPxfE.js +0 -1
  273. package/.output/public/_nuxt/CfmMK6-y.js +0 -1
  274. package/.output/public/_nuxt/Civ5r6YF.js +0 -1
  275. package/.output/public/_nuxt/CkdnMzBA.js +0 -0
  276. package/.output/public/_nuxt/CnlJVizr.js +0 -1
  277. package/.output/public/_nuxt/Coqgx10n.js +0 -0
  278. package/.output/public/_nuxt/CxMUMwzI.js +0 -1
  279. package/.output/public/_nuxt/Cyw3rpDt.js +0 -1
  280. package/.output/public/_nuxt/CzKgiVVn.js +0 -1
  281. package/.output/public/_nuxt/D-qXrpoJ.js +0 -0
  282. package/.output/public/_nuxt/D2vgCRoc.js +0 -1
  283. package/.output/public/_nuxt/D4fuXfD_.js +0 -1
  284. package/.output/public/_nuxt/D5IuxRu4.js +0 -1
  285. package/.output/public/_nuxt/D5j9Embb.js +0 -1
  286. package/.output/public/_nuxt/D6YL6Hhi.js +0 -0
  287. package/.output/public/_nuxt/DAIwjxRT.js +0 -0
  288. package/.output/public/_nuxt/DBEY94Mo.js +0 -0
  289. package/.output/public/_nuxt/DCQOMtdo.js +0 -1
  290. package/.output/public/_nuxt/DEQ3hSSO.js +0 -1
  291. package/.output/public/_nuxt/DFfCkFZ3.js +0 -1
  292. package/.output/public/_nuxt/DL4qe-W_.js +0 -0
  293. package/.output/public/_nuxt/DLKI6lgi.js +0 -0
  294. package/.output/public/_nuxt/DOAeoYpG.js +0 -0
  295. package/.output/public/_nuxt/DPQeTxQ3.js +0 -1
  296. package/.output/public/_nuxt/DP_txrAq.js +0 -1
  297. package/.output/public/_nuxt/DQKS5ddY.js +0 -1
  298. package/.output/public/_nuxt/DXXu9Lvl.js +0 -1
  299. package/.output/public/_nuxt/DcUS3ReQ.js +0 -0
  300. package/.output/public/_nuxt/DdWDmJe7.js +0 -0
  301. package/.output/public/_nuxt/Df59gZou.js +0 -0
  302. package/.output/public/_nuxt/DiIccoHR.js +0 -0
  303. package/.output/public/_nuxt/DiL3rzK6.js +0 -1
  304. package/.output/public/_nuxt/DkEHW4Vs.js +0 -0
  305. package/.output/public/_nuxt/DmRrrdJv.js +0 -1
  306. package/.output/public/_nuxt/Do5nYv4E.js +0 -0
  307. package/.output/public/_nuxt/DqyxgTAQ.js +0 -0
  308. package/.output/public/_nuxt/DrE64K_R.js +0 -1
  309. package/.output/public/_nuxt/DrskXsQH.js +0 -1
  310. package/.output/public/_nuxt/Ds7AWph0.js +0 -0
  311. package/.output/public/_nuxt/Dvcv58Mc.js +0 -1
  312. package/.output/public/_nuxt/FMWwyTQ_.js +0 -0
  313. package/.output/public/_nuxt/Q6bGSN8C.js +0 -0
  314. package/.output/public/_nuxt/QyE4cqYn.js +0 -1
  315. package/.output/public/_nuxt/Tcmkoyas.js +0 -1
  316. package/.output/public/_nuxt/Tj4XPHLn.js +0 -1
  317. package/.output/public/_nuxt/VOEA7UHD.js +0 -0
  318. package/.output/public/_nuxt/WOOfaOjG.js +0 -1
  319. package/.output/public/_nuxt/Y6FRsTFQ.js +0 -0
  320. package/.output/public/_nuxt/ZDbum-dK.js +0 -1
  321. package/.output/public/_nuxt/ZTY82FYd.js +0 -0
  322. package/.output/public/_nuxt/asVu8S_S.js +0 -51
  323. package/.output/public/_nuxt/builds/meta/68901e1f-eb2d-48db-9c33-8ac67fff1d62.json +0 -1
  324. package/.output/public/_nuxt/cjlVjclE.js +0 -1
  325. package/.output/public/_nuxt/entry.UZgisdi2.css +0 -1
  326. package/.output/public/_nuxt/error-404.DQ5oEvRi.css +0 -1
  327. package/.output/public/_nuxt/error-500.c8JA_zlB.css +0 -1
  328. package/.output/public/_nuxt/gmjYz5n6.js +0 -0
  329. package/.output/public/_nuxt/iatO0zkI.js +0 -1
  330. package/.output/public/_nuxt/jieRiiOw.js +0 -0
  331. package/.output/public/_nuxt/lAhMwKxb.js +0 -1
  332. package/.output/public/_nuxt/mHcxE7OD.js +0 -0
  333. package/.output/public/_nuxt/n17zLPF6.js +0 -0
  334. package/.output/public/_nuxt/ncv2QjU2.js +0 -1
  335. package/.output/public/_nuxt/osXHzmfu.js +0 -1
  336. package/.output/public/_nuxt/plapqmiu.js +0 -1
  337. package/.output/public/_nuxt/pnNmDVjA.js +0 -0
  338. package/.output/public/_nuxt/rxAL1Pmw.js +0 -1
  339. package/.output/public/_nuxt/ryzXmKdZ.js +0 -1
  340. package/.output/public/_nuxt/t9C3L8ir.js +0 -1
  341. package/.output/public/_nuxt/wQgAJ5T0.js +0 -1
  342. package/.output/public/_nuxt/z6h75OXJ.js +0 -1
  343. package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/dist/compiler-core.cjs.prod.js +0 -6741
  344. package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/package.json +0 -58
  345. package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/dist/compiler-dom.cjs.prod.js +0 -689
  346. package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/package.json +0 -57
  347. package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.22/dist/reactivity.cjs.prod.js +0 -1807
  348. package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.25/package.json +0 -55
  349. package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.22/dist/runtime-core.cjs.prod.js +0 -6732
  350. package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.25/package.json +0 -52
  351. package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.22/dist/runtime-dom.cjs.prod.js +0 -1703
  352. package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.25/package.json +0 -60
  353. package/.output/server/node_modules/.nitro/@vue/shared@3.5.22/dist/shared.cjs.prod.js +0 -604
  354. package/.output/server/node_modules/.nitro/@vue/shared@3.5.25/package.json +0 -47
  355. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
  356. package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
  357. package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
  358. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
  359. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
  360. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
  361. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
  362. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
  363. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
  364. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
  365. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
  366. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
  367. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
  368. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
  369. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
  370. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
  371. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
  372. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
  373. package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
  374. package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
  375. package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
  376. package/.output/server/node_modules/.nitro/vue@3.5.22/dist/vue.cjs.prod.js +0 -66
  377. package/.output/server/node_modules/.nitro/vue@3.5.22/package.json +0 -112
  378. package/.output/server/node_modules/.nitro/vue@3.5.25/dist/vue.cjs.js +0 -80
  379. package/.output/server/node_modules/.nitro/vue@3.5.25/index.js +0 -7
  380. package/.output/server/node_modules/.nitro/vue@3.5.25/index.mjs +0 -1
  381. package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
  382. package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
  383. package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
  384. package/.output/server/node_modules/bytes/index.js +0 -170
  385. package/.output/server/node_modules/bytes/package.json +0 -42
  386. package/.output/server/node_modules/truncatise/index.js +0 -188
  387. package/.output/server/node_modules/truncatise/package.json +0 -36
  388. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
  389. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
  390. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
  391. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
  392. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
  393. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
  394. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
  395. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
  396. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
  397. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
  398. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
  399. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
  400. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
  401. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
  402. /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
  403. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
  404. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
  405. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
  406. /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
  407. /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.js +0 -0
  408. /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.mjs +0 -0
  409. /package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/server-renderer/index.mjs +0 -0
@@ -1,407 +0,0 @@
1
- // src/bytes.ts
2
- import bytes from "bytes";
3
- var bytes_default = {
4
- /**
5
- * Formats bytes to a human-readable string value. When input cannot be formatted, the `null` value is returned. The accepted options are as follows.
6
- *
7
- - `decimalPlaces`: Maximum number of decimal places to include in output. `default=2`.
8
- - `fixedDecimals`: Whether to always display the maximum number of decimal places. `default=false`.
9
- - `thousandsSeparator`: Specify the separator for thousands. `default=''`.
10
- - `unit`: The unit in which the result will be returned. It could be `B/KB/MB/GB/TB`. The default behavior is to auto-detect based on the input.
11
- - `unitSeparator`: The separator between the value and the `unit`. `default=''`.
12
- */
13
- format(valueInBytes, options) {
14
- return bytes.format(valueInBytes, options);
15
- },
16
- /**
17
- * Parse a human-readable string expression to bytes. If the unit value is a number, it will be
18
- * returned as it is. Otherwise, the string expression will be converted to a number representing
19
- * bytes.
20
- *
21
- * The `null` value is returned when the input cannot be parsed.
22
- *
23
- * Supported units and abbreviations are as follows and are case-insensitive:
24
- - `b` for bytes
25
- - `kb` for kilobytes
26
- - `mb` for megabytes
27
- - `gb` for gigabytes
28
- - `tb` for terabytes
29
- - `pb` for petabytes
30
- */
31
- parse(unit) {
32
- if (typeof unit === "number") {
33
- return unit;
34
- }
35
- return bytes.parse(unit);
36
- }
37
- };
38
-
39
- // src/uuid.ts
40
- import { randomUUID } from "crypto";
41
- var uuidGenerator = randomUUID;
42
- function uuid(options) {
43
- return uuidGenerator(options);
44
- }
45
- uuid.use = function uuidUse(generator) {
46
- uuidGenerator = generator;
47
- };
48
- uuid.restore = function uuidRestore() {
49
- uuidGenerator = randomUUID;
50
- };
51
-
52
- // src/seconds.ts
53
- import { parse, format } from "@lukeed/ms";
54
- var seconds_default = {
55
- /**
56
- * Formats seconds to pretty string output
57
- */
58
- format(seconds, long) {
59
- return format(seconds * 1e3, long);
60
- },
61
- /**
62
- * Parse the time expression to seconds. If the unit value is a number, then
63
- * it will be returned as it is. Otherwise the string expression will be
64
- * converted to a number representing seconds.
65
- */
66
- parse(duration) {
67
- if (typeof duration === "number") {
68
- return duration;
69
- }
70
- const milliseconds = parse(duration);
71
- if (milliseconds === void 0) {
72
- throw new Error(`Invalid duration expression "${duration}"`);
73
- }
74
- return Math.floor(milliseconds / 1e3);
75
- }
76
- };
77
-
78
- // src/slugify.ts
79
- import { default as slugifyPkg } from "slugify";
80
- var slug = slugifyPkg;
81
-
82
- // src/random.ts
83
- import { randomBytes } from "crypto";
84
- var defaultGenerator = (size) => {
85
- const bits = (size + 1) * 6;
86
- const buffer = randomBytes(Math.ceil(bits / 8));
87
- return Buffer.from(buffer).toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/\=/g, "").slice(0, size);
88
- };
89
- var randomGenerator = defaultGenerator;
90
- function random(size) {
91
- return randomGenerator(size);
92
- }
93
- random.use = function randomUse(generator) {
94
- randomGenerator = generator;
95
- };
96
- random.restore = function randomRestore() {
97
- randomGenerator = defaultGenerator;
98
- };
99
-
100
- // src/excerpt.ts
101
- import truncatise from "truncatise";
102
- function excerpt(sentence2, charactersLimit, options) {
103
- return truncatise(sentence2, {
104
- TruncateLength: charactersLimit,
105
- /**
106
- * Do not complete words when "completeWords" is not explicitly set
107
- * to true
108
- */
109
- Strict: options && options.completeWords === true ? false : true,
110
- StripHTML: true,
111
- TruncateBy: "characters",
112
- Suffix: options && options.suffix
113
- });
114
- }
115
-
116
- // src/justify.ts
117
- function applyPadding(value, options) {
118
- if (options.paddingLeft) {
119
- value = `${options.paddingChar.repeat(options.paddingLeft)}${value}`;
120
- }
121
- if (options.paddingRight) {
122
- value = `${value}${options.paddingChar.repeat(options.paddingRight)}`;
123
- }
124
- return value;
125
- }
126
- function justify(columns, options) {
127
- const normalizedOptions = {
128
- align: "left",
129
- indent: " ",
130
- ...options
131
- };
132
- return columns.map((column) => {
133
- const columnWidth = options.getLength?.(column) ?? column.length;
134
- if (columnWidth >= normalizedOptions.width) {
135
- return column;
136
- }
137
- if (normalizedOptions.align === "left") {
138
- return applyPadding(column, {
139
- paddingChar: normalizedOptions.indent,
140
- paddingRight: normalizedOptions.width - columnWidth
141
- });
142
- }
143
- return applyPadding(column, {
144
- paddingChar: normalizedOptions.indent,
145
- paddingLeft: normalizedOptions.width - columnWidth
146
- });
147
- });
148
- }
149
-
150
- // src/ordinal.ts
151
- function ordinal(value) {
152
- const transformedValue = Math.abs(typeof value === "string" ? Number.parseInt(value) : value);
153
- if (!Number.isFinite(transformedValue) || Number.isNaN(transformedValue)) {
154
- throw new Error("Cannot ordinalize invalid or infinite numbers");
155
- }
156
- const percent = transformedValue % 100;
157
- if (percent >= 10 && percent <= 20) {
158
- return `${value}th`;
159
- }
160
- const decimal = transformedValue % 10;
161
- switch (decimal) {
162
- case 1:
163
- return `${value}st`;
164
- case 2:
165
- return `${value}nd`;
166
- case 3:
167
- return `${value}rd`;
168
- default:
169
- return `${value}th`;
170
- }
171
- }
172
-
173
- // src/truncate.ts
174
- import truncatise2 from "truncatise";
175
- function truncate(sentence2, charactersLimit, options) {
176
- return truncatise2(sentence2, {
177
- TruncateLength: charactersLimit,
178
- /**
179
- * Do not complete words when "completeWords" is not explicitly set
180
- * to true
181
- */
182
- Strict: options && options.completeWords === true ? false : true,
183
- StripHTML: false,
184
- TruncateBy: "characters",
185
- Suffix: options && options.suffix
186
- });
187
- }
188
-
189
- // src/sentence.ts
190
- function sentence(values, options) {
191
- if (values.length === 0) {
192
- return "";
193
- }
194
- if (values.length === 1) {
195
- return values[0];
196
- }
197
- if (values.length === 2) {
198
- return `${values[0]}${options?.pairSeparator || " and "}${values[1]}`;
199
- }
200
- const normalized = Object.assign({ separator: ", ", lastSeparator: ", and " }, options);
201
- return `${values.slice(0, -1).join(normalized.separator)}${normalized.lastSeparator}${values[values.length - 1]}`;
202
- }
203
-
204
- // src/word_wrap.ts
205
- function wordWrap(value, options) {
206
- const width = options.width;
207
- const indent = options.indent ?? "";
208
- const newLine = `${options.newLine ?? "\n"}${indent}`;
209
- let regexString = ".{1," + width + "}";
210
- regexString += "([\\s\u200B]+|$)|[^\\s\u200B]+?([\\s\u200B]+|$)";
211
- const re = new RegExp(regexString, "g");
212
- const lines = value.match(re) || [];
213
- const result = lines.map(function(line) {
214
- if (line.slice(-1) === "\n") {
215
- line = line.slice(0, line.length - 1);
216
- }
217
- return options.escape ? options.escape(line) : line;
218
- }).join(newLine);
219
- return result;
220
- }
221
-
222
- // src/milliseconds.ts
223
- import { parse as parse2, format as format2 } from "@lukeed/ms";
224
- var milliseconds_default = {
225
- /**
226
- * Formats milliseconds to pretty string output
227
- */
228
- format(milliseconds, long) {
229
- return format2(milliseconds, long);
230
- },
231
- /**
232
- * Parse the time expression to milliseconds. If the unit value is a number,
233
- * then it will be returned as it is. Otherwise the string expression will
234
- * be converted to a number representing seconds.
235
- */
236
- parse(duration) {
237
- if (typeof duration === "number") {
238
- return duration;
239
- }
240
- const milliseconds = parse2(duration);
241
- if (milliseconds === void 0) {
242
- throw new Error(`Invalid duration expression "${duration}"`);
243
- }
244
- return milliseconds;
245
- }
246
- };
247
-
248
- // src/html_escape.ts
249
- function htmlEscape(value) {
250
- return value.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
251
- }
252
-
253
- // src/interpolate.ts
254
- function parseProp(data, key) {
255
- const tokens = key.split(".");
256
- while (tokens.length) {
257
- if (data === null || typeof data !== "object") {
258
- return;
259
- }
260
- const token = tokens.shift();
261
- data = Object.hasOwn(data, token) ? data[token] : void 0;
262
- }
263
- return data;
264
- }
265
- function interpolate(input, data) {
266
- return input.replace(/(\\)?{{(.*?)}}/g, (_, escapeChar, key) => {
267
- if (escapeChar) {
268
- return `{{${key}}}`;
269
- }
270
- return parseProp(data, key.trim());
271
- });
272
- }
273
-
274
- // src/to_unix_slash.ts
275
- function toUnixSlash(path) {
276
- const isExtendedLengthPath = path.startsWith("\\\\?\\");
277
- if (isExtendedLengthPath) {
278
- return path;
279
- }
280
- return path.replace(/\\/g, "/");
281
- }
282
-
283
- // src/pluralize.ts
284
- import { default as pluralizePkg } from "pluralize";
285
- function pluralize(word, count, inclusive) {
286
- return pluralizePkg(word, count, inclusive);
287
- }
288
- pluralize.addPluralRule = pluralizePkg.addPluralRule;
289
- pluralize.addSingularRule = pluralizePkg.addSingularRule;
290
- pluralize.addIrregularRule = pluralizePkg.addIrregularRule;
291
- pluralize.addUncountableRule = pluralizePkg.addUncountableRule;
292
- var plural = pluralizePkg.plural;
293
- var singular = pluralizePkg.singular;
294
- var isPlural = pluralizePkg.isPlural;
295
- var isSingular = pluralizePkg.isSingular;
296
-
297
- // src/change_case.ts
298
- import * as changeCase from "case-anything";
299
- var NO_CASE_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
300
- var NO_CASE_STRIP_REGEXP = /[^A-Z0-9]+/gi;
301
- var SMALL_WORDS = /\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i;
302
- var TOKENS = /[^\s:–—-]+|./g;
303
- var WHITESPACE = /\s/;
304
- var IS_MANUAL_CASE = /.(?=[A-Z]|\..)/;
305
- var ALPHANUMERIC_PATTERN = /[A-Za-z0-9\u00C0-\u00FF]/;
306
- function titleCase(input) {
307
- let output = "";
308
- let result;
309
- while ((result = TOKENS.exec(input)) !== null) {
310
- const { 0: token, index } = result;
311
- if (!IS_MANUAL_CASE.test(token) && (!SMALL_WORDS.test(token) || index === 0 || index + token.length === input.length) && (input.charAt(index + token.length) !== ":" || WHITESPACE.test(input.charAt(index + token.length + 1)))) {
312
- output += token.replace(ALPHANUMERIC_PATTERN, (char) => char.toUpperCase());
313
- continue;
314
- }
315
- output += token;
316
- }
317
- return output;
318
- }
319
- function camelCase2(value) {
320
- return changeCase.camelCase(value);
321
- }
322
- function snakeCase2(value) {
323
- return changeCase.snakeCase(value);
324
- }
325
- function dashCase(value, options) {
326
- if (options && options.capitalize) {
327
- return changeCase.trainCase(value);
328
- }
329
- return changeCase.kebabCase(value);
330
- }
331
- function pascalCase2(value) {
332
- return changeCase.pascalCase(value);
333
- }
334
- function capitalCase2(value) {
335
- return changeCase.capitalCase(value);
336
- }
337
- function sentenceCase(value) {
338
- return noCase(value, (input, index) => {
339
- const result = input.toLowerCase();
340
- if (index === 0) {
341
- return input.charAt(0).toUpperCase() + input.substring(1);
342
- }
343
- return result;
344
- });
345
- }
346
- function dotCase(value, options) {
347
- const transformedValue = changeCase.dotNotation(value);
348
- if (options && options.lowerCase) {
349
- return transformedValue.toLowerCase();
350
- }
351
- return transformedValue;
352
- }
353
- function noCase(value, transform) {
354
- let result = NO_CASE_SPLIT_REGEXP.reduce((input, regex) => input.replace(regex, "$1\0$2"), value);
355
- result = result.replace(NO_CASE_STRIP_REGEXP, "\0");
356
- let start = 0;
357
- let end = result.length;
358
- while (result.charAt(start) === "\0") {
359
- start++;
360
- }
361
- while (result.charAt(end - 1) === "\0") {
362
- end--;
363
- }
364
- return result.slice(start, end).split("\0").map(transform || ((input) => input.toLowerCase())).join(" ");
365
- }
366
-
367
- // index.ts
368
- function condenseWhitespace(value) {
369
- return value.trim().replace(/\s{2,}/g, " ");
370
- }
371
- var string = {
372
- excerpt,
373
- truncate,
374
- slug,
375
- interpolate,
376
- plural,
377
- pluralize,
378
- singular,
379
- isPlural,
380
- isSingular,
381
- camelCase: camelCase2,
382
- capitalCase: capitalCase2,
383
- dashCase,
384
- dotCase,
385
- noCase,
386
- pascalCase: pascalCase2,
387
- sentenceCase,
388
- snakeCase: snakeCase2,
389
- titleCase,
390
- random,
391
- sentence,
392
- condenseWhitespace,
393
- wordWrap,
394
- seconds: seconds_default,
395
- milliseconds: milliseconds_default,
396
- bytes: bytes_default,
397
- ordinal,
398
- htmlEscape,
399
- justify,
400
- uuid,
401
- toUnixSlash
402
- };
403
- var index_default = string;
404
-
405
- export {
406
- index_default
407
- };
@@ -1,170 +0,0 @@
1
- /*!
2
- * bytes
3
- * Copyright(c) 2012-2014 TJ Holowaychuk
4
- * Copyright(c) 2015 Jed Watson
5
- * MIT Licensed
6
- */
7
-
8
- 'use strict';
9
-
10
- /**
11
- * Module exports.
12
- * @public
13
- */
14
-
15
- module.exports = bytes;
16
- module.exports.format = format;
17
- module.exports.parse = parse;
18
-
19
- /**
20
- * Module variables.
21
- * @private
22
- */
23
-
24
- var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
25
-
26
- var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
27
-
28
- var map = {
29
- b: 1,
30
- kb: 1 << 10,
31
- mb: 1 << 20,
32
- gb: 1 << 30,
33
- tb: Math.pow(1024, 4),
34
- pb: Math.pow(1024, 5),
35
- };
36
-
37
- var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
38
-
39
- /**
40
- * Convert the given value in bytes into a string or parse to string to an integer in bytes.
41
- *
42
- * @param {string|number} value
43
- * @param {{
44
- * case: [string],
45
- * decimalPlaces: [number]
46
- * fixedDecimals: [boolean]
47
- * thousandsSeparator: [string]
48
- * unitSeparator: [string]
49
- * }} [options] bytes options.
50
- *
51
- * @returns {string|number|null}
52
- */
53
-
54
- function bytes(value, options) {
55
- if (typeof value === 'string') {
56
- return parse(value);
57
- }
58
-
59
- if (typeof value === 'number') {
60
- return format(value, options);
61
- }
62
-
63
- return null;
64
- }
65
-
66
- /**
67
- * Format the given value in bytes into a string.
68
- *
69
- * If the value is negative, it is kept as such. If it is a float,
70
- * it is rounded.
71
- *
72
- * @param {number} value
73
- * @param {object} [options]
74
- * @param {number} [options.decimalPlaces=2]
75
- * @param {number} [options.fixedDecimals=false]
76
- * @param {string} [options.thousandsSeparator=]
77
- * @param {string} [options.unit=]
78
- * @param {string} [options.unitSeparator=]
79
- *
80
- * @returns {string|null}
81
- * @public
82
- */
83
-
84
- function format(value, options) {
85
- if (!Number.isFinite(value)) {
86
- return null;
87
- }
88
-
89
- var mag = Math.abs(value);
90
- var thousandsSeparator = (options && options.thousandsSeparator) || '';
91
- var unitSeparator = (options && options.unitSeparator) || '';
92
- var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;
93
- var fixedDecimals = Boolean(options && options.fixedDecimals);
94
- var unit = (options && options.unit) || '';
95
-
96
- if (!unit || !map[unit.toLowerCase()]) {
97
- if (mag >= map.pb) {
98
- unit = 'PB';
99
- } else if (mag >= map.tb) {
100
- unit = 'TB';
101
- } else if (mag >= map.gb) {
102
- unit = 'GB';
103
- } else if (mag >= map.mb) {
104
- unit = 'MB';
105
- } else if (mag >= map.kb) {
106
- unit = 'KB';
107
- } else {
108
- unit = 'B';
109
- }
110
- }
111
-
112
- var val = value / map[unit.toLowerCase()];
113
- var str = val.toFixed(decimalPlaces);
114
-
115
- if (!fixedDecimals) {
116
- str = str.replace(formatDecimalsRegExp, '$1');
117
- }
118
-
119
- if (thousandsSeparator) {
120
- str = str.split('.').map(function (s, i) {
121
- return i === 0
122
- ? s.replace(formatThousandsRegExp, thousandsSeparator)
123
- : s
124
- }).join('.');
125
- }
126
-
127
- return str + unitSeparator + unit;
128
- }
129
-
130
- /**
131
- * Parse the string value into an integer in bytes.
132
- *
133
- * If no unit is given, it is assumed the value is in bytes.
134
- *
135
- * @param {number|string} val
136
- *
137
- * @returns {number|null}
138
- * @public
139
- */
140
-
141
- function parse(val) {
142
- if (typeof val === 'number' && !isNaN(val)) {
143
- return val;
144
- }
145
-
146
- if (typeof val !== 'string') {
147
- return null;
148
- }
149
-
150
- // Test if the string passed is valid
151
- var results = parseRegExp.exec(val);
152
- var floatValue;
153
- var unit = 'b';
154
-
155
- if (!results) {
156
- // Nothing could be extracted from the given string
157
- floatValue = parseInt(val, 10);
158
- unit = 'b'
159
- } else {
160
- // Retrieve the value and the unit
161
- floatValue = parseFloat(results[1]);
162
- unit = results[4].toLowerCase();
163
- }
164
-
165
- if (isNaN(floatValue)) {
166
- return null;
167
- }
168
-
169
- return Math.floor(map[unit] * floatValue);
170
- }
@@ -1,42 +0,0 @@
1
- {
2
- "name": "bytes",
3
- "description": "Utility to parse a string bytes to bytes and vice-versa",
4
- "version": "3.1.2",
5
- "author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)",
6
- "contributors": [
7
- "Jed Watson <jed.watson@me.com>",
8
- "Théo FIDRY <theo.fidry@gmail.com>"
9
- ],
10
- "license": "MIT",
11
- "keywords": [
12
- "byte",
13
- "bytes",
14
- "utility",
15
- "parse",
16
- "parser",
17
- "convert",
18
- "converter"
19
- ],
20
- "repository": "visionmedia/bytes.js",
21
- "devDependencies": {
22
- "eslint": "7.32.0",
23
- "eslint-plugin-markdown": "2.2.1",
24
- "mocha": "9.2.0",
25
- "nyc": "15.1.0"
26
- },
27
- "files": [
28
- "History.md",
29
- "LICENSE",
30
- "Readme.md",
31
- "index.js"
32
- ],
33
- "engines": {
34
- "node": ">= 0.8"
35
- },
36
- "scripts": {
37
- "lint": "eslint .",
38
- "test": "mocha --check-leaks --reporter spec",
39
- "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40
- "test-cov": "nyc --reporter=html --reporter=text npm test"
41
- }
42
- }