businesslens 0.2.2

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 (354) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/ANTr5GBv.js +1 -0
  3. package/.output/public/_nuxt/B3Z-Zt7l.js +37 -0
  4. package/.output/public/_nuxt/Bd76-HGM.js +1 -0
  5. package/.output/public/_nuxt/Bf4VrETn.js +1 -0
  6. package/.output/public/_nuxt/CR3jGlpM.js +1 -0
  7. package/.output/public/_nuxt/CntoM1kL.js +1 -0
  8. package/.output/public/_nuxt/DogqooqX.js +1 -0
  9. package/.output/public/_nuxt/Zsu92SSr.js +1 -0
  10. package/.output/public/_nuxt/builds/latest.json +1 -0
  11. package/.output/public/_nuxt/builds/meta/e74555da-0c18-4e95-b959-2bdcc538677b.json +1 -0
  12. package/.output/public/_nuxt/default.CRZmPCG_.css +1 -0
  13. package/.output/public/_nuxt/e3lOfLH3.js +1 -0
  14. package/.output/public/_nuxt/entry.SgkJh-3P.css +1 -0
  15. package/.output/public/_nuxt/error-404.CTIGkQtd.css +1 -0
  16. package/.output/public/_nuxt/error-500.CKBWIF4V.css +1 -0
  17. package/.output/public/_nuxt/fCd72uLR.js +1 -0
  18. package/.output/public/_nuxt/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
  19. package/.output/public/_nuxt/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
  20. package/.output/public/_nuxt/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
  21. package/.output/public/_nuxt/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
  22. package/.output/public/_nuxt/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
  23. package/.output/public/_nuxt/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
  24. package/.output/public/_nuxt/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
  25. package/.output/public/_nuxt/vk0fkBN0.js +1 -0
  26. package/.output/public/_nuxt/zg6VsE4d.js +39 -0
  27. package/.output/public/brand/logo/businesslens-mark.svg +20 -0
  28. package/.output/public/favicon.svg +13 -0
  29. package/.output/server/chunks/_/error-500.mjs +19 -0
  30. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  31. package/.output/server/chunks/_/icons.mjs +6150 -0
  32. package/.output/server/chunks/_/icons.mjs.map +1 -0
  33. package/.output/server/chunks/build/Card-DJ5Lo0Cn.mjs +161 -0
  34. package/.output/server/chunks/build/Card-DJ5Lo0Cn.mjs.map +1 -0
  35. package/.output/server/chunks/build/EntityInspector-fTjbuYoq.mjs +4412 -0
  36. package/.output/server/chunks/build/EntityInspector-fTjbuYoq.mjs.map +1 -0
  37. package/.output/server/chunks/build/Slideover-KOfskX1l.mjs +4226 -0
  38. package/.output/server/chunks/build/Slideover-KOfskX1l.mjs.map +1 -0
  39. package/.output/server/chunks/build/Tooltip-DkxwLaX6.mjs +1338 -0
  40. package/.output/server/chunks/build/Tooltip-DkxwLaX6.mjs.map +1 -0
  41. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  42. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  43. package/.output/server/chunks/build/default-BJSthw3t.mjs +8999 -0
  44. package/.output/server/chunks/build/default-BJSthw3t.mjs.map +1 -0
  45. package/.output/server/chunks/build/default-styles.BYgqaNao.mjs +8 -0
  46. package/.output/server/chunks/build/default-styles.BYgqaNao.mjs.map +1 -0
  47. package/.output/server/chunks/build/error-404-BOiGLcfP.mjs +96 -0
  48. package/.output/server/chunks/build/error-404-BOiGLcfP.mjs.map +1 -0
  49. package/.output/server/chunks/build/error-404-styles.DA-UkGXW.mjs +8 -0
  50. package/.output/server/chunks/build/error-404-styles.DA-UkGXW.mjs.map +1 -0
  51. package/.output/server/chunks/build/error-500-Bwyw373t.mjs +79 -0
  52. package/.output/server/chunks/build/error-500-Bwyw373t.mjs.map +1 -0
  53. package/.output/server/chunks/build/error-500-styles.De7qbKJ2.mjs +8 -0
  54. package/.output/server/chunks/build/error-500-styles.De7qbKJ2.mjs.map +1 -0
  55. package/.output/server/chunks/build/index-BuhKSZfH.mjs +313 -0
  56. package/.output/server/chunks/build/index-BuhKSZfH.mjs.map +1 -0
  57. package/.output/server/chunks/build/journeys-DHHOyxCM.mjs +244 -0
  58. package/.output/server/chunks/build/journeys-DHHOyxCM.mjs.map +1 -0
  59. package/.output/server/chunks/build/server.mjs +14099 -0
  60. package/.output/server/chunks/build/server.mjs.map +1 -0
  61. package/.output/server/chunks/build/styles.mjs +9 -0
  62. package/.output/server/chunks/build/styles.mjs.map +1 -0
  63. package/.output/server/chunks/build/topology-BJfDB_jA.mjs +295 -0
  64. package/.output/server/chunks/build/topology-BJfDB_jA.mjs.map +1 -0
  65. package/.output/server/chunks/build/useReport-pDAk-ETG.mjs +406 -0
  66. package/.output/server/chunks/build/useReport-pDAk-ETG.mjs.map +1 -0
  67. package/.output/server/chunks/nitro/nitro.mjs +5770 -0
  68. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  69. package/.output/server/chunks/routes/api/report.get.mjs +617 -0
  70. package/.output/server/chunks/routes/api/report.get.mjs.map +1 -0
  71. package/.output/server/chunks/routes/renderer.mjs +451 -0
  72. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  73. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  74. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  75. package/.output/server/index.mjs +12 -0
  76. package/.output/server/index.mjs.map +1 -0
  77. package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +290 -0
  78. package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
  79. package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +257 -0
  80. package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +53 -0
  81. package/.output/server/node_modules/@babel/parser/lib/index.js +14599 -0
  82. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  83. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
  84. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
  85. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
  86. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
  87. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
  88. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
  89. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
  90. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
  91. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
  92. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
  93. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
  94. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
  95. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
  96. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
  97. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
  98. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
  99. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
  100. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
  101. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
  102. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
  103. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
  104. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
  105. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
  106. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
  107. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
  108. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
  109. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
  110. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
  111. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
  112. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
  113. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
  114. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
  115. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
  116. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
  117. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
  118. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
  119. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
  120. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
  121. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
  122. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
  123. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
  124. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
  125. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
  126. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
  127. package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
  128. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
  129. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
  130. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
  131. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
  132. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
  133. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
  134. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
  135. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
  136. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
  137. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
  138. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
  139. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
  140. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
  141. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
  142. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
  143. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
  144. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
  145. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
  146. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
  147. package/.output/server/node_modules/@iconify/utils/package.json +119 -0
  148. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6759 -0
  149. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  150. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
  151. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  152. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
  153. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  154. package/.output/server/node_modules/@vue/devtools-api/dist/index.js +2 -0
  155. package/.output/server/node_modules/@vue/devtools-api/package.json +34 -0
  156. package/.output/server/node_modules/@vue/devtools-kit/dist/index.js +5670 -0
  157. package/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
  158. package/.output/server/node_modules/@vue/devtools-shared/dist/index.js +239 -0
  159. package/.output/server/node_modules/@vue/devtools-shared/package.json +33 -0
  160. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1899 -0
  161. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  162. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6940 -0
  163. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  164. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1822 -0
  165. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  166. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +896 -0
  167. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  168. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
  169. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  170. package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +10186 -0
  171. package/.output/server/node_modules/@vue-flow/core/package.json +95 -0
  172. package/.output/server/node_modules/ajv/dist/2020.js +55 -0
  173. package/.output/server/node_modules/ajv/dist/ajv.js +50 -0
  174. package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  175. package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  176. package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  177. package/.output/server/node_modules/ajv/dist/compile/errors.js +123 -0
  178. package/.output/server/node_modules/ajv/dist/compile/index.js +242 -0
  179. package/.output/server/node_modules/ajv/dist/compile/names.js +28 -0
  180. package/.output/server/node_modules/ajv/dist/compile/ref_error.js +12 -0
  181. package/.output/server/node_modules/ajv/dist/compile/resolve.js +155 -0
  182. package/.output/server/node_modules/ajv/dist/compile/rules.js +26 -0
  183. package/.output/server/node_modules/ajv/dist/compile/util.js +178 -0
  184. package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  185. package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  186. package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  187. package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  188. package/.output/server/node_modules/ajv/dist/compile/validate/index.js +520 -0
  189. package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  190. package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  191. package/.output/server/node_modules/ajv/dist/core.js +618 -0
  192. package/.output/server/node_modules/ajv/dist/refs/data.json +13 -0
  193. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  194. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  195. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  196. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  197. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  198. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  199. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  200. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  201. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  202. package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  203. package/.output/server/node_modules/ajv/dist/runtime/equal.js +7 -0
  204. package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  205. package/.output/server/node_modules/ajv/dist/runtime/uri.js +6 -0
  206. package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  207. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  208. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  209. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  210. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  211. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  212. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  213. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  214. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  215. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  216. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  217. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  218. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  219. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  220. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  221. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  222. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  223. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  224. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  225. package/.output/server/node_modules/ajv/dist/vocabularies/code.js +131 -0
  226. package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  227. package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  228. package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  229. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  230. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  231. package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  232. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  233. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  234. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  235. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  236. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  237. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  238. package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  239. package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  240. package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  241. package/.output/server/node_modules/ajv/dist/vocabularies/next.js +8 -0
  242. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  243. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  244. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  245. package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  246. package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  247. package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  248. package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  249. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  250. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  251. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  252. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  253. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  254. package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  255. package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
  256. package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  257. package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  258. package/.output/server/node_modules/ajv/package.json +126 -0
  259. package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
  260. package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
  261. package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
  262. package/.output/server/node_modules/ajv-formats/package.json +74 -0
  263. package/.output/server/node_modules/birpc/dist/index.mjs +291 -0
  264. package/.output/server/node_modules/birpc/package.json +57 -0
  265. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
  266. package/.output/server/node_modules/consola/dist/core.mjs +512 -0
  267. package/.output/server/node_modules/consola/dist/index.mjs +651 -0
  268. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
  269. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
  270. package/.output/server/node_modules/consola/package.json +136 -0
  271. package/.output/server/node_modules/devalue/index.js +4 -0
  272. package/.output/server/node_modules/devalue/package.json +40 -0
  273. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  274. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  275. package/.output/server/node_modules/devalue/src/parse.js +283 -0
  276. package/.output/server/node_modules/devalue/src/stringify.js +401 -0
  277. package/.output/server/node_modules/devalue/src/uneval.js +552 -0
  278. package/.output/server/node_modules/devalue/src/utils.js +160 -0
  279. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  280. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  281. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  282. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  283. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  284. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  285. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  286. package/.output/server/node_modules/entities/package.json +120 -0
  287. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  288. package/.output/server/node_modules/estree-walker/package.json +37 -0
  289. package/.output/server/node_modules/fast-deep-equal/index.js +46 -0
  290. package/.output/server/node_modules/fast-deep-equal/package.json +61 -0
  291. package/.output/server/node_modules/fast-uri/index.js +406 -0
  292. package/.output/server/node_modules/fast-uri/lib/schemes.js +267 -0
  293. package/.output/server/node_modules/fast-uri/lib/utils.js +443 -0
  294. package/.output/server/node_modules/fast-uri/package.json +68 -0
  295. package/.output/server/node_modules/json-schema-traverse/index.js +93 -0
  296. package/.output/server/node_modules/json-schema-traverse/package.json +43 -0
  297. package/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
  298. package/.output/server/node_modules/perfect-debounce/package.json +41 -0
  299. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  300. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  301. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  302. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  303. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  304. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  305. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  306. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  307. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  308. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  309. package/.output/server/node_modules/source-map-js/package.json +71 -0
  310. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  311. package/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
  312. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
  313. package/.output/server/node_modules/tailwindcss/package.json +89 -0
  314. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  315. package/.output/server/node_modules/ufo/package.json +48 -0
  316. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  317. package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
  318. package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
  319. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  320. package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
  321. package/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +207 -0
  322. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  323. package/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
  324. package/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +182 -0
  325. package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
  326. package/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +236 -0
  327. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  328. package/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +44 -0
  329. package/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +166 -0
  330. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  331. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  332. package/.output/server/node_modules/unhead/package.json +105 -0
  333. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  334. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  335. package/.output/server/node_modules/vue/index.js +7 -0
  336. package/.output/server/node_modules/vue/index.mjs +1 -0
  337. package/.output/server/node_modules/vue/package.json +112 -0
  338. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  339. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +249 -0
  340. package/.output/server/node_modules/vue-bundle-renderer/package.json +57 -0
  341. package/.output/server/node_modules/vue-router/dist/devtools-DCoWQoU_.js +1034 -0
  342. package/.output/server/node_modules/vue-router/dist/useApi-s_02lHjl.js +181 -0
  343. package/.output/server/node_modules/vue-router/dist/vue-router.js +1499 -0
  344. package/.output/server/node_modules/vue-router/package.json +226 -0
  345. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  346. package/.output/server/package.json +41 -0
  347. package/README.md +114 -0
  348. package/THIRD_PARTY_NOTICES.md +28 -0
  349. package/bin/businesslens.mjs +181 -0
  350. package/package.json +68 -0
  351. package/packages/report-schema/schemas/report.schema.json +235 -0
  352. package/packages/report-schema/types/index.ts +1 -0
  353. package/packages/report-schema/types/report.ts +101 -0
  354. package/packages/report-schema/validate.mjs +111 -0
@@ -0,0 +1,72 @@
1
+ import { formatWithOptions } from 'node:util';
2
+ import { sep } from 'node:path';
3
+
4
+ function parseStack(stack, message) {
5
+ const cwd = process.cwd() + sep;
6
+ const lines = stack.split("\n").splice(message.split("\n").length).map((l) => l.trim().replace("file://", "").replace(cwd, ""));
7
+ return lines;
8
+ }
9
+
10
+ function writeStream(data, stream) {
11
+ const write = stream.__write || stream.write;
12
+ return write.call(stream, data);
13
+ }
14
+
15
+ const bracket = (x) => x ? `[${x}]` : "";
16
+ class BasicReporter {
17
+ formatStack(stack, message, opts) {
18
+ const indent = " ".repeat((opts?.errorLevel || 0) + 1);
19
+ return indent + parseStack(stack, message).join(`
20
+ ${indent}`);
21
+ }
22
+ formatError(err, opts) {
23
+ const message = err.message ?? formatWithOptions(opts, err);
24
+ const stack = err.stack ? this.formatStack(err.stack, message, opts) : "";
25
+ const level = opts?.errorLevel || 0;
26
+ const causedPrefix = level > 0 ? `${" ".repeat(level)}[cause]: ` : "";
27
+ const causedError = err.cause ? "\n\n" + this.formatError(err.cause, { ...opts, errorLevel: level + 1 }) : "";
28
+ return causedPrefix + message + "\n" + stack + causedError;
29
+ }
30
+ formatArgs(args, opts) {
31
+ const _args = args.map((arg) => {
32
+ if (arg && typeof arg.stack === "string") {
33
+ return this.formatError(arg, opts);
34
+ }
35
+ return arg;
36
+ });
37
+ return formatWithOptions(opts, ..._args);
38
+ }
39
+ formatDate(date, opts) {
40
+ return opts.date ? date.toLocaleTimeString() : "";
41
+ }
42
+ filterAndJoin(arr) {
43
+ return arr.filter(Boolean).join(" ");
44
+ }
45
+ formatLogObj(logObj, opts) {
46
+ const message = this.formatArgs(logObj.args, opts);
47
+ if (logObj.type === "box") {
48
+ return "\n" + [
49
+ bracket(logObj.tag),
50
+ logObj.title && logObj.title,
51
+ ...message.split("\n")
52
+ ].filter(Boolean).map((l) => " > " + l).join("\n") + "\n";
53
+ }
54
+ return this.filterAndJoin([
55
+ bracket(logObj.type),
56
+ bracket(logObj.tag),
57
+ message
58
+ ]);
59
+ }
60
+ log(logObj, ctx) {
61
+ const line = this.formatLogObj(logObj, {
62
+ columns: ctx.options.stdout.columns || 0,
63
+ ...ctx.options.formatOptions
64
+ });
65
+ return writeStream(
66
+ line + "\n",
67
+ logObj.level < 2 ? ctx.options.stderr || process.stderr : ctx.options.stdout || process.stdout
68
+ );
69
+ }
70
+ }
71
+
72
+ export { BasicReporter as B, parseStack as p };
@@ -0,0 +1,288 @@
1
+ import * as tty from 'node:tty';
2
+
3
+ const {
4
+ env = {},
5
+ argv = [],
6
+ platform = ""
7
+ } = typeof process === "undefined" ? {} : process;
8
+ const isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
9
+ const isForced = "FORCE_COLOR" in env || argv.includes("--color");
10
+ const isWindows = platform === "win32";
11
+ const isDumbTerminal = env.TERM === "dumb";
12
+ const isCompatibleTerminal = tty && tty.isatty && tty.isatty(1) && env.TERM && !isDumbTerminal;
13
+ const isCI = "CI" in env && ("GITHUB_ACTIONS" in env || "GITLAB_CI" in env || "CIRCLECI" in env);
14
+ const isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
15
+ function replaceClose(index, string, close, replace, head = string.slice(0, Math.max(0, index)) + replace, tail = string.slice(Math.max(0, index + close.length)), next = tail.indexOf(close)) {
16
+ return head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
17
+ }
18
+ function clearBleed(index, string, open, close, replace) {
19
+ return index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
20
+ }
21
+ function filterEmpty(open, close, replace = open, at = open.length + 1) {
22
+ return (string) => string || !(string === "" || string === void 0) ? clearBleed(
23
+ ("" + string).indexOf(close, at),
24
+ string,
25
+ open,
26
+ close,
27
+ replace
28
+ ) : "";
29
+ }
30
+ function init(open, close, replace) {
31
+ return filterEmpty(`\x1B[${open}m`, `\x1B[${close}m`, replace);
32
+ }
33
+ const colorDefs = {
34
+ reset: init(0, 0),
35
+ bold: init(1, 22, "\x1B[22m\x1B[1m"),
36
+ dim: init(2, 22, "\x1B[22m\x1B[2m"),
37
+ italic: init(3, 23),
38
+ underline: init(4, 24),
39
+ inverse: init(7, 27),
40
+ hidden: init(8, 28),
41
+ strikethrough: init(9, 29),
42
+ black: init(30, 39),
43
+ red: init(31, 39),
44
+ green: init(32, 39),
45
+ yellow: init(33, 39),
46
+ blue: init(34, 39),
47
+ magenta: init(35, 39),
48
+ cyan: init(36, 39),
49
+ white: init(37, 39),
50
+ gray: init(90, 39),
51
+ bgBlack: init(40, 49),
52
+ bgRed: init(41, 49),
53
+ bgGreen: init(42, 49),
54
+ bgYellow: init(43, 49),
55
+ bgBlue: init(44, 49),
56
+ bgMagenta: init(45, 49),
57
+ bgCyan: init(46, 49),
58
+ bgWhite: init(47, 49),
59
+ blackBright: init(90, 39),
60
+ redBright: init(91, 39),
61
+ greenBright: init(92, 39),
62
+ yellowBright: init(93, 39),
63
+ blueBright: init(94, 39),
64
+ magentaBright: init(95, 39),
65
+ cyanBright: init(96, 39),
66
+ whiteBright: init(97, 39),
67
+ bgBlackBright: init(100, 49),
68
+ bgRedBright: init(101, 49),
69
+ bgGreenBright: init(102, 49),
70
+ bgYellowBright: init(103, 49),
71
+ bgBlueBright: init(104, 49),
72
+ bgMagentaBright: init(105, 49),
73
+ bgCyanBright: init(106, 49),
74
+ bgWhiteBright: init(107, 49)
75
+ };
76
+ function createColors(useColor = isColorSupported) {
77
+ return useColor ? colorDefs : Object.fromEntries(Object.keys(colorDefs).map((key) => [key, String]));
78
+ }
79
+ const colors = createColors();
80
+ function getColor(color, fallback = "reset") {
81
+ return colors[color] || colors[fallback];
82
+ }
83
+ function colorize(color, text) {
84
+ return getColor(color)(text);
85
+ }
86
+
87
+ const ansiRegex = [
88
+ String.raw`[\u001B\u009B][[\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\d\/#&.:=?%@~_]+)*|[a-zA-Z\d]+(?:;[-a-zA-Z\d\/#&.:=?%@~_]*)*)?\u0007)`,
89
+ String.raw`(?:(?:\d{1,4}(?:;\d{0,4})*)?[\dA-PR-TZcf-nq-uy=><~]))`
90
+ ].join("|");
91
+ function stripAnsi(text) {
92
+ return text.replace(new RegExp(ansiRegex, "g"), "");
93
+ }
94
+ function centerAlign(str, len, space = " ") {
95
+ const free = len - str.length;
96
+ if (free <= 0) {
97
+ return str;
98
+ }
99
+ const freeLeft = Math.floor(free / 2);
100
+ let _str = "";
101
+ for (let i = 0; i < len; i++) {
102
+ _str += i < freeLeft || i >= freeLeft + str.length ? space : str[i - freeLeft];
103
+ }
104
+ return _str;
105
+ }
106
+ function rightAlign(str, len, space = " ") {
107
+ const free = len - str.length;
108
+ if (free <= 0) {
109
+ return str;
110
+ }
111
+ let _str = "";
112
+ for (let i = 0; i < len; i++) {
113
+ _str += i < free ? space : str[i - free];
114
+ }
115
+ return _str;
116
+ }
117
+ function leftAlign(str, len, space = " ") {
118
+ let _str = "";
119
+ for (let i = 0; i < len; i++) {
120
+ _str += i < str.length ? str[i] : space;
121
+ }
122
+ return _str;
123
+ }
124
+ function align(alignment, str, len, space = " ") {
125
+ switch (alignment) {
126
+ case "left": {
127
+ return leftAlign(str, len, space);
128
+ }
129
+ case "right": {
130
+ return rightAlign(str, len, space);
131
+ }
132
+ case "center": {
133
+ return centerAlign(str, len, space);
134
+ }
135
+ default: {
136
+ return str;
137
+ }
138
+ }
139
+ }
140
+
141
+ const boxStylePresets = {
142
+ solid: {
143
+ tl: "\u250C",
144
+ tr: "\u2510",
145
+ bl: "\u2514",
146
+ br: "\u2518",
147
+ h: "\u2500",
148
+ v: "\u2502"
149
+ },
150
+ double: {
151
+ tl: "\u2554",
152
+ tr: "\u2557",
153
+ bl: "\u255A",
154
+ br: "\u255D",
155
+ h: "\u2550",
156
+ v: "\u2551"
157
+ },
158
+ doubleSingle: {
159
+ tl: "\u2553",
160
+ tr: "\u2556",
161
+ bl: "\u2559",
162
+ br: "\u255C",
163
+ h: "\u2500",
164
+ v: "\u2551"
165
+ },
166
+ doubleSingleRounded: {
167
+ tl: "\u256D",
168
+ tr: "\u256E",
169
+ bl: "\u2570",
170
+ br: "\u256F",
171
+ h: "\u2500",
172
+ v: "\u2551"
173
+ },
174
+ singleThick: {
175
+ tl: "\u250F",
176
+ tr: "\u2513",
177
+ bl: "\u2517",
178
+ br: "\u251B",
179
+ h: "\u2501",
180
+ v: "\u2503"
181
+ },
182
+ singleDouble: {
183
+ tl: "\u2552",
184
+ tr: "\u2555",
185
+ bl: "\u2558",
186
+ br: "\u255B",
187
+ h: "\u2550",
188
+ v: "\u2502"
189
+ },
190
+ singleDoubleRounded: {
191
+ tl: "\u256D",
192
+ tr: "\u256E",
193
+ bl: "\u2570",
194
+ br: "\u256F",
195
+ h: "\u2550",
196
+ v: "\u2502"
197
+ },
198
+ rounded: {
199
+ tl: "\u256D",
200
+ tr: "\u256E",
201
+ bl: "\u2570",
202
+ br: "\u256F",
203
+ h: "\u2500",
204
+ v: "\u2502"
205
+ }
206
+ };
207
+ const defaultStyle = {
208
+ borderColor: "white",
209
+ borderStyle: "rounded",
210
+ valign: "center",
211
+ padding: 2,
212
+ marginLeft: 1,
213
+ marginTop: 1,
214
+ marginBottom: 1
215
+ };
216
+ function box(text, _opts = {}) {
217
+ const opts = {
218
+ ..._opts,
219
+ style: {
220
+ ...defaultStyle,
221
+ ..._opts.style
222
+ }
223
+ };
224
+ const textLines = text.split("\n");
225
+ const boxLines = [];
226
+ const _color = getColor(opts.style.borderColor);
227
+ const borderStyle = {
228
+ ...typeof opts.style.borderStyle === "string" ? boxStylePresets[opts.style.borderStyle] || boxStylePresets.solid : opts.style.borderStyle
229
+ };
230
+ if (_color) {
231
+ for (const key in borderStyle) {
232
+ borderStyle[key] = _color(
233
+ borderStyle[key]
234
+ );
235
+ }
236
+ }
237
+ const paddingOffset = opts.style.padding % 2 === 0 ? opts.style.padding : opts.style.padding + 1;
238
+ const height = textLines.length + paddingOffset;
239
+ const width = Math.max(
240
+ ...textLines.map((line) => stripAnsi(line).length),
241
+ opts.title ? stripAnsi(opts.title).length : 0
242
+ ) + paddingOffset;
243
+ const widthOffset = width + paddingOffset;
244
+ const leftSpace = opts.style.marginLeft > 0 ? " ".repeat(opts.style.marginLeft) : "";
245
+ if (opts.style.marginTop > 0) {
246
+ boxLines.push("".repeat(opts.style.marginTop));
247
+ }
248
+ if (opts.title) {
249
+ const title = _color ? _color(opts.title) : opts.title;
250
+ const left = borderStyle.h.repeat(
251
+ Math.floor((width - stripAnsi(opts.title).length) / 2)
252
+ );
253
+ const right = borderStyle.h.repeat(
254
+ width - stripAnsi(opts.title).length - stripAnsi(left).length + paddingOffset
255
+ );
256
+ boxLines.push(
257
+ `${leftSpace}${borderStyle.tl}${left}${title}${right}${borderStyle.tr}`
258
+ );
259
+ } else {
260
+ boxLines.push(
261
+ `${leftSpace}${borderStyle.tl}${borderStyle.h.repeat(widthOffset)}${borderStyle.tr}`
262
+ );
263
+ }
264
+ const valignOffset = opts.style.valign === "center" ? Math.floor((height - textLines.length) / 2) : opts.style.valign === "top" ? height - textLines.length - paddingOffset : height - textLines.length;
265
+ for (let i = 0; i < height; i++) {
266
+ if (i < valignOffset || i >= valignOffset + textLines.length) {
267
+ boxLines.push(
268
+ `${leftSpace}${borderStyle.v}${" ".repeat(widthOffset)}${borderStyle.v}`
269
+ );
270
+ } else {
271
+ const line = textLines[i - valignOffset];
272
+ const left = " ".repeat(paddingOffset);
273
+ const right = " ".repeat(width - stripAnsi(line).length);
274
+ boxLines.push(
275
+ `${leftSpace}${borderStyle.v}${left}${line}${right}${borderStyle.v}`
276
+ );
277
+ }
278
+ }
279
+ boxLines.push(
280
+ `${leftSpace}${borderStyle.bl}${borderStyle.h.repeat(widthOffset)}${borderStyle.br}`
281
+ );
282
+ if (opts.style.marginBottom > 0) {
283
+ boxLines.push("".repeat(opts.style.marginBottom));
284
+ }
285
+ return boxLines.join("\n");
286
+ }
287
+
288
+ export { centerAlign as a, align as b, colorize as c, box as d, colors as e, getColor as g, leftAlign as l, rightAlign as r, stripAnsi as s };
@@ -0,0 +1,136 @@
1
+ {
2
+ "name": "consola",
3
+ "version": "3.4.2",
4
+ "description": "Elegant Console Wrapper",
5
+ "keywords": [
6
+ "console",
7
+ "logger",
8
+ "reporter",
9
+ "elegant",
10
+ "cli",
11
+ "universal",
12
+ "unified",
13
+ "prompt",
14
+ "clack",
15
+ "format",
16
+ "error",
17
+ "stacktrace"
18
+ ],
19
+ "repository": "unjs/consola",
20
+ "license": "MIT",
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "node": {
25
+ "import": {
26
+ "types": "./dist/index.d.mts",
27
+ "default": "./dist/index.mjs"
28
+ },
29
+ "require": {
30
+ "types": "./dist/index.d.cts",
31
+ "default": "./lib/index.cjs"
32
+ }
33
+ },
34
+ "default": {
35
+ "import": {
36
+ "types": "./dist/browser.d.mts",
37
+ "default": "./dist/browser.mjs"
38
+ },
39
+ "require": {
40
+ "types": "./dist/browser.d.cts",
41
+ "default": "./dist/browser.cjs"
42
+ }
43
+ }
44
+ },
45
+ "./browser": {
46
+ "import": {
47
+ "types": "./dist/browser.d.mts",
48
+ "default": "./dist/browser.mjs"
49
+ },
50
+ "require": {
51
+ "types": "./dist/browser.d.cts",
52
+ "default": "./dist/browser.cjs"
53
+ }
54
+ },
55
+ "./basic": {
56
+ "node": {
57
+ "import": {
58
+ "types": "./dist/basic.d.mts",
59
+ "default": "./dist/basic.mjs"
60
+ },
61
+ "require": {
62
+ "types": "./dist/basic.d.cts",
63
+ "default": "./dist/basic.cjs"
64
+ }
65
+ },
66
+ "default": {
67
+ "import": {
68
+ "types": "./dist/browser.d.mts",
69
+ "default": "./dist/browser.mjs"
70
+ },
71
+ "require": {
72
+ "types": "./dist/browser.d.cts",
73
+ "default": "./dist/browser.cjs"
74
+ }
75
+ }
76
+ },
77
+ "./core": {
78
+ "import": {
79
+ "types": "./dist/core.d.mts",
80
+ "default": "./dist/core.mjs"
81
+ },
82
+ "require": {
83
+ "types": "./dist/core.d.cts",
84
+ "default": "./dist/core.cjs"
85
+ }
86
+ },
87
+ "./utils": {
88
+ "import": {
89
+ "types": "./dist/utils.d.mts",
90
+ "default": "./dist/utils.mjs"
91
+ },
92
+ "require": {
93
+ "types": "./dist/utils.d.cts",
94
+ "default": "./dist/utils.cjs"
95
+ }
96
+ }
97
+ },
98
+ "main": "./lib/index.cjs",
99
+ "module": "./dist/index.mjs",
100
+ "browser": "./dist/browser.mjs",
101
+ "types": "./dist/index.d.ts",
102
+ "files": [
103
+ "dist",
104
+ "lib",
105
+ "*.d.ts"
106
+ ],
107
+ "scripts": {
108
+ "build": "unbuild",
109
+ "dev": "vitest",
110
+ "lint": "eslint . && prettier -c src examples test",
111
+ "lint:fix": "eslint . --fix && prettier -w src examples test",
112
+ "release": "pnpm test && pnpm build && changelogen --release --push && npm publish",
113
+ "test": "pnpm lint && pnpm vitest run --coverage"
114
+ },
115
+ "devDependencies": {
116
+ "@clack/prompts": "^0.10.0",
117
+ "@types/node": "^22.13.10",
118
+ "@vitest/coverage-v8": "^3.0.9",
119
+ "changelogen": "^0.6.1",
120
+ "defu": "^6.1.4",
121
+ "eslint": "^9.22.0",
122
+ "eslint-config-unjs": "^0.4.2",
123
+ "is-unicode-supported": "^2.1.0",
124
+ "prettier": "^3.5.3",
125
+ "sentencer": "^0.2.1",
126
+ "std-env": "^3.8.1",
127
+ "string-width": "^7.2.0",
128
+ "typescript": "^5.8.2",
129
+ "unbuild": "^3.5.0",
130
+ "vitest": "^3.0.9"
131
+ },
132
+ "engines": {
133
+ "node": "^14.18.0 || >=16.10.0"
134
+ },
135
+ "packageManager": "pnpm@10.6.3"
136
+ }
@@ -0,0 +1,4 @@
1
+ export { uneval } from './src/uneval.js';
2
+ export { parse, unflatten } from './src/parse.js';
3
+ export { stringify, stringifyAsync } from './src/stringify.js';
4
+ export { DevalueError } from './src/utils.js';
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "devalue",
3
+ "description": "Gets the job done when JSON.stringify can't",
4
+ "version": "5.8.1",
5
+ "repository": "sveltejs/devalue",
6
+ "sideEffects": false,
7
+ "exports": {
8
+ ".": {
9
+ "types": "./types/index.d.ts",
10
+ "import": "./index.js",
11
+ "default": "./index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "index.js",
16
+ "src",
17
+ "types"
18
+ ],
19
+ "types": "./types/index.d.ts",
20
+ "devDependencies": {
21
+ "@changesets/cli": "^2.29.6",
22
+ "@js-temporal/polyfill": "^0.5.1",
23
+ "@types/node": "^24.12.0",
24
+ "dts-buddy": "^0.6.2",
25
+ "publint": "^0.3.12",
26
+ "typescript": "^5.9.2",
27
+ "uvu": "^0.5.6"
28
+ },
29
+ "license": "MIT",
30
+ "type": "module",
31
+ "packageManager": "pnpm@8.15.9",
32
+ "scripts": {
33
+ "changeset:version": "changeset version",
34
+ "changeset:publish": "changeset publish",
35
+ "build": "dts-buddy",
36
+ "test": "uvu",
37
+ "bench": "node --allow-natives-syntax ./benchmarking/run.js",
38
+ "bench:compare": "node --allow-natives-syntax ./benchmarking/compare/index.js"
39
+ }
40
+ }
@@ -0,0 +1,60 @@
1
+ /* Baseline 2025 runtimes */
2
+
3
+ /** @type {(array_buffer: ArrayBuffer) => string} */
4
+ export function encode_native(array_buffer) {
5
+ return new Uint8Array(array_buffer).toBase64();
6
+ }
7
+
8
+ /** @type {(base64: string) => ArrayBuffer} */
9
+ export function decode_native(base64) {
10
+ return Uint8Array.fromBase64(base64).buffer;
11
+ }
12
+
13
+ /* Node-compatible runtimes */
14
+
15
+ /** @type {(array_buffer: ArrayBuffer) => string} */
16
+ export function encode_buffer(array_buffer) {
17
+ return Buffer.from(array_buffer).toString('base64');
18
+ }
19
+
20
+ /** @type {(base64: string) => ArrayBuffer} */
21
+ export function decode_buffer(base64) {
22
+ return Uint8Array.from(Buffer.from(base64, 'base64')).buffer;
23
+ }
24
+
25
+ /* Legacy runtimes */
26
+
27
+ /** @type {(array_buffer: ArrayBuffer) => string} */
28
+ export function encode_legacy(array_buffer) {
29
+ const array = new Uint8Array(array_buffer);
30
+ let binary = '';
31
+
32
+ // the maximum number of arguments to String.fromCharCode.apply
33
+ // should be around 0xFFFF in modern engines
34
+ const chunk_size = 0x8000;
35
+ for (let i = 0; i < array.length; i += chunk_size) {
36
+ const chunk = array.subarray(i, i + chunk_size);
37
+ binary += String.fromCharCode.apply(null, chunk);
38
+ }
39
+
40
+ return btoa(binary);
41
+ }
42
+
43
+ /** @type {(base64: string) => ArrayBuffer} */
44
+ export function decode_legacy(base64) {
45
+ const binary_string = atob(base64);
46
+ const len = binary_string.length;
47
+ const array = new Uint8Array(len);
48
+
49
+ for (let i = 0; i < len; i++) {
50
+ array[i] = binary_string.charCodeAt(i);
51
+ }
52
+
53
+ return array.buffer;
54
+ }
55
+
56
+ const native = typeof Uint8Array.fromBase64 === 'function';
57
+ const buffer = typeof process === 'object' && process.versions?.node !== undefined;
58
+
59
+ export const encode64 = native ? encode_native : buffer ? encode_buffer : encode_legacy;
60
+ export const decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy;
@@ -0,0 +1,12 @@
1
+ export const UNDEFINED = -1;
2
+ export const HOLE = -2;
3
+ export const NAN = -3;
4
+ export const POSITIVE_INFINITY = -4;
5
+ export const NEGATIVE_INFINITY = -5;
6
+ export const NEGATIVE_ZERO = -6;
7
+ export const SPARSE = -7;
8
+
9
+ // The largest valid value for a JavaScript array's `length` property,
10
+ // and the largest valid array index (one less than the max length).
11
+ export const MAX_ARRAY_LEN = 2 ** 32 - 1;
12
+ export const MAX_ARRAY_INDEX = MAX_ARRAY_LEN - 1;