gzjs-utils 1.0.26 → 1.0.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.
- package/lib/index.cjs +1 -1
- package/lib/index.iife.js +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.umd.js +1 -1
- package/package.json +5 -17
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gzjs-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "smart js utils",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
@@ -14,17 +14,6 @@
|
|
|
14
14
|
"types": "./types/index.d.ts"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"dev": "vite",
|
|
19
|
-
"build": "vite build",
|
|
20
|
-
"preview": "vite preview",
|
|
21
|
-
"test": "tsx test/test-crypto.ts && tsx test/test-file-hash.ts && tsx test/test-clone.ts && tsx test/test-promise.ts && tsx test/test-throttle.ts",
|
|
22
|
-
"test:crypto": "tsx test/test-crypto.ts",
|
|
23
|
-
"test:file": "tsx test/test-file-hash.ts",
|
|
24
|
-
"test:clone": "tsx test/test-clone.ts",
|
|
25
|
-
"test:promise": "tsx test/test-promise.ts",
|
|
26
|
-
"test:throttle": "tsx test/test-throttle.ts"
|
|
27
|
-
},
|
|
28
17
|
"repository": {
|
|
29
18
|
"type": "git",
|
|
30
19
|
"url": "https://gitee.com/xiyuan-lgz/gzjs-utils.git"
|
|
@@ -46,13 +35,12 @@
|
|
|
46
35
|
],
|
|
47
36
|
"author": "xiyuan-lgz",
|
|
48
37
|
"license": "ISC",
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=10"
|
|
40
|
+
},
|
|
49
41
|
"files": [
|
|
50
42
|
"lib",
|
|
51
43
|
"types",
|
|
52
44
|
"LICENSE"
|
|
53
|
-
]
|
|
54
|
-
"dependencies": {
|
|
55
|
-
"crypto-js": "^4.2.0",
|
|
56
|
-
"eval5": "^1.4.8"
|
|
57
|
-
}
|
|
45
|
+
]
|
|
58
46
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -9,4 +9,4 @@ import { default as TreeUtils } from './utils/TreeUtils';
|
|
|
9
9
|
import { default as Regexps } from './utils/Regexps';
|
|
10
10
|
import { default as DateUtils } from './utils/DateUtils';
|
|
11
11
|
export default JsUtils;
|
|
12
|
-
export { AES, JsUtils, Base64, Bytes, MD5, Hmac, SHA, TreeUtils, Regexps, DateUtils };
|
|
12
|
+
export { AES, JsUtils, Base64, Bytes, MD5, Hmac, SHA, TreeUtils, Regexps, DateUtils, };
|