@spotlightjs/spotlight 4.11.3 → 4.11.5

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 (191) hide show
  1. package/dist/_virtual/ajv.js +6 -3
  2. package/dist/_virtual/ajv2.js +13 -0
  3. package/dist/_virtual/index.js +6 -3
  4. package/dist/_virtual/index10.js +3 -3
  5. package/dist/_virtual/index11.js +3 -3
  6. package/dist/_virtual/index12.js +13 -0
  7. package/dist/_virtual/index2.js +3 -3
  8. package/dist/_virtual/index4.js +3 -3
  9. package/dist/_virtual/index5.js +3 -3
  10. package/dist/_virtual/index6.js +3 -3
  11. package/dist/_virtual/index7.js +3 -3
  12. package/dist/_virtual/index8.js +3 -3
  13. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +1 -1
  14. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -1
  15. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +3 -3
  16. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +203 -194
  17. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js.map +1 -1
  18. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +47 -47
  19. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js.map +1 -1
  20. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +77 -69
  21. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js.map +1 -1
  22. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +80 -85
  23. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
  24. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js +145 -136
  25. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  26. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +692 -685
  27. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
  28. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +143 -135
  29. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
  30. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +122 -116
  31. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js.map +1 -1
  32. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +218 -218
  33. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
  34. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +43 -35
  35. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js.map +1 -1
  36. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +19 -11
  37. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
  38. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +149 -144
  39. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  40. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +31 -25
  41. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js.map +1 -1
  42. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +164 -160
  43. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js.map +1 -1
  44. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +23 -17
  45. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -1
  46. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +52 -49
  47. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  48. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +174 -173
  49. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
  50. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +36 -32
  51. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  52. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +473 -478
  53. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  54. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +113 -111
  55. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  56. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +81 -77
  57. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  58. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +573 -574
  59. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
  60. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js +3 -17
  61. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js.map +1 -1
  62. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +4 -236
  63. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -1
  64. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +16 -7
  65. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js.map +1 -1
  66. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +27 -18
  67. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
  68. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +16 -7
  69. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js.map +1 -1
  70. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js +17 -8
  71. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
  72. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +55 -48
  73. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
  74. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +104 -99
  75. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
  76. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +30 -22
  77. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -1
  78. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +20 -12
  79. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -1
  80. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -88
  81. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
  82. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +94 -88
  83. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
  84. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +71 -64
  85. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
  86. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +66 -73
  87. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -1
  88. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +60 -54
  89. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
  90. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +41 -36
  91. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -1
  92. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +34 -26
  93. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
  94. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -53
  95. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
  96. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +73 -67
  97. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
  98. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +20 -12
  99. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -1
  100. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +62 -57
  101. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  102. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +46 -39
  103. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -1
  104. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +21 -13
  105. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -1
  106. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +132 -129
  107. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
  108. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +17 -8
  109. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -1
  110. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +27 -20
  111. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -1
  112. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +121 -118
  113. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
  114. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +103 -99
  115. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  116. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +15 -9
  117. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
  118. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +30 -26
  119. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -1
  120. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +84 -76
  121. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
  122. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +16 -8
  123. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -1
  124. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +24 -18
  125. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -1
  126. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +33 -27
  127. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
  128. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +53 -47
  129. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
  130. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +52 -53
  131. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -1
  132. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +32 -24
  133. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -1
  134. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +37 -31
  135. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -1
  136. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +35 -27
  137. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -1
  138. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +32 -24
  139. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
  140. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +31 -23
  141. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -1
  142. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +41 -35
  143. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -1
  144. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +80 -74
  145. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
  146. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +71 -66
  147. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -1
  148. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +34 -27
  149. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -1
  150. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js +300 -0
  151. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -0
  152. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js +223 -0
  153. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js.map +1 -1
  154. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js +325 -0
  155. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -0
  156. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/helper/streaming/sse.js.map +1 -0
  157. package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/middleware/cors/index.js +8 -8
  158. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js.map +1 -0
  159. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/html.js.map +1 -0
  160. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/stream.js.map +1 -0
  161. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +83 -78
  162. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js.map +1 -1
  163. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js +1 -1
  164. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js.map +1 -1
  165. package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js +1 -1
  166. package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js.map +1 -1
  167. package/dist/sentry-config.js +2 -2
  168. package/dist/server/cli/run.js +2 -2
  169. package/dist/server/cli.js +2 -2
  170. package/dist/server/main.js +2 -2
  171. package/dist/server/mcp/mcp.js +2 -2
  172. package/dist/server/routes/stream/streaming.js +2 -2
  173. package/dist/ui/assets/index.js +61 -70
  174. package/dist/ui/assets/index2.js +1 -1
  175. package/dist/ui/assets/instrumentation.js +18 -18
  176. package/dist/ui/assets/main.css +1 -1
  177. package/dist/ui/assets/main.js +1 -1
  178. package/dist/ui/assets/serverTimingMeta.js +23 -30
  179. package/package.json +9 -9
  180. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js +0 -264
  181. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js.map +0 -1
  182. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js +0 -197
  183. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js +0 -261
  184. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js.map +0 -1
  185. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/helper/streaming/sse.js.map +0 -1
  186. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/middleware/cors/index.js.map +0 -1
  187. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/html.js.map +0 -1
  188. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/stream.js.map +0 -1
  189. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/helper/streaming/sse.js +0 -0
  190. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/html.js +0 -0
  191. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/stream.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"names.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"./codegen\");\nconst names = {\n // validation function arguments\n data: new codegen_1.Name(\"data\"), // data passed to validation function\n // args passed from referencing schema\n valCxt: new codegen_1.Name(\"valCxt\"), // validation/data context - should not be used directly, it is destructured to the names below\n instancePath: new codegen_1.Name(\"instancePath\"),\n parentData: new codegen_1.Name(\"parentData\"),\n parentDataProperty: new codegen_1.Name(\"parentDataProperty\"),\n rootData: new codegen_1.Name(\"rootData\"), // root data - same as the data passed to the first/top validation function\n dynamicAnchors: new codegen_1.Name(\"dynamicAnchors\"), // used to support recursiveRef and dynamicRef\n // function scoped variables\n vErrors: new codegen_1.Name(\"vErrors\"), // null or array of validation errors\n errors: new codegen_1.Name(\"errors\"), // counter of validation errors\n this: new codegen_1.Name(\"this\"),\n // \"globals\"\n self: new codegen_1.Name(\"self\"),\n scope: new codegen_1.Name(\"scope\"),\n // JTD serialize/parse name for JSON string and position\n json: new codegen_1.Name(\"json\"),\n jsonPos: new codegen_1.Name(\"jsonPos\"),\n jsonLen: new codegen_1.Name(\"jsonLen\"),\n jsonPart: new codegen_1.Name(\"jsonPart\"),\n};\nexports.default = names;\n//# sourceMappingURL=names.js.map"],"names":["names_1","require$$0"],"mappings":";;;;;;;;;;;AACA,OAAO,eAAeA,SAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYC;AAClB,MAAM,QAAQ;AAAA;AAAA,EAEV,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA;AAAA;AAAA,EAE/B,QAAQ,IAAI,UAAU,KAAK,QAAQ;AAAA;AAAA,EACnC,cAAc,IAAI,UAAU,KAAK,cAAc;AAAA,EAC/C,YAAY,IAAI,UAAU,KAAK,YAAY;AAAA,EAC3C,oBAAoB,IAAI,UAAU,KAAK,oBAAoB;AAAA,EAC3D,UAAU,IAAI,UAAU,KAAK,UAAU;AAAA;AAAA,EACvC,gBAAgB,IAAI,UAAU,KAAK,gBAAgB;AAAA;AAAA;AAAA,EAEnD,SAAS,IAAI,UAAU,KAAK,SAAS;AAAA;AAAA,EACrC,QAAQ,IAAI,UAAU,KAAK,QAAQ;AAAA;AAAA,EACnC,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA;AAAA,EAE/B,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA,EAC/B,OAAO,IAAI,UAAU,KAAK,OAAO;AAAA;AAAA,EAEjC,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA,EAC/B,SAAS,IAAI,UAAU,KAAK,SAAS;AAAA,EACrC,SAAS,IAAI,UAAU,KAAK,SAAS;AAAA,EACrC,UAAU,IAAI,UAAU,KAAK,UAAU;AAC3C;AACAD,QAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"names.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"./codegen\");\nconst names = {\n // validation function arguments\n data: new codegen_1.Name(\"data\"), // data passed to validation function\n // args passed from referencing schema\n valCxt: new codegen_1.Name(\"valCxt\"), // validation/data context - should not be used directly, it is destructured to the names below\n instancePath: new codegen_1.Name(\"instancePath\"),\n parentData: new codegen_1.Name(\"parentData\"),\n parentDataProperty: new codegen_1.Name(\"parentDataProperty\"),\n rootData: new codegen_1.Name(\"rootData\"), // root data - same as the data passed to the first/top validation function\n dynamicAnchors: new codegen_1.Name(\"dynamicAnchors\"), // used to support recursiveRef and dynamicRef\n // function scoped variables\n vErrors: new codegen_1.Name(\"vErrors\"), // null or array of validation errors\n errors: new codegen_1.Name(\"errors\"), // counter of validation errors\n this: new codegen_1.Name(\"this\"),\n // \"globals\"\n self: new codegen_1.Name(\"self\"),\n scope: new codegen_1.Name(\"scope\"),\n // JTD serialize/parse name for JSON string and position\n json: new codegen_1.Name(\"json\"),\n jsonPos: new codegen_1.Name(\"jsonPos\"),\n jsonLen: new codegen_1.Name(\"jsonLen\"),\n jsonPart: new codegen_1.Name(\"jsonPart\"),\n};\nexports.default = names;\n//# sourceMappingURL=names.js.map"],"names":["names_1","require$$0","names"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAeA,OAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYC,+BAAA;AAClB,QAAMC,UAAQ;AAAA;AAAA,IAEV,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA;AAAA;AAAA,IAE/B,QAAQ,IAAI,UAAU,KAAK,QAAQ;AAAA;AAAA,IACnC,cAAc,IAAI,UAAU,KAAK,cAAc;AAAA,IAC/C,YAAY,IAAI,UAAU,KAAK,YAAY;AAAA,IAC3C,oBAAoB,IAAI,UAAU,KAAK,oBAAoB;AAAA,IAC3D,UAAU,IAAI,UAAU,KAAK,UAAU;AAAA;AAAA,IACvC,gBAAgB,IAAI,UAAU,KAAK,gBAAgB;AAAA;AAAA;AAAA,IAEnD,SAAS,IAAI,UAAU,KAAK,SAAS;AAAA;AAAA,IACrC,QAAQ,IAAI,UAAU,KAAK,QAAQ;AAAA;AAAA,IACnC,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA;AAAA,IAE/B,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA,IAC/B,OAAO,IAAI,UAAU,KAAK,OAAO;AAAA;AAAA,IAEjC,MAAM,IAAI,UAAU,KAAK,MAAM;AAAA,IAC/B,SAAS,IAAI,UAAU,KAAK,SAAS;AAAA,IACrC,SAAS,IAAI,UAAU,KAAK,SAAS;AAAA,IACrC,UAAU,IAAI,UAAU,KAAK,UAAU;AAAA;AAE3CF,QAAA,UAAkBE;;;","x_google_ignoreList":[0]}
@@ -2,21 +2,29 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "54083144-11de-4754-bc38-1e203977cdc9", e._sentryDebugIdIdentifier = "sentry-dbid-54083144-11de-4754-bc38-1e203977cdc9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ba98f8a-d856-46da-919e-08a2d109fa86", e._sentryDebugIdIdentifier = "sentry-dbid-6ba98f8a-d856-46da-919e-08a2d109fa86");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as ref_error } from "../../../../../../../_virtual/ref_error.js";
10
- import "./resolve.js";
11
- import { __exports as resolve } from "../../../../../../../_virtual/resolve.js";
12
- Object.defineProperty(ref_error, "__esModule", { value: true });
13
- const resolve_1 = resolve;
14
- class MissingRefError extends Error {
15
- constructor(resolver, baseId, ref, msg) {
16
- super(msg || `can't resolve reference ${ref} from id ${baseId}`);
17
- this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
18
- this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
10
+ import { __require as requireResolve } from "./resolve.js";
11
+ var hasRequiredRef_error;
12
+ function requireRef_error() {
13
+ if (hasRequiredRef_error) return ref_error;
14
+ hasRequiredRef_error = 1;
15
+ Object.defineProperty(ref_error, "__esModule", { value: true });
16
+ const resolve_1 = /* @__PURE__ */ requireResolve();
17
+ class MissingRefError extends Error {
18
+ constructor(resolver, baseId, ref, msg) {
19
+ super(msg || `can't resolve reference ${ref} from id ${baseId}`);
20
+ this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);
21
+ this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));
22
+ }
19
23
  }
24
+ ref_error.default = MissingRefError;
25
+ return ref_error;
20
26
  }
21
- ref_error.default = MissingRefError;
27
+ export {
28
+ requireRef_error as __require
29
+ };
22
30
  //# sourceMappingURL=ref_error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ref_error.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst resolve_1 = require(\"./resolve\");\nclass MissingRefError extends Error {\n constructor(resolver, baseId, ref, msg) {\n super(msg || `can't resolve reference ${ref} from id ${baseId}`);\n this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);\n this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));\n }\n}\nexports.default = MissingRefError;\n//# sourceMappingURL=ref_error.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;AACA,OAAO,eAAe,WAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,wBAAwB,MAAM;AAAA,EAChC,YAAY,UAAU,QAAQ,KAAK,KAAK;AACpC,UAAM,OAAO,2BAA2B,GAAG,YAAY,MAAM,EAAE;AAC/D,SAAK,iBAAiB,UAAU,YAAY,UAAU,QAAQ,GAAG;AACjE,SAAK,oBAAoB,UAAU,cAAa,GAAI,UAAU,aAAa,UAAU,KAAK,UAAU,CAAC;AAAA,EAC7G;AACA;AACA,UAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ref_error.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst resolve_1 = require(\"./resolve\");\nclass MissingRefError extends Error {\n constructor(resolver, baseId, ref, msg) {\n super(msg || `can't resolve reference ${ref} from id ${baseId}`);\n this.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);\n this.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));\n }\n}\nexports.default = MissingRefError;\n//# sourceMappingURL=ref_error.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,WAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAAA,EAClB,MAAM,wBAAwB,MAAM;AAAA,IAChC,YAAY,UAAU,QAAQ,KAAK,KAAK;AACpC,YAAM,OAAO,2BAA2B,GAAG,YAAY,MAAM,EAAE;AAC/D,WAAK,iBAAiB,UAAU,YAAY,UAAU,QAAQ,GAAG;AACjE,WAAK,oBAAoB,UAAU,cAAa,GAAI,UAAU,aAAa,UAAU,KAAK,UAAU,CAAC;AAAA,IAC7G;AAAA,EACA;AACA,YAAA,UAAkB;;;","x_google_ignoreList":[0]}
@@ -2,165 +2,170 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c8f432f0-7bb1-439d-ada2-26a28add18b8", e._sentryDebugIdIdentifier = "sentry-dbid-c8f432f0-7bb1-439d-ada2-26a28add18b8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ed28e8af-faea-4fc2-afc8-b9b181eb3052", e._sentryDebugIdIdentifier = "sentry-dbid-ed28e8af-faea-4fc2-afc8-b9b181eb3052");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as resolve } from "../../../../../../../_virtual/resolve.js";
10
- import "./util.js";
11
- import { f as fastDeepEqual } from "../../../../../fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js";
12
- import { j as jsonSchemaTraverseExports } from "../../../../../json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js";
13
- import { __exports as util } from "../../../../../../../_virtual/util.js";
14
- Object.defineProperty(resolve, "__esModule", { value: true });
15
- resolve.getSchemaRefs = resolve.resolveUrl = resolve.normalizeId = resolve._getFullPath = resolve.getFullPath = resolve.inlineRef = void 0;
16
- const util_1 = util;
17
- const equal = fastDeepEqual;
18
- const traverse = jsonSchemaTraverseExports;
19
- const SIMPLE_INLINED = /* @__PURE__ */ new Set([
20
- "type",
21
- "format",
22
- "pattern",
23
- "maxLength",
24
- "minLength",
25
- "maxProperties",
26
- "minProperties",
27
- "maxItems",
28
- "minItems",
29
- "maximum",
30
- "minimum",
31
- "uniqueItems",
32
- "multipleOf",
33
- "required",
34
- "enum",
35
- "const"
36
- ]);
37
- function inlineRef(schema, limit = true) {
38
- if (typeof schema == "boolean")
39
- return true;
40
- if (limit === true)
41
- return !hasRef(schema);
42
- if (!limit)
43
- return false;
44
- return countKeys(schema) <= limit;
45
- }
46
- resolve.inlineRef = inlineRef;
47
- const REF_KEYWORDS = /* @__PURE__ */ new Set([
48
- "$ref",
49
- "$recursiveRef",
50
- "$recursiveAnchor",
51
- "$dynamicRef",
52
- "$dynamicAnchor"
53
- ]);
54
- function hasRef(schema) {
55
- for (const key in schema) {
56
- if (REF_KEYWORDS.has(key))
57
- return true;
58
- const sch = schema[key];
59
- if (Array.isArray(sch) && sch.some(hasRef))
60
- return true;
61
- if (typeof sch == "object" && hasRef(sch))
10
+ import { __require as requireUtil } from "./util.js";
11
+ import { __require as requireFastDeepEqual } from "../../../../../fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js";
12
+ import { __require as requireJsonSchemaTraverse } from "../../../../../json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js";
13
+ var hasRequiredResolve;
14
+ function requireResolve() {
15
+ if (hasRequiredResolve) return resolve;
16
+ hasRequiredResolve = 1;
17
+ Object.defineProperty(resolve, "__esModule", { value: true });
18
+ resolve.getSchemaRefs = resolve.resolveUrl = resolve.normalizeId = resolve._getFullPath = resolve.getFullPath = resolve.inlineRef = void 0;
19
+ const util_1 = /* @__PURE__ */ requireUtil();
20
+ const equal = requireFastDeepEqual();
21
+ const traverse = requireJsonSchemaTraverse();
22
+ const SIMPLE_INLINED = /* @__PURE__ */ new Set([
23
+ "type",
24
+ "format",
25
+ "pattern",
26
+ "maxLength",
27
+ "minLength",
28
+ "maxProperties",
29
+ "minProperties",
30
+ "maxItems",
31
+ "minItems",
32
+ "maximum",
33
+ "minimum",
34
+ "uniqueItems",
35
+ "multipleOf",
36
+ "required",
37
+ "enum",
38
+ "const"
39
+ ]);
40
+ function inlineRef(schema, limit = true) {
41
+ if (typeof schema == "boolean")
62
42
  return true;
43
+ if (limit === true)
44
+ return !hasRef(schema);
45
+ if (!limit)
46
+ return false;
47
+ return countKeys(schema) <= limit;
63
48
  }
64
- return false;
65
- }
66
- function countKeys(schema) {
67
- let count = 0;
68
- for (const key in schema) {
69
- if (key === "$ref")
70
- return Infinity;
71
- count++;
72
- if (SIMPLE_INLINED.has(key))
73
- continue;
74
- if (typeof schema[key] == "object") {
75
- (0, util_1.eachItem)(schema[key], (sch) => count += countKeys(sch));
49
+ resolve.inlineRef = inlineRef;
50
+ const REF_KEYWORDS = /* @__PURE__ */ new Set([
51
+ "$ref",
52
+ "$recursiveRef",
53
+ "$recursiveAnchor",
54
+ "$dynamicRef",
55
+ "$dynamicAnchor"
56
+ ]);
57
+ function hasRef(schema) {
58
+ for (const key in schema) {
59
+ if (REF_KEYWORDS.has(key))
60
+ return true;
61
+ const sch = schema[key];
62
+ if (Array.isArray(sch) && sch.some(hasRef))
63
+ return true;
64
+ if (typeof sch == "object" && hasRef(sch))
65
+ return true;
66
+ }
67
+ return false;
68
+ }
69
+ function countKeys(schema) {
70
+ let count = 0;
71
+ for (const key in schema) {
72
+ if (key === "$ref")
73
+ return Infinity;
74
+ count++;
75
+ if (SIMPLE_INLINED.has(key))
76
+ continue;
77
+ if (typeof schema[key] == "object") {
78
+ (0, util_1.eachItem)(schema[key], (sch) => count += countKeys(sch));
79
+ }
80
+ if (count === Infinity)
81
+ return Infinity;
76
82
  }
77
- if (count === Infinity)
78
- return Infinity;
83
+ return count;
79
84
  }
80
- return count;
81
- }
82
- function getFullPath(resolver, id = "", normalize) {
83
- if (normalize !== false)
85
+ function getFullPath(resolver, id = "", normalize) {
86
+ if (normalize !== false)
87
+ id = normalizeId(id);
88
+ const p = resolver.parse(id);
89
+ return _getFullPath(resolver, p);
90
+ }
91
+ resolve.getFullPath = getFullPath;
92
+ function _getFullPath(resolver, p) {
93
+ const serialized = resolver.serialize(p);
94
+ return serialized.split("#")[0] + "#";
95
+ }
96
+ resolve._getFullPath = _getFullPath;
97
+ const TRAILING_SLASH_HASH = /#\/?$/;
98
+ function normalizeId(id) {
99
+ return id ? id.replace(TRAILING_SLASH_HASH, "") : "";
100
+ }
101
+ resolve.normalizeId = normalizeId;
102
+ function resolveUrl(resolver, baseId, id) {
84
103
  id = normalizeId(id);
85
- const p = resolver.parse(id);
86
- return _getFullPath(resolver, p);
87
- }
88
- resolve.getFullPath = getFullPath;
89
- function _getFullPath(resolver, p) {
90
- const serialized = resolver.serialize(p);
91
- return serialized.split("#")[0] + "#";
92
- }
93
- resolve._getFullPath = _getFullPath;
94
- const TRAILING_SLASH_HASH = /#\/?$/;
95
- function normalizeId(id) {
96
- return id ? id.replace(TRAILING_SLASH_HASH, "") : "";
97
- }
98
- resolve.normalizeId = normalizeId;
99
- function resolveUrl(resolver, baseId, id) {
100
- id = normalizeId(id);
101
- return resolver.resolve(baseId, id);
102
- }
103
- resolve.resolveUrl = resolveUrl;
104
- const ANCHOR = /^[a-z_][-a-z0-9._]*$/i;
105
- function getSchemaRefs(schema, baseId) {
106
- if (typeof schema == "boolean")
107
- return {};
108
- const { schemaId, uriResolver } = this.opts;
109
- const schId = normalizeId(schema[schemaId] || baseId);
110
- const baseIds = { "": schId };
111
- const pathPrefix = getFullPath(uriResolver, schId, false);
112
- const localRefs = {};
113
- const schemaRefs = /* @__PURE__ */ new Set();
114
- traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {
115
- if (parentJsonPtr === void 0)
116
- return;
117
- const fullPath = pathPrefix + jsonPtr;
118
- let innerBaseId = baseIds[parentJsonPtr];
119
- if (typeof sch[schemaId] == "string")
120
- innerBaseId = addRef.call(this, sch[schemaId]);
121
- addAnchor.call(this, sch.$anchor);
122
- addAnchor.call(this, sch.$dynamicAnchor);
123
- baseIds[jsonPtr] = innerBaseId;
124
- function addRef(ref) {
125
- const _resolve = this.opts.uriResolver.resolve;
126
- ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);
127
- if (schemaRefs.has(ref))
128
- throw ambiguos(ref);
129
- schemaRefs.add(ref);
130
- let schOrRef = this.refs[ref];
131
- if (typeof schOrRef == "string")
132
- schOrRef = this.refs[schOrRef];
133
- if (typeof schOrRef == "object") {
134
- checkAmbiguosRef(sch, schOrRef.schema, ref);
135
- } else if (ref !== normalizeId(fullPath)) {
136
- if (ref[0] === "#") {
137
- checkAmbiguosRef(sch, localRefs[ref], ref);
138
- localRefs[ref] = sch;
139
- } else {
140
- this.refs[ref] = fullPath;
104
+ return resolver.resolve(baseId, id);
105
+ }
106
+ resolve.resolveUrl = resolveUrl;
107
+ const ANCHOR = /^[a-z_][-a-z0-9._]*$/i;
108
+ function getSchemaRefs(schema, baseId) {
109
+ if (typeof schema == "boolean")
110
+ return {};
111
+ const { schemaId, uriResolver } = this.opts;
112
+ const schId = normalizeId(schema[schemaId] || baseId);
113
+ const baseIds = { "": schId };
114
+ const pathPrefix = getFullPath(uriResolver, schId, false);
115
+ const localRefs = {};
116
+ const schemaRefs = /* @__PURE__ */ new Set();
117
+ traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {
118
+ if (parentJsonPtr === void 0)
119
+ return;
120
+ const fullPath = pathPrefix + jsonPtr;
121
+ let innerBaseId = baseIds[parentJsonPtr];
122
+ if (typeof sch[schemaId] == "string")
123
+ innerBaseId = addRef.call(this, sch[schemaId]);
124
+ addAnchor.call(this, sch.$anchor);
125
+ addAnchor.call(this, sch.$dynamicAnchor);
126
+ baseIds[jsonPtr] = innerBaseId;
127
+ function addRef(ref) {
128
+ const _resolve = this.opts.uriResolver.resolve;
129
+ ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);
130
+ if (schemaRefs.has(ref))
131
+ throw ambiguos(ref);
132
+ schemaRefs.add(ref);
133
+ let schOrRef = this.refs[ref];
134
+ if (typeof schOrRef == "string")
135
+ schOrRef = this.refs[schOrRef];
136
+ if (typeof schOrRef == "object") {
137
+ checkAmbiguosRef(sch, schOrRef.schema, ref);
138
+ } else if (ref !== normalizeId(fullPath)) {
139
+ if (ref[0] === "#") {
140
+ checkAmbiguosRef(sch, localRefs[ref], ref);
141
+ localRefs[ref] = sch;
142
+ } else {
143
+ this.refs[ref] = fullPath;
144
+ }
141
145
  }
146
+ return ref;
142
147
  }
143
- return ref;
144
- }
145
- function addAnchor(anchor) {
146
- if (typeof anchor == "string") {
147
- if (!ANCHOR.test(anchor))
148
- throw new Error(`invalid anchor "${anchor}"`);
149
- addRef.call(this, `#${anchor}`);
148
+ function addAnchor(anchor) {
149
+ if (typeof anchor == "string") {
150
+ if (!ANCHOR.test(anchor))
151
+ throw new Error(`invalid anchor "${anchor}"`);
152
+ addRef.call(this, `#${anchor}`);
153
+ }
150
154
  }
155
+ });
156
+ return localRefs;
157
+ function checkAmbiguosRef(sch1, sch2, ref) {
158
+ if (sch2 !== void 0 && !equal(sch1, sch2))
159
+ throw ambiguos(ref);
160
+ }
161
+ function ambiguos(ref) {
162
+ return new Error(`reference "${ref}" resolves to more than one schema`);
151
163
  }
152
- });
153
- return localRefs;
154
- function checkAmbiguosRef(sch1, sch2, ref) {
155
- if (sch2 !== void 0 && !equal(sch1, sch2))
156
- throw ambiguos(ref);
157
- }
158
- function ambiguos(ref) {
159
- return new Error(`reference "${ref}" resolves to more than one schema`);
160
164
  }
165
+ resolve.getSchemaRefs = getSchemaRefs;
166
+ return resolve;
161
167
  }
162
- resolve.getSchemaRefs = getSchemaRefs;
163
168
  export {
164
- resolve as default
169
+ requireResolve as __require
165
170
  };
166
171
  //# sourceMappingURL=resolve.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;\nconst util_1 = require(\"./util\");\nconst equal = require(\"fast-deep-equal\");\nconst traverse = require(\"json-schema-traverse\");\n// TODO refactor to use keyword definitions\nconst SIMPLE_INLINED = new Set([\n \"type\",\n \"format\",\n \"pattern\",\n \"maxLength\",\n \"minLength\",\n \"maxProperties\",\n \"minProperties\",\n \"maxItems\",\n \"minItems\",\n \"maximum\",\n \"minimum\",\n \"uniqueItems\",\n \"multipleOf\",\n \"required\",\n \"enum\",\n \"const\",\n]);\nfunction inlineRef(schema, limit = true) {\n if (typeof schema == \"boolean\")\n return true;\n if (limit === true)\n return !hasRef(schema);\n if (!limit)\n return false;\n return countKeys(schema) <= limit;\n}\nexports.inlineRef = inlineRef;\nconst REF_KEYWORDS = new Set([\n \"$ref\",\n \"$recursiveRef\",\n \"$recursiveAnchor\",\n \"$dynamicRef\",\n \"$dynamicAnchor\",\n]);\nfunction hasRef(schema) {\n for (const key in schema) {\n if (REF_KEYWORDS.has(key))\n return true;\n const sch = schema[key];\n if (Array.isArray(sch) && sch.some(hasRef))\n return true;\n if (typeof sch == \"object\" && hasRef(sch))\n return true;\n }\n return false;\n}\nfunction countKeys(schema) {\n let count = 0;\n for (const key in schema) {\n if (key === \"$ref\")\n return Infinity;\n count++;\n if (SIMPLE_INLINED.has(key))\n continue;\n if (typeof schema[key] == \"object\") {\n (0, util_1.eachItem)(schema[key], (sch) => (count += countKeys(sch)));\n }\n if (count === Infinity)\n return Infinity;\n }\n return count;\n}\nfunction getFullPath(resolver, id = \"\", normalize) {\n if (normalize !== false)\n id = normalizeId(id);\n const p = resolver.parse(id);\n return _getFullPath(resolver, p);\n}\nexports.getFullPath = getFullPath;\nfunction _getFullPath(resolver, p) {\n const serialized = resolver.serialize(p);\n return serialized.split(\"#\")[0] + \"#\";\n}\nexports._getFullPath = _getFullPath;\nconst TRAILING_SLASH_HASH = /#\\/?$/;\nfunction normalizeId(id) {\n return id ? id.replace(TRAILING_SLASH_HASH, \"\") : \"\";\n}\nexports.normalizeId = normalizeId;\nfunction resolveUrl(resolver, baseId, id) {\n id = normalizeId(id);\n return resolver.resolve(baseId, id);\n}\nexports.resolveUrl = resolveUrl;\nconst ANCHOR = /^[a-z_][-a-z0-9._]*$/i;\nfunction getSchemaRefs(schema, baseId) {\n if (typeof schema == \"boolean\")\n return {};\n const { schemaId, uriResolver } = this.opts;\n const schId = normalizeId(schema[schemaId] || baseId);\n const baseIds = { \"\": schId };\n const pathPrefix = getFullPath(uriResolver, schId, false);\n const localRefs = {};\n const schemaRefs = new Set();\n traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {\n if (parentJsonPtr === undefined)\n return;\n const fullPath = pathPrefix + jsonPtr;\n let innerBaseId = baseIds[parentJsonPtr];\n if (typeof sch[schemaId] == \"string\")\n innerBaseId = addRef.call(this, sch[schemaId]);\n addAnchor.call(this, sch.$anchor);\n addAnchor.call(this, sch.$dynamicAnchor);\n baseIds[jsonPtr] = innerBaseId;\n function addRef(ref) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const _resolve = this.opts.uriResolver.resolve;\n ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);\n if (schemaRefs.has(ref))\n throw ambiguos(ref);\n schemaRefs.add(ref);\n let schOrRef = this.refs[ref];\n if (typeof schOrRef == \"string\")\n schOrRef = this.refs[schOrRef];\n if (typeof schOrRef == \"object\") {\n checkAmbiguosRef(sch, schOrRef.schema, ref);\n }\n else if (ref !== normalizeId(fullPath)) {\n if (ref[0] === \"#\") {\n checkAmbiguosRef(sch, localRefs[ref], ref);\n localRefs[ref] = sch;\n }\n else {\n this.refs[ref] = fullPath;\n }\n }\n return ref;\n }\n function addAnchor(anchor) {\n if (typeof anchor == \"string\") {\n if (!ANCHOR.test(anchor))\n throw new Error(`invalid anchor \"${anchor}\"`);\n addRef.call(this, `#${anchor}`);\n }\n }\n });\n return localRefs;\n function checkAmbiguosRef(sch1, sch2, ref) {\n if (sch2 !== undefined && !equal(sch1, sch2))\n throw ambiguos(ref);\n }\n function ambiguos(ref) {\n return new Error(`reference \"${ref}\" resolves to more than one schema`);\n }\n}\nexports.getSchemaRefs = getSchemaRefs;\n//# sourceMappingURL=resolve.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;AACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,QAAA,gBAAwB,QAAA,aAAqB,QAAA,cAAsB,QAAA,eAAuB,QAAA,cAAsB,QAAA,YAAoB;AAC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,YAAM,YAAY,cAAc,SAAS,aAAa,GAAG,IAAI,GAAG;AAChE,UAAI,WAAW,IAAI,GAAG;AAClB,cAAM,SAAS,GAAG;AACtB,iBAAW,IAAI,GAAG;AAClB,UAAI,WAAW,KAAK,KAAK,GAAG;AAC5B,UAAI,OAAO,YAAY;AACnB,mBAAW,KAAK,KAAK,QAAQ;AACjC,UAAI,OAAO,YAAY,UAAU;AAC7B,yBAAiB,KAAK,SAAS,QAAQ,GAAG;AAAA,MAC1D,WACqB,QAAQ,YAAY,QAAQ,GAAG;AACpC,YAAI,IAAI,CAAC,MAAM,KAAK;AAChB,2BAAiB,KAAK,UAAU,GAAG,GAAG,GAAG;AACzC,oBAAU,GAAG,IAAI;AAAA,QACrC,OACqB;AACD,eAAK,KAAK,GAAG,IAAI;AAAA,QACrC;AAAA,MACA;AACY,aAAO;AAAA,IACnB;AACQ,aAAS,UAAU,QAAQ;AACvB,UAAI,OAAO,UAAU,UAAU;AAC3B,YAAI,CAAC,OAAO,KAAK,MAAM;AACnB,gBAAM,IAAI,MAAM,mBAAmB,MAAM,GAAG;AAChD,eAAO,KAAK,MAAM,IAAI,MAAM,EAAE;AAAA,MAC9C;AAAA,IACA;AAAA,EACA,CAAK;AACD,SAAO;AACP,WAAS,iBAAiB,MAAM,MAAM,KAAK;AACvC,QAAI,SAAS,UAAa,CAAC,MAAM,MAAM,IAAI;AACvC,YAAM,SAAS,GAAG;AAAA,EAC9B;AACI,WAAS,SAAS,KAAK;AACnB,WAAO,IAAI,MAAM,cAAc,GAAG,oCAAoC;AAAA,EAC9E;AACA;AACA,QAAA,gBAAwB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"resolve.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;\nconst util_1 = require(\"./util\");\nconst equal = require(\"fast-deep-equal\");\nconst traverse = require(\"json-schema-traverse\");\n// TODO refactor to use keyword definitions\nconst SIMPLE_INLINED = new Set([\n \"type\",\n \"format\",\n \"pattern\",\n \"maxLength\",\n \"minLength\",\n \"maxProperties\",\n \"minProperties\",\n \"maxItems\",\n \"minItems\",\n \"maximum\",\n \"minimum\",\n \"uniqueItems\",\n \"multipleOf\",\n \"required\",\n \"enum\",\n \"const\",\n]);\nfunction inlineRef(schema, limit = true) {\n if (typeof schema == \"boolean\")\n return true;\n if (limit === true)\n return !hasRef(schema);\n if (!limit)\n return false;\n return countKeys(schema) <= limit;\n}\nexports.inlineRef = inlineRef;\nconst REF_KEYWORDS = new Set([\n \"$ref\",\n \"$recursiveRef\",\n \"$recursiveAnchor\",\n \"$dynamicRef\",\n \"$dynamicAnchor\",\n]);\nfunction hasRef(schema) {\n for (const key in schema) {\n if (REF_KEYWORDS.has(key))\n return true;\n const sch = schema[key];\n if (Array.isArray(sch) && sch.some(hasRef))\n return true;\n if (typeof sch == \"object\" && hasRef(sch))\n return true;\n }\n return false;\n}\nfunction countKeys(schema) {\n let count = 0;\n for (const key in schema) {\n if (key === \"$ref\")\n return Infinity;\n count++;\n if (SIMPLE_INLINED.has(key))\n continue;\n if (typeof schema[key] == \"object\") {\n (0, util_1.eachItem)(schema[key], (sch) => (count += countKeys(sch)));\n }\n if (count === Infinity)\n return Infinity;\n }\n return count;\n}\nfunction getFullPath(resolver, id = \"\", normalize) {\n if (normalize !== false)\n id = normalizeId(id);\n const p = resolver.parse(id);\n return _getFullPath(resolver, p);\n}\nexports.getFullPath = getFullPath;\nfunction _getFullPath(resolver, p) {\n const serialized = resolver.serialize(p);\n return serialized.split(\"#\")[0] + \"#\";\n}\nexports._getFullPath = _getFullPath;\nconst TRAILING_SLASH_HASH = /#\\/?$/;\nfunction normalizeId(id) {\n return id ? id.replace(TRAILING_SLASH_HASH, \"\") : \"\";\n}\nexports.normalizeId = normalizeId;\nfunction resolveUrl(resolver, baseId, id) {\n id = normalizeId(id);\n return resolver.resolve(baseId, id);\n}\nexports.resolveUrl = resolveUrl;\nconst ANCHOR = /^[a-z_][-a-z0-9._]*$/i;\nfunction getSchemaRefs(schema, baseId) {\n if (typeof schema == \"boolean\")\n return {};\n const { schemaId, uriResolver } = this.opts;\n const schId = normalizeId(schema[schemaId] || baseId);\n const baseIds = { \"\": schId };\n const pathPrefix = getFullPath(uriResolver, schId, false);\n const localRefs = {};\n const schemaRefs = new Set();\n traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {\n if (parentJsonPtr === undefined)\n return;\n const fullPath = pathPrefix + jsonPtr;\n let innerBaseId = baseIds[parentJsonPtr];\n if (typeof sch[schemaId] == \"string\")\n innerBaseId = addRef.call(this, sch[schemaId]);\n addAnchor.call(this, sch.$anchor);\n addAnchor.call(this, sch.$dynamicAnchor);\n baseIds[jsonPtr] = innerBaseId;\n function addRef(ref) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const _resolve = this.opts.uriResolver.resolve;\n ref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);\n if (schemaRefs.has(ref))\n throw ambiguos(ref);\n schemaRefs.add(ref);\n let schOrRef = this.refs[ref];\n if (typeof schOrRef == \"string\")\n schOrRef = this.refs[schOrRef];\n if (typeof schOrRef == \"object\") {\n checkAmbiguosRef(sch, schOrRef.schema, ref);\n }\n else if (ref !== normalizeId(fullPath)) {\n if (ref[0] === \"#\") {\n checkAmbiguosRef(sch, localRefs[ref], ref);\n localRefs[ref] = sch;\n }\n else {\n this.refs[ref] = fullPath;\n }\n }\n return ref;\n }\n function addAnchor(anchor) {\n if (typeof anchor == \"string\") {\n if (!ANCHOR.test(anchor))\n throw new Error(`invalid anchor \"${anchor}\"`);\n addRef.call(this, `#${anchor}`);\n }\n }\n });\n return localRefs;\n function checkAmbiguosRef(sch1, sch2, ref) {\n if (sch2 !== undefined && !equal(sch1, sch2))\n throw ambiguos(ref);\n }\n function ambiguos(ref) {\n return new Error(`reference \"${ref}\" resolves to more than one schema`);\n }\n}\nexports.getSchemaRefs = getSchemaRefs;\n//# sourceMappingURL=resolve.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,UAAA,gBAAwB,QAAA,aAAqB,QAAA,cAAsB,QAAA,eAAuB,QAAA,cAAsB,QAAA,YAAoB;AACpI,QAAM,SAASA,4BAAA;AACf,QAAM,QAAQC,qBAAA;AACd,QAAM,WAAWC,0BAAA;AAEjB,QAAM,iBAAiB,oBAAI,IAAI;AAAA,IAC3B;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ,CAAC;AACD,WAAS,UAAU,QAAQ,QAAQ,MAAM;AACrC,QAAI,OAAO,UAAU;AACjB,aAAO;AACX,QAAI,UAAU;AACV,aAAO,CAAC,OAAO,MAAM;AACzB,QAAI,CAAC;AACD,aAAO;AACX,WAAO,UAAU,MAAM,KAAK;AAAA,EAChC;AACA,UAAA,YAAoB;AACpB,QAAM,eAAe,oBAAI,IAAI;AAAA,IACzB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ,CAAC;AACD,WAAS,OAAO,QAAQ;AACpB,eAAW,OAAO,QAAQ;AACtB,UAAI,aAAa,IAAI,GAAG;AACpB,eAAO;AACX,YAAM,MAAM,OAAO,GAAG;AACtB,UAAI,MAAM,QAAQ,GAAG,KAAK,IAAI,KAAK,MAAM;AACrC,eAAO;AACX,UAAI,OAAO,OAAO,YAAY,OAAO,GAAG;AACpC,eAAO;AAAA,IACnB;AACI,WAAO;AAAA,EACX;AACA,WAAS,UAAU,QAAQ;AACvB,QA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AAM,MAAM,IAAI;AACvC,cAAM,SAAS,GAAG;AAAA,IAC9B;AACI,aAAS,SAAS,KAAK;AACnB,aAAO,IAAI,MAAM,cAAc,GAAG,oCAAoC;AAAA,IAC9E;AAAA,EACA;AACA,UAAA,gBAAwB;;;","x_google_ignoreList":[0]}
@@ -2,36 +2,42 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a3fe5454-9daa-46e7-9b00-fa069d328d0f", e._sentryDebugIdIdentifier = "sentry-dbid-a3fe5454-9daa-46e7-9b00-fa069d328d0f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e506df0f-7d09-409e-9f62-599849037137", e._sentryDebugIdIdentifier = "sentry-dbid-e506df0f-7d09-409e-9f62-599849037137");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as rules } from "../../../../../../../_virtual/rules.js";
10
- Object.defineProperty(rules, "__esModule", { value: true });
11
- rules.getRules = rules.isJSONType = void 0;
12
- const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
13
- const jsonTypes = new Set(_jsonTypes);
14
- function isJSONType(x) {
15
- return typeof x == "string" && jsonTypes.has(x);
16
- }
17
- rules.isJSONType = isJSONType;
18
- function getRules() {
19
- const groups = {
20
- number: { type: "number", rules: [] },
21
- string: { type: "string", rules: [] },
22
- array: { type: "array", rules: [] },
23
- object: { type: "object", rules: [] }
24
- };
25
- return {
26
- types: { ...groups, integer: true, boolean: true, null: true },
27
- rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],
28
- post: { rules: [] },
29
- all: {},
30
- keywords: {}
31
- };
10
+ var hasRequiredRules;
11
+ function requireRules() {
12
+ if (hasRequiredRules) return rules;
13
+ hasRequiredRules = 1;
14
+ Object.defineProperty(rules, "__esModule", { value: true });
15
+ rules.getRules = rules.isJSONType = void 0;
16
+ const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
17
+ const jsonTypes = new Set(_jsonTypes);
18
+ function isJSONType(x) {
19
+ return typeof x == "string" && jsonTypes.has(x);
20
+ }
21
+ rules.isJSONType = isJSONType;
22
+ function getRules() {
23
+ const groups = {
24
+ number: { type: "number", rules: [] },
25
+ string: { type: "string", rules: [] },
26
+ array: { type: "array", rules: [] },
27
+ object: { type: "object", rules: [] }
28
+ };
29
+ return {
30
+ types: { ...groups, integer: true, boolean: true, null: true },
31
+ rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],
32
+ post: { rules: [] },
33
+ all: {},
34
+ keywords: {}
35
+ };
36
+ }
37
+ rules.getRules = getRules;
38
+ return rules;
32
39
  }
33
- rules.getRules = getRules;
34
40
  export {
35
- rules as default
41
+ requireRules as __require
36
42
  };
37
43
  //# sourceMappingURL=rules.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rules.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRules = exports.isJSONType = void 0;\nconst _jsonTypes = [\"string\", \"number\", \"integer\", \"boolean\", \"null\", \"object\", \"array\"];\nconst jsonTypes = new Set(_jsonTypes);\nfunction isJSONType(x) {\n return typeof x == \"string\" && jsonTypes.has(x);\n}\nexports.isJSONType = isJSONType;\nfunction getRules() {\n const groups = {\n number: { type: \"number\", rules: [] },\n string: { type: \"string\", rules: [] },\n array: { type: \"array\", rules: [] },\n object: { type: \"object\", rules: [] },\n };\n return {\n types: { ...groups, integer: true, boolean: true, null: true },\n rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],\n post: { rules: [] },\n all: {},\n keywords: {},\n };\n}\nexports.getRules = getRules;\n//# sourceMappingURL=rules.js.map"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,eAAe,OAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAA,WAAmB,MAAA,aAAqB;AACxC,MAAM,aAAa,CAAC,UAAU,UAAU,WAAW,WAAW,QAAQ,UAAU,OAAO;AACvF,MAAM,YAAY,IAAI,IAAI,UAAU;AACpC,SAAS,WAAW,GAAG;AACnB,SAAO,OAAO,KAAK,YAAY,UAAU,IAAI,CAAC;AAClD;AACA,MAAA,aAAqB;AACrB,SAAS,WAAW;AAChB,QAAM,SAAS;AAAA,IACX,QAAQ,EAAE,MAAM,UAAU,OAAO,CAAA,EAAE;AAAA,IACnC,QAAQ,EAAE,MAAM,UAAU,OAAO,CAAA,EAAE;AAAA,IACnC,OAAO,EAAE,MAAM,SAAS,OAAO,CAAA,EAAE;AAAA,IACjC,QAAQ,EAAE,MAAM,UAAU,OAAO,CAAA,EAAE;AAAA,EAC3C;AACI,SAAO;AAAA,IACH,OAAO,EAAE,GAAG,QAAQ,SAAS,MAAM,SAAS,MAAM,MAAM,KAAI;AAAA,IAC5D,OAAO,CAAC,EAAE,OAAO,CAAA,EAAE,GAAI,OAAO,QAAQ,OAAO,QAAQ,OAAO,OAAO,OAAO,MAAM;AAAA,IAChF,MAAM,EAAE,OAAO,GAAE;AAAA,IACjB,KAAK,CAAA;AAAA,IACL,UAAU,CAAA;AAAA,EAClB;AACA;AACA,MAAA,WAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"rules.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRules = exports.isJSONType = void 0;\nconst _jsonTypes = [\"string\", \"number\", \"integer\", \"boolean\", \"null\", \"object\", \"array\"];\nconst jsonTypes = new Set(_jsonTypes);\nfunction isJSONType(x) {\n return typeof x == \"string\" && jsonTypes.has(x);\n}\nexports.isJSONType = isJSONType;\nfunction getRules() {\n const groups = {\n number: { type: \"number\", rules: [] },\n string: { type: \"string\", rules: [] },\n array: { type: \"array\", rules: [] },\n object: { type: \"object\", rules: [] },\n };\n return {\n types: { ...groups, integer: true, boolean: true, null: true },\n rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],\n post: { rules: [] },\n all: {},\n keywords: {},\n };\n}\nexports.getRules = getRules;\n//# sourceMappingURL=rules.js.map"],"names":[],"mappings":";;;;;;;;;;;;;AACA,SAAO,eAAe,OAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAA,WAAmB,MAAA,aAAqB;AACxC,QAAM,aAAa,CAAC,UAAU,UAAU,WAAW,WAAW,QAAQ,UAAU,OAAO;AACvF,QAAM,YAAY,IAAI,IAAI,UAAU;AACpC,WAAS,WAAW,GAAG;AACnB,WAAO,OAAO,KAAK,YAAY,UAAU,IAAI,CAAC;AAAA,EAClD;AACA,QAAA,aAAqB;AACrB,WAAS,WAAW;AAChB,UAAM,SAAS;AAAA,MACX,QAAQ,EAAE,MAAM,UAAU,OAAO,CAAA,EAAE;AAAA,MACnC,QAAQ,EAAE,MAAM,UAAU,OAAO,CAAA,EAAE;AAAA,MACnC,OAAO,EAAE,MAAM,SAAS,OAAO,CAAA,EAAE;AAAA,MACjC,QAAQ,EAAE,MAAM,UAAU,OAAO,CAAA,EAAE;AAAA;AAEvC,WAAO;AAAA,MACH,OAAO,EAAE,GAAG,QAAQ,SAAS,MAAM,SAAS,MAAM,MAAM,KAAI;AAAA,MAC5D,OAAO,CAAC,EAAE,OAAO,CAAA,EAAE,GAAI,OAAO,QAAQ,OAAO,QAAQ,OAAO,OAAO,OAAO,MAAM;AAAA,MAChF,MAAM,EAAE,OAAO,GAAE;AAAA,MACjB,KAAK,CAAA;AAAA,MACL,UAAU,CAAA;AAAA;EAElB;AACA,QAAA,WAAmB;;;","x_google_ignoreList":[0]}