@spotlightjs/spotlight 4.11.4 → 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 (173) 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/index3.js +3 -3
  9. package/dist/_virtual/index4.js +3 -3
  10. package/dist/_virtual/index5.js +3 -3
  11. package/dist/_virtual/index6.js +3 -3
  12. package/dist/_virtual/index7.js +3 -3
  13. package/dist/_virtual/index8.js +3 -3
  14. package/dist/_virtual/index9.js +3 -3
  15. 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
  16. 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
  17. 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
  18. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +203 -194
  19. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js.map +1 -1
  20. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +47 -47
  21. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js.map +1 -1
  22. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +77 -69
  23. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js.map +1 -1
  24. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +78 -81
  25. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
  26. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js +145 -136
  27. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  28. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +692 -685
  29. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
  30. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +143 -135
  31. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
  32. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +122 -116
  33. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js.map +1 -1
  34. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +216 -214
  35. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
  36. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +43 -35
  37. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js.map +1 -1
  38. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +19 -11
  39. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
  40. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +149 -144
  41. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  42. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +31 -25
  43. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js.map +1 -1
  44. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +164 -160
  45. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js.map +1 -1
  46. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +23 -17
  47. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -1
  48. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +7 -10
  49. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  50. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +174 -173
  51. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
  52. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +5 -7
  53. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  54. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +21 -28
  55. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  56. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +11 -15
  57. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  58. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +5 -7
  59. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  60. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +571 -570
  61. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
  62. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js +3 -17
  63. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js.map +1 -1
  64. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +4 -236
  65. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -1
  66. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +16 -7
  67. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js.map +1 -1
  68. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +27 -18
  69. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
  70. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +16 -7
  71. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js.map +1 -1
  72. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
  73. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +55 -48
  74. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
  75. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +104 -99
  76. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
  77. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +30 -22
  78. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -1
  79. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +20 -12
  80. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -1
  81. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -88
  82. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
  83. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +94 -88
  84. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
  85. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +71 -64
  86. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
  87. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +67 -74
  88. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -1
  89. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +60 -54
  90. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
  91. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +41 -36
  92. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -1
  93. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +34 -26
  94. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
  95. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -53
  96. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
  97. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +73 -67
  98. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
  99. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +20 -12
  100. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -1
  101. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +61 -55
  102. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  103. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +46 -39
  104. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -1
  105. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +21 -13
  106. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -1
  107. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +132 -129
  108. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
  109. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +17 -8
  110. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -1
  111. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +27 -20
  112. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -1
  113. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +121 -118
  114. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
  115. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -100
  116. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  117. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +15 -9
  118. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
  119. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +30 -26
  120. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -1
  121. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +84 -76
  122. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
  123. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +16 -8
  124. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -1
  125. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +24 -18
  126. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -1
  127. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +33 -27
  128. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
  129. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +53 -47
  130. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
  131. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +52 -53
  132. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -1
  133. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +32 -24
  134. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -1
  135. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +37 -31
  136. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -1
  137. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +35 -27
  138. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -1
  139. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +32 -24
  140. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
  141. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +31 -23
  142. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -1
  143. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +41 -35
  144. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -1
  145. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +80 -74
  146. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
  147. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +71 -66
  148. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -1
  149. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +34 -27
  150. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -1
  151. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js +250 -245
  152. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -1
  153. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js +201 -175
  154. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js.map +1 -1
  155. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js +267 -259
  156. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -1
  157. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +83 -78
  158. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js.map +1 -1
  159. 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
  160. 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
  161. package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js +1 -1
  162. package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js.map +1 -1
  163. package/dist/sentry-config.js +2 -2
  164. package/dist/server/cli/run.js +2 -2
  165. package/dist/server/cli.js +2 -2
  166. package/dist/server/mcp/mcp.js +2 -2
  167. package/dist/ui/assets/index.js +61 -70
  168. package/dist/ui/assets/index2.js +1 -1
  169. package/dist/ui/assets/instrumentation.js +18 -18
  170. package/dist/ui/assets/main.css +1 -1
  171. package/dist/ui/assets/main.js +1 -1
  172. package/dist/ui/assets/serverTimingMeta.js +23 -30
  173. package/package.json +4 -4
@@ -2,176 +2,180 @@
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] = "01118070-ebce-46d1-841f-49a310a162e0", e._sentryDebugIdIdentifier = "sentry-dbid-01118070-ebce-46d1-841f-49a310a162e0");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1d7c199b-3c5f-4de7-8a6c-4f9fa0d9cf27", e._sentryDebugIdIdentifier = "sentry-dbid-1d7c199b-3c5f-4de7-8a6c-4f9fa0d9cf27");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as util } from "../../../../../../../_virtual/util.js";
10
- import "./codegen/index.js";
11
- import "./codegen/code.js";
12
- import { __exports as codegen } from "../../../../../../../_virtual/index.js";
13
- import { __exports as code } from "../../../../../../../_virtual/code.js";
14
- Object.defineProperty(util, "__esModule", { value: true });
15
- util.checkStrictMode = util.getErrorPath = util.Type = util.useFunc = util.setEvaluated = util.evaluatedPropsToName = util.mergeEvaluated = util.eachItem = util.unescapeJsonPointer = util.escapeJsonPointer = util.escapeFragment = util.unescapeFragment = util.schemaRefOrVal = util.schemaHasRulesButRef = util.schemaHasRules = util.checkUnknownRules = util.alwaysValidSchema = util.toHash = void 0;
16
- const codegen_1 = codegen;
17
- const code_1 = code;
18
- function toHash(arr) {
19
- const hash = {};
20
- for (const item of arr)
21
- hash[item] = true;
22
- return hash;
23
- }
24
- util.toHash = toHash;
25
- function alwaysValidSchema(it, schema) {
26
- if (typeof schema == "boolean")
27
- return schema;
28
- if (Object.keys(schema).length === 0)
29
- return true;
30
- checkUnknownRules(it, schema);
31
- return !schemaHasRules(schema, it.self.RULES.all);
32
- }
33
- util.alwaysValidSchema = alwaysValidSchema;
34
- function checkUnknownRules(it, schema = it.schema) {
35
- const { opts, self: self2 } = it;
36
- if (!opts.strictSchema)
37
- return;
38
- if (typeof schema === "boolean")
39
- return;
40
- const rules = self2.RULES.keywords;
41
- for (const key in schema) {
42
- if (!rules[key])
43
- checkStrictMode(it, `unknown keyword: "${key}"`);
10
+ import { __require as requireCodegen } from "./codegen/index.js";
11
+ import { __require as requireCode } from "./codegen/code.js";
12
+ var hasRequiredUtil;
13
+ function requireUtil() {
14
+ if (hasRequiredUtil) return util;
15
+ hasRequiredUtil = 1;
16
+ Object.defineProperty(util, "__esModule", { value: true });
17
+ util.checkStrictMode = util.getErrorPath = util.Type = util.useFunc = util.setEvaluated = util.evaluatedPropsToName = util.mergeEvaluated = util.eachItem = util.unescapeJsonPointer = util.escapeJsonPointer = util.escapeFragment = util.unescapeFragment = util.schemaRefOrVal = util.schemaHasRulesButRef = util.schemaHasRules = util.checkUnknownRules = util.alwaysValidSchema = util.toHash = void 0;
18
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
19
+ const code_1 = /* @__PURE__ */ requireCode();
20
+ function toHash(arr) {
21
+ const hash = {};
22
+ for (const item of arr)
23
+ hash[item] = true;
24
+ return hash;
44
25
  }
45
- }
46
- util.checkUnknownRules = checkUnknownRules;
47
- function schemaHasRules(schema, rules) {
48
- if (typeof schema == "boolean")
49
- return !schema;
50
- for (const key in schema)
51
- if (rules[key])
52
- return true;
53
- return false;
54
- }
55
- util.schemaHasRules = schemaHasRules;
56
- function schemaHasRulesButRef(schema, RULES) {
57
- if (typeof schema == "boolean")
58
- return !schema;
59
- for (const key in schema)
60
- if (key !== "$ref" && RULES.all[key])
61
- return true;
62
- return false;
63
- }
64
- util.schemaHasRulesButRef = schemaHasRulesButRef;
65
- function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {
66
- if (!$data) {
67
- if (typeof schema == "number" || typeof schema == "boolean")
26
+ util.toHash = toHash;
27
+ function alwaysValidSchema(it, schema) {
28
+ if (typeof schema == "boolean")
68
29
  return schema;
69
- if (typeof schema == "string")
70
- return (0, codegen_1._)`${schema}`;
30
+ if (Object.keys(schema).length === 0)
31
+ return true;
32
+ checkUnknownRules(it, schema);
33
+ return !schemaHasRules(schema, it.self.RULES.all);
71
34
  }
72
- return (0, codegen_1._)`${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;
73
- }
74
- util.schemaRefOrVal = schemaRefOrVal;
75
- function unescapeFragment(str) {
76
- return unescapeJsonPointer(decodeURIComponent(str));
77
- }
78
- util.unescapeFragment = unescapeFragment;
79
- function escapeFragment(str) {
80
- return encodeURIComponent(escapeJsonPointer(str));
81
- }
82
- util.escapeFragment = escapeFragment;
83
- function escapeJsonPointer(str) {
84
- if (typeof str == "number")
85
- return `${str}`;
86
- return str.replace(/~/g, "~0").replace(/\//g, "~1");
87
- }
88
- util.escapeJsonPointer = escapeJsonPointer;
89
- function unescapeJsonPointer(str) {
90
- return str.replace(/~1/g, "/").replace(/~0/g, "~");
91
- }
92
- util.unescapeJsonPointer = unescapeJsonPointer;
93
- function eachItem(xs, f) {
94
- if (Array.isArray(xs)) {
95
- for (const x of xs)
96
- f(x);
97
- } else {
98
- f(xs);
35
+ util.alwaysValidSchema = alwaysValidSchema;
36
+ function checkUnknownRules(it, schema = it.schema) {
37
+ const { opts, self: self2 } = it;
38
+ if (!opts.strictSchema)
39
+ return;
40
+ if (typeof schema === "boolean")
41
+ return;
42
+ const rules = self2.RULES.keywords;
43
+ for (const key in schema) {
44
+ if (!rules[key])
45
+ checkStrictMode(it, `unknown keyword: "${key}"`);
46
+ }
99
47
  }
100
- }
101
- util.eachItem = eachItem;
102
- function makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName }) {
103
- return (gen, from, to, toName) => {
104
- const res = to === void 0 ? from : to instanceof codegen_1.Name ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to) : from instanceof codegen_1.Name ? (mergeToName(gen, to, from), from) : mergeValues(from, to);
105
- return toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;
106
- };
107
- }
108
- util.mergeEvaluated = {
109
- props: makeMergeEvaluated({
110
- mergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => {
111
- gen.if((0, codegen_1._)`${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._)`${to} || {}`).code((0, codegen_1._)`Object.assign(${to}, ${from})`));
112
- }),
113
- mergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => {
114
- if (from === true) {
115
- gen.assign(to, true);
116
- } else {
117
- gen.assign(to, (0, codegen_1._)`${to} || {}`);
118
- setEvaluated(gen, to, from);
119
- }
48
+ util.checkUnknownRules = checkUnknownRules;
49
+ function schemaHasRules(schema, rules) {
50
+ if (typeof schema == "boolean")
51
+ return !schema;
52
+ for (const key in schema)
53
+ if (rules[key])
54
+ return true;
55
+ return false;
56
+ }
57
+ util.schemaHasRules = schemaHasRules;
58
+ function schemaHasRulesButRef(schema, RULES) {
59
+ if (typeof schema == "boolean")
60
+ return !schema;
61
+ for (const key in schema)
62
+ if (key !== "$ref" && RULES.all[key])
63
+ return true;
64
+ return false;
65
+ }
66
+ util.schemaHasRulesButRef = schemaHasRulesButRef;
67
+ function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {
68
+ if (!$data) {
69
+ if (typeof schema == "number" || typeof schema == "boolean")
70
+ return schema;
71
+ if (typeof schema == "string")
72
+ return (0, codegen_1._)`${schema}`;
73
+ }
74
+ return (0, codegen_1._)`${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;
75
+ }
76
+ util.schemaRefOrVal = schemaRefOrVal;
77
+ function unescapeFragment(str) {
78
+ return unescapeJsonPointer(decodeURIComponent(str));
79
+ }
80
+ util.unescapeFragment = unescapeFragment;
81
+ function escapeFragment(str) {
82
+ return encodeURIComponent(escapeJsonPointer(str));
83
+ }
84
+ util.escapeFragment = escapeFragment;
85
+ function escapeJsonPointer(str) {
86
+ if (typeof str == "number")
87
+ return `${str}`;
88
+ return str.replace(/~/g, "~0").replace(/\//g, "~1");
89
+ }
90
+ util.escapeJsonPointer = escapeJsonPointer;
91
+ function unescapeJsonPointer(str) {
92
+ return str.replace(/~1/g, "/").replace(/~0/g, "~");
93
+ }
94
+ util.unescapeJsonPointer = unescapeJsonPointer;
95
+ function eachItem(xs, f) {
96
+ if (Array.isArray(xs)) {
97
+ for (const x of xs)
98
+ f(x);
99
+ } else {
100
+ f(xs);
101
+ }
102
+ }
103
+ util.eachItem = eachItem;
104
+ function makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName }) {
105
+ return (gen, from, to, toName) => {
106
+ const res = to === void 0 ? from : to instanceof codegen_1.Name ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to) : from instanceof codegen_1.Name ? (mergeToName(gen, to, from), from) : mergeValues(from, to);
107
+ return toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;
108
+ };
109
+ }
110
+ util.mergeEvaluated = {
111
+ props: makeMergeEvaluated({
112
+ mergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => {
113
+ gen.if((0, codegen_1._)`${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._)`${to} || {}`).code((0, codegen_1._)`Object.assign(${to}, ${from})`));
114
+ }),
115
+ mergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => {
116
+ if (from === true) {
117
+ gen.assign(to, true);
118
+ } else {
119
+ gen.assign(to, (0, codegen_1._)`${to} || {}`);
120
+ setEvaluated(gen, to, from);
121
+ }
122
+ }),
123
+ mergeValues: (from, to) => from === true ? true : { ...from, ...to },
124
+ resultToName: evaluatedPropsToName
120
125
  }),
121
- mergeValues: (from, to) => from === true ? true : { ...from, ...to },
122
- resultToName: evaluatedPropsToName
123
- }),
124
- items: makeMergeEvaluated({
125
- mergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._)`${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),
126
- mergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._)`${to} > ${from} ? ${to} : ${from}`)),
127
- mergeValues: (from, to) => from === true ? true : Math.max(from, to),
128
- resultToName: (gen, items) => gen.var("items", items)
129
- })
130
- };
131
- function evaluatedPropsToName(gen, ps) {
132
- if (ps === true)
133
- return gen.var("props", true);
134
- const props = gen.var("props", (0, codegen_1._)`{}`);
135
- if (ps !== void 0)
136
- setEvaluated(gen, props, ps);
137
- return props;
138
- }
139
- util.evaluatedPropsToName = evaluatedPropsToName;
140
- function setEvaluated(gen, props, ps) {
141
- Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._)`${props}${(0, codegen_1.getProperty)(p)}`, true));
142
- }
143
- util.setEvaluated = setEvaluated;
144
- const snippets = {};
145
- function useFunc(gen, f) {
146
- return gen.scopeValue("func", {
147
- ref: f,
148
- code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code))
149
- });
150
- }
151
- util.useFunc = useFunc;
152
- var Type;
153
- (function(Type2) {
154
- Type2[Type2["Num"] = 0] = "Num";
155
- Type2[Type2["Str"] = 1] = "Str";
156
- })(Type || (util.Type = Type = {}));
157
- function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
158
- if (dataProp instanceof codegen_1.Name) {
159
- const isNumber = dataPropType === Type.Num;
160
- return jsPropertySyntax ? isNumber ? (0, codegen_1._)`"[" + ${dataProp} + "]"` : (0, codegen_1._)`"['" + ${dataProp} + "']"` : isNumber ? (0, codegen_1._)`"/" + ${dataProp}` : (0, codegen_1._)`"/" + ${dataProp}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
161
- }
162
- return jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : "/" + escapeJsonPointer(dataProp);
163
- }
164
- util.getErrorPath = getErrorPath;
165
- function checkStrictMode(it, msg, mode = it.opts.strictSchema) {
166
- if (!mode)
167
- return;
168
- msg = `strict mode: ${msg}`;
169
- if (mode === true)
170
- throw new Error(msg);
171
- it.self.logger.warn(msg);
126
+ items: makeMergeEvaluated({
127
+ mergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._)`${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),
128
+ mergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._)`${to} > ${from} ? ${to} : ${from}`)),
129
+ mergeValues: (from, to) => from === true ? true : Math.max(from, to),
130
+ resultToName: (gen, items) => gen.var("items", items)
131
+ })
132
+ };
133
+ function evaluatedPropsToName(gen, ps) {
134
+ if (ps === true)
135
+ return gen.var("props", true);
136
+ const props = gen.var("props", (0, codegen_1._)`{}`);
137
+ if (ps !== void 0)
138
+ setEvaluated(gen, props, ps);
139
+ return props;
140
+ }
141
+ util.evaluatedPropsToName = evaluatedPropsToName;
142
+ function setEvaluated(gen, props, ps) {
143
+ Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._)`${props}${(0, codegen_1.getProperty)(p)}`, true));
144
+ }
145
+ util.setEvaluated = setEvaluated;
146
+ const snippets = {};
147
+ function useFunc(gen, f) {
148
+ return gen.scopeValue("func", {
149
+ ref: f,
150
+ code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code))
151
+ });
152
+ }
153
+ util.useFunc = useFunc;
154
+ var Type;
155
+ (function(Type2) {
156
+ Type2[Type2["Num"] = 0] = "Num";
157
+ Type2[Type2["Str"] = 1] = "Str";
158
+ })(Type || (util.Type = Type = {}));
159
+ function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
160
+ if (dataProp instanceof codegen_1.Name) {
161
+ const isNumber = dataPropType === Type.Num;
162
+ return jsPropertySyntax ? isNumber ? (0, codegen_1._)`"[" + ${dataProp} + "]"` : (0, codegen_1._)`"['" + ${dataProp} + "']"` : isNumber ? (0, codegen_1._)`"/" + ${dataProp}` : (0, codegen_1._)`"/" + ${dataProp}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
163
+ }
164
+ return jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : "/" + escapeJsonPointer(dataProp);
165
+ }
166
+ util.getErrorPath = getErrorPath;
167
+ function checkStrictMode(it, msg, mode = it.opts.strictSchema) {
168
+ if (!mode)
169
+ return;
170
+ msg = `strict mode: ${msg}`;
171
+ if (mode === true)
172
+ throw new Error(msg);
173
+ it.self.logger.warn(msg);
174
+ }
175
+ util.checkStrictMode = checkStrictMode;
176
+ return util;
172
177
  }
173
- util.checkStrictMode = checkStrictMode;
174
178
  export {
175
- util as default
179
+ requireUtil as __require
176
180
  };
177
181
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;\nconst codegen_1 = require(\"./codegen\");\nconst code_1 = require(\"./codegen/code\");\n// TODO refactor to use Set\nfunction toHash(arr) {\n const hash = {};\n for (const item of arr)\n hash[item] = true;\n return hash;\n}\nexports.toHash = toHash;\nfunction alwaysValidSchema(it, schema) {\n if (typeof schema == \"boolean\")\n return schema;\n if (Object.keys(schema).length === 0)\n return true;\n checkUnknownRules(it, schema);\n return !schemaHasRules(schema, it.self.RULES.all);\n}\nexports.alwaysValidSchema = alwaysValidSchema;\nfunction checkUnknownRules(it, schema = it.schema) {\n const { opts, self } = it;\n if (!opts.strictSchema)\n return;\n if (typeof schema === \"boolean\")\n return;\n const rules = self.RULES.keywords;\n for (const key in schema) {\n if (!rules[key])\n checkStrictMode(it, `unknown keyword: \"${key}\"`);\n }\n}\nexports.checkUnknownRules = checkUnknownRules;\nfunction schemaHasRules(schema, rules) {\n if (typeof schema == \"boolean\")\n return !schema;\n for (const key in schema)\n if (rules[key])\n return true;\n return false;\n}\nexports.schemaHasRules = schemaHasRules;\nfunction schemaHasRulesButRef(schema, RULES) {\n if (typeof schema == \"boolean\")\n return !schema;\n for (const key in schema)\n if (key !== \"$ref\" && RULES.all[key])\n return true;\n return false;\n}\nexports.schemaHasRulesButRef = schemaHasRulesButRef;\nfunction schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {\n if (!$data) {\n if (typeof schema == \"number\" || typeof schema == \"boolean\")\n return schema;\n if (typeof schema == \"string\")\n return (0, codegen_1._) `${schema}`;\n }\n return (0, codegen_1._) `${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;\n}\nexports.schemaRefOrVal = schemaRefOrVal;\nfunction unescapeFragment(str) {\n return unescapeJsonPointer(decodeURIComponent(str));\n}\nexports.unescapeFragment = unescapeFragment;\nfunction escapeFragment(str) {\n return encodeURIComponent(escapeJsonPointer(str));\n}\nexports.escapeFragment = escapeFragment;\nfunction escapeJsonPointer(str) {\n if (typeof str == \"number\")\n return `${str}`;\n return str.replace(/~/g, \"~0\").replace(/\\//g, \"~1\");\n}\nexports.escapeJsonPointer = escapeJsonPointer;\nfunction unescapeJsonPointer(str) {\n return str.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n}\nexports.unescapeJsonPointer = unescapeJsonPointer;\nfunction eachItem(xs, f) {\n if (Array.isArray(xs)) {\n for (const x of xs)\n f(x);\n }\n else {\n f(xs);\n }\n}\nexports.eachItem = eachItem;\nfunction makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName, }) {\n return (gen, from, to, toName) => {\n const res = to === undefined\n ? from\n : to instanceof codegen_1.Name\n ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to)\n : from instanceof codegen_1.Name\n ? (mergeToName(gen, to, from), from)\n : mergeValues(from, to);\n return toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;\n };\n}\nexports.mergeEvaluated = {\n props: makeMergeEvaluated({\n mergeNames: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true && ${from} !== undefined`, () => {\n gen.if((0, codegen_1._) `${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._) `${to} || {}`).code((0, codegen_1._) `Object.assign(${to}, ${from})`));\n }),\n mergeToName: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true`, () => {\n if (from === true) {\n gen.assign(to, true);\n }\n else {\n gen.assign(to, (0, codegen_1._) `${to} || {}`);\n setEvaluated(gen, to, from);\n }\n }),\n mergeValues: (from, to) => (from === true ? true : { ...from, ...to }),\n resultToName: evaluatedPropsToName,\n }),\n items: makeMergeEvaluated({\n mergeNames: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._) `${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),\n mergeToName: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._) `${to} > ${from} ? ${to} : ${from}`)),\n mergeValues: (from, to) => (from === true ? true : Math.max(from, to)),\n resultToName: (gen, items) => gen.var(\"items\", items),\n }),\n};\nfunction evaluatedPropsToName(gen, ps) {\n if (ps === true)\n return gen.var(\"props\", true);\n const props = gen.var(\"props\", (0, codegen_1._) `{}`);\n if (ps !== undefined)\n setEvaluated(gen, props, ps);\n return props;\n}\nexports.evaluatedPropsToName = evaluatedPropsToName;\nfunction setEvaluated(gen, props, ps) {\n Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._) `${props}${(0, codegen_1.getProperty)(p)}`, true));\n}\nexports.setEvaluated = setEvaluated;\nconst snippets = {};\nfunction useFunc(gen, f) {\n return gen.scopeValue(\"func\", {\n ref: f,\n code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code)),\n });\n}\nexports.useFunc = useFunc;\nvar Type;\n(function (Type) {\n Type[Type[\"Num\"] = 0] = \"Num\";\n Type[Type[\"Str\"] = 1] = \"Str\";\n})(Type || (exports.Type = Type = {}));\nfunction getErrorPath(dataProp, dataPropType, jsPropertySyntax) {\n // let path\n if (dataProp instanceof codegen_1.Name) {\n const isNumber = dataPropType === Type.Num;\n return jsPropertySyntax\n ? isNumber\n ? (0, codegen_1._) `\"[\" + ${dataProp} + \"]\"`\n : (0, codegen_1._) `\"['\" + ${dataProp} + \"']\"`\n : isNumber\n ? (0, codegen_1._) `\"/\" + ${dataProp}`\n : (0, codegen_1._) `\"/\" + ${dataProp}.replace(/~/g, \"~0\").replace(/\\\\//g, \"~1\")`; // TODO maybe use global escapePointer\n }\n return jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : \"/\" + escapeJsonPointer(dataProp);\n}\nexports.getErrorPath = getErrorPath;\nfunction checkStrictMode(it, msg, mode = it.opts.strictSchema) {\n if (!mode)\n return;\n msg = `strict mode: ${msg}`;\n if (mode === true)\n throw new Error(msg);\n it.self.logger.warn(msg);\n}\nexports.checkStrictMode = checkStrictMode;\n//# sourceMappingURL=util.js.map"],"names":["require$$0","require$$1","self","Type"],"mappings":";;;;;;;;;;;;;AACA,OAAO,eAAe,MAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,KAAA,kBAA0B,KAAA,eAAuB,KAAA,sBAAiC,KAAA,eAAuB,KAAA,uBAA+B,KAAA,iBAAyB,KAAA,sCAAiD,KAAA,oBAA4B,KAAA,iBAAyB,KAAA,mBAA2B,KAAA,6CAAwD,KAAA,iBAAyB,KAAA,oBAA4B,KAAA,kCAA6C;AAC5b,MAAM,YAAYA;AAClB,MAAM,SAASC;AAEf,SAAS,OAAO,KAAK;AACjB,QAAM,OAAO,CAAA;AACb,aAAW,QAAQ;AACf,SAAK,IAAI,IAAI;AACjB,SAAO;AACX;AACA,KAAA,SAAiB;AACjB,SAAS,kBAAkB,IAAI,QAAQ;AACnC,MAAI,OAAO,UAAU;AACjB,WAAO;AACX,MAAI,OAAO,KAAK,MAAM,EAAE,WAAW;AAC/B,WAAO;AACX,oBAAkB,IAAI,MAAM;AAC5B,SAAO,CAAC,eAAe,QAAQ,GAAG,KAAK,MAAM,GAAG;AACpD;AACA,KAAA,oBAA4B;AAC5B,SAAS,kBAAkB,IAAI,SAAS,GAAG,QAAQ;AAC/C,QAAM,EAAE,MAAM,MAAAC,MAAI,IAAK;AACvB,MAAI,CAAC,KAAK;AACN;AACJ,MAAI,OAAO,WAAW;AAClB;AACJ,QAAM,QAAQA,MAAK,MAAM;AACzB,aAAW,OAAO,QAAQ;AACtB,QAAI,CAAC,MAAM,GAAG;AACV,sBAAgB,IAAI,qBAAqB,GA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I,IAAI,OAAO,MAAM,EAAE,IAAI;AAAA,EAC7E,CAAK;AACL;AACA,KAAA,UAAkB;AAClB,IAAI;AAAA,CACH,SAAUC,OAAM;AACb,EAAAA,MAAKA,MAAK,KAAK,IAAI,CAAC,IAAI;AACxB,EAAAA,MAAKA,MAAK,KAAK,IAAI,CAAC,IAAI;AAC5B,GAAG,SAAS,KAAA,OAAe,OAAO,CAAA,EAAG;AACrC,SAAS,aAAa,UAAU,cAAc,kBAAkB;AAE5D,MAAI,oBAAoB,UAAU,MAAM;AACpC,UAAM,WAAW,iBAAiB,KAAK;AACvC,WAAO,mBACD,YACI,GAAI,UAAU,WAAY,QAAQ,YAClC,GAAI,UAAU,YAAa,QAAQ,YACvC,YACI,GAAI,UAAU,WAAY,QAAQ,MAClC,GAAI,UAAU,WAAY,QAAQ;AAAA,EACpD;AACI,SAAO,uBAAuB,UAAU,aAAa,QAAQ,EAAE,aAAa,MAAM,kBAAkB,QAAQ;AAChH;AACA,KAAA,eAAuB;AACvB,SAAS,gBAAgB,IAAI,KAAK,OAAO,GAAG,KAAK,cAAc;AAC3D,MAAI,CAAC;AACD;AACJ,QAAM,gBAAgB,GAAG;AACzB,MAAI,SAAS;AACT,UAAM,IAAI,MAAM,GAAG;AACvB,KAAG,KAAK,OAAO,KAAK,GAAG;AAC3B;AACA,KAAA,kBAA0B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"util.js","sources":["../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;\nconst codegen_1 = require(\"./codegen\");\nconst code_1 = require(\"./codegen/code\");\n// TODO refactor to use Set\nfunction toHash(arr) {\n const hash = {};\n for (const item of arr)\n hash[item] = true;\n return hash;\n}\nexports.toHash = toHash;\nfunction alwaysValidSchema(it, schema) {\n if (typeof schema == \"boolean\")\n return schema;\n if (Object.keys(schema).length === 0)\n return true;\n checkUnknownRules(it, schema);\n return !schemaHasRules(schema, it.self.RULES.all);\n}\nexports.alwaysValidSchema = alwaysValidSchema;\nfunction checkUnknownRules(it, schema = it.schema) {\n const { opts, self } = it;\n if (!opts.strictSchema)\n return;\n if (typeof schema === \"boolean\")\n return;\n const rules = self.RULES.keywords;\n for (const key in schema) {\n if (!rules[key])\n checkStrictMode(it, `unknown keyword: \"${key}\"`);\n }\n}\nexports.checkUnknownRules = checkUnknownRules;\nfunction schemaHasRules(schema, rules) {\n if (typeof schema == \"boolean\")\n return !schema;\n for (const key in schema)\n if (rules[key])\n return true;\n return false;\n}\nexports.schemaHasRules = schemaHasRules;\nfunction schemaHasRulesButRef(schema, RULES) {\n if (typeof schema == \"boolean\")\n return !schema;\n for (const key in schema)\n if (key !== \"$ref\" && RULES.all[key])\n return true;\n return false;\n}\nexports.schemaHasRulesButRef = schemaHasRulesButRef;\nfunction schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {\n if (!$data) {\n if (typeof schema == \"number\" || typeof schema == \"boolean\")\n return schema;\n if (typeof schema == \"string\")\n return (0, codegen_1._) `${schema}`;\n }\n return (0, codegen_1._) `${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;\n}\nexports.schemaRefOrVal = schemaRefOrVal;\nfunction unescapeFragment(str) {\n return unescapeJsonPointer(decodeURIComponent(str));\n}\nexports.unescapeFragment = unescapeFragment;\nfunction escapeFragment(str) {\n return encodeURIComponent(escapeJsonPointer(str));\n}\nexports.escapeFragment = escapeFragment;\nfunction escapeJsonPointer(str) {\n if (typeof str == \"number\")\n return `${str}`;\n return str.replace(/~/g, \"~0\").replace(/\\//g, \"~1\");\n}\nexports.escapeJsonPointer = escapeJsonPointer;\nfunction unescapeJsonPointer(str) {\n return str.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n}\nexports.unescapeJsonPointer = unescapeJsonPointer;\nfunction eachItem(xs, f) {\n if (Array.isArray(xs)) {\n for (const x of xs)\n f(x);\n }\n else {\n f(xs);\n }\n}\nexports.eachItem = eachItem;\nfunction makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName, }) {\n return (gen, from, to, toName) => {\n const res = to === undefined\n ? from\n : to instanceof codegen_1.Name\n ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to)\n : from instanceof codegen_1.Name\n ? (mergeToName(gen, to, from), from)\n : mergeValues(from, to);\n return toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;\n };\n}\nexports.mergeEvaluated = {\n props: makeMergeEvaluated({\n mergeNames: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true && ${from} !== undefined`, () => {\n gen.if((0, codegen_1._) `${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._) `${to} || {}`).code((0, codegen_1._) `Object.assign(${to}, ${from})`));\n }),\n mergeToName: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true`, () => {\n if (from === true) {\n gen.assign(to, true);\n }\n else {\n gen.assign(to, (0, codegen_1._) `${to} || {}`);\n setEvaluated(gen, to, from);\n }\n }),\n mergeValues: (from, to) => (from === true ? true : { ...from, ...to }),\n resultToName: evaluatedPropsToName,\n }),\n items: makeMergeEvaluated({\n mergeNames: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._) `${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),\n mergeToName: (gen, from, to) => gen.if((0, codegen_1._) `${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._) `${to} > ${from} ? ${to} : ${from}`)),\n mergeValues: (from, to) => (from === true ? true : Math.max(from, to)),\n resultToName: (gen, items) => gen.var(\"items\", items),\n }),\n};\nfunction evaluatedPropsToName(gen, ps) {\n if (ps === true)\n return gen.var(\"props\", true);\n const props = gen.var(\"props\", (0, codegen_1._) `{}`);\n if (ps !== undefined)\n setEvaluated(gen, props, ps);\n return props;\n}\nexports.evaluatedPropsToName = evaluatedPropsToName;\nfunction setEvaluated(gen, props, ps) {\n Object.keys(ps).forEach((p) => gen.assign((0, codegen_1._) `${props}${(0, codegen_1.getProperty)(p)}`, true));\n}\nexports.setEvaluated = setEvaluated;\nconst snippets = {};\nfunction useFunc(gen, f) {\n return gen.scopeValue(\"func\", {\n ref: f,\n code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code)),\n });\n}\nexports.useFunc = useFunc;\nvar Type;\n(function (Type) {\n Type[Type[\"Num\"] = 0] = \"Num\";\n Type[Type[\"Str\"] = 1] = \"Str\";\n})(Type || (exports.Type = Type = {}));\nfunction getErrorPath(dataProp, dataPropType, jsPropertySyntax) {\n // let path\n if (dataProp instanceof codegen_1.Name) {\n const isNumber = dataPropType === Type.Num;\n return jsPropertySyntax\n ? isNumber\n ? (0, codegen_1._) `\"[\" + ${dataProp} + \"]\"`\n : (0, codegen_1._) `\"['\" + ${dataProp} + \"']\"`\n : isNumber\n ? (0, codegen_1._) `\"/\" + ${dataProp}`\n : (0, codegen_1._) `\"/\" + ${dataProp}.replace(/~/g, \"~0\").replace(/\\\\//g, \"~1\")`; // TODO maybe use global escapePointer\n }\n return jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : \"/\" + escapeJsonPointer(dataProp);\n}\nexports.getErrorPath = getErrorPath;\nfunction checkStrictMode(it, msg, mode = it.opts.strictSchema) {\n if (!mode)\n return;\n msg = `strict mode: ${msg}`;\n if (mode === true)\n throw new Error(msg);\n it.self.logger.warn(msg);\n}\nexports.checkStrictMode = checkStrictMode;\n//# sourceMappingURL=util.js.map"],"names":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,MAAK,KAAK,IAAI,CAAC,IAAI;AACxB,IAAAA,MAAKA,MAAK,KAAK,IAAI,CAAC,IAAI;AAAA,EAC5B,GAAG,SAAS,KAAA,OAAe,OAAO,CAAA,EAAG;AACrC,WAAS,aAAa,UAAU,cAAc,kBAAkB;AAE5D,QAAI,oBAAoB,UAAU,MAAM;AACpC,YAAM,WAAW,iBAAiB,KAAK;AACvC,aAAO,mBACD,YACI,GAAI,UAAU,WAAY,QAAQ,YAClC,GAAI,UAAU,YAAa,QAAQ,YACvC,YACI,GAAI,UAAU,WAAY,QAAQ,MAClC,GAAI,UAAU,WAAY,QAAQ;AAAA,IACpD;AACI,WAAO,uBAAuB,UAAU,aAAa,QAAQ,EAAE,aAAa,MAAM,kBAAkB,QAAQ;AAAA,EAChH;AACA,OAAA,eAAuB;AACvB,WAAS,gBAAgB,IAAI,KAAK,OAAO,GAAG,KAAK,cAAc;AAC3D,QAAI,CAAC;AACD;AACJ,UAAM,gBAAgB,GAAG;AACzB,QAAI,SAAS;AACT,YAAM,IAAI,MAAM,GAAG;AACvB,OAAG,KAAK,OAAO,KAAK,GAAG;AAAA,EAC3B;AACA,OAAA,kBAA0B;;;","x_google_ignoreList":[0]}
@@ -2,28 +2,34 @@
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] = "c8c61945-980a-40a8-b080-9614ec3c56b9", e._sentryDebugIdIdentifier = "sentry-dbid-c8c61945-980a-40a8-b080-9614ec3c56b9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "08514435-7cc1-4615-943c-5cf2bc82d188", e._sentryDebugIdIdentifier = "sentry-dbid-08514435-7cc1-4615-943c-5cf2bc82d188");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as applicability } from "../../../../../../../../_virtual/applicability.js";
10
- Object.defineProperty(applicability, "__esModule", { value: true });
11
- applicability.shouldUseRule = applicability.shouldUseGroup = applicability.schemaHasRulesForType = void 0;
12
- function schemaHasRulesForType({ schema, self: self2 }, type) {
13
- const group = self2.RULES.types[type];
14
- return group && group !== true && shouldUseGroup(schema, group);
15
- }
16
- applicability.schemaHasRulesForType = schemaHasRulesForType;
17
- function shouldUseGroup(schema, group) {
18
- return group.rules.some((rule) => shouldUseRule(schema, rule));
19
- }
20
- applicability.shouldUseGroup = shouldUseGroup;
21
- function shouldUseRule(schema, rule) {
22
- var _a;
23
- return schema[rule.keyword] !== void 0 || ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== void 0));
10
+ var hasRequiredApplicability;
11
+ function requireApplicability() {
12
+ if (hasRequiredApplicability) return applicability;
13
+ hasRequiredApplicability = 1;
14
+ Object.defineProperty(applicability, "__esModule", { value: true });
15
+ applicability.shouldUseRule = applicability.shouldUseGroup = applicability.schemaHasRulesForType = void 0;
16
+ function schemaHasRulesForType({ schema, self: self2 }, type) {
17
+ const group = self2.RULES.types[type];
18
+ return group && group !== true && shouldUseGroup(schema, group);
19
+ }
20
+ applicability.schemaHasRulesForType = schemaHasRulesForType;
21
+ function shouldUseGroup(schema, group) {
22
+ return group.rules.some((rule) => shouldUseRule(schema, rule));
23
+ }
24
+ applicability.shouldUseGroup = shouldUseGroup;
25
+ function shouldUseRule(schema, rule) {
26
+ var _a;
27
+ return schema[rule.keyword] !== void 0 || ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== void 0));
28
+ }
29
+ applicability.shouldUseRule = shouldUseRule;
30
+ return applicability;
24
31
  }
25
- applicability.shouldUseRule = shouldUseRule;
26
32
  export {
27
- applicability as default
33
+ requireApplicability as __require
28
34
  };
29
35
  //# sourceMappingURL=applicability.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"applicability.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;\nfunction schemaHasRulesForType({ schema, self }, type) {\n const group = self.RULES.types[type];\n return group && group !== true && shouldUseGroup(schema, group);\n}\nexports.schemaHasRulesForType = schemaHasRulesForType;\nfunction shouldUseGroup(schema, group) {\n return group.rules.some((rule) => shouldUseRule(schema, rule));\n}\nexports.shouldUseGroup = shouldUseGroup;\nfunction shouldUseRule(schema, rule) {\n var _a;\n return (schema[rule.keyword] !== undefined ||\n ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== undefined)));\n}\nexports.shouldUseRule = shouldUseRule;\n//# sourceMappingURL=applicability.js.map"],"names":["self"],"mappings":";;;;;;;;;AACA,OAAO,eAAe,eAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,cAAA,gBAAwB,cAAA,uDAAyD;AACjF,SAAS,sBAAsB,EAAE,QAAQ,MAAAA,MAAI,GAAI,MAAM;AACnD,QAAM,QAAQA,MAAK,MAAM,MAAM,IAAI;AACnC,SAAO,SAAS,UAAU,QAAQ,eAAe,QAAQ,KAAK;AAClE;AACA,cAAA,wBAAgC;AAChC,SAAS,eAAe,QAAQ,OAAO;AACnC,SAAO,MAAM,MAAM,KAAK,CAAC,SAAS,cAAc,QAAQ,IAAI,CAAC;AACjE;AACA,cAAA,iBAAyB;AACzB,SAAS,cAAc,QAAQ,MAAM;AACjC,MAAI;AACJ,SAAQ,OAAO,KAAK,OAAO,MAAM,YAC3B,KAAK,KAAK,WAAW,gBAAgB,QAAQ,OAAO,SAAS,SAAS,GAAG,KAAK,CAAC,QAAQ,OAAO,GAAG,MAAM,MAAS;AAC1H;AACA,cAAA,gBAAwB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"applicability.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;\nfunction schemaHasRulesForType({ schema, self }, type) {\n const group = self.RULES.types[type];\n return group && group !== true && shouldUseGroup(schema, group);\n}\nexports.schemaHasRulesForType = schemaHasRulesForType;\nfunction shouldUseGroup(schema, group) {\n return group.rules.some((rule) => shouldUseRule(schema, rule));\n}\nexports.shouldUseGroup = shouldUseGroup;\nfunction shouldUseRule(schema, rule) {\n var _a;\n return (schema[rule.keyword] !== undefined ||\n ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== undefined)));\n}\nexports.shouldUseRule = shouldUseRule;\n//# sourceMappingURL=applicability.js.map"],"names":["self"],"mappings":";;;;;;;;;;;;;AACA,SAAO,eAAe,eAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,gBAAA,gBAAwB,cAAA,iBAAyB,cAAA,wBAAgC;AACjF,WAAS,sBAAsB,EAAE,QAAQ,MAAAA,MAAI,GAAI,MAAM;AACnD,UAAM,QAAQA,MAAK,MAAM,MAAM,IAAI;AACnC,WAAO,SAAS,UAAU,QAAQ,eAAe,QAAQ,KAAK;AAAA,EAClE;AACA,gBAAA,wBAAgC;AAChC,WAAS,eAAe,QAAQ,OAAO;AACnC,WAAO,MAAM,MAAM,KAAK,CAAC,SAAS,cAAc,QAAQ,IAAI,CAAC;AAAA,EACjE;AACA,gBAAA,iBAAyB;AACzB,WAAS,cAAc,QAAQ,MAAM;AACjC,QAAI;AACJ,WAAQ,OAAO,KAAK,OAAO,MAAM,YAC3B,KAAK,KAAK,WAAW,gBAAgB,QAAQ,OAAO,SAAS,SAAS,GAAG,KAAK,CAAC,QAAQ,OAAO,GAAG,MAAM,MAAS;AAAA,EAC1H;AACA,gBAAA,gBAAwB;;;","x_google_ignoreList":[0]}
@@ -2,26 +2,23 @@
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] = "6e8026d9-d192-460f-bd92-6d263502bec1", e._sentryDebugIdIdentifier = "sentry-dbid-6e8026d9-d192-460f-bd92-6d263502bec1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f9e6e3ee-0df5-425a-a04a-969f1b1177d5", e._sentryDebugIdIdentifier = "sentry-dbid-f9e6e3ee-0df5-425a-a04a-969f1b1177d5");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as boolSchema } from "../../../../../../../../_virtual/boolSchema.js";
10
- import "../errors.js";
11
- import "../codegen/index.js";
12
- import "../names.js";
13
- import { __exports as names } from "../../../../../../../../_virtual/names.js";
14
- import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
15
- import { __exports as errors } from "../../../../../../../../_virtual/errors.js";
10
+ import { __require as requireErrors } from "../errors.js";
11
+ import { __require as requireCodegen } from "../codegen/index.js";
12
+ import { __require as requireNames } from "../names.js";
16
13
  var hasRequiredBoolSchema;
17
14
  function requireBoolSchema() {
18
15
  if (hasRequiredBoolSchema) return boolSchema;
19
16
  hasRequiredBoolSchema = 1;
20
17
  Object.defineProperty(boolSchema, "__esModule", { value: true });
21
18
  boolSchema.boolOrEmptySchema = boolSchema.topBoolOrEmptySchema = void 0;
22
- const errors_1 = errors;
23
- const codegen_1 = codegen;
24
- const names_1 = names;
19
+ const errors_1 = /* @__PURE__ */ requireErrors();
20
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
21
+ const names_1 = /* @__PURE__ */ requireNames();
25
22
  const boolError = {
26
23
  message: "boolean schema is false"
27
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"boolSchema.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\nconst errors_1 = require(\"../errors\");\nconst codegen_1 = require(\"../codegen\");\nconst names_1 = require(\"../names\");\nconst boolError = {\n message: \"boolean schema is false\",\n};\nfunction topBoolOrEmptySchema(it) {\n const { gen, schema, validateName } = it;\n if (schema === false) {\n falseSchemaError(it, false);\n }\n else if (typeof schema == \"object\" && schema.$async === true) {\n gen.return(names_1.default.data);\n }\n else {\n gen.assign((0, codegen_1._) `${validateName}.errors`, null);\n gen.return(true);\n }\n}\nexports.topBoolOrEmptySchema = topBoolOrEmptySchema;\nfunction boolOrEmptySchema(it, valid) {\n const { gen, schema } = it;\n if (schema === false) {\n gen.var(valid, false); // TODO var\n falseSchemaError(it);\n }\n else {\n gen.var(valid, true); // TODO var\n }\n}\nexports.boolOrEmptySchema = boolOrEmptySchema;\nfunction falseSchemaError(it, overrideAllErrors) {\n const { gen, data } = it;\n // TODO maybe some other interface should be used for non-keyword validation errors...\n const cxt = {\n gen,\n keyword: \"false schema\",\n data,\n schema: false,\n schemaCode: false,\n schemaValue: false,\n params: {},\n it,\n };\n (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);\n}\n//# sourceMappingURL=boolSchema.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,aAAA,oBAA4B,WAAA,uBAA+B;AAC3D,QAAM,WAAWA;AACjB,QAAM,YAAYC;AAClB,QAAM,UAAUC;AAChB,QAAM,YAAY;AAAA,IACd,SAAS;AAAA,EACb;AACA,WAAS,qBAAqB,IAAI;AAC9B,UAAM,EAAE,KAAK,QAAQ,aAAY,IAAK;AACtC,QAAI,WAAW,OAAO;AAClB,uBAAiB,IAAI,KAAK;AAAA,IAClC,WACa,OAAO,UAAU,YAAY,OAAO,WAAW,MAAM;AAC1D,UAAI,OAAO,QAAQ,QAAQ,IAAI;AAAA,IACvC,OACS;AACD,UAAI,QAAO,GAAI,UAAU,KAAM,YAAY,WAAW,IAAI;AAC1D,UAAI,OAAO,IAAI;AAAA,IACvB;AAAA,EACA;AACA,aAAA,uBAA+B;AAC/B,WAAS,kBAAkB,IAAI,OAAO;AAClC,UAAM,EAAE,KAAK,OAAM,IAAK;AACxB,QAAI,WAAW,OAAO;AAClB,UAAI,IAAI,OAAO,KAAK;AACpB,uBAAiB,EAAE;AAAA,IAC3B,OACS;AACD,UAAI,IAAI,OAAO,IAAI;AAAA,IAC3B;AAAA,EACA;AACA,aAAA,oBAA4B;AAC5B,WAAS,iBAAiB,IAAI,mBAAmB;AAC7C,UAAM,EAAE,KAAK,KAAI,IAAK;AAEtB,UAAM,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,MACT;AAAA,MACA,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,QAAQ,CAAA;AAAA,MACR;AAAA,IACR;AACI,KAAA,GAAI,SAAS,aAAa,KAAK,WAAW,QAAW,iBAAiB;AAAA,EAC1E;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"boolSchema.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\nconst errors_1 = require(\"../errors\");\nconst codegen_1 = require(\"../codegen\");\nconst names_1 = require(\"../names\");\nconst boolError = {\n message: \"boolean schema is false\",\n};\nfunction topBoolOrEmptySchema(it) {\n const { gen, schema, validateName } = it;\n if (schema === false) {\n falseSchemaError(it, false);\n }\n else if (typeof schema == \"object\" && schema.$async === true) {\n gen.return(names_1.default.data);\n }\n else {\n gen.assign((0, codegen_1._) `${validateName}.errors`, null);\n gen.return(true);\n }\n}\nexports.topBoolOrEmptySchema = topBoolOrEmptySchema;\nfunction boolOrEmptySchema(it, valid) {\n const { gen, schema } = it;\n if (schema === false) {\n gen.var(valid, false); // TODO var\n falseSchemaError(it);\n }\n else {\n gen.var(valid, true); // TODO var\n }\n}\nexports.boolOrEmptySchema = boolOrEmptySchema;\nfunction falseSchemaError(it, overrideAllErrors) {\n const { gen, data } = it;\n // TODO maybe some other interface should be used for non-keyword validation errors...\n const cxt = {\n gen,\n keyword: \"false schema\",\n data,\n schema: false,\n schemaCode: false,\n schemaValue: false,\n params: {},\n it,\n };\n (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);\n}\n//# sourceMappingURL=boolSchema.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,aAAA,oBAA4B,WAAA,uBAA+B;AAC3D,QAAM,WAAWA,8BAAA;AACjB,QAAM,YAAYC,+BAAA;AAClB,QAAM,UAAUC,6BAAA;AAChB,QAAM,YAAY;AAAA,IACd,SAAS;AAAA;AAEb,WAAS,qBAAqB,IAAI;AAC9B,UAAM,EAAE,KAAK,QAAQ,aAAY,IAAK;AACtC,QAAI,WAAW,OAAO;AAClB,uBAAiB,IAAI,KAAK;AAAA,IAClC,WACa,OAAO,UAAU,YAAY,OAAO,WAAW,MAAM;AAC1D,UAAI,OAAO,QAAQ,QAAQ,IAAI;AAAA,IACvC,OACS;AACD,UAAI,QAAO,GAAI,UAAU,KAAM,YAAY,WAAW,IAAI;AAC1D,UAAI,OAAO,IAAI;AAAA,IACvB;AAAA,EACA;AACA,aAAA,uBAA+B;AAC/B,WAAS,kBAAkB,IAAI,OAAO;AAClC,UAAM,EAAE,KAAK,OAAM,IAAK;AACxB,QAAI,WAAW,OAAO;AAClB,UAAI,IAAI,OAAO,KAAK;AACpB,uBAAiB,EAAE;AAAA,IAC3B,OACS;AACD,UAAI,IAAI,OAAO,IAAI;AAAA,IAC3B;AAAA,EACA;AACA,aAAA,oBAA4B;AAC5B,WAAS,iBAAiB,IAAI,mBAAmB;AAC7C,UAAM,EAAE,KAAK,KAAI,IAAK;AAEtB,UAAM,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,MACT;AAAA,MACA,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,QAAQ,CAAA;AAAA,MACR;AAAA;AAEJ,KAAA,GAAI,SAAS,aAAa,KAAK,WAAW,QAAW,iBAAiB;AAAA,EAC1E;;;","x_google_ignoreList":[0]}