@unicom-cloud/utils 0.1.56 → 0.1.57

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 (952) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/array/index.js +1 -1
  3. package/assert/index.js +1 -1
  4. package/case-name/index.js +1 -1
  5. package/class-name/index.js +1 -1
  6. package/clipboard-copy/index.js +1 -1
  7. package/constants/address.js +1 -1
  8. package/constants/chineseCharacters.js +1 -1
  9. package/constants/constellations.js +1 -1
  10. package/constants/domain.js +1 -1
  11. package/constants/identity.js +1 -1
  12. package/constants/index.js +1 -1
  13. package/constants/keyboardCode.js +1 -1
  14. package/constants/licensePlate.js +1 -1
  15. package/constants/name.js +1 -1
  16. package/constants/platform.js +1 -1
  17. package/constants/protocol.js +1 -1
  18. package/constants/string.js +1 -1
  19. package/constants/ui.js +1 -1
  20. package/content-disposition/index.js +1 -1
  21. package/cookie/api.js +1 -1
  22. package/cookie/assign.js +1 -1
  23. package/cookie/converter.js +1 -1
  24. package/cookie/index.js +1 -1
  25. package/css/cssSupported.js +1 -1
  26. package/css/index.js +1 -1
  27. package/date/convertTime.js +1 -1
  28. package/date/convertToDuration.js +1 -1
  29. package/date/index.js +1 -1
  30. package/decimal/decimal.js +1 -1
  31. package/decimal/index.js +1 -1
  32. package/document/index.js +1 -1
  33. package/dom-helpers/activeElement.js +1 -1
  34. package/dom-helpers/addClass.js +1 -1
  35. package/dom-helpers/addEventListener.js +1 -1
  36. package/dom-helpers/animate.js +1 -1
  37. package/dom-helpers/animationFrame.js +1 -1
  38. package/dom-helpers/attribute.js +1 -1
  39. package/dom-helpers/camelize.js +1 -1
  40. package/dom-helpers/camelizeStyle.js +1 -1
  41. package/dom-helpers/canUseDOM.js +1 -1
  42. package/dom-helpers/childElements.js +1 -1
  43. package/dom-helpers/childNodes.js +1 -1
  44. package/dom-helpers/clear.js +1 -1
  45. package/dom-helpers/closest.js +1 -1
  46. package/dom-helpers/collectElements.js +1 -1
  47. package/dom-helpers/collectSiblings.js +1 -1
  48. package/dom-helpers/contains.js +1 -1
  49. package/dom-helpers/css.js +1 -1
  50. package/dom-helpers/filterEventHandler.js +1 -1
  51. package/dom-helpers/getComputedStyle.js +1 -1
  52. package/dom-helpers/getElementCoordinates.js +1 -1
  53. package/dom-helpers/getScrollAccessor.js +1 -1
  54. package/dom-helpers/hasClass.js +1 -1
  55. package/dom-helpers/height.js +1 -1
  56. package/dom-helpers/hyphenate.js +1 -1
  57. package/dom-helpers/hyphenateStyle.js +1 -1
  58. package/dom-helpers/index.js +1 -1
  59. package/dom-helpers/insertAfter.js +1 -1
  60. package/dom-helpers/isDocument.js +1 -1
  61. package/dom-helpers/isInput.js +1 -1
  62. package/dom-helpers/isTransform.js +1 -1
  63. package/dom-helpers/isVisible.js +1 -1
  64. package/dom-helpers/isWindow.js +1 -1
  65. package/dom-helpers/listen.js +1 -1
  66. package/dom-helpers/matches.js +1 -1
  67. package/dom-helpers/nextUntil.js +1 -1
  68. package/dom-helpers/offset.js +1 -1
  69. package/dom-helpers/offsetParent.js +1 -1
  70. package/dom-helpers/ownerDocument.js +1 -1
  71. package/dom-helpers/ownerWindow.js +1 -1
  72. package/dom-helpers/parents.js +1 -1
  73. package/dom-helpers/position.js +1 -1
  74. package/dom-helpers/prepend.js +1 -1
  75. package/dom-helpers/querySelectorAll.js +1 -1
  76. package/dom-helpers/reflow.js +1 -1
  77. package/dom-helpers/remove.js +1 -1
  78. package/dom-helpers/removeClass.js +1 -1
  79. package/dom-helpers/removeEventListener.js +1 -1
  80. package/dom-helpers/scrollLeft.js +1 -1
  81. package/dom-helpers/scrollParent.js +1 -1
  82. package/dom-helpers/scrollTo.js +1 -1
  83. package/dom-helpers/scrollTop.js +1 -1
  84. package/dom-helpers/scrollbarSize.js +1 -1
  85. package/dom-helpers/siblings.js +1 -1
  86. package/dom-helpers/text.js +1 -1
  87. package/dom-helpers/toggleClass.js +1 -1
  88. package/dom-helpers/transitionEnd.js +1 -1
  89. package/dom-helpers/triggerEvent.js +1 -1
  90. package/dom-helpers/types.js +1 -1
  91. package/dom-helpers/width.js +1 -1
  92. package/emitter/index.js +1 -1
  93. package/emoji/emoji.js +1 -1
  94. package/emoji/emojis.js +1 -1
  95. package/emoji/index.js +1 -1
  96. package/escape/index.js +1 -1
  97. package/fflate/index.js +1 -1
  98. package/fflate/src/index.js +1 -1
  99. package/fflate/src/worker.js +1 -1
  100. package/file/fileRead.js +1 -1
  101. package/file/fileToDataURL.js +1 -1
  102. package/file/img.js +1 -1
  103. package/file/index.js +1 -1
  104. package/file/saveAs.js +1 -1
  105. package/filesize/index.js +1 -1
  106. package/filesize/src/constants.js +1 -1
  107. package/filesize/src/filesize.js +1 -1
  108. package/filesize/src/helpers.js +1 -1
  109. package/function/index.js +1 -1
  110. package/idb/async-iterators.js +1 -1
  111. package/idb/database-extras.js +1 -1
  112. package/idb/entry.js +1 -1
  113. package/idb/index-.js +1 -1
  114. package/idb/index.js +1 -1
  115. package/idb/util.js +1 -1
  116. package/idb/wrap-idb-value.js +1 -1
  117. package/index.js +1 -1
  118. package/invariant/index.js +1 -1
  119. package/is/index.js +1 -1
  120. package/is/libs/isAscii.js +1 -1
  121. package/is/libs/isBase64.js +1 -1
  122. package/is/libs/isChinese.js +1 -1
  123. package/is/libs/isDataURI.js +1 -1
  124. package/is/libs/isEmail.js +1 -1
  125. package/is/libs/isFQDN.js +1 -1
  126. package/is/libs/isFullWidth.js +1 -1
  127. package/is/libs/isHSL.js +1 -1
  128. package/is/libs/isHalfWidth.js +1 -1
  129. package/is/libs/isHash.js +1 -1
  130. package/is/libs/isHexColor.js +1 -1
  131. package/is/libs/isIMEI.js +1 -1
  132. package/is/libs/isIP.js +1 -1
  133. package/is/libs/isIPRange.js +1 -1
  134. package/is/libs/isIdentityCard.js +1 -1
  135. package/is/libs/isJWT.js +1 -1
  136. package/is/libs/isMACAddress.js +1 -1
  137. package/is/libs/isMD5.js +1 -1
  138. package/is/libs/isMimeType.js +1 -1
  139. package/is/libs/isMobilePhone.js +1 -1
  140. package/is/libs/isPort.js +1 -1
  141. package/is/libs/isRgbColor.js +1 -1
  142. package/is/libs/isSemVer.js +1 -1
  143. package/is/libs/isSlug.js +1 -1
  144. package/is/libs/isStrongPassword.js +1 -1
  145. package/is/libs/isURL.js +1 -1
  146. package/is/libs/isUUID.js +1 -1
  147. package/is/libs/isVariableWidth.js +1 -1
  148. package/lodash/_DataView.js +1 -1
  149. package/lodash/_Hash.js +1 -1
  150. package/lodash/_LazyWrapper.js +1 -1
  151. package/lodash/_ListCache.js +1 -1
  152. package/lodash/_LodashWrapper.js +1 -1
  153. package/lodash/_Map.js +1 -1
  154. package/lodash/_MapCache.js +1 -1
  155. package/lodash/_Promise.js +1 -1
  156. package/lodash/_Set.js +1 -1
  157. package/lodash/_SetCache.js +1 -1
  158. package/lodash/_Stack.js +1 -1
  159. package/lodash/_Symbol.js +1 -1
  160. package/lodash/_Uint8Array.js +1 -1
  161. package/lodash/_WeakMap.js +1 -1
  162. package/lodash/_addMapEntry.js +1 -1
  163. package/lodash/_addSetEntry.js +1 -1
  164. package/lodash/_apply.js +1 -1
  165. package/lodash/_arrayAggregator.js +1 -1
  166. package/lodash/_arrayEach.js +1 -1
  167. package/lodash/_arrayEachRight.js +1 -1
  168. package/lodash/_arrayEvery.js +1 -1
  169. package/lodash/_arrayFilter.js +1 -1
  170. package/lodash/_arrayIncludes.js +1 -1
  171. package/lodash/_arrayIncludesWith.js +1 -1
  172. package/lodash/_arrayLikeKeys.js +1 -1
  173. package/lodash/_arrayMap.js +1 -1
  174. package/lodash/_arrayPush.js +1 -1
  175. package/lodash/_arrayReduce.js +1 -1
  176. package/lodash/_arrayReduceRight.js +1 -1
  177. package/lodash/_arraySample.js +1 -1
  178. package/lodash/_arraySampleSize.js +1 -1
  179. package/lodash/_arrayShuffle.js +1 -1
  180. package/lodash/_arraySome.js +1 -1
  181. package/lodash/_asciiSize.js +1 -1
  182. package/lodash/_asciiToArray.js +1 -1
  183. package/lodash/_asciiWords.js +1 -1
  184. package/lodash/_assignMergeValue.js +1 -1
  185. package/lodash/_assignValue.js +1 -1
  186. package/lodash/_assocIndexOf.js +1 -1
  187. package/lodash/_baseAggregator.js +1 -1
  188. package/lodash/_baseAssign.js +1 -1
  189. package/lodash/_baseAssignIn.js +1 -1
  190. package/lodash/_baseAssignValue.js +1 -1
  191. package/lodash/_baseAt.js +1 -1
  192. package/lodash/_baseClamp.js +1 -1
  193. package/lodash/_baseClone.js +1 -1
  194. package/lodash/_baseConforms.js +1 -1
  195. package/lodash/_baseConformsTo.js +1 -1
  196. package/lodash/_baseCreate.js +1 -1
  197. package/lodash/_baseDifference.js +1 -1
  198. package/lodash/_baseEach.js +1 -1
  199. package/lodash/_baseEachRight.js +1 -1
  200. package/lodash/_baseEvery.js +1 -1
  201. package/lodash/_baseExtremum.js +1 -1
  202. package/lodash/_baseFill.js +1 -1
  203. package/lodash/_baseFilter.js +1 -1
  204. package/lodash/_baseFindIndex.js +1 -1
  205. package/lodash/_baseFindKey.js +1 -1
  206. package/lodash/_baseFlatten.js +1 -1
  207. package/lodash/_baseFor.js +1 -1
  208. package/lodash/_baseForOwn.js +1 -1
  209. package/lodash/_baseForOwnRight.js +1 -1
  210. package/lodash/_baseForRight.js +1 -1
  211. package/lodash/_baseFunctions.js +1 -1
  212. package/lodash/_baseGet.js +1 -1
  213. package/lodash/_baseGetAllKeys.js +1 -1
  214. package/lodash/_baseGetTag.js +1 -1
  215. package/lodash/_baseGt.js +1 -1
  216. package/lodash/_baseHas.js +1 -1
  217. package/lodash/_baseHasIn.js +1 -1
  218. package/lodash/_baseInRange.js +1 -1
  219. package/lodash/_baseIndexOf.js +1 -1
  220. package/lodash/_baseIndexOfWith.js +1 -1
  221. package/lodash/_baseIntersection.js +1 -1
  222. package/lodash/_baseInverter.js +1 -1
  223. package/lodash/_baseInvoke.js +1 -1
  224. package/lodash/_baseIsArguments.js +1 -1
  225. package/lodash/_baseIsArrayBuffer.js +1 -1
  226. package/lodash/_baseIsDate.js +1 -1
  227. package/lodash/_baseIsEqual.js +1 -1
  228. package/lodash/_baseIsEqualDeep.js +1 -1
  229. package/lodash/_baseIsMap.js +1 -1
  230. package/lodash/_baseIsMatch.js +1 -1
  231. package/lodash/_baseIsNaN.js +1 -1
  232. package/lodash/_baseIsNative.js +1 -1
  233. package/lodash/_baseIsRegExp.js +1 -1
  234. package/lodash/_baseIsSet.js +1 -1
  235. package/lodash/_baseIsTypedArray.js +1 -1
  236. package/lodash/_baseIteratee.js +1 -1
  237. package/lodash/_baseKeys.js +1 -1
  238. package/lodash/_baseKeysIn.js +1 -1
  239. package/lodash/_baseLodash.js +1 -1
  240. package/lodash/_baseLt.js +1 -1
  241. package/lodash/_baseMap.js +1 -1
  242. package/lodash/_baseMatches.js +1 -1
  243. package/lodash/_baseMatchesProperty.js +1 -1
  244. package/lodash/_baseMean.js +1 -1
  245. package/lodash/_baseMerge.js +1 -1
  246. package/lodash/_baseMergeDeep.js +1 -1
  247. package/lodash/_baseNth.js +1 -1
  248. package/lodash/_baseOrderBy.js +1 -1
  249. package/lodash/_basePick.js +1 -1
  250. package/lodash/_basePickBy.js +1 -1
  251. package/lodash/_baseProperty.js +1 -1
  252. package/lodash/_basePropertyDeep.js +1 -1
  253. package/lodash/_basePropertyOf.js +1 -1
  254. package/lodash/_basePullAll.js +1 -1
  255. package/lodash/_basePullAt.js +1 -1
  256. package/lodash/_baseRandom.js +1 -1
  257. package/lodash/_baseRange.js +1 -1
  258. package/lodash/_baseReduce.js +1 -1
  259. package/lodash/_baseRepeat.js +1 -1
  260. package/lodash/_baseRest.js +1 -1
  261. package/lodash/_baseSample.js +1 -1
  262. package/lodash/_baseSampleSize.js +1 -1
  263. package/lodash/_baseSet.js +1 -1
  264. package/lodash/_baseSetData.js +1 -1
  265. package/lodash/_baseSetToString.js +1 -1
  266. package/lodash/_baseShuffle.js +1 -1
  267. package/lodash/_baseSlice.js +1 -1
  268. package/lodash/_baseSome.js +1 -1
  269. package/lodash/_baseSortBy.js +1 -1
  270. package/lodash/_baseSortedIndex.js +1 -1
  271. package/lodash/_baseSortedIndexBy.js +1 -1
  272. package/lodash/_baseSortedUniq.js +1 -1
  273. package/lodash/_baseSum.js +1 -1
  274. package/lodash/_baseTimes.js +1 -1
  275. package/lodash/_baseToNumber.js +1 -1
  276. package/lodash/_baseToPairs.js +1 -1
  277. package/lodash/_baseToString.js +1 -1
  278. package/lodash/_baseTrim.js +1 -1
  279. package/lodash/_baseUnary.js +1 -1
  280. package/lodash/_baseUniq.js +1 -1
  281. package/lodash/_baseUnset.js +1 -1
  282. package/lodash/_baseUpdate.js +1 -1
  283. package/lodash/_baseValues.js +1 -1
  284. package/lodash/_baseWhile.js +1 -1
  285. package/lodash/_baseWrapperValue.js +1 -1
  286. package/lodash/_baseXor.js +1 -1
  287. package/lodash/_baseZipObject.js +1 -1
  288. package/lodash/_cacheHas.js +1 -1
  289. package/lodash/_castArrayLikeObject.js +1 -1
  290. package/lodash/_castFunction.js +1 -1
  291. package/lodash/_castPath.js +1 -1
  292. package/lodash/_castRest.js +1 -1
  293. package/lodash/_castSlice.js +1 -1
  294. package/lodash/_charsEndIndex.js +1 -1
  295. package/lodash/_charsStartIndex.js +1 -1
  296. package/lodash/_cloneArrayBuffer.js +1 -1
  297. package/lodash/_cloneBuffer.js +1 -1
  298. package/lodash/_cloneDataView.js +1 -1
  299. package/lodash/_cloneMap.js +1 -1
  300. package/lodash/_cloneRegExp.js +1 -1
  301. package/lodash/_cloneSet.js +1 -1
  302. package/lodash/_cloneSymbol.js +1 -1
  303. package/lodash/_cloneTypedArray.js +1 -1
  304. package/lodash/_compareAscending.js +1 -1
  305. package/lodash/_compareMultiple.js +1 -1
  306. package/lodash/_composeArgs.js +1 -1
  307. package/lodash/_composeArgsRight.js +1 -1
  308. package/lodash/_copyArray.js +1 -1
  309. package/lodash/_copyObject.js +1 -1
  310. package/lodash/_copySymbols.js +1 -1
  311. package/lodash/_copySymbolsIn.js +1 -1
  312. package/lodash/_coreJsData.js +1 -1
  313. package/lodash/_countHolders.js +1 -1
  314. package/lodash/_createAggregator.js +1 -1
  315. package/lodash/_createAssigner.js +1 -1
  316. package/lodash/_createBaseEach.js +1 -1
  317. package/lodash/_createBaseFor.js +1 -1
  318. package/lodash/_createBind.js +1 -1
  319. package/lodash/_createCaseFirst.js +1 -1
  320. package/lodash/_createCompounder.js +1 -1
  321. package/lodash/_createCtor.js +1 -1
  322. package/lodash/_createCurry.js +1 -1
  323. package/lodash/_createFind.js +1 -1
  324. package/lodash/_createFlow.js +1 -1
  325. package/lodash/_createHybrid.js +1 -1
  326. package/lodash/_createInverter.js +1 -1
  327. package/lodash/_createMathOperation.js +1 -1
  328. package/lodash/_createOver.js +1 -1
  329. package/lodash/_createPadding.js +1 -1
  330. package/lodash/_createPartial.js +1 -1
  331. package/lodash/_createRange.js +1 -1
  332. package/lodash/_createRecurry.js +1 -1
  333. package/lodash/_createRelationalOperation.js +1 -1
  334. package/lodash/_createRound.js +1 -1
  335. package/lodash/_createSet.js +1 -1
  336. package/lodash/_createToPairs.js +1 -1
  337. package/lodash/_createWrap.js +1 -1
  338. package/lodash/_customDefaultsAssignIn.js +1 -1
  339. package/lodash/_customDefaultsMerge.js +1 -1
  340. package/lodash/_customOmitClone.js +1 -1
  341. package/lodash/_deburrLetter.js +1 -1
  342. package/lodash/_defineProperty.js +1 -1
  343. package/lodash/_equalArrays.js +1 -1
  344. package/lodash/_equalByTag.js +1 -1
  345. package/lodash/_equalObjects.js +1 -1
  346. package/lodash/_escapeHtmlChar.js +1 -1
  347. package/lodash/_escapeStringChar.js +1 -1
  348. package/lodash/_flatRest.js +1 -1
  349. package/lodash/_freeGlobal.js +1 -1
  350. package/lodash/_getAllKeys.js +1 -1
  351. package/lodash/_getAllKeysIn.js +1 -1
  352. package/lodash/_getData.js +1 -1
  353. package/lodash/_getFuncName.js +1 -1
  354. package/lodash/_getHolder.js +1 -1
  355. package/lodash/_getMapData.js +1 -1
  356. package/lodash/_getMatchData.js +1 -1
  357. package/lodash/_getNative.js +1 -1
  358. package/lodash/_getPrototype.js +1 -1
  359. package/lodash/_getRawTag.js +1 -1
  360. package/lodash/_getSymbols.js +1 -1
  361. package/lodash/_getSymbolsIn.js +1 -1
  362. package/lodash/_getTag.js +1 -1
  363. package/lodash/_getValue.js +1 -1
  364. package/lodash/_getView.js +1 -1
  365. package/lodash/_getWrapDetails.js +1 -1
  366. package/lodash/_hasPath.js +1 -1
  367. package/lodash/_hasUnicode.js +1 -1
  368. package/lodash/_hasUnicodeWord.js +1 -1
  369. package/lodash/_hashClear.js +1 -1
  370. package/lodash/_hashDelete.js +1 -1
  371. package/lodash/_hashGet.js +1 -1
  372. package/lodash/_hashHas.js +1 -1
  373. package/lodash/_hashSet.js +1 -1
  374. package/lodash/_initCloneArray.js +1 -1
  375. package/lodash/_initCloneByTag.js +1 -1
  376. package/lodash/_initCloneObject.js +1 -1
  377. package/lodash/_insertWrapDetails.js +1 -1
  378. package/lodash/_isFlattenable.js +1 -1
  379. package/lodash/_isIndex.js +1 -1
  380. package/lodash/_isIterateeCall.js +1 -1
  381. package/lodash/_isKey.js +1 -1
  382. package/lodash/_isKeyable.js +1 -1
  383. package/lodash/_isLaziable.js +1 -1
  384. package/lodash/_isMaskable.js +1 -1
  385. package/lodash/_isMasked.js +1 -1
  386. package/lodash/_isPrototype.js +1 -1
  387. package/lodash/_isStrictComparable.js +1 -1
  388. package/lodash/_iteratorToArray.js +1 -1
  389. package/lodash/_lazyClone.js +1 -1
  390. package/lodash/_lazyReverse.js +1 -1
  391. package/lodash/_lazyValue.js +1 -1
  392. package/lodash/_listCacheClear.js +1 -1
  393. package/lodash/_listCacheDelete.js +1 -1
  394. package/lodash/_listCacheGet.js +1 -1
  395. package/lodash/_listCacheHas.js +1 -1
  396. package/lodash/_listCacheSet.js +1 -1
  397. package/lodash/_mapCacheClear.js +1 -1
  398. package/lodash/_mapCacheDelete.js +1 -1
  399. package/lodash/_mapCacheGet.js +1 -1
  400. package/lodash/_mapCacheHas.js +1 -1
  401. package/lodash/_mapCacheSet.js +1 -1
  402. package/lodash/_mapToArray.js +1 -1
  403. package/lodash/_matchesStrictComparable.js +1 -1
  404. package/lodash/_memoizeCapped.js +1 -1
  405. package/lodash/_mergeData.js +1 -1
  406. package/lodash/_metaMap.js +1 -1
  407. package/lodash/_nativeCreate.js +1 -1
  408. package/lodash/_nativeKeys.js +1 -1
  409. package/lodash/_nativeKeysIn.js +1 -1
  410. package/lodash/_nodeUtil.js +1 -1
  411. package/lodash/_objectToString.js +1 -1
  412. package/lodash/_overArg.js +1 -1
  413. package/lodash/_overRest.js +1 -1
  414. package/lodash/_parent.js +1 -1
  415. package/lodash/_reEscape.js +1 -1
  416. package/lodash/_reEvaluate.js +1 -1
  417. package/lodash/_reInterpolate.js +1 -1
  418. package/lodash/_realNames.js +1 -1
  419. package/lodash/_reorder.js +1 -1
  420. package/lodash/_replaceHolders.js +1 -1
  421. package/lodash/_root.js +1 -1
  422. package/lodash/_safeGet.js +1 -1
  423. package/lodash/_setCacheHas.js +1 -1
  424. package/lodash/_setData.js +1 -1
  425. package/lodash/_setToArray.js +1 -1
  426. package/lodash/_setToPairs.js +1 -1
  427. package/lodash/_setToString.js +1 -1
  428. package/lodash/_setWrapToString.js +1 -1
  429. package/lodash/_shortOut.js +1 -1
  430. package/lodash/_shuffleSelf.js +1 -1
  431. package/lodash/_stackClear.js +1 -1
  432. package/lodash/_stackDelete.js +1 -1
  433. package/lodash/_stackGet.js +1 -1
  434. package/lodash/_stackHas.js +1 -1
  435. package/lodash/_stackSet.js +1 -1
  436. package/lodash/_strictIndexOf.js +1 -1
  437. package/lodash/_strictLastIndexOf.js +1 -1
  438. package/lodash/_stringSize.js +1 -1
  439. package/lodash/_stringToArray.js +1 -1
  440. package/lodash/_stringToPath.js +1 -1
  441. package/lodash/_toKey.js +1 -1
  442. package/lodash/_toSource.js +1 -1
  443. package/lodash/_trimmedEndIndex.js +1 -1
  444. package/lodash/_unescapeHtmlChar.js +1 -1
  445. package/lodash/_unicodeSize.js +1 -1
  446. package/lodash/_unicodeToArray.js +1 -1
  447. package/lodash/_unicodeWords.js +1 -1
  448. package/lodash/_updateWrapDetails.js +1 -1
  449. package/lodash/_wrapperClone.js +1 -1
  450. package/lodash/add.js +1 -1
  451. package/lodash/after.js +1 -1
  452. package/lodash/array.default.js +1 -1
  453. package/lodash/array.js +1 -1
  454. package/lodash/ary.js +1 -1
  455. package/lodash/assign.js +1 -1
  456. package/lodash/assignIn.js +1 -1
  457. package/lodash/assignInWith.js +1 -1
  458. package/lodash/assignWith.js +1 -1
  459. package/lodash/at.js +1 -1
  460. package/lodash/attempt.js +1 -1
  461. package/lodash/before.js +1 -1
  462. package/lodash/bind.js +1 -1
  463. package/lodash/bindAll.js +1 -1
  464. package/lodash/bindKey.js +1 -1
  465. package/lodash/camelCase.js +1 -1
  466. package/lodash/capitalize.js +1 -1
  467. package/lodash/castArray.js +1 -1
  468. package/lodash/ceil.js +1 -1
  469. package/lodash/chain.js +1 -1
  470. package/lodash/chunk.js +1 -1
  471. package/lodash/clamp.js +1 -1
  472. package/lodash/clone.js +1 -1
  473. package/lodash/cloneDeep.js +1 -1
  474. package/lodash/cloneDeepWith.js +1 -1
  475. package/lodash/cloneWith.js +1 -1
  476. package/lodash/collection.default.js +1 -1
  477. package/lodash/collection.js +1 -1
  478. package/lodash/commit.js +1 -1
  479. package/lodash/compact.js +1 -1
  480. package/lodash/concat.js +1 -1
  481. package/lodash/cond.js +1 -1
  482. package/lodash/conforms.js +1 -1
  483. package/lodash/conformsTo.js +1 -1
  484. package/lodash/constant.js +1 -1
  485. package/lodash/countBy.js +1 -1
  486. package/lodash/create.js +1 -1
  487. package/lodash/curry.js +1 -1
  488. package/lodash/curryRight.js +1 -1
  489. package/lodash/date.default.js +1 -1
  490. package/lodash/date.js +1 -1
  491. package/lodash/debounce.js +1 -1
  492. package/lodash/deburr.js +1 -1
  493. package/lodash/defaultTo.js +1 -1
  494. package/lodash/defaults.js +1 -1
  495. package/lodash/defaultsDeep.js +1 -1
  496. package/lodash/defer.js +1 -1
  497. package/lodash/delay.js +1 -1
  498. package/lodash/difference.js +1 -1
  499. package/lodash/differenceBy.js +1 -1
  500. package/lodash/differenceWith.js +1 -1
  501. package/lodash/divide.js +1 -1
  502. package/lodash/drop.js +1 -1
  503. package/lodash/dropRight.js +1 -1
  504. package/lodash/dropRightWhile.js +1 -1
  505. package/lodash/dropWhile.js +1 -1
  506. package/lodash/each.js +1 -1
  507. package/lodash/eachRight.js +1 -1
  508. package/lodash/endsWith.js +1 -1
  509. package/lodash/entries.js +1 -1
  510. package/lodash/entriesIn.js +1 -1
  511. package/lodash/eq.js +1 -1
  512. package/lodash/escape.js +1 -1
  513. package/lodash/escapeRegExp.js +1 -1
  514. package/lodash/every.js +1 -1
  515. package/lodash/extend.js +1 -1
  516. package/lodash/extendWith.js +1 -1
  517. package/lodash/fill.js +1 -1
  518. package/lodash/filter.js +1 -1
  519. package/lodash/find.js +1 -1
  520. package/lodash/findIndex.js +1 -1
  521. package/lodash/findKey.js +1 -1
  522. package/lodash/findLast.js +1 -1
  523. package/lodash/findLastIndex.js +1 -1
  524. package/lodash/findLastKey.js +1 -1
  525. package/lodash/first.js +1 -1
  526. package/lodash/flatMap.js +1 -1
  527. package/lodash/flatMapDeep.js +1 -1
  528. package/lodash/flatMapDepth.js +1 -1
  529. package/lodash/flatten.js +1 -1
  530. package/lodash/flattenDeep.js +1 -1
  531. package/lodash/flattenDepth.js +1 -1
  532. package/lodash/flip.js +1 -1
  533. package/lodash/floor.js +1 -1
  534. package/lodash/flow.js +1 -1
  535. package/lodash/flowRight.js +1 -1
  536. package/lodash/forEach.js +1 -1
  537. package/lodash/forEachRight.js +1 -1
  538. package/lodash/forIn.js +1 -1
  539. package/lodash/forInRight.js +1 -1
  540. package/lodash/forOwn.js +1 -1
  541. package/lodash/forOwnRight.js +1 -1
  542. package/lodash/fromPairs.js +1 -1
  543. package/lodash/function.default.js +1 -1
  544. package/lodash/function.js +1 -1
  545. package/lodash/functions.js +1 -1
  546. package/lodash/functionsIn.js +1 -1
  547. package/lodash/get.js +1 -1
  548. package/lodash/groupBy.js +1 -1
  549. package/lodash/gt.js +1 -1
  550. package/lodash/gte.js +1 -1
  551. package/lodash/has.js +1 -1
  552. package/lodash/hasIn.js +1 -1
  553. package/lodash/head.js +1 -1
  554. package/lodash/identity.js +1 -1
  555. package/lodash/inRange.js +1 -1
  556. package/lodash/includes.js +1 -1
  557. package/lodash/index.js +1 -1
  558. package/lodash/indexOf.js +1 -1
  559. package/lodash/initial.js +1 -1
  560. package/lodash/intersection.js +1 -1
  561. package/lodash/intersectionBy.js +1 -1
  562. package/lodash/intersectionWith.js +1 -1
  563. package/lodash/invert.js +1 -1
  564. package/lodash/invertBy.js +1 -1
  565. package/lodash/invoke.js +1 -1
  566. package/lodash/invokeMap.js +1 -1
  567. package/lodash/isArguments.js +1 -1
  568. package/lodash/isArray.js +1 -1
  569. package/lodash/isArrayBuffer.js +1 -1
  570. package/lodash/isArrayLike.js +1 -1
  571. package/lodash/isArrayLikeObject.js +1 -1
  572. package/lodash/isBoolean.js +1 -1
  573. package/lodash/isBuffer.js +1 -1
  574. package/lodash/isDate.js +1 -1
  575. package/lodash/isElement.js +1 -1
  576. package/lodash/isEmpty.js +1 -1
  577. package/lodash/isEqual.js +1 -1
  578. package/lodash/isEqualWith.js +1 -1
  579. package/lodash/isError.js +1 -1
  580. package/lodash/isFinite.js +1 -1
  581. package/lodash/isFunction.js +1 -1
  582. package/lodash/isInteger.js +1 -1
  583. package/lodash/isMap.js +1 -1
  584. package/lodash/isMatch.js +1 -1
  585. package/lodash/isMatchWith.js +1 -1
  586. package/lodash/isNaN.js +1 -1
  587. package/lodash/isNative.js +1 -1
  588. package/lodash/isNil.js +1 -1
  589. package/lodash/isNull.js +1 -1
  590. package/lodash/isNumber.js +1 -1
  591. package/lodash/isObject.js +1 -1
  592. package/lodash/isObjectLike.js +1 -1
  593. package/lodash/isPlainObject.js +1 -1
  594. package/lodash/isPromise.js +1 -1
  595. package/lodash/isRegExp.js +1 -1
  596. package/lodash/isSafeInteger.js +1 -1
  597. package/lodash/isSet.js +1 -1
  598. package/lodash/isString.js +1 -1
  599. package/lodash/isSymbol.js +1 -1
  600. package/lodash/isTypedArray.js +1 -1
  601. package/lodash/isUndefined.js +1 -1
  602. package/lodash/isWeakMap.js +1 -1
  603. package/lodash/isWeakSet.js +1 -1
  604. package/lodash/iteratee.js +1 -1
  605. package/lodash/join.js +1 -1
  606. package/lodash/kebabCase.js +1 -1
  607. package/lodash/keyBy.js +1 -1
  608. package/lodash/keys.js +1 -1
  609. package/lodash/keysIn.js +1 -1
  610. package/lodash/lang.default.js +1 -1
  611. package/lodash/lang.js +1 -1
  612. package/lodash/last.js +1 -1
  613. package/lodash/lastIndexOf.js +1 -1
  614. package/lodash/lodash.default.js +1 -1
  615. package/lodash/lodash.js +1 -1
  616. package/lodash/lowerCase.js +1 -1
  617. package/lodash/lowerFirst.js +1 -1
  618. package/lodash/lt.js +1 -1
  619. package/lodash/lte.js +1 -1
  620. package/lodash/map.js +1 -1
  621. package/lodash/mapKeys.js +1 -1
  622. package/lodash/mapValues.js +1 -1
  623. package/lodash/matches.js +1 -1
  624. package/lodash/matchesProperty.js +1 -1
  625. package/lodash/math.default.js +1 -1
  626. package/lodash/math.js +1 -1
  627. package/lodash/max.js +1 -1
  628. package/lodash/maxBy.js +1 -1
  629. package/lodash/mean.js +1 -1
  630. package/lodash/meanBy.js +1 -1
  631. package/lodash/memoize.js +1 -1
  632. package/lodash/merge.js +1 -1
  633. package/lodash/mergeWith.js +1 -1
  634. package/lodash/method.js +1 -1
  635. package/lodash/methodOf.js +1 -1
  636. package/lodash/min.js +1 -1
  637. package/lodash/minBy.js +1 -1
  638. package/lodash/mixin.js +1 -1
  639. package/lodash/multiply.js +1 -1
  640. package/lodash/next.js +1 -1
  641. package/lodash/noop.js +1 -1
  642. package/lodash/now.js +1 -1
  643. package/lodash/nth.js +1 -1
  644. package/lodash/nthArg.js +1 -1
  645. package/lodash/number.default.js +1 -1
  646. package/lodash/number.js +1 -1
  647. package/lodash/object.default.js +1 -1
  648. package/lodash/object.js +1 -1
  649. package/lodash/omit.js +1 -1
  650. package/lodash/omitBy.js +1 -1
  651. package/lodash/once.js +1 -1
  652. package/lodash/orderBy.js +1 -1
  653. package/lodash/over.js +1 -1
  654. package/lodash/overArgs.js +1 -1
  655. package/lodash/overEvery.js +1 -1
  656. package/lodash/overSome.js +1 -1
  657. package/lodash/pad.js +1 -1
  658. package/lodash/padEnd.js +1 -1
  659. package/lodash/padStart.js +1 -1
  660. package/lodash/parseInt.js +1 -1
  661. package/lodash/partial.js +1 -1
  662. package/lodash/partialRight.js +1 -1
  663. package/lodash/partition.js +1 -1
  664. package/lodash/pick.js +1 -1
  665. package/lodash/pickBy.js +1 -1
  666. package/lodash/plant.js +1 -1
  667. package/lodash/property.js +1 -1
  668. package/lodash/propertyOf.js +1 -1
  669. package/lodash/pull.js +1 -1
  670. package/lodash/pullAll.js +1 -1
  671. package/lodash/pullAllBy.js +1 -1
  672. package/lodash/pullAllWith.js +1 -1
  673. package/lodash/pullAt.js +1 -1
  674. package/lodash/random.js +1 -1
  675. package/lodash/range.js +1 -1
  676. package/lodash/rangeRight.js +1 -1
  677. package/lodash/rearg.js +1 -1
  678. package/lodash/reduce.js +1 -1
  679. package/lodash/reduceRight.js +1 -1
  680. package/lodash/reject.js +1 -1
  681. package/lodash/remove.js +1 -1
  682. package/lodash/repeat.js +1 -1
  683. package/lodash/replace.js +1 -1
  684. package/lodash/rest.js +1 -1
  685. package/lodash/result.js +1 -1
  686. package/lodash/reverse.js +1 -1
  687. package/lodash/round.js +1 -1
  688. package/lodash/sample.js +1 -1
  689. package/lodash/sampleSize.js +1 -1
  690. package/lodash/seq.default.js +1 -1
  691. package/lodash/seq.js +1 -1
  692. package/lodash/set.js +1 -1
  693. package/lodash/setWith.js +1 -1
  694. package/lodash/shuffle.js +1 -1
  695. package/lodash/size.js +1 -1
  696. package/lodash/slice.js +1 -1
  697. package/lodash/snakeCase.js +1 -1
  698. package/lodash/some.js +1 -1
  699. package/lodash/sortBy.js +1 -1
  700. package/lodash/sortedIndex.js +1 -1
  701. package/lodash/sortedIndexBy.js +1 -1
  702. package/lodash/sortedIndexOf.js +1 -1
  703. package/lodash/sortedLastIndex.js +1 -1
  704. package/lodash/sortedLastIndexBy.js +1 -1
  705. package/lodash/sortedLastIndexOf.js +1 -1
  706. package/lodash/sortedUniq.js +1 -1
  707. package/lodash/sortedUniqBy.js +1 -1
  708. package/lodash/split.js +1 -1
  709. package/lodash/spread.js +1 -1
  710. package/lodash/startCase.js +1 -1
  711. package/lodash/startsWith.js +1 -1
  712. package/lodash/string.default.js +1 -1
  713. package/lodash/string.js +1 -1
  714. package/lodash/stubArray.js +1 -1
  715. package/lodash/stubFalse.js +1 -1
  716. package/lodash/stubObject.js +1 -1
  717. package/lodash/stubString.js +1 -1
  718. package/lodash/stubTrue.js +1 -1
  719. package/lodash/subtract.js +1 -1
  720. package/lodash/sum.js +1 -1
  721. package/lodash/sumBy.js +1 -1
  722. package/lodash/tail.js +1 -1
  723. package/lodash/take.js +1 -1
  724. package/lodash/takeRight.js +1 -1
  725. package/lodash/takeRightWhile.js +1 -1
  726. package/lodash/takeWhile.js +1 -1
  727. package/lodash/tap.js +1 -1
  728. package/lodash/template.js +1 -1
  729. package/lodash/templateSettings.js +1 -1
  730. package/lodash/throttle.js +1 -1
  731. package/lodash/thru.js +1 -1
  732. package/lodash/times.js +1 -1
  733. package/lodash/toArray.js +1 -1
  734. package/lodash/toFinite.js +1 -1
  735. package/lodash/toInteger.js +1 -1
  736. package/lodash/toIterator.js +1 -1
  737. package/lodash/toJSON.js +1 -1
  738. package/lodash/toLength.js +1 -1
  739. package/lodash/toLower.js +1 -1
  740. package/lodash/toNumber.js +1 -1
  741. package/lodash/toPairs.js +1 -1
  742. package/lodash/toPairsIn.js +1 -1
  743. package/lodash/toPath.js +1 -1
  744. package/lodash/toPlainObject.js +1 -1
  745. package/lodash/toSafeInteger.js +1 -1
  746. package/lodash/toString.js +1 -1
  747. package/lodash/toUpper.js +1 -1
  748. package/lodash/transform.js +1 -1
  749. package/lodash/trim.js +1 -1
  750. package/lodash/trimEnd.js +1 -1
  751. package/lodash/trimStart.js +1 -1
  752. package/lodash/truncate.js +1 -1
  753. package/lodash/unary.js +1 -1
  754. package/lodash/unescape.js +1 -1
  755. package/lodash/union.js +1 -1
  756. package/lodash/unionBy.js +1 -1
  757. package/lodash/unionWith.js +1 -1
  758. package/lodash/uniq.js +1 -1
  759. package/lodash/uniqBy.js +1 -1
  760. package/lodash/uniqWith.js +1 -1
  761. package/lodash/uniqueId.js +1 -1
  762. package/lodash/unset.js +1 -1
  763. package/lodash/unzip.js +1 -1
  764. package/lodash/unzipWith.js +1 -1
  765. package/lodash/update.js +1 -1
  766. package/lodash/updateWith.js +1 -1
  767. package/lodash/upperCase.js +1 -1
  768. package/lodash/upperFirst.js +1 -1
  769. package/lodash/util.default.js +1 -1
  770. package/lodash/util.js +1 -1
  771. package/lodash/value.js +1 -1
  772. package/lodash/valueOf.js +1 -1
  773. package/lodash/values.js +1 -1
  774. package/lodash/valuesIn.js +1 -1
  775. package/lodash/without.js +1 -1
  776. package/lodash/words.js +1 -1
  777. package/lodash/wrap.js +1 -1
  778. package/lodash/wrapperAt.js +1 -1
  779. package/lodash/wrapperChain.js +1 -1
  780. package/lodash/wrapperLodash.js +1 -1
  781. package/lodash/wrapperReverse.js +1 -1
  782. package/lodash/wrapperValue.js +1 -1
  783. package/lodash/xor.js +1 -1
  784. package/lodash/xorBy.js +1 -1
  785. package/lodash/xorWith.js +1 -1
  786. package/lodash/zip.js +1 -1
  787. package/lodash/zipObject.js +1 -1
  788. package/lodash/zipObjectDeep.js +1 -1
  789. package/lodash/zipWith.js +1 -1
  790. package/math/index.js +1 -1
  791. package/md5/index.js +1 -1
  792. package/mock/MockWebSocket.js +1 -1
  793. package/mock/MockXMLHttpRequest.js +1 -1
  794. package/mock/index.js +1 -1
  795. package/mousetrap/index.js +1 -1
  796. package/mousetrap/plugins/bind-dictionary/index.js +1 -1
  797. package/mousetrap/plugins/global-bind/index.js +1 -1
  798. package/mousetrap/plugins/index.js +1 -1
  799. package/mousetrap/plugins/pause/index.js +1 -1
  800. package/mousetrap/plugins/record/index.js +1 -1
  801. package/normalize-wheel/ExecutionEnvironment.js +1 -1
  802. package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
  803. package/normalize-wheel/index.js +1 -1
  804. package/normalize-wheel/isEventSupported.js +1 -1
  805. package/number-to-chinese/index.js +1 -1
  806. package/nzh/cn.js +1 -1
  807. package/nzh/hk.js +1 -1
  808. package/nzh/index.js +1 -1
  809. package/nzh/nzh.js +1 -1
  810. package/nzh/src/autoGet.js +1 -1
  811. package/nzh/src/index.js +1 -1
  812. package/nzh/src/langs/cn_b.js +1 -1
  813. package/nzh/src/langs/cn_s.js +1 -1
  814. package/nzh/src/langs/hk_b.js +1 -1
  815. package/nzh/src/langs/hk_s.js +1 -1
  816. package/nzh/src/utils.js +1 -1
  817. package/object/index.js +1 -1
  818. package/package.json +1 -1
  819. package/path/index.d.ts +112 -0
  820. package/path/index.js +154 -0
  821. package/path/validators.d.ts +11 -0
  822. package/path/validators.js +15 -0
  823. package/pinyin/index.js +1 -1
  824. package/pinyin/lib/common/constant.js +1 -1
  825. package/pinyin/lib/common/segmentit/AC.js +1 -1
  826. package/pinyin/lib/common/segmentit/TrieNode.js +1 -1
  827. package/pinyin/lib/common/segmentit/index.js +1 -1
  828. package/pinyin/lib/common/segmentit/max-probability.js +1 -1
  829. package/pinyin/lib/common/segmentit/min-tokenization.js +1 -1
  830. package/pinyin/lib/common/segmentit/reverse-max-match.js +1 -1
  831. package/pinyin/lib/common/utils.js +1 -1
  832. package/pinyin/lib/core/convert/index.js +1 -1
  833. package/pinyin/lib/core/custom/index.js +1 -1
  834. package/pinyin/lib/core/dict/index.js +1 -1
  835. package/pinyin/lib/core/html/index.js +1 -1
  836. package/pinyin/lib/core/match/index.js +1 -1
  837. package/pinyin/lib/core/pinyin/handle.js +1 -1
  838. package/pinyin/lib/core/pinyin/index.js +1 -1
  839. package/pinyin/lib/core/pinyin/middlewares.js +1 -1
  840. package/pinyin/lib/core/polyphonic/index.js +1 -1
  841. package/pinyin/lib/core/segment/index.js +1 -1
  842. package/pinyin/lib/core/segment/middlewares.js +1 -1
  843. package/pinyin/lib/core/traditional/index.js +1 -1
  844. package/pinyin/lib/data/dict1.js +1 -1
  845. package/pinyin/lib/data/dict2.js +1 -1
  846. package/pinyin/lib/data/dict3.js +1 -1
  847. package/pinyin/lib/data/dict4.js +1 -1
  848. package/pinyin/lib/data/dict5.js +1 -1
  849. package/pinyin/lib/data/special.js +1 -1
  850. package/pinyin/lib/data/surname.js +1 -1
  851. package/pinyin/lib/index.js +1 -1
  852. package/query-string/index.js +1 -1
  853. package/random/address.js +1 -1
  854. package/random/constellation.js +1 -1
  855. package/random/image.js +1 -1
  856. package/random/index.js +1 -1
  857. package/random/licensePlate.js +1 -1
  858. package/random/name.js +1 -1
  859. package/random/number.js +1 -1
  860. package/random/text.js +1 -1
  861. package/random/time.js +1 -1
  862. package/random/web.js +1 -1
  863. package/request/apiReplaceSegment.js +1 -1
  864. package/request/index.js +1 -1
  865. package/screenfull/index.js +1 -1
  866. package/sleep/index.js +1 -1
  867. package/snapdom/index.browser.js +1 -1
  868. package/snapdom/index.js +1 -1
  869. package/snapdom/src/api/preCache.js +1 -1
  870. package/snapdom/src/api/snapdom.js +1 -1
  871. package/snapdom/src/core/cache.js +1 -1
  872. package/snapdom/src/core/capture.js +1 -1
  873. package/snapdom/src/core/clone.js +1 -1
  874. package/snapdom/src/core/context.js +1 -1
  875. package/snapdom/src/core/plugins.js +1 -1
  876. package/snapdom/src/core/prepare.js +1 -1
  877. package/snapdom/src/exporters/download.js +1 -1
  878. package/snapdom/src/exporters/toBlob.js +1 -1
  879. package/snapdom/src/exporters/toCanvas.js +1 -1
  880. package/snapdom/src/exporters/toImg.js +1 -1
  881. package/snapdom/src/index.browser.js +1 -1
  882. package/snapdom/src/index.js +1 -1
  883. package/snapdom/src/modules/CSSVar.js +1 -1
  884. package/snapdom/src/modules/background.js +1 -1
  885. package/snapdom/src/modules/changeCSS.js +1 -1
  886. package/snapdom/src/modules/compress.js +1 -1
  887. package/snapdom/src/modules/counter.js +1 -1
  888. package/snapdom/src/modules/fonts.js +1 -1
  889. package/snapdom/src/modules/iconFonts.js +1 -1
  890. package/snapdom/src/modules/images.js +1 -1
  891. package/snapdom/src/modules/lineClamp.js +1 -1
  892. package/snapdom/src/modules/pictureResolver.js +1 -1
  893. package/snapdom/src/modules/pseudo.js +1 -1
  894. package/snapdom/src/modules/rasterize.js +1 -1
  895. package/snapdom/src/modules/snapFetch.js +1 -1
  896. package/snapdom/src/modules/styles.js +1 -1
  897. package/snapdom/src/modules/svgDefs.js +1 -1
  898. package/snapdom/src/utils/browser.js +1 -1
  899. package/snapdom/src/utils/capture.helpers.js +1 -1
  900. package/snapdom/src/utils/clone.helpers.js +1 -1
  901. package/snapdom/src/utils/css.js +1 -1
  902. package/snapdom/src/utils/debug.js +1 -1
  903. package/snapdom/src/utils/helpers.js +1 -1
  904. package/snapdom/src/utils/image.js +1 -1
  905. package/snapdom/src/utils/index.js +1 -1
  906. package/snapdom/src/utils/prepare.helpers.js +1 -1
  907. package/snapdom/src/utils/transforms.helpers.js +1 -1
  908. package/string/chars.js +1 -1
  909. package/string/index.js +1 -1
  910. package/tinycolor/conversion.js +1 -1
  911. package/tinycolor/css-color-names.js +1 -1
  912. package/tinycolor/format-input.js +1 -1
  913. package/tinycolor/from-ratio.js +1 -1
  914. package/tinycolor/index.js +1 -1
  915. package/tinycolor/interfaces.js +1 -1
  916. package/tinycolor/public_api.js +1 -1
  917. package/tinycolor/random.js +1 -1
  918. package/tinycolor/readability.js +1 -1
  919. package/tinycolor/to-ms-filter.js +1 -1
  920. package/tinycolor/umd_api.js +1 -1
  921. package/tinycolor/utils.js +1 -1
  922. package/tree/index.js +1 -1
  923. package/tree/searchTree.js +1 -1
  924. package/tween/easing.js +1 -1
  925. package/tween/index.js +1 -1
  926. package/tween/tween.js +1 -1
  927. package/ui-color/compareColorByRange.js +1 -1
  928. package/ui-color/index.js +1 -1
  929. package/url/index.d.ts +2 -0
  930. package/{sanitize-url → url}/index.js +2 -2
  931. package/validate/index.js +1 -1
  932. package/validate/interface.js +1 -1
  933. package/validate/locale/en-US.js +1 -1
  934. package/validate/locale/index.js +1 -1
  935. package/validate/locale/zh-CN.js +1 -1
  936. package/validate/rules/array.js +1 -1
  937. package/validate/rules/base.js +1 -1
  938. package/validate/rules/boolean.js +1 -1
  939. package/validate/rules/custom.js +1 -1
  940. package/validate/rules/number.js +1 -1
  941. package/validate/rules/object.js +1 -1
  942. package/validate/rules/string.js +1 -1
  943. package/validate/rules/type.js +1 -1
  944. package/version/index.js +1 -1
  945. package/xlsx/crc32.js +1 -1
  946. package/xlsx/index.js +1 -1
  947. package/xlsx/xlsx.js +1 -1
  948. package/sanitize-url/index.d.ts +0 -2
  949. package/url-toolkit/LICENSE +0 -190
  950. package/url-toolkit/index.d.ts +0 -18
  951. package/url-toolkit/index.js +0 -62
  952. /package/{sanitize-url → url}/LICENSE +0 -0
package/mock/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { MockWebSocket as e, WebSocketNative as t } from "./MockWebSocket.js";
3
3
  import { MockXMLHttpRequest as n, XMLHttpRequestNative as r } from "./MockXMLHttpRequest.js";
4
4
  export { e as MockWebSocket, n as MockXMLHttpRequest, t as WebSocketNative, r as XMLHttpRequestNative };
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "./Mousetrap.js";
3
3
  import "./plugins/index.js";
4
4
  //#region utils/mousetrap/index.js
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "../../Mousetrap.js";
3
3
  //#region utils/mousetrap/plugins/bind-dictionary/index.js
4
4
  var t = e.prototype.bind, n;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "../../Mousetrap.js";
3
3
  //#region utils/mousetrap/plugins/global-bind/index.js
4
4
  var t = {}, n = e.prototype.stopCallback;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import "./bind-dictionary/index.js";
3
3
  import "./global-bind/index.js";
4
4
  import "./pause/index.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "../../Mousetrap.js";
3
3
  //#region utils/mousetrap/plugins/pause/index.js
4
4
  var t = e.prototype.stopCallback;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "../../Mousetrap.js";
3
3
  //#region utils/mousetrap/plugins/record/index.js
4
4
  var t = [], n = null, r = [], a = !1, o = null, s = e.prototype.handleKey;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { isBrowser as e } from "../constants/platform.js";
3
3
  import t from "lodash/isUndefined.js";
4
4
  //#region utils/normalize-wheel/ExecutionEnvironment.js
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/normalize-wheel/UserAgent_DEPRECATED.js
3
3
  var e = !1, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h;
4
4
  function g() {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "./UserAgent_DEPRECATED.js";
3
3
  import t from "./isEventSupported.js";
4
4
  //#region utils/normalize-wheel/index.js
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "./ExecutionEnvironment.js";
3
3
  //#region utils/normalize-wheel/isEventSupported.js
4
4
  function t(t, n) {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/number-to-chinese/index.ts
3
3
  var e = (e) => {
4
4
  let t = {
package/nzh/cn.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "./src/autoGet.js";
3
3
  import t from "./src/langs/cn_b.js";
4
4
  import n from "./src/langs/cn_s.js";
package/nzh/hk.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "./src/autoGet.js";
3
3
  import t from "./src/langs/hk_b.js";
4
4
  import n from "./src/langs/hk_s.js";
package/nzh/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import e from "./nzh.js";
3
3
  export { e as default };
4
4
  /* 独立思考,明辨是非 */
package/nzh/nzh.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { CL as e, toMoney as t, unCL as n } from "./src/index.js";
3
3
  import r from "./src/autoGet.js";
4
4
  import i from "./src/langs/cn_b.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { extend as e } from "./utils.js";
3
3
  import { CL as t, toMoney as n, unCL as r } from "./index.js";
4
4
  //#region utils/nzh/src/autoGet.js
package/nzh/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { centerArray as e, clearZero as t, extend as n, getDigit as r, getNumbResult as i, unshiftZero as a } from "./utils.js";
3
3
  //#region utils/nzh/src/index.js
4
4
  function o(e, n) {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/nzh/src/langs/cn_b.js
3
3
  var e = {
4
4
  ch: "零壹贰叁肆伍陆柒捌玖",
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/nzh/src/langs/cn_s.js
3
3
  var e = {
4
4
  ch: "零一二三四五六七八九",
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/nzh/src/langs/hk_b.js
3
3
  var e = {
4
4
  ch: "零壹貳參肆伍陸柒捌玖",
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/nzh/src/langs/hk_s.js
3
3
  var e = {
4
4
  ch: "零一二三四五六七八九",
package/nzh/src/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { hasOwn as e } from "../../object/index.js";
3
3
  //#region utils/nzh/src/utils.js
4
4
  var t = /^([+-])?0*(\d+)(\.(\d+))?$/, n = /^([+-])?0*(\d+)(\.(\d+))?e(([+-])?(\d+))$/i;
package/object/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { isNil as e, isString as t } from "../is/index.js";
3
3
  //#region utils/object/index.ts
4
4
  function n(e) {
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/utils","version":"0.1.56","dependencies":{},"peerDependencies":{"dayjs":"^1.11.21","lodash":"^4.18.1"},"main":"./index.js","type":"module","types":"./index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
1
+ {"name":"@unicom-cloud/utils","version":"0.1.57","dependencies":{},"peerDependencies":{"dayjs":"^1.11.21","lodash":"^4.18.1"},"main":"./index.js","type":"module","types":"./index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
@@ -0,0 +1,112 @@
1
+ /**
2
+ * The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
3
+ *
4
+ * Starting from leftmost {from} parameter, resolves {to} to an absolute path.
5
+ *
6
+ * If {to} isn't already absolute, {from} arguments are prepended in right to left order,
7
+ * until an absolute path is found. If after using all {from} paths still no absolute path is found,
8
+ * the current working directory is used as well. The resulting path is normalized,
9
+ * and trailing slashes are removed unless the path gets resolved to the root directory.
10
+ *
11
+ * @param paths A sequence of paths or path segments.
12
+ * @throws {TypeError} if any of the arguments is not a string.
13
+ */
14
+ export declare const resolve: (...args: string[]) => string;
15
+ /**
16
+ * Normalize a string path, reducing '..' and '.' parts.
17
+ * When multiple slashes are found, they're replaced by a single one;
18
+ * when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
19
+ *
20
+ * @param path string path to normalize.
21
+ * @throws {TypeError} if `path` is not a string.
22
+ */
23
+ export declare const normalize: (path?: string) => string;
24
+ /**
25
+ * Determines whether {path} is an absolute path.
26
+ * An absolute path will always resolve to the same location, regardless of the working directory.
27
+ *
28
+ * If the given {path} is a zero-length string, `false` will be returned.
29
+ *
30
+ * @param path path to test.
31
+ * @throws {TypeError} if `path` is not a string.
32
+ */
33
+ export declare const isAbsolute: (path: string) => boolean;
34
+ /**
35
+ * Join all arguments together and normalize the resulting path.
36
+ *
37
+ * @param paths paths to join.
38
+ * @throws {TypeError} if any of the path segments is not a string.
39
+ */
40
+ export declare const join: (...args: string[]) => string;
41
+ /**
42
+ * Solve the relative path from {from} to {to} based on the current working directory.
43
+ * At times we have two absolute paths, and we need to derive the relative path from
44
+ * one to the other. This is actually the reverse transform of path.resolve.
45
+ *
46
+ * @throws {TypeError} if either `from` or `to` is not a string.
47
+ */
48
+ export declare const relative: (from: string, to: string) => string;
49
+ /**
50
+ * On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
51
+ * If path is not a string, path will be returned without modifications.
52
+ * This method is meaningful only on Windows system.
53
+ * On POSIX systems, the method is non-operational and always returns path without modifications.
54
+ */
55
+ export declare const toNamespacedPath: (path: string) => string;
56
+ /**
57
+ * Return the directory name of a path. Similar to the Unix dirname command.
58
+ *
59
+ * @param path the path to evaluate.
60
+ * @throws {TypeError} if `path` is not a string.
61
+ */
62
+ export declare const dirname: (path: string) => string;
63
+ /**
64
+ * Return the last portion of a path. Similar to the Unix basename command.
65
+ * Often used to extract the file name from a fully qualified path.
66
+ *
67
+ * @param path the path to evaluate.
68
+ * @param suffix optionally, an extension to remove from the result.
69
+ * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string.
70
+ */
71
+ export declare const basename: (path: string, suffix?: string) => string;
72
+ /**
73
+ * Return the extension of the path, from the last '.' to end of string in the last portion of the path.
74
+ * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.
75
+ *
76
+ * @param path the path to evaluate.
77
+ * @throws {TypeError} if `path` is not a string.
78
+ */
79
+ export declare const extname: (path: string) => string;
80
+ /**
81
+ * Returns a path string from an object - the opposite of parse().
82
+ *
83
+ * @param pathObject path to evaluate.
84
+ */
85
+ export declare const format: (pathObject: {
86
+ dir?: string;
87
+ root?: string;
88
+ base?: string;
89
+ name?: string;
90
+ ext?: string;
91
+ }) => string;
92
+ /**
93
+ * Returns an object from a path string - the opposite of format().
94
+ *
95
+ * @param path path to evaluate.
96
+ * @throws {TypeError} if `path` is not a string.
97
+ */
98
+ export declare const parse: (path: string) => {
99
+ dir: string;
100
+ root: string;
101
+ base: string;
102
+ name: string;
103
+ ext: string;
104
+ };
105
+ /**
106
+ * The platform-specific file separator. '\\' or '/'.
107
+ */
108
+ export declare const sep = "/";
109
+ /**
110
+ * The platform-specific file delimiter. ';' or ':'.
111
+ */
112
+ export declare const delimiter = ":";
package/path/index.js ADDED
@@ -0,0 +1,154 @@
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
+ import { validateObject as e, validateString as t } from "./validators.js";
3
+ //#region utils/path/index.ts
4
+ var n = 47, r = 46, i = (e) => e === n, a = (e) => e ? `${e[0] === "." ? "" : "."}${e}` : "", o = () => "/", s = (e, t, a) => {
5
+ let o = "", s = 0, c = -1, l = 0, u = 0;
6
+ for (let d = 0; d <= e.length; ++d) {
7
+ if (d < e.length) u = e.charCodeAt(d);
8
+ else if (i(u)) break;
9
+ else u = n;
10
+ if (i(u)) {
11
+ if (!(c === d - 1 || l === 1)) if (l === 2) {
12
+ if (o.length < 2 || s !== 2 || o.charCodeAt(o.length - 1) !== r || o.charCodeAt(o.length - 2) !== r) {
13
+ if (o.length > 2) {
14
+ let e = o.lastIndexOf(a);
15
+ e === -1 ? (o = "", s = 0) : (o = o.slice(0, e), s = o.length - 1 - o.lastIndexOf(a)), c = d, l = 0;
16
+ continue;
17
+ } else if (o.length !== 0) {
18
+ o = "", s = 0, c = d, l = 0;
19
+ continue;
20
+ }
21
+ }
22
+ t && (o += o.length > 0 ? `${a}..` : "..", s = 2);
23
+ } else o.length > 0 ? o += `${a}${e.slice(c + 1, d)}` : o = e.slice(c + 1, d), s = d - c - 1;
24
+ c = d, l = 0;
25
+ } else u === r && l !== -1 ? ++l : l = -1;
26
+ }
27
+ return o;
28
+ }, c = (...e) => {
29
+ let r = "", i = !1;
30
+ for (let a = e.length - 1; a >= -1 && !i; a--) {
31
+ let s = a >= 0 ? e[a] : o();
32
+ if (!t(s, `paths[${a}]`)) throw Error("invalid string");
33
+ s.length !== 0 && (r = `${s}/${r}`, i = s.charCodeAt(0) === n);
34
+ }
35
+ return r = s(r, !i, "/"), i ? `/${r}` : r.length > 0 ? r : ".";
36
+ }, l = (e) => {
37
+ if (!t(e, "path")) throw Error("Invalid string");
38
+ if (e.length === 0) return ".";
39
+ let r = e.charCodeAt(0) === n, i = e.charCodeAt(e.length - 1) === n;
40
+ return e = s(e, !r, "/"), e.length === 0 ? r ? "/" : i ? "./" : "." : (i && (e += "/"), r ? `/${e}` : e);
41
+ }, u = (e) => {
42
+ if (!t(e, "path")) throw Error("invalid string");
43
+ return e.length > 0 && e.charCodeAt(0) === n;
44
+ }, d = (...e) => {
45
+ if (e.length === 0) return ".";
46
+ let n;
47
+ for (let r of e) {
48
+ if (!t(r, "path")) throw Error("invalid string");
49
+ n === void 0 ? n = r : n += `/${r}`;
50
+ }
51
+ return n === void 0 ? "." : l(n);
52
+ }, f = (e, r) => {
53
+ if (!t(e, "from") || !t(r, "to")) throw Error("invalid string");
54
+ if (e === r || (e = c(e), r = c(r), e === r)) return "";
55
+ let i = e.length, a = i - 1, o = r.length - 1, s = a < o ? a : o, l = -1, u = 0;
56
+ for (; u < s; u++) {
57
+ let t = e.charCodeAt(1 + u);
58
+ if (t !== r.charCodeAt(1 + u)) break;
59
+ t === n && (l = u);
60
+ }
61
+ if (u === s) if (o > s) {
62
+ if (r.charCodeAt(1 + u) === n) return r.slice(1 + u + 1);
63
+ if (u === 0) return r.slice(1 + u);
64
+ } else a > s && (e.charCodeAt(1 + u) === n ? l = u : u === 0 && (l = 0));
65
+ let d = "";
66
+ for (u = 1 + l + 1; u <= i; ++u) (u === i || e.charCodeAt(u) === n) && (d += d.length === 0 ? ".." : "/..");
67
+ return `${d}${r.slice(1 + l)}`;
68
+ }, p = (e) => e, m = (e) => {
69
+ if (!t(e, "path")) throw Error("invalid string");
70
+ if (e.length === 0) return ".";
71
+ let r = e.charCodeAt(0) === n, i = -1, a = !0;
72
+ for (let t = e.length - 1; t >= 1; --t) if (e.charCodeAt(t) === n) {
73
+ if (!a) {
74
+ i = t;
75
+ break;
76
+ }
77
+ } else a = !1;
78
+ return i === -1 ? r ? "/" : "." : r && i === 1 ? "//" : e.slice(0, i);
79
+ }, h = (e, r) => {
80
+ if (r !== void 0 && t(r, "ext"), !t(e, "path")) throw Error("invalid string");
81
+ let i = 0, a = -1, o = !0;
82
+ if (r !== void 0 && r.length > 0 && r.length <= e.length) {
83
+ if (r === e) return "";
84
+ let t = r.length - 1, s = -1;
85
+ for (let c = e.length - 1; c >= 0; --c) {
86
+ let l = e.charCodeAt(c);
87
+ if (l === n) {
88
+ if (!o) {
89
+ i = c + 1;
90
+ break;
91
+ }
92
+ } else s === -1 && (o = !1, s = c + 1), t >= 0 && (l === r.charCodeAt(t) ? --t === -1 && (a = c) : (t = -1, a = s));
93
+ }
94
+ return i === a ? a = s : a === -1 && (a = e.length), e.slice(i, a);
95
+ }
96
+ for (let t = e.length - 1; t >= 0; --t) if (e.charCodeAt(t) === n) {
97
+ if (!o) {
98
+ i = t + 1;
99
+ break;
100
+ }
101
+ } else a === -1 && (o = !1, a = t + 1);
102
+ return a === -1 ? "" : e.slice(i, a);
103
+ }, g = (e) => {
104
+ if (!t(e, "path")) throw Error("invalid string");
105
+ let i = -1, a = 0, o = -1, s = !0, c = 0;
106
+ for (let t = e.length - 1; t >= 0; --t) {
107
+ let l = e.charCodeAt(t);
108
+ if (l === n) {
109
+ if (!s) {
110
+ a = t + 1;
111
+ break;
112
+ }
113
+ continue;
114
+ }
115
+ o === -1 && (s = !1, o = t + 1), l === r ? i === -1 ? i = t : c !== 1 && (c = 1) : i !== -1 && (c = -1);
116
+ }
117
+ return i === -1 || o === -1 || c === 0 || c === 1 && i === o - 1 && i === a + 1 ? "" : e.slice(i, o);
118
+ }, _ = (t) => {
119
+ if (!e(t, "pathObject")) throw Error("invalid object");
120
+ let n = t.dir || t.root, r = t.base || `${t.name || ""}${a(t.ext)}`;
121
+ return n ? n === t.root ? `${n}${r}` : `${n}/${r}` : r;
122
+ }, v = (e) => {
123
+ if (!t(e, "path")) throw Error("invalid string");
124
+ let i = {
125
+ root: "",
126
+ dir: "",
127
+ base: "",
128
+ ext: "",
129
+ name: ""
130
+ };
131
+ if (e.length === 0) return i;
132
+ let a = e.charCodeAt(0) === n, o;
133
+ a ? (i.root = "/", o = 1) : o = 0;
134
+ let s = -1, c = 0, l = -1, u = !0, d = e.length - 1, f = 0;
135
+ for (; d >= o; --d) {
136
+ let t = e.charCodeAt(d);
137
+ if (t === n) {
138
+ if (!u) {
139
+ c = d + 1;
140
+ break;
141
+ }
142
+ continue;
143
+ }
144
+ l === -1 && (u = !1, l = d + 1), t === r ? s === -1 ? s = d : f !== 1 && (f = 1) : s !== -1 && (f = -1);
145
+ }
146
+ if (l !== -1) {
147
+ let t = c === 0 && a ? 1 : c;
148
+ s === -1 || f === 0 || f === 1 && s === l - 1 && s === c + 1 ? i.base = i.name = e.slice(t, l) : (i.name = e.slice(t, s), i.base = e.slice(t, l), i.ext = e.slice(s, l));
149
+ }
150
+ return c > 0 ? i.dir = e.slice(0, c - 1) : a && (i.dir = "/"), i;
151
+ }, y = "/", b = ":";
152
+ //#endregion
153
+ export { h as basename, b as delimiter, m as dirname, g as extname, _ as format, u as isAbsolute, d as join, l as normalize, v as parse, f as relative, c as resolve, y as sep, p as toNamespacedPath };
154
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Validates that the value is an object.
3
+ * Throws an error if the value is not an object, or if it is null or an array,
4
+ * depending on the options provided.
5
+ */
6
+ export declare const validateObject: <T>(value: T, name: string, options?: number) => value is T;
7
+ /**
8
+ * Validates that the value is a string.
9
+ * Returns true if the value is a string, false otherwise.
10
+ */
11
+ export declare const validateString: (value: unknown, _name: string) => value is string;
@@ -0,0 +1,15 @@
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
+ //#region utils/path/validators.ts
3
+ var e = 0, t = (t, n, r = e) => {
4
+ if (r === e) {
5
+ if (t === null || Array.isArray(t) || typeof t != "object") throw Error(`${n} Object ${t}`);
6
+ } else {
7
+ if (!(1 & r) && t === null || !(2 & r) && Array.isArray(t)) throw Error(`${n} Object ${t}`);
8
+ let e = (4 & r) == 0, i = typeof t;
9
+ if (i !== "object" && (e || i !== "function")) throw Error(`${n} Object ${t}`);
10
+ }
11
+ return !0;
12
+ }, n = (e, t) => typeof e == "string";
13
+ //#endregion
14
+ export { t as validateObject, n as validateString };
15
+ /* 独立思考,明辨是非 */
package/pinyin/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { clearCustomDict as e, customPinyin as t } from "./lib/core/custom/index.js";
3
3
  import { addTraditionalDict as n, getTraditionalDict as r } from "./lib/core/traditional/index.js";
4
4
  import { getFinalParts as i, getInitialAndFinal as a, getNumOfTone as o } from "./lib/core/pinyin/handle.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/pinyin/lib/common/constant.ts
3
3
  var e = /^[\uD800-\uDBFF]$/, t = /^[\uDC00-\uDFFF]$/, n = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, r = {
4
4
  Unknown: 1e-13,
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Priority as e } from "../constant.js";
3
3
  import { splitString as t, stringLength as n } from "../utils.js";
4
4
  import { maxProbability as r } from "./max-probability.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/pinyin/lib/common/segmentit/TrieNode.ts
3
3
  var e = /* @__PURE__ */ function(e) {
4
4
  return e[e.ReverseMaxMatch = 1] = "ReverseMaxMatch", e[e.MaxProbability = 2] = "MaxProbability", e[e.MinTokenization = 3] = "MinTokenization", e;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Pattern2 as e } from "../../data/dict2.js";
3
3
  import { Pattern3 as t } from "../../data/dict3.js";
4
4
  import { Pattern4 as n } from "../../data/dict4.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Priority as e, Probability as t } from "../constant.js";
3
3
  //#region utils/pinyin/lib/common/segmentit/max-probability.ts
4
4
  function n(e, t) {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Priority as e } from "../constant.js";
3
3
  //#region utils/pinyin/lib/common/segmentit/min-tokenization.ts
4
4
  function t(e, t) {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  //#region utils/pinyin/lib/common/segmentit/reverse-max-match.ts
3
3
  function e(e, t) {
4
4
  return !(t.index + t.length <= e.index || t.priority > e.priority || t.priority === e.priority && t.length > e.length);
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { DoubleUnicodePrefixReg as e, DoubleUnicodeReg as t, DoubleUnicodeSuffixReg as n } from "./constant.js";
3
3
  //#region utils/pinyin/lib/common/utils.ts
4
4
  function r(e) {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { getNumOfTone as e, getPinyinWithoutTone as t } from "../pinyin/handle.js";
3
3
  //#region utils/pinyin/lib/core/convert/index.ts
4
4
  var n = {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Priority as e, Probability as t } from "../../common/constant.js";
3
3
  import { FastDictFactory as n, splitString as r, stringLength as i } from "../../common/utils.js";
4
4
  import { acTree as a } from "../../common/segmentit/index.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Priority as e, Probability as t } from "../../common/constant.js";
3
3
  import { stringLength as n } from "../../common/utils.js";
4
4
  import { acTree as r } from "../../common/segmentit/index.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { pinyin as e } from "../pinyin/index.js";
3
3
  //#region utils/pinyin/lib/core/html/index.ts
4
4
  var t = {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { splitString as e } from "../../common/utils.js";
3
3
  import { pinyin as t } from "../pinyin/index.js";
4
4
  //#region utils/pinyin/lib/core/match/index.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { Priority as e } from "../../common/constant.js";
3
3
  import { splitString as t } from "../../common/utils.js";
4
4
  import { InitialList as n, SpecialFinalList as r, SpecialFinalMap as i, SpecialInitialList as a, doubleFinalList as o, toneSandhiIgnoreSuffix as s, toneSandhiList as c, toneSandhiMap as l } from "../../data/special.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { stringLength as e } from "../../common/utils.js";
3
3
  import { TokenizationAlgorithm as t } from "../../common/segmentit/TrieNode.js";
4
4
  import { getPinyin as n } from "./handle.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { stringLength as e } from "../../common/utils.js";
3
3
  import t from "../../data/dict1.js";
4
4
  import { getAllPinyin as n, getFinalParts as r, getFirstLetter as i, getInitialAndFinal as a, getMultiplePinyin as o, getNumOfTone as s, getPinyinWithNum as c, getPinyinWithoutTone as l } from "./handle.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { splitString as e } from "../../common/utils.js";
3
3
  import t from "../../data/dict1.js";
4
4
  import { getCustomPolyphonicDict as n } from "../custom/index.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { stringLength as e } from "../../common/utils.js";
3
3
  import { TokenizationAlgorithm as t } from "../../common/segmentit/TrieNode.js";
4
4
  import { getPinyin as n } from "../pinyin/handle.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-29 09:44:02 星期一 山东省济南市 */
1
+ /* 潘启宝 2026-06-30 10:17:13 星期二 山东省济南市 */
2
2
  import { splitString as e } from "../../common/utils.js";
3
3
  //#region utils/pinyin/lib/core/segment/middlewares.ts
4
4
  var t = /* @__PURE__ */ function(e) {