@unicom-cloud/utils 0.1.25 → 0.1.27

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 (277) hide show
  1. package/axios/chunk/BJvTEV6n.js +253 -0
  2. package/axios/chunk/CB3wlosT.js +64 -0
  3. package/axios/index.d.ts +796 -0
  4. package/axios/index.js +43 -0
  5. package/axios/lib/axios.js +1635 -0
  6. package/axios/lib/utils.js +5 -0
  7. package/axios/mock-adapter/index.d.ts +59 -0
  8. package/axios/mock-adapter/index.js +205 -0
  9. package/axios/mock-adapter/request.js +50 -0
  10. package/axios/mock-adapter/utils.js +130 -0
  11. package/case-name/index.js +1 -1
  12. package/caseName.js +1 -1
  13. package/class-name/index.js +1 -1
  14. package/className.js +1 -1
  15. package/clipboard-copy/index.js +1 -1
  16. package/clipboardCopy.js +1 -1
  17. package/constant/address.js +1 -1
  18. package/constant/chineseCharacters.js +1 -1
  19. package/constant/constellations.js +1 -1
  20. package/constant/domain.js +1 -1
  21. package/constant/emoji.js +1 -1
  22. package/constant/identity.js +1 -1
  23. package/constant/index.js +1 -1
  24. package/constant/keyboardCode.js +1 -1
  25. package/constant/licensePlate.js +1 -1
  26. package/constant/name.js +1 -1
  27. package/constant/platform.js +16 -17
  28. package/constant/protocol.js +1 -1
  29. package/constant/ui.js +16 -16
  30. package/constant.js +1 -1
  31. package/content-disposition/index.js +1 -1
  32. package/contentDisposition.js +1 -1
  33. package/cookie/index.js +1 -1
  34. package/cookie/src/index.js +1 -1
  35. package/cookie.js +1 -1
  36. package/date/convertTime.js +1 -1
  37. package/date/convertToDuration.js +1 -1
  38. package/date/index.js +1 -1
  39. package/date.js +1 -1
  40. package/decimal/decimal.js +1 -8
  41. package/decimal/index.js +1 -1
  42. package/decimal.js +1 -1
  43. package/dom-helpers/activeElement.js +1 -1
  44. package/dom-helpers/addClass.js +1 -1
  45. package/dom-helpers/addEventListener.js +1 -1
  46. package/dom-helpers/animate.js +1 -1
  47. package/dom-helpers/animationFrame.js +1 -1
  48. package/dom-helpers/attribute.js +1 -1
  49. package/dom-helpers/camelize.js +1 -1
  50. package/dom-helpers/camelizeStyle.js +1 -1
  51. package/dom-helpers/canUseDOM.js +1 -1
  52. package/dom-helpers/childElements.js +1 -1
  53. package/dom-helpers/childNodes.js +1 -1
  54. package/dom-helpers/clear.js +1 -1
  55. package/dom-helpers/closest.js +1 -1
  56. package/dom-helpers/collectElements.js +1 -1
  57. package/dom-helpers/collectSiblings.js +1 -1
  58. package/dom-helpers/contains.js +1 -1
  59. package/dom-helpers/css.js +1 -1
  60. package/dom-helpers/filterEventHandler.js +1 -1
  61. package/dom-helpers/getComputedStyle.js +1 -1
  62. package/dom-helpers/getScrollAccessor.js +1 -1
  63. package/dom-helpers/hasClass.js +1 -1
  64. package/dom-helpers/height.js +1 -1
  65. package/dom-helpers/hyphenate.js +1 -1
  66. package/dom-helpers/hyphenateStyle.js +1 -1
  67. package/dom-helpers/index.js +1 -1
  68. package/dom-helpers/insertAfter.js +1 -1
  69. package/dom-helpers/isDocument.js +1 -1
  70. package/dom-helpers/isInput.js +1 -1
  71. package/dom-helpers/isTransform.js +1 -1
  72. package/dom-helpers/isVisible.js +1 -1
  73. package/dom-helpers/isWindow.js +1 -1
  74. package/dom-helpers/listen.js +1 -1
  75. package/dom-helpers/matches.js +1 -1
  76. package/dom-helpers/nextUntil.js +1 -1
  77. package/dom-helpers/offset.js +1 -1
  78. package/dom-helpers/offsetParent.js +1 -1
  79. package/dom-helpers/ownerDocument.js +1 -1
  80. package/dom-helpers/ownerWindow.js +1 -1
  81. package/dom-helpers/parents.js +1 -1
  82. package/dom-helpers/position.js +1 -1
  83. package/dom-helpers/prepend.js +1 -1
  84. package/dom-helpers/querySelectorAll.js +1 -1
  85. package/dom-helpers/reflow.js +1 -1
  86. package/dom-helpers/remove.js +1 -1
  87. package/dom-helpers/removeClass.js +1 -1
  88. package/dom-helpers/removeEventListener.js +1 -1
  89. package/dom-helpers/scrollLeft.js +1 -1
  90. package/dom-helpers/scrollParent.js +1 -1
  91. package/dom-helpers/scrollTo.js +1 -1
  92. package/dom-helpers/scrollTop.js +1 -1
  93. package/dom-helpers/scrollbarSize.js +1 -1
  94. package/dom-helpers/siblings.js +1 -1
  95. package/dom-helpers/text.js +1 -1
  96. package/dom-helpers/toggleClass.js +1 -1
  97. package/dom-helpers/transitionEnd.js +1 -1
  98. package/dom-helpers/triggerEvent.js +1 -1
  99. package/dom-helpers/types.js +1 -1
  100. package/dom-helpers/width.js +1 -1
  101. package/domHelpers.js +1 -1
  102. package/emitter/index.js +1 -1
  103. package/emitter/src/index.js +1 -1
  104. package/emitter.js +1 -1
  105. package/file/fileToURL.js +1 -1
  106. package/file/index.js +1 -1
  107. package/file/saveAs.js +1 -1
  108. package/file.js +1 -1
  109. package/idb/index.js +1 -1
  110. package/idb.js +1 -1
  111. package/index.js +1 -1
  112. package/invariant/index.js +1 -1
  113. package/invariant.js +1 -1
  114. package/is/index.js +140 -123
  115. package/is.js +77 -76
  116. package/js-cookie/index.js +1 -1
  117. package/js-cookie/src/api.js +1 -1
  118. package/js-cookie/src/assign.js +1 -1
  119. package/js-cookie/src/converter.js +1 -1
  120. package/jsCookie.js +1 -1
  121. package/lunar/index.js +1 -1
  122. package/lunar/lib/Holiday.js +1 -1
  123. package/lunar/lib/HolidayUtil.js +1 -1
  124. package/lunar/lib/I18n.js +1 -1
  125. package/lunar/lib/JieQi.js +1 -1
  126. package/lunar/lib/Lunar.js +1 -1
  127. package/lunar/lib/LunarMonth.js +1 -1
  128. package/lunar/lib/LunarTime.js +1 -1
  129. package/lunar/lib/LunarUtil.js +1 -1
  130. package/lunar/lib/LunarYear.js +1 -1
  131. package/lunar/lib/ShouXingUtil.js +1 -1
  132. package/lunar/lib/Solar.js +1 -1
  133. package/lunar/lib/SolarHalfYear.js +1 -1
  134. package/lunar/lib/SolarMonth.js +1 -1
  135. package/lunar/lib/SolarSeason.js +1 -1
  136. package/lunar/lib/SolarUtil.js +1 -1
  137. package/lunar/lib/SolarWeek.js +1 -1
  138. package/lunar/lib/SolarYear.js +1 -1
  139. package/lunar/lib/index.js +1 -1
  140. package/lunar.js +1 -1
  141. package/math/index.js +1 -1
  142. package/math.js +1 -1
  143. package/md5/index.js +1 -1
  144. package/md5.js +1 -1
  145. package/mock/MockWebSocket.js +1 -1
  146. package/mock/MockXMLHttpRequest.js +1 -1
  147. package/mock/index.js +1 -1
  148. package/mock.js +1 -1
  149. package/normalize-wheel/ExecutionEnvironment.js +1 -1
  150. package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
  151. package/normalize-wheel/index.js +1 -1
  152. package/normalize-wheel/isEventSupported.js +1 -15
  153. package/normalizeWheel.js +1 -1
  154. package/number-to-chinese/index.js +1 -1
  155. package/numberToChinese.js +1 -1
  156. package/nzh/cn.js +1 -1
  157. package/nzh/hk.js +1 -1
  158. package/nzh/index.js +1 -1
  159. package/nzh/nzh.js +1 -1
  160. package/nzh/src/autoGet.js +1 -1
  161. package/nzh/src/index.js +1 -1
  162. package/nzh/src/langs/cn_b.js +1 -1
  163. package/nzh/src/langs/cn_s.js +1 -1
  164. package/nzh/src/langs/hk_b.js +1 -1
  165. package/nzh/src/langs/hk_s.js +1 -1
  166. package/nzh/src/utils.js +1 -1
  167. package/nzh.js +1 -1
  168. package/object-keys-sort/index.js +1 -1
  169. package/object-prototype-to-string-call/index.js +7 -0
  170. package/objectKeysSort.js +1 -1
  171. package/objectPrototypeToStringCall.js +5 -0
  172. package/package.json +1 -1
  173. package/pinyin/index.js +1 -1
  174. package/pinyin/simplified.js +1 -1
  175. package/pinyin/src/core.js +1 -1
  176. package/pinyin/src/simplified.js +1 -1
  177. package/pinyin/src/simplified_dict.js +1 -1
  178. package/pinyin/src/traditional.js +1 -1
  179. package/pinyin/src/traditional_dict.js +1 -1
  180. package/pinyin/traditional.js +1 -1
  181. package/pinyin.js +1 -1
  182. package/query-string/base.js +1 -1
  183. package/query-string/index.js +1 -1
  184. package/query-string/splitOnFirst.js +1 -1
  185. package/queryString.js +1 -1
  186. package/random/address.js +1 -1
  187. package/random/constellation.js +1 -1
  188. package/random/image.js +1 -1
  189. package/random/index.js +1 -1
  190. package/random/licensePlate.js +1 -1
  191. package/random/name.js +1 -1
  192. package/random/number.js +1 -1
  193. package/random/text.js +12 -11
  194. package/random/time.js +1 -1
  195. package/random/web.js +1 -1
  196. package/random.js +1 -1
  197. package/screenfull/index.js +21 -20
  198. package/screenfull.js +4 -3
  199. package/sleep/index.js +1 -1
  200. package/sleep.js +1 -1
  201. package/snapdom/index.js +1 -1
  202. package/snapdom/src/api/preCache.js +1 -1
  203. package/snapdom/src/api/snapdom.js +1 -1
  204. package/snapdom/src/core/cache.js +1 -1
  205. package/snapdom/src/core/capture.js +1 -1
  206. package/snapdom/src/core/clone.js +1 -1
  207. package/snapdom/src/core/context.js +1 -1
  208. package/snapdom/src/core/plugins.js +1 -1
  209. package/snapdom/src/core/prepare.js +1 -1
  210. package/snapdom/src/exporters/download.js +1 -1
  211. package/snapdom/src/exporters/toBlob.js +1 -1
  212. package/snapdom/src/exporters/toCanvas.js +1 -1
  213. package/snapdom/src/exporters/toImg.js +1 -1
  214. package/snapdom/src/modules/CSSVar.js +1 -1
  215. package/snapdom/src/modules/background.js +1 -1
  216. package/snapdom/src/modules/changeCSS.js +1 -1
  217. package/snapdom/src/modules/counter.js +1 -1
  218. package/snapdom/src/modules/fonts.js +1 -1
  219. package/snapdom/src/modules/iconFonts.js +1 -1
  220. package/snapdom/src/modules/images.js +1 -1
  221. package/snapdom/src/modules/lineClamp.js +1 -1
  222. package/snapdom/src/modules/pseudo.js +1 -1
  223. package/snapdom/src/modules/rasterize.js +1 -1
  224. package/snapdom/src/modules/snapFetch.js +1 -1
  225. package/snapdom/src/modules/styles.js +1 -1
  226. package/snapdom/src/modules/svgDefs.js +1 -1
  227. package/snapdom/src/utils/browser.js +1 -1
  228. package/snapdom/src/utils/css.js +1 -1
  229. package/snapdom/src/utils/helpers.js +1 -1
  230. package/snapdom/src/utils/image.js +1 -1
  231. package/snapdom.js +1 -1
  232. package/tinycolor/index.js +1 -1
  233. package/tinycolor/src/conversion.js +1 -1
  234. package/tinycolor/src/css-color-names.js +1 -1
  235. package/tinycolor/src/format-input.js +1 -1
  236. package/tinycolor/src/from-ratio.js +1 -1
  237. package/tinycolor/src/index.js +1 -1
  238. package/tinycolor/src/random.js +1 -1
  239. package/tinycolor/src/readability.js +1 -1
  240. package/tinycolor/src/to-ms-filter.js +1 -1
  241. package/tinycolor/src/utils.js +1 -1
  242. package/tinycolor.js +1 -1
  243. package/tree/index.js +31 -30
  244. package/tree/search/index.js +1 -1
  245. package/tree.js +13 -12
  246. package/tween/index.js +1 -1
  247. package/tween/src/easing.js +1 -1
  248. package/tween/src/tween.js +1 -1
  249. package/tween.js +1 -1
  250. package/types/constant/platform.d.ts +8 -7
  251. package/types/is/index.d.ts +16 -16
  252. package/types/object-prototype-to-string-call/index.d.ts +2 -0
  253. package/types/validate/src/locale/en-US.d.ts +2 -2
  254. package/types/validate/src/locale/zh-CN.d.ts +2 -2
  255. package/ui-color/compareColorByRange.js +1 -1
  256. package/ui-color/index.js +1 -1
  257. package/uiColor.js +1 -1
  258. package/url-toolkit/index.js +1 -1
  259. package/url-toolkit/src/url-toolkit.js +1 -1
  260. package/urlToolkit.js +1 -1
  261. package/validate/index.js +11 -11
  262. package/validate/src/index.js +1 -1
  263. package/validate/src/locale/en-US.js +1 -1
  264. package/validate/src/locale/zh-CN.js +1 -1
  265. package/validate/src/message.js +3 -3
  266. package/validate/src/rules/array.js +1 -1
  267. package/validate/src/rules/base.js +15 -15
  268. package/validate/src/rules/boolean.js +1 -1
  269. package/validate/src/rules/custom.js +1 -1
  270. package/validate/src/rules/number.js +1 -1
  271. package/validate/src/rules/object.js +1 -1
  272. package/validate/src/rules/string.js +1 -1
  273. package/validate/src/rules/type.js +1 -1
  274. package/validate/src/utils.js +1 -1
  275. package/validate.js +11 -11
  276. package/version/index.js +1 -1
  277. package/version.js +1 -1
package/validate/index.js CHANGED
@@ -1,28 +1,28 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import { Schema as t, default as o } from "./src/index.js";
3
3
  import { default as l } from "./src/rules/array.js";
4
4
  import { default as d } from "./src/rules/boolean.js";
5
5
  import { default as u } from "./src/rules/custom.js";
6
6
  import { default as p, default as i, default as x } from "./src/locale/zh-CN.js";
7
- import { default as c } from "./src/rules/number.js";
8
- import { default as n } from "./src/rules/object.js";
9
- import { default as S } from "./src/rules/string.js";
10
- import { default as h } from "./src/rules/type.js";
11
- import { default as C } from "./src/locale/en-US.js";
7
+ import { default as c } from "./src/locale/en-US.js";
8
+ import { default as n } from "./src/rules/number.js";
9
+ import { default as S } from "./src/rules/object.js";
10
+ import { default as h } from "./src/rules/string.js";
11
+ import { default as C } from "./src/rules/type.js";
12
12
  import { mergeTemplate as T } from "./src/utils.js";
13
13
  export {
14
14
  l as ArrayValidator,
15
15
  d as BooleanValidator,
16
16
  u as CustomValidator,
17
17
  p as DefaultValidateMessage,
18
- c as NumberValidator,
19
- n as ObjectValidator,
18
+ n as NumberValidator,
19
+ S as ObjectValidator,
20
20
  t as Schema,
21
- S as StringValidator,
22
- h as TypeValidator,
21
+ h as StringValidator,
22
+ C as TypeValidator,
23
23
  o as default,
24
24
  i as defaultValidateLocale,
25
- C as enUSValidateLocale,
25
+ c as enUSValidateLocale,
26
26
  T as mergeTemplate,
27
27
  x as zhCNValidateLocale
28
28
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import V from "lodash/defaultsDeep";
3
3
  import u from "lodash/isArray.js";
4
4
  import E from "lodash/isFunction.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const e = "#{field} is not a #{type} type", t = {
3
3
  required: "#{field} is required",
4
4
  type: {
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const e = {
3
3
  required: "#{field} 是必填项",
4
4
  type: {
@@ -1,5 +1,5 @@
1
- /* 2025-11-03 10:27:31 */
2
- import e from "./locale/zh-CN.js";
1
+ /* 2025-11-07 15:27:13 */
2
+ import r from "./locale/zh-CN.js";
3
3
  export {
4
- e as default
4
+ r as default
5
5
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import i from "lodash/isArray.js";
3
3
  import a from "lodash/isEqual.js";
4
4
  import { isEmptyArray as s } from "../../../is/index.js";
@@ -1,23 +1,23 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import n from "lodash/isArray.js";
3
3
  import f from "lodash/isFunction.js";
4
- import a from "lodash/isObject.js";
4
+ import h from "lodash/isObject.js";
5
5
  import l from "lodash/isString.js";
6
- import { isEmptyValue as u, isEmptyArray as c } from "../../../is/index.js";
7
- import d from "../locale/zh-CN.js";
8
- import { getTemplate as g, mergeTemplate as p } from "../utils.js";
9
- class T {
6
+ import { isEmptyValue as g, isEmptyArray as u } from "../../../is/index.js";
7
+ import c from "../locale/zh-CN.js";
8
+ import { getTemplate as d, mergeTemplate as p } from "../utils.js";
9
+ class S {
10
10
  constructor(t, e) {
11
- this.getValidateMsg = (h, m = {}) => {
11
+ this.getValidateMsg = (a, m = {}) => {
12
12
  const r = Object.assign({}, m, {
13
13
  value: this.object,
14
14
  field: this.field,
15
15
  type: this.type
16
- }), s = g(this.validateMessages, h);
16
+ }), s = d(this.validateMessages, a);
17
17
  return f(s) ? s(r) : l(s) ? s.replace(/#\{.+?\}/g, (o) => {
18
18
  const i = o.slice(2, -1);
19
19
  if (i in r) {
20
- if (a(r[i]) || n(r[i]))
20
+ if (h(r[i]) || n(r[i]))
21
21
  try {
22
22
  return JSON.stringify(r[i]);
23
23
  } catch {
@@ -27,8 +27,8 @@ class T {
27
27
  }
28
28
  return o;
29
29
  }) : s;
30
- }, a(e) && l(t) && e.trim ? this.object = t.trim() : a(e) && e.ignoreEmptyString && t === "" ? this.object = void 0 : this.object = t, this.message = e.message, this.type = e.type, this.error = null, this.field = e.field || e.type, this.validateMessages = p(
31
- d,
30
+ }, h(e) && l(t) && e.trim ? this.object = t.trim() : h(e) && e.ignoreEmptyString && t === "" ? this.object = void 0 : this.object = t, this.message = e.message, this.type = e.type, this.error = null, this.field = e.field || e.type, this.validateMessages = p(
31
+ c,
32
32
  e.validateMessages
33
33
  );
34
34
  }
@@ -36,13 +36,13 @@ class T {
36
36
  return this._not = !this._not, this;
37
37
  }
38
38
  get isRequired() {
39
- if (u(this.object) || c(this.object)) {
39
+ if (g(this.object) || u(this.object)) {
40
40
  const t = this.getValidateMsg("required");
41
41
  this.error = {
42
42
  value: this.object,
43
43
  type: this.type,
44
44
  requiredError: !0,
45
- message: this.message || (a(t) ? t : `${this._not ? "[NOT MODE]:" : ""}${t}`)
45
+ message: this.message || (h(t) ? t : `${this._not ? "[NOT MODE]:" : ""}${t}`)
46
46
  };
47
47
  }
48
48
  return this;
@@ -54,7 +54,7 @@ class T {
54
54
  this.error || t && (this.error = {
55
55
  value: this.object,
56
56
  type: this.type,
57
- message: this.message || (a(t) ? t : `${this._not ? "[NOT MODE]:" : ""}${t}`)
57
+ message: this.message || (h(t) ? t : `${this._not ? "[NOT MODE]:" : ""}${t}`)
58
58
  });
59
59
  }
60
60
  validate(t, e) {
@@ -65,5 +65,5 @@ class T {
65
65
  }
66
66
  }
67
67
  export {
68
- T as default
68
+ S as default
69
69
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import a from "lodash/isBoolean.js";
3
3
  import s from "./base.js";
4
4
  class r extends s {
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import o from "./base.js";
3
3
  class n extends o {
4
4
  constructor(t, r) {
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import s from "lodash/isNumber.js";
3
3
  import { isEmptyValue as i } from "../../../is/index.js";
4
4
  import a from "./base.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import s from "lodash/isEqual.js";
3
3
  import i from "lodash/isObject.js";
4
4
  import { isEmptyObject as a } from "../../../is/index.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import i from "lodash/isString.js";
3
3
  import s from "./base.js";
4
4
  class r extends s {
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import a from "./base.js";
3
3
  const s = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, i = new RegExp(
4
4
  "^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import r from "lodash/defaultsDeep";
3
3
  import m from "lodash/get";
4
4
  const n = (e, t) => r({}, t, e), a = (e, t) => m(e, t);
package/validate.js CHANGED
@@ -1,28 +1,28 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import { Schema as t, default as o } from "./validate/src/index.js";
3
3
  import { default as l } from "./validate/src/rules/array.js";
4
4
  import { default as d } from "./validate/src/rules/boolean.js";
5
5
  import { default as u } from "./validate/src/rules/custom.js";
6
6
  import { default as p, default as i, default as x } from "./validate/src/locale/zh-CN.js";
7
- import { default as c } from "./validate/src/rules/number.js";
8
- import { default as n } from "./validate/src/rules/object.js";
9
- import { default as S } from "./validate/src/rules/string.js";
10
- import { default as h } from "./validate/src/rules/type.js";
11
- import { default as C } from "./validate/src/locale/en-US.js";
7
+ import { default as c } from "./validate/src/locale/en-US.js";
8
+ import { default as n } from "./validate/src/rules/number.js";
9
+ import { default as S } from "./validate/src/rules/object.js";
10
+ import { default as h } from "./validate/src/rules/string.js";
11
+ import { default as C } from "./validate/src/rules/type.js";
12
12
  import { mergeTemplate as T } from "./validate/src/utils.js";
13
13
  export {
14
14
  l as ArrayValidator,
15
15
  d as BooleanValidator,
16
16
  u as CustomValidator,
17
17
  p as DefaultValidateMessage,
18
- c as NumberValidator,
19
- n as ObjectValidator,
18
+ n as NumberValidator,
19
+ S as ObjectValidator,
20
20
  t as Schema,
21
- S as StringValidator,
22
- h as TypeValidator,
21
+ h as StringValidator,
22
+ C as TypeValidator,
23
23
  o as default,
24
24
  i as defaultValidateLocale,
25
- C as enUSValidateLocale,
25
+ c as enUSValidateLocale,
26
26
  T as mergeTemplate,
27
27
  x as zhCNValidateLocale
28
28
  };
package/version/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  const t = "0.0.0";
3
3
  export {
4
4
  t as VERSION,
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-03 10:27:31 */
1
+ /* 2025-11-07 15:27:13 */
2
2
  import { VERSION as f, VERSION as o } from "./version/index.js";
3
3
  export {
4
4
  f as VERSION,