umt 2.6.0 → 2.7.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 (108) hide show
  1. package/README.md +25 -0
  2. package/module/Crypto/decodeBase32.d.ts +7 -0
  3. package/module/Crypto/decodeBase32.js +27 -0
  4. package/module/Crypto/decodeBase32.js.map +1 -0
  5. package/module/Crypto/decodeBase32ToString.d.ts +7 -0
  6. package/module/Crypto/decodeBase32ToString.js +11 -0
  7. package/module/Crypto/decodeBase32ToString.js.map +1 -0
  8. package/module/Crypto/decodeBase58.d.ts +7 -0
  9. package/module/Crypto/decodeBase58.js +34 -0
  10. package/module/Crypto/decodeBase58.js.map +1 -0
  11. package/module/Crypto/decodeBase58ToString.d.ts +7 -0
  12. package/module/Crypto/decodeBase58ToString.js +11 -0
  13. package/module/Crypto/decodeBase58ToString.js.map +1 -0
  14. package/module/Crypto/encodeBase32.d.ts +7 -0
  15. package/module/Crypto/encodeBase32.js +28 -0
  16. package/module/Crypto/encodeBase32.js.map +1 -0
  17. package/module/Crypto/encodeBase58.d.ts +7 -0
  18. package/module/Crypto/encodeBase58.js +29 -0
  19. package/module/Crypto/encodeBase58.js.map +1 -0
  20. package/module/Crypto/index.d.ts +6 -0
  21. package/module/Crypto/index.js +7 -0
  22. package/module/Crypto/index.js.map +1 -0
  23. package/module/DataStructure/index.d.ts +1 -0
  24. package/module/DataStructure/index.js +2 -0
  25. package/module/DataStructure/index.js.map +1 -0
  26. package/module/DataStructure/priorityQueue.d.ts +241 -0
  27. package/module/DataStructure/priorityQueue.js +327 -0
  28. package/module/DataStructure/priorityQueue.js.map +1 -0
  29. package/module/Math/correlationCoefficient.d.ts +11 -0
  30. package/module/Math/correlationCoefficient.js +40 -0
  31. package/module/Math/correlationCoefficient.js.map +1 -0
  32. package/module/Math/index.d.ts +3 -0
  33. package/module/Math/index.js +3 -0
  34. package/module/Math/index.js.map +1 -1
  35. package/module/Math/mode.d.ts +10 -0
  36. package/module/Math/mode.js +31 -0
  37. package/module/Math/mode.js.map +1 -0
  38. package/module/Math/percentile.d.ts +11 -0
  39. package/module/Math/percentile.js +31 -0
  40. package/module/Math/percentile.js.map +1 -0
  41. package/module/String/fuzzySearch.d.ts +14 -0
  42. package/module/String/fuzzySearch.js +27 -0
  43. package/module/String/fuzzySearch.js.map +1 -0
  44. package/module/String/index.d.ts +4 -0
  45. package/module/String/index.js +4 -0
  46. package/module/String/index.js.map +1 -1
  47. package/module/String/slugify.d.ts +10 -0
  48. package/module/String/slugify.js +21 -0
  49. package/module/String/slugify.js.map +1 -0
  50. package/module/String/truncate.d.ts +12 -0
  51. package/module/String/truncate.js +21 -0
  52. package/module/String/truncate.js.map +1 -0
  53. package/module/String/unescapeHtml.d.ts +17 -0
  54. package/module/String/unescapeHtml.js +45 -0
  55. package/module/String/unescapeHtml.js.map +1 -0
  56. package/module/Validate/index.d.ts +1 -0
  57. package/module/Validate/index.js +1 -0
  58. package/module/Validate/index.js.map +1 -1
  59. package/module/Validate/isDeepEqual.d.ts +28 -0
  60. package/module/Validate/isDeepEqual.js +148 -0
  61. package/module/Validate/isDeepEqual.js.map +1 -0
  62. package/module/es5/Crypto/decodeBase32.d.ts +7 -0
  63. package/module/es5/Crypto/decodeBase32.js +44 -0
  64. package/module/es5/Crypto/decodeBase32ToString.d.ts +7 -0
  65. package/module/es5/Crypto/decodeBase32ToString.js +16 -0
  66. package/module/es5/Crypto/decodeBase58.d.ts +7 -0
  67. package/module/es5/Crypto/decodeBase58.js +63 -0
  68. package/module/es5/Crypto/decodeBase58ToString.d.ts +7 -0
  69. package/module/es5/Crypto/decodeBase58ToString.js +16 -0
  70. package/module/es5/Crypto/encodeBase32.d.ts +7 -0
  71. package/module/es5/Crypto/encodeBase32.js +45 -0
  72. package/module/es5/Crypto/encodeBase58.d.ts +7 -0
  73. package/module/es5/Crypto/encodeBase58.js +55 -0
  74. package/module/es5/Crypto/index.d.ts +6 -0
  75. package/module/es5/Crypto/index.js +71 -0
  76. package/module/es5/DataStructure/index.d.ts +1 -0
  77. package/module/es5/DataStructure/index.js +16 -0
  78. package/module/es5/DataStructure/priorityQueue.d.ts +241 -0
  79. package/module/es5/DataStructure/priorityQueue.js +405 -0
  80. package/module/es5/Math/correlationCoefficient.d.ts +11 -0
  81. package/module/es5/Math/correlationCoefficient.js +63 -0
  82. package/module/es5/Math/index.d.ts +3 -0
  83. package/module/es5/Math/index.js +33 -0
  84. package/module/es5/Math/mode.d.ts +10 -0
  85. package/module/es5/Math/mode.js +67 -0
  86. package/module/es5/Math/percentile.d.ts +11 -0
  87. package/module/es5/Math/percentile.js +42 -0
  88. package/module/es5/String/fuzzySearch.d.ts +14 -0
  89. package/module/es5/String/fuzzySearch.js +50 -0
  90. package/module/es5/String/index.d.ts +4 -0
  91. package/module/es5/String/index.js +44 -0
  92. package/module/es5/String/slugify.d.ts +10 -0
  93. package/module/es5/String/slugify.js +18 -0
  94. package/module/es5/String/truncate.d.ts +12 -0
  95. package/module/es5/String/truncate.js +27 -0
  96. package/module/es5/String/unescapeHtml.d.ts +17 -0
  97. package/module/es5/String/unescapeHtml.js +51 -0
  98. package/module/es5/Validate/index.d.ts +1 -0
  99. package/module/es5/Validate/index.js +11 -0
  100. package/module/es5/Validate/isDeepEqual.d.ts +28 -0
  101. package/module/es5/Validate/isDeepEqual.js +232 -0
  102. package/module/es5/index.d.ts +2 -0
  103. package/module/es5/index.js +22 -0
  104. package/module/es5/tsconfig.tsbuildinfo +1 -1
  105. package/module/index.d.ts +2 -0
  106. package/module/index.js +2 -0
  107. package/module/index.js.map +1 -1
  108. package/package.json +28 -28
package/module/index.d.ts CHANGED
@@ -2,6 +2,8 @@ export * from "./Advance";
2
2
  export * from "./Array";
3
3
  export * from "./Color";
4
4
  export * from "./Consts";
5
+ export * from "./Crypto";
6
+ export * from "./DataStructure";
5
7
  export * from "./Date";
6
8
  export * from "./Error";
7
9
  export * from "./Function";
package/module/index.js CHANGED
@@ -2,6 +2,8 @@ export * from "./Advance";
2
2
  export * from "./Array";
3
3
  export * from "./Color";
4
4
  export * from "./Consts";
5
+ export * from "./Crypto";
6
+ export * from "./DataStructure";
5
7
  export * from "./Date";
6
8
  export * from "./Error";
7
9
  export * from "./Function";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
package/package.json CHANGED
@@ -5,34 +5,34 @@
5
5
  },
6
6
  "description": "UMT Main Package is written in TypeScript and is a collection of useful functions for various tasks.",
7
7
  "devDependencies": {
8
- "@babel/cli": "7.27.2",
9
- "@babel/core": "7.27.4",
10
- "@babel/preset-env": "7.27.2",
8
+ "@babel/cli": "7.28.0",
9
+ "@babel/core": "7.28.0",
10
+ "@babel/preset-env": "7.28.0",
11
11
  "@babel/preset-typescript": "7.27.1",
12
- "@biomejs/biome": "2.0.0",
13
- "@swc/core": "1.12.4",
14
- "@swc/jest": "0.2.38",
15
- "@types/bun": "1.2.16",
12
+ "@biomejs/biome": "2.1.2",
13
+ "@swc/core": "1.13.0",
14
+ "@swc/jest": "0.2.39",
15
+ "@types/bun": "1.2.18",
16
16
  "@types/jest": "30.0.0",
17
- "@types/lodash": "4.17.18",
18
- "@types/node": "24.0.3",
19
- "@typescript-eslint/eslint-plugin": "8.34.1",
20
- "@typescript-eslint/parser": "8.34.1",
21
- "bun-types": "1.2.15",
22
- "dependency-cruiser": "16.10.3",
23
- "es-toolkit": "1.39.3",
24
- "eslint": "9.29.0",
25
- "eslint-plugin-import": "2.31.0",
17
+ "@types/lodash": "4.17.20",
18
+ "@types/node": "24.0.14",
19
+ "@typescript-eslint/eslint-plugin": "8.37.0",
20
+ "@typescript-eslint/parser": "8.37.0",
21
+ "bun-types": "1.2.18",
22
+ "dependency-cruiser": "16.10.4",
23
+ "es-toolkit": "1.39.7",
24
+ "eslint": "9.31.0",
25
+ "eslint-plugin-import": "2.32.0",
26
26
  "eslint-plugin-unicorn": "59.0.1",
27
27
  "fast-sort": "3.4.1",
28
28
  "gh-pages": "6.3.0",
29
- "jest": "30.0.2",
29
+ "jest": "30.0.4",
30
30
  "lodash": "4.17.21",
31
31
  "mitata": "1.0.34",
32
32
  "ts-jest": "29.4.0",
33
33
  "ts-node": "10.9.2",
34
34
  "tsc-alias": "1.8.16",
35
- "typedoc": "0.28.5",
35
+ "typedoc": "0.28.7",
36
36
  "typescript": "5.8.3"
37
37
  },
38
38
  "directories": {
@@ -57,23 +57,23 @@
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsc && tsc-alias -p tsconfig.json",
60
- "build:cjs": "tsc -p tsconfig.cjs.json && node cjs.build.mjs && cp LICENSE common-module/LICENSE && cp README.md common-module/README.md && cp .npmignore common-module/.npmignore",
60
+ "build:cjs": "tsc -p tsconfig.cjs.json && bun run cjs.build.mjs && cp LICENSE common-module/LICENSE && cp README.md common-module/README.md && cp .npmignore common-module/.npmignore",
61
61
  "build:babel": "babel src --extensions '.ts' --out-dir module/es5 && tsc --emitDeclarationOnly --outDir module/es5",
62
62
  "build:cjs:babel": "babel src --extensions '.ts' --out-dir common-module/module/es5 && tsc --emitDeclarationOnly --outDir common-module/module/es5",
63
- "build:full": "yarn build && yarn build:cjs && yarn build:babel && yarn build:cjs:babel",
64
- "build:clean": "rm -rf module && yarn build",
65
- "build:clean:full": "rm -rf module && rm -rf common-module && yarn build:full",
66
- "clean-build": "rm -rf module && yarn build",
67
- "deploy": "yarn typedoc && gh-pages -d doc",
63
+ "build:full": "bun run build && bun run build:cjs && bun run build:babel && bun run build:cjs:babel",
64
+ "build:clean": "rm -rf module && bun run build",
65
+ "build:clean:full": "rm -rf module && rm -rf common-module && bun run build:full",
66
+ "clean-build": "rm -rf module && bun run build",
67
+ "deploy": "bun run typedoc && gh-pages -d doc",
68
68
  "eslint": "eslint src",
69
69
  "format": "biome format . --write",
70
- "lint": "yarn eslint --fix && biome check . --write && tsc",
71
- "lint:ci": "yarn eslint && biome ci . && tsc",
70
+ "lint": "bun run eslint --fix && biome check . --write && tsc",
71
+ "lint:ci": "bun run eslint && biome ci . && tsc",
72
72
  "test": "jest",
73
73
  "test-debug": "cd test && tsc",
74
- "ts-node": "yarn build && ts-node --project tmp/tsconfig.json tmp/src/index.ts"
74
+ "ts-node": "bun run build && ts-node --project tmp/tsconfig.json tmp/src/index.ts"
75
75
  },
76
76
  "type": "module",
77
77
  "types": "module/index.d.js",
78
- "version": "2.6.0"
78
+ "version": "2.7.0"
79
79
  }