easy-soft-utility 2.8.50 → 2.8.52
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/es/utils/checkAssist.d.ts +9 -9
- package/es/utils/common.d.ts +1 -1
- package/es/utils/runtimeAssist.d.ts +1 -1
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Check target is invalid
|
|
3
3
|
*/
|
|
4
|
-
export function isInvalid(target: any):
|
|
4
|
+
export function isInvalid(target: any): target is undefined;
|
|
5
5
|
/**
|
|
6
6
|
* Check target is datetime
|
|
7
7
|
*/
|
|
@@ -25,28 +25,28 @@ export function isEqualBySerialize(target: any, compareData: any): boolean;
|
|
|
25
25
|
/**
|
|
26
26
|
* Check target is function
|
|
27
27
|
*/
|
|
28
|
-
export function isFunction(target: any):
|
|
28
|
+
export function isFunction(target: any): target is (...args: any[]) => any;
|
|
29
29
|
/**isDateLodash
|
|
30
30
|
* Check target is boolean
|
|
31
31
|
*/
|
|
32
|
-
export function isBoolean(target: any): boolean;
|
|
32
|
+
export function isBoolean(target: any): target is boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Check target is undefined
|
|
35
35
|
*/
|
|
36
|
-
export function isUndefined(target: any):
|
|
36
|
+
export function isUndefined(target: any): target is undefined;
|
|
37
37
|
/**
|
|
38
38
|
* Check target is null
|
|
39
39
|
*/
|
|
40
|
-
export function isNull(target: any):
|
|
40
|
+
export function isNull(target: any): target is null;
|
|
41
41
|
/**
|
|
42
42
|
* Check target is date
|
|
43
43
|
*/
|
|
44
|
-
export function isDate(target: any):
|
|
44
|
+
export function isDate(target: any): target is Date;
|
|
45
45
|
/**
|
|
46
46
|
* Check target is string
|
|
47
47
|
*/
|
|
48
|
-
export function isString(target: any):
|
|
49
|
-
export function isArray(value: any):
|
|
48
|
+
export function isString(target: any): target is string;
|
|
49
|
+
export function isArray(value: any): value is any[];
|
|
50
50
|
/**
|
|
51
51
|
* Check target is empty array
|
|
52
52
|
*/
|
|
@@ -54,7 +54,7 @@ export function isEmptyArray(value: any): boolean;
|
|
|
54
54
|
/**
|
|
55
55
|
* Check target is object
|
|
56
56
|
*/
|
|
57
|
-
export function isObject(target: any):
|
|
57
|
+
export function isObject(target: any): target is object;
|
|
58
58
|
/**
|
|
59
59
|
* Check object has any key
|
|
60
60
|
*/
|
package/es/utils/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Set cache mount target.
|
|
3
3
|
*/
|
|
4
4
|
export function setRuntimeDataStorage(mountTarget: any): void;
|
|
5
|
-
export function getRuntimeDataStorage():
|
|
5
|
+
export function getRuntimeDataStorage(): never;
|
|
6
6
|
export function getLastRequestExceptionMessage(): any;
|
|
7
7
|
export function setLastRequestExceptionMessage({ code, message, time }: {
|
|
8
8
|
code: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-soft-utility",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.52",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "easy-soft-utility",
|
|
6
6
|
"keywords": [
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
"@types/fs-extra": "^11.0.4",
|
|
97
97
|
"@types/jest": "^29.5.12",
|
|
98
98
|
"@types/lodash": "^4.17.5",
|
|
99
|
-
"@types/node": "^20.14.
|
|
99
|
+
"@types/node": "^20.14.8",
|
|
100
100
|
"@types/object-hash": "^3.0.6",
|
|
101
101
|
"@types/qs": "^6.9.15",
|
|
102
102
|
"@types/react": "^18.3.3",
|
|
103
103
|
"@types/shelljs": "^0.8.15",
|
|
104
104
|
"@types/webpack-env": "^1.18.5",
|
|
105
|
-
"@typescript-eslint/eslint-plugin": "^7.13.
|
|
106
|
-
"@typescript-eslint/parser": "^7.13.
|
|
105
|
+
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
106
|
+
"@typescript-eslint/parser": "^7.13.1",
|
|
107
107
|
"autoprefixer": "^10.4.19",
|
|
108
108
|
"babel-cli": "^6.26.0",
|
|
109
109
|
"babel-jest": "^29.7.0",
|
|
@@ -112,10 +112,10 @@
|
|
|
112
112
|
"commitizen": "^4.3.0",
|
|
113
113
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
114
114
|
"cross-env": "^7.0.3",
|
|
115
|
-
"cssnano": "^7.0.
|
|
115
|
+
"cssnano": "^7.0.3",
|
|
116
116
|
"cz-git": "^1.9.3",
|
|
117
117
|
"docdash": "^2.0.2",
|
|
118
|
-
"easy-soft-develop": "^2.1.
|
|
118
|
+
"easy-soft-develop": "^2.1.192",
|
|
119
119
|
"eslint": "^8.57.0",
|
|
120
120
|
"eslint-config-airbnb": "^19.0.4",
|
|
121
121
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
@@ -125,10 +125,10 @@
|
|
|
125
125
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
126
126
|
"eslint-plugin-import": "^2.29.1",
|
|
127
127
|
"eslint-plugin-jest": "^28.6.0",
|
|
128
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
128
|
+
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
129
129
|
"eslint-plugin-prettier": "^5.1.3",
|
|
130
130
|
"eslint-plugin-promise": "^6.2.0",
|
|
131
|
-
"eslint-plugin-react": "^7.34.
|
|
131
|
+
"eslint-plugin-react": "^7.34.3",
|
|
132
132
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
133
133
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
134
134
|
"eslint-plugin-unicorn": "^52.0.0",
|
|
@@ -155,10 +155,10 @@
|
|
|
155
155
|
"shelljs": "^0.8.5",
|
|
156
156
|
"stylelint": "^16.6.1",
|
|
157
157
|
"stylelint-config-css-modules": "^4.4.0",
|
|
158
|
-
"stylelint-config-standard": "^36.0.
|
|
158
|
+
"stylelint-config-standard": "^36.0.1",
|
|
159
159
|
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
|
|
160
160
|
"stylelint-order": "^6.0.4",
|
|
161
161
|
"terminal-kit": "^3.1.1",
|
|
162
|
-
"webpack": "^5.92.
|
|
162
|
+
"webpack": "^5.92.1"
|
|
163
163
|
}
|
|
164
164
|
}
|