@warlock.js/seal 5.31.0 → 5.33.0

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 (273) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/cjs/index.cjs +20 -16
  3. package/cjs/index.cjs.map +1 -1
  4. package/cjs/{object-VTtA-k1a.cjs → object-BoVGJ68E.cjs} +30 -13
  5. package/cjs/object-BoVGJ68E.cjs.map +1 -0
  6. package/cjs/object.cjs +2 -2
  7. package/cjs/{required-methods-chT0TXQS.cjs → required-methods-BJlnLnwa.cjs} +237 -228
  8. package/cjs/required-methods-BJlnLnwa.cjs.map +1 -0
  9. package/cjs/{string-edcPIpcU.cjs → string-CM8x0u2w.cjs} +44 -42
  10. package/cjs/string-CM8x0u2w.cjs.map +1 -0
  11. package/cjs/string.cjs +2 -2
  12. package/esm/config.d.mts +7 -8
  13. package/esm/config.d.mts.map +1 -1
  14. package/esm/factory/index.d.mts +2 -1
  15. package/esm/factory/index.mjs +1 -1
  16. package/esm/factory/validate.d.mts +3 -6
  17. package/esm/factory/validate.d.mts.map +1 -1
  18. package/esm/factory/validators.d.mts +9 -6
  19. package/esm/factory/validators.d.mts.map +1 -1
  20. package/esm/helpers/date-helpers.d.mts +1 -2
  21. package/esm/helpers/date-helpers.d.mts.map +1 -1
  22. package/esm/helpers/file.utils.d.mts +2 -4
  23. package/esm/helpers/file.utils.d.mts.map +1 -1
  24. package/esm/helpers/get-field-value.d.mts +2 -3
  25. package/esm/helpers/get-field-value.d.mts.map +1 -1
  26. package/esm/helpers/get-field-value.mjs +2 -1
  27. package/esm/helpers/get-field-value.mjs.map +1 -1
  28. package/esm/helpers/index.d.mts +6 -0
  29. package/esm/helpers/index.mjs +1 -1
  30. package/esm/helpers/path-helpers.d.mts +1 -2
  31. package/esm/helpers/path-helpers.d.mts.map +1 -1
  32. package/esm/helpers/validation-helpers.d.mts +4 -10
  33. package/esm/helpers/validation-helpers.d.mts.map +1 -1
  34. package/esm/index.d.mts +7 -0
  35. package/esm/mutators/array-mutators.d.mts +6 -7
  36. package/esm/mutators/array-mutators.d.mts.map +1 -1
  37. package/esm/mutators/boolean-mutators.d.mts +3 -4
  38. package/esm/mutators/boolean-mutators.d.mts.map +1 -1
  39. package/esm/mutators/date-mutators.d.mts +18 -19
  40. package/esm/mutators/date-mutators.d.mts.map +1 -1
  41. package/esm/mutators/index.d.mts +8 -0
  42. package/esm/mutators/index.mjs +1 -1
  43. package/esm/mutators/number-mutators.d.mts +10 -11
  44. package/esm/mutators/number-mutators.d.mts.map +1 -1
  45. package/esm/mutators/object-mutators.d.mts +4 -5
  46. package/esm/mutators/object-mutators.d.mts.map +1 -1
  47. package/esm/mutators/object-mutators.mjs +5 -4
  48. package/esm/mutators/object-mutators.mjs.map +1 -1
  49. package/esm/mutators/scalar-mutators.d.mts +2 -3
  50. package/esm/mutators/scalar-mutators.d.mts.map +1 -1
  51. package/esm/mutators/string-mutators.d.mts +37 -38
  52. package/esm/mutators/string-mutators.d.mts.map +1 -1
  53. package/esm/mutators/string-mutators.mjs +3 -1
  54. package/esm/mutators/string-mutators.mjs.map +1 -1
  55. package/esm/object.d.mts +3 -3
  56. package/esm/object.d.mts.map +1 -1
  57. package/esm/plugins/plugin-system.d.mts +11 -9
  58. package/esm/plugins/plugin-system.d.mts.map +1 -1
  59. package/esm/rules/array/array-rules.d.mts +3 -4
  60. package/esm/rules/array/array-rules.d.mts.map +1 -1
  61. package/esm/rules/array/index.d.mts +2 -0
  62. package/esm/rules/array/index.mjs +1 -1
  63. package/esm/rules/color/color-rules.d.mts +8 -9
  64. package/esm/rules/color/color-rules.d.mts.map +1 -1
  65. package/esm/rules/color/index.d.mts +2 -0
  66. package/esm/rules/color/index.mjs +1 -1
  67. package/esm/rules/common/enum.d.mts +5 -6
  68. package/esm/rules/common/enum.d.mts.map +1 -1
  69. package/esm/rules/common/equals-field-rules.d.mts +3 -4
  70. package/esm/rules/common/equals-field-rules.d.mts.map +1 -1
  71. package/esm/rules/common/index.d.mts +7 -0
  72. package/esm/rules/common/index.mjs +1 -1
  73. package/esm/rules/common/instanceof.d.mts +2 -3
  74. package/esm/rules/common/instanceof.d.mts.map +1 -1
  75. package/esm/rules/common/literal.d.mts +2 -3
  76. package/esm/rules/common/literal.d.mts.map +1 -1
  77. package/esm/rules/common/type-rules.d.mts +10 -11
  78. package/esm/rules/common/type-rules.d.mts.map +1 -1
  79. package/esm/rules/common/unknown-key.d.mts +2 -3
  80. package/esm/rules/common/unknown-key.d.mts.map +1 -1
  81. package/esm/rules/conditional/forbidden-if-rules.d.mts +7 -8
  82. package/esm/rules/conditional/forbidden-if-rules.d.mts.map +1 -1
  83. package/esm/rules/conditional/index.d.mts +11 -0
  84. package/esm/rules/conditional/index.mjs +1 -1
  85. package/esm/rules/conditional/present-if-rules.d.mts +6 -7
  86. package/esm/rules/conditional/present-if-rules.d.mts.map +1 -1
  87. package/esm/rules/conditional/present-unless-rules.d.mts +2 -3
  88. package/esm/rules/conditional/present-unless-rules.d.mts.map +1 -1
  89. package/esm/rules/conditional/present-with-rules.d.mts +4 -5
  90. package/esm/rules/conditional/present-with-rules.d.mts.map +1 -1
  91. package/esm/rules/conditional/present-without-rules.d.mts +4 -5
  92. package/esm/rules/conditional/present-without-rules.d.mts.map +1 -1
  93. package/esm/rules/conditional/required-if-rules.d.mts +10 -11
  94. package/esm/rules/conditional/required-if-rules.d.mts.map +1 -1
  95. package/esm/rules/conditional/required-unless-rules.d.mts +2 -3
  96. package/esm/rules/conditional/required-unless-rules.d.mts.map +1 -1
  97. package/esm/rules/conditional/required-when-rule.d.mts +2 -3
  98. package/esm/rules/conditional/required-when-rule.d.mts.map +1 -1
  99. package/esm/rules/conditional/required-with-rules.d.mts +4 -5
  100. package/esm/rules/conditional/required-with-rules.d.mts.map +1 -1
  101. package/esm/rules/conditional/required-without-rules.d.mts +4 -5
  102. package/esm/rules/conditional/required-without-rules.d.mts.map +1 -1
  103. package/esm/rules/core/equal.d.mts +2 -3
  104. package/esm/rules/core/equal.d.mts.map +1 -1
  105. package/esm/rules/core/forbidden.d.mts +2 -3
  106. package/esm/rules/core/forbidden.d.mts.map +1 -1
  107. package/esm/rules/core/index.d.mts +6 -0
  108. package/esm/rules/core/index.mjs +1 -1
  109. package/esm/rules/core/required.d.mts +3 -4
  110. package/esm/rules/core/required.d.mts.map +1 -1
  111. package/esm/rules/core/union.d.mts +2 -3
  112. package/esm/rules/core/union.d.mts.map +1 -1
  113. package/esm/rules/core/when.d.mts +2 -3
  114. package/esm/rules/core/when.d.mts.map +1 -1
  115. package/esm/rules/date/date-comparison-rules.d.mts +6 -7
  116. package/esm/rules/date/date-comparison-rules.d.mts.map +1 -1
  117. package/esm/rules/date/date-day-rules.d.mts +5 -6
  118. package/esm/rules/date/date-day-rules.d.mts.map +1 -1
  119. package/esm/rules/date/date-field-comparison-rules.d.mts +4 -5
  120. package/esm/rules/date/date-field-comparison-rules.d.mts.map +1 -1
  121. package/esm/rules/date/date-field-comparison-rules.mjs +6 -3
  122. package/esm/rules/date/date-field-comparison-rules.mjs.map +1 -1
  123. package/esm/rules/date/date-period-rules.d.mts +16 -16
  124. package/esm/rules/date/date-period-rules.d.mts.map +1 -1
  125. package/esm/rules/date/date-period-rules.mjs +24 -12
  126. package/esm/rules/date/date-period-rules.mjs.map +1 -1
  127. package/esm/rules/date/date-relative-rules.d.mts +4 -5
  128. package/esm/rules/date/date-relative-rules.d.mts.map +1 -1
  129. package/esm/rules/date/date-relative-rules.mjs +3 -3
  130. package/esm/rules/date/date-relative-rules.mjs.map +1 -1
  131. package/esm/rules/date/date-special-rules.d.mts +4 -5
  132. package/esm/rules/date/date-special-rules.d.mts.map +1 -1
  133. package/esm/rules/date/date.d.mts +16 -17
  134. package/esm/rules/date/date.d.mts.map +1 -1
  135. package/esm/rules/date/date.mjs +4 -2
  136. package/esm/rules/date/date.mjs.map +1 -1
  137. package/esm/rules/date/index.d.mts +8 -0
  138. package/esm/rules/date/index.mjs +1 -1
  139. package/esm/rules/file/dimensions.d.mts +5 -6
  140. package/esm/rules/file/dimensions.d.mts.map +1 -1
  141. package/esm/rules/file/file-size.d.mts +3 -4
  142. package/esm/rules/file/file-size.d.mts.map +1 -1
  143. package/esm/rules/file/index.d.mts +3 -0
  144. package/esm/rules/file/index.mjs +1 -1
  145. package/esm/rules/index.d.mts +56 -0
  146. package/esm/rules/index.mjs +1 -1
  147. package/esm/rules/length/index.d.mts +2 -0
  148. package/esm/rules/length/index.mjs +1 -1
  149. package/esm/rules/length/length-rules.d.mts +8 -9
  150. package/esm/rules/length/length-rules.d.mts.map +1 -1
  151. package/esm/rules/number/index.d.mts +2 -0
  152. package/esm/rules/number/index.mjs +1 -1
  153. package/esm/rules/number/number-rules.d.mts +11 -12
  154. package/esm/rules/number/number-rules.d.mts.map +1 -1
  155. package/esm/rules/number/number-rules.mjs +12 -6
  156. package/esm/rules/number/number-rules.mjs.map +1 -1
  157. package/esm/rules/scalar/index.mjs +1 -1
  158. package/esm/rules/string/alpha.d.mts +4 -5
  159. package/esm/rules/string/alpha.d.mts.map +1 -1
  160. package/esm/rules/string/credit-card.d.mts +2 -3
  161. package/esm/rules/string/credit-card.d.mts.map +1 -1
  162. package/esm/rules/string/email.d.mts +2 -3
  163. package/esm/rules/string/email.d.mts.map +1 -1
  164. package/esm/rules/string/id-formats.d.mts +6 -7
  165. package/esm/rules/string/id-formats.d.mts.map +1 -1
  166. package/esm/rules/string/index.d.mts +12 -0
  167. package/esm/rules/string/index.mjs +1 -1
  168. package/esm/rules/string/ip.d.mts +7 -8
  169. package/esm/rules/string/ip.d.mts.map +1 -1
  170. package/esm/rules/string/matches.d.mts +2 -3
  171. package/esm/rules/string/matches.d.mts.map +1 -1
  172. package/esm/rules/string/pattern.d.mts +2 -3
  173. package/esm/rules/string/pattern.d.mts.map +1 -1
  174. package/esm/rules/string/string-comparison.d.mts +5 -6
  175. package/esm/rules/string/string-comparison.d.mts.map +1 -1
  176. package/esm/rules/string/strong-password-rule.d.mts +2 -3
  177. package/esm/rules/string/strong-password-rule.d.mts.map +1 -1
  178. package/esm/rules/string/url.d.mts +2 -3
  179. package/esm/rules/string/url.d.mts.map +1 -1
  180. package/esm/rules/string/without-whitespace.d.mts +2 -3
  181. package/esm/rules/string/without-whitespace.d.mts.map +1 -1
  182. package/esm/standard-schema/index.d.mts +4 -0
  183. package/esm/standard-schema/json-schema.d.mts +5 -7
  184. package/esm/standard-schema/json-schema.d.mts.map +1 -1
  185. package/esm/standard-schema/map-result.d.mts +2 -3
  186. package/esm/standard-schema/map-result.d.mts.map +1 -1
  187. package/esm/standard-schema/types.d.mts +4 -5
  188. package/esm/standard-schema/types.d.mts.map +1 -1
  189. package/esm/string.d.mts +2 -3
  190. package/esm/string.d.mts.map +1 -1
  191. package/esm/types/conditional-types.d.mts +8 -6
  192. package/esm/types/conditional-types.d.mts.map +1 -1
  193. package/esm/types/context-types.d.mts +24 -15
  194. package/esm/types/context-types.d.mts.map +1 -1
  195. package/esm/types/data-transformer-types.d.mts +3 -5
  196. package/esm/types/data-transformer-types.d.mts.map +1 -1
  197. package/esm/types/date-types.d.mts +2 -3
  198. package/esm/types/date-types.d.mts.map +1 -1
  199. package/esm/types/file.types.d.mts +1 -2
  200. package/esm/types/file.types.d.mts.map +1 -1
  201. package/esm/types/index.d.mts +11 -0
  202. package/esm/types/inference-types.d.mts +14 -13
  203. package/esm/types/inference-types.d.mts.map +1 -1
  204. package/esm/types/mutator-types.d.mts +9 -7
  205. package/esm/types/mutator-types.d.mts.map +1 -1
  206. package/esm/types/result-types.d.mts +12 -7
  207. package/esm/types/result-types.d.mts.map +1 -1
  208. package/esm/types/rule-types.d.mts +25 -16
  209. package/esm/types/rule-types.d.mts.map +1 -1
  210. package/esm/types/schema-types.d.mts +1 -3
  211. package/esm/types/schema-types.d.mts.map +1 -1
  212. package/esm/validators/any-validator.d.mts +1 -3
  213. package/esm/validators/any-validator.d.mts.map +1 -1
  214. package/esm/validators/array-validator.d.mts +2 -3
  215. package/esm/validators/array-validator.d.mts.map +1 -1
  216. package/esm/validators/base-validator.d.mts +2 -3
  217. package/esm/validators/base-validator.d.mts.map +1 -1
  218. package/esm/validators/base-validator.mjs +2 -1
  219. package/esm/validators/base-validator.mjs.map +1 -1
  220. package/esm/validators/boolean-validator.d.mts +1 -3
  221. package/esm/validators/boolean-validator.d.mts.map +1 -1
  222. package/esm/validators/computed-validator.d.mts +3 -4
  223. package/esm/validators/computed-validator.d.mts.map +1 -1
  224. package/esm/validators/date-validator.d.mts +2 -3
  225. package/esm/validators/date-validator.d.mts.map +1 -1
  226. package/esm/validators/discriminated-union-validator.d.mts +3 -3
  227. package/esm/validators/discriminated-union-validator.d.mts.map +1 -1
  228. package/esm/validators/float-validator.d.mts +1 -3
  229. package/esm/validators/float-validator.d.mts.map +1 -1
  230. package/esm/validators/index.d.mts +2 -1
  231. package/esm/validators/index.mjs +1 -1
  232. package/esm/validators/instanceof-validator.d.mts +1 -3
  233. package/esm/validators/instanceof-validator.d.mts.map +1 -1
  234. package/esm/validators/int-validator.d.mts +1 -3
  235. package/esm/validators/int-validator.d.mts.map +1 -1
  236. package/esm/validators/lazy-validator.d.mts +2 -3
  237. package/esm/validators/lazy-validator.d.mts.map +1 -1
  238. package/esm/validators/literal-validator.d.mts +1 -3
  239. package/esm/validators/literal-validator.d.mts.map +1 -1
  240. package/esm/validators/managed-validator.d.mts +3 -4
  241. package/esm/validators/managed-validator.d.mts.map +1 -1
  242. package/esm/validators/methods/equality-conditional-methods.d.mts +3 -4
  243. package/esm/validators/methods/equality-conditional-methods.d.mts.map +1 -1
  244. package/esm/validators/methods/forbidden-methods.d.mts +2 -3
  245. package/esm/validators/methods/forbidden-methods.d.mts.map +1 -1
  246. package/esm/validators/methods/present-methods.d.mts +2 -3
  247. package/esm/validators/methods/present-methods.d.mts.map +1 -1
  248. package/esm/validators/methods/required-methods.d.mts +3 -4
  249. package/esm/validators/methods/required-methods.d.mts.map +1 -1
  250. package/esm/validators/number-validator.d.mts +1 -3
  251. package/esm/validators/number-validator.d.mts.map +1 -1
  252. package/esm/validators/number-validator.mjs +12 -8
  253. package/esm/validators/number-validator.mjs.map +1 -1
  254. package/esm/validators/numeric-validator.d.mts +1 -3
  255. package/esm/validators/numeric-validator.d.mts.map +1 -1
  256. package/esm/validators/object-validator.d.mts +2 -3
  257. package/esm/validators/object-validator.d.mts.map +1 -1
  258. package/esm/validators/primitive-validator.d.mts +1 -3
  259. package/esm/validators/primitive-validator.d.mts.map +1 -1
  260. package/esm/validators/record-validator.d.mts +2 -3
  261. package/esm/validators/record-validator.d.mts.map +1 -1
  262. package/esm/validators/scalar-validator.d.mts +1 -3
  263. package/esm/validators/scalar-validator.d.mts.map +1 -1
  264. package/esm/validators/string-validator.d.mts +1 -3
  265. package/esm/validators/string-validator.d.mts.map +1 -1
  266. package/esm/validators/tuple-validator.d.mts +2 -3
  267. package/esm/validators/tuple-validator.d.mts.map +1 -1
  268. package/esm/validators/union-validator.d.mts +1 -3
  269. package/esm/validators/union-validator.d.mts.map +1 -1
  270. package/package.json +1 -1
  271. package/cjs/object-VTtA-k1a.cjs.map +0 -1
  272. package/cjs/required-methods-chT0TXQS.cjs.map +0 -1
  273. package/cjs/string-edcPIpcU.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to `@warlock.js/seal` are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
6
6
 
7
+ ## 5.33.0 - 2026-10-19
8
+
9
+ ### Changed
10
+
11
+ - Use root Oxlint/Oxfmt binaries and configuration for package lint/fix and format scripts. Legacy ESLint/Prettier dependencies and configs remain until the 5.34.0 removal.
12
+
13
+ ## 5.32.0 - 2026-10-18
14
+
15
+ ### Changed
16
+
17
+ - Replace the unused classic TypeScript import-organizer development dependency with `@ianvs/prettier-plugin-sort-imports`, compatible with TypeScript 7.
18
+ - Pin the package development compiler to TypeScript 7.0.2 and use explicit Node types and source roots with supported module resolution.
19
+ - Rebaseline the type benchmark on TS7 with `--checkers 1` so type/instantiation counts remain deterministic; resolve the compiler through its exported package manifest.
20
+
7
21
  ## 5.31.0 - 2026-10-18
8
22
 
9
23
  ### Upgrading
package/cjs/index.cjs CHANGED
@@ -20,15 +20,15 @@ var __copyProps = (to, from, except, desc) => {
20
20
  }
21
21
  return to;
22
22
  };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
24
24
  value: mod,
25
25
  enumerable: true
26
26
  }) : target, mod));
27
27
 
28
28
  //#endregion
29
- const require_required_methods = require('./required-methods-chT0TXQS.cjs');
30
- const require_object = require('./object-VTtA-k1a.cjs');
31
- const require_string = require('./string-edcPIpcU.cjs');
29
+ const require_required_methods = require("./required-methods-BJlnLnwa.cjs");
30
+ const require_object = require("./object-BoVGJ68E.cjs");
31
+ const require_string = require("./string-CM8x0u2w.cjs");
32
32
  let _mongez_reinforcements = require("@mongez/reinforcements");
33
33
  let _mongez_supportive_is = require("@mongez/supportive-is");
34
34
  let dayjs = require("dayjs");
@@ -661,7 +661,7 @@ var ArrayValidator = class extends require_required_methods.BaseValidator {
661
661
  parent: mutatedData,
662
662
  value,
663
663
  key: index.toString(),
664
- path: require_required_methods.setKeyPath(context.path, index.toString())
664
+ path: require_object.setKeyPath(context.path, index.toString())
665
665
  };
666
666
  const childResult = await this.validator.validate(value, childContext);
667
667
  mutatedData[index] = childResult.data;
@@ -1987,15 +1987,19 @@ var NumberValidator = class extends require_string.PrimitiveValidator {
1987
1987
  if (typeof betweenOpts.max === "number") schema.maximum = betweenOpts.max;
1988
1988
  }
1989
1989
  const gtOpts = require_required_methods.getRuleOptions(this.rules, "greaterThan");
1990
- if (gtOpts?.value !== void 0 && typeof gtOpts.value === "number") if (target === "draft-07") {
1991
- schema.minimum = gtOpts.value;
1992
- schema.exclusiveMinimum = true;
1993
- } else schema.exclusiveMinimum = gtOpts.value;
1990
+ if (gtOpts?.value !== void 0 && typeof gtOpts.value === "number") {
1991
+ if (target === "draft-07") {
1992
+ schema.minimum = gtOpts.value;
1993
+ schema.exclusiveMinimum = true;
1994
+ } else schema.exclusiveMinimum = gtOpts.value;
1995
+ }
1994
1996
  const ltOpts = require_required_methods.getRuleOptions(this.rules, "lessThan");
1995
- if (ltOpts?.value !== void 0 && typeof ltOpts.value === "number") if (target === "draft-07") {
1996
- schema.maximum = ltOpts.value;
1997
- schema.exclusiveMaximum = true;
1998
- } else schema.exclusiveMaximum = ltOpts.value;
1997
+ if (ltOpts?.value !== void 0 && typeof ltOpts.value === "number") {
1998
+ if (target === "draft-07") {
1999
+ schema.maximum = ltOpts.value;
2000
+ schema.exclusiveMaximum = true;
2001
+ } else schema.exclusiveMaximum = ltOpts.value;
2002
+ }
1999
2003
  const moduloOpts = require_required_methods.getRuleOptions(this.rules, "modulo");
2000
2004
  if (moduloOpts?.value !== void 0 && typeof moduloOpts.value === "number") schema.multipleOf = moduloOpts.value;
2001
2005
  const inOpts = require_required_methods.getRuleOptions(this.rules, "in");
@@ -2299,7 +2303,7 @@ var RecordValidator = class extends require_required_methods.BaseValidator {
2299
2303
  parent: mutatedData,
2300
2304
  value: mutatedData[key],
2301
2305
  key,
2302
- path: require_required_methods.setKeyPath(context.path, key)
2306
+ path: require_object.setKeyPath(context.path, key)
2303
2307
  };
2304
2308
  const childResult = await this.valueValidator.validate(mutatedData[key], childContext);
2305
2309
  mutatedData[key] = childResult.data;
@@ -2568,7 +2572,7 @@ var TupleValidator = class extends require_required_methods.BaseValidator {
2568
2572
  parent: mutatedData,
2569
2573
  value: mutatedData[index],
2570
2574
  key: index.toString(),
2571
- path: require_required_methods.setKeyPath(context.path, index.toString())
2575
+ path: require_object.setKeyPath(context.path, index.toString())
2572
2576
  };
2573
2577
  const childResult = await validator.validate(mutatedData[index], childContext);
2574
2578
  mutatedData[index] = childResult.data;
@@ -3081,7 +3085,7 @@ exports.rtrimMutator = require_string.rtrimMutator;
3081
3085
  exports.safeHtmlMutator = require_string.safeHtmlMutator;
3082
3086
  exports.sameAsFieldDateRule = require_required_methods.sameAsFieldDateRule;
3083
3087
  exports.scalarRule = require_required_methods.scalarRule;
3084
- exports.setKeyPath = require_required_methods.setKeyPath;
3088
+ exports.setKeyPath = require_object.setKeyPath;
3085
3089
  exports.slugMutator = require_string.slugMutator;
3086
3090
  exports.snakeCaseMutator = require_string.snakeCaseMutator;
3087
3091
  exports.sortArrayMutator = sortArrayMutator;