@haluo/util 2.0.29 → 2.0.31
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/README.md +350 -350
- package/dist/index.d.ts +39 -39
- package/dist/index.js +43 -43
- package/dist/modules/cookie/index.d.ts +27 -27
- package/dist/modules/cookie/index.js +49 -49
- package/dist/modules/date/index.d.ts +52 -52
- package/dist/modules/date/index.js +185 -185
- package/dist/modules/dom/index.d.ts +28 -28
- package/dist/modules/dom/index.js +55 -55
- package/dist/modules/filter/index.d.ts +24 -24
- package/dist/modules/filter/index.js +38 -38
- package/dist/modules/format/index.d.ts +15 -15
- package/dist/modules/format/index.js +16 -16
- package/dist/modules/match/index.d.ts +12 -12
- package/dist/modules/match/index.js +27 -27
- package/dist/modules/monitor/index.d.ts +3 -3
- package/dist/modules/monitor/index.js +10 -10
- package/dist/modules/monitor/lib/jsError.d.ts +1 -1
- package/dist/modules/monitor/lib/jsError.js +57 -57
- package/dist/modules/monitor/lib/timing.d.ts +1 -1
- package/dist/modules/monitor/lib/timing.js +65 -65
- package/dist/modules/monitor/lib/xhr.d.ts +1 -1
- package/dist/modules/monitor/lib/xhr.js +41 -41
- package/dist/modules/monitor/utils/onload.d.ts +1 -1
- package/dist/modules/monitor/utils/onload.js +8 -8
- package/dist/modules/monitor/utils/tracker.d.ts +7 -7
- package/dist/modules/monitor/utils/tracker.js +49 -49
- package/dist/modules/number/index.d.ts +47 -47
- package/dist/modules/number/index.js +114 -114
- package/dist/modules/open-app/index.d.ts +92 -84
- package/dist/modules/open-app/index.js +260 -244
- package/dist/modules/sentry/index.d.ts +15 -15
- package/dist/modules/sentry/index.js +73 -73
- package/dist/modules/tools/index.d.ts +166 -166
- package/dist/modules/tools/index.js +382 -382
- package/dist/modules/upload/aliOss.d.ts +291 -291
- package/dist/modules/upload/aliOss.js +629 -629
- package/dist/modules/upload/index.d.ts +38 -38
- package/dist/modules/upload/index.js +44 -44
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +1 -1
- package/dist/types/modules/cookie/index.d.ts +27 -27
- package/dist/types/modules/date/index.d.ts +52 -52
- package/dist/types/modules/dom/index.d.ts +28 -28
- package/dist/types/modules/filter/index.d.ts +24 -24
- package/dist/types/modules/format/index.d.ts +15 -15
- package/dist/types/modules/match/index.d.ts +12 -12
- package/dist/types/modules/monitor/index.d.ts +3 -3
- package/dist/types/modules/monitor/lib/jsError.d.ts +1 -1
- package/dist/types/modules/monitor/lib/timing.d.ts +1 -1
- package/dist/types/modules/monitor/lib/xhr.d.ts +1 -1
- package/dist/types/modules/monitor/utils/onload.d.ts +1 -1
- package/dist/types/modules/monitor/utils/tracker.d.ts +7 -7
- package/dist/types/modules/number/index.d.ts +41 -41
- package/dist/types/modules/sentry/index.d.ts +15 -15
- package/dist/types/modules/tools/index.d.ts +166 -166
- package/dist/types/types/index.d.ts +3 -3
- package/package.json +88 -88
package/package.json
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@haluo/util",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"main": "./dist/index.js",
|
|
5
|
-
"module": "./dist/index.js",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"require": "./dist/index.js",
|
|
9
|
-
"import": "./dist/index.js",
|
|
10
|
-
"default": "./dist/index.js"
|
|
11
|
-
},
|
|
12
|
-
"./dist/*": "./dist/*"
|
|
13
|
-
},
|
|
14
|
-
"author": "<wanghui@mddmoto.com>",
|
|
15
|
-
"description": "摩托范工具库",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"tsc": "tsc",
|
|
18
|
-
"lib": "tsc",
|
|
19
|
-
"build": "tsc",
|
|
20
|
-
"build:watch": "tsc --watch",
|
|
21
|
-
"pub": "npm publish",
|
|
22
|
-
"pub:next": "npm publish --tag next",
|
|
23
|
-
"precommit": "lint-staged"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"package.json"
|
|
28
|
-
],
|
|
29
|
-
"types": "dist/index.d.ts",
|
|
30
|
-
"lint-staged": {
|
|
31
|
-
"src/**/*.{js,vue}": [
|
|
32
|
-
"eslint --fix",
|
|
33
|
-
"git add"
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://www.npmjs.com/package/@haluo/util",
|
|
37
|
-
"keywords": [
|
|
38
|
-
"utils",
|
|
39
|
-
"tool",
|
|
40
|
-
"@haluo/util"
|
|
41
|
-
],
|
|
42
|
-
"dependencies": {
|
|
43
|
-
"axios": "^0.19.2",
|
|
44
|
-
"clipboard-copy": "^4.0.1",
|
|
45
|
-
"raven-js": "^3.27.2",
|
|
46
|
-
"ua-parser-js": "^1.0.2",
|
|
47
|
-
"uuid": "^9.0.1"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@babel/core": "^7.0.0",
|
|
51
|
-
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
|
52
|
-
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
|
53
|
-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
54
|
-
"@babel/polyfill": "^7.0.0",
|
|
55
|
-
"@babel/preset-env": "^7.14.7",
|
|
56
|
-
"@babel/preset-typescript": "^7.14.5",
|
|
57
|
-
"@types/lodash": "^4.17.20",
|
|
58
|
-
"@types/node": "^14.
|
|
59
|
-
"@types/qs": "^6.14.0",
|
|
60
|
-
"@types/uuid": "^9.0.0",
|
|
61
|
-
"@types/webpack-env": "^1.15.2",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
63
|
-
"autoprefixer-loader": "^2.1.0",
|
|
64
|
-
"babel-eslint": "^8.2.3",
|
|
65
|
-
"babel-loader": "^8.0.6",
|
|
66
|
-
"babel-preset-env": "^1.7.0",
|
|
67
|
-
"eslint": "^4.19.1",
|
|
68
|
-
"eslint-config-standard": "^11.0.0",
|
|
69
|
-
"eslint-friendly-formatter": "^4.0.1",
|
|
70
|
-
"eslint-loader": "^2.0.0",
|
|
71
|
-
"eslint-plugin-html": "^4.0.6",
|
|
72
|
-
"eslint-plugin-import": "^2.12.0",
|
|
73
|
-
"eslint-plugin-node": "^6.0.1",
|
|
74
|
-
"eslint-plugin-promise": "^3.8.0",
|
|
75
|
-
"eslint-plugin-standard": "^3.1.0",
|
|
76
|
-
"eslint-plugin-vue": "^4.5.0",
|
|
77
|
-
"html-webpack-plugin": "^3.2.0",
|
|
78
|
-
"lodash": "^4.17.21",
|
|
79
|
-
"lrz": "^4.9.41",
|
|
80
|
-
"normalize.css": "^8.0.1",
|
|
81
|
-
"qs": "^6.14.0",
|
|
82
|
-
"typescript": "^4.9.5",
|
|
83
|
-
"webpack": "^4.32.2",
|
|
84
|
-
"webpack-cli": "^3.3.2",
|
|
85
|
-
"webpack-dev-server": "^3.4.1",
|
|
86
|
-
"webpack-merge": "^4.2.1"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@haluo/util",
|
|
3
|
+
"version": "2.0.31",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"module": "./dist/index.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"require": "./dist/index.js",
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./dist/*": "./dist/*"
|
|
13
|
+
},
|
|
14
|
+
"author": "<wanghui@mddmoto.com>",
|
|
15
|
+
"description": "摩托范工具库",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"tsc": "tsc",
|
|
18
|
+
"lib": "tsc",
|
|
19
|
+
"build": "tsc",
|
|
20
|
+
"build:watch": "tsc --watch",
|
|
21
|
+
"pub": "npm publish",
|
|
22
|
+
"pub:next": "npm publish --tag next",
|
|
23
|
+
"precommit": "lint-staged"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"package.json"
|
|
28
|
+
],
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"lint-staged": {
|
|
31
|
+
"src/**/*.{js,vue}": [
|
|
32
|
+
"eslint --fix",
|
|
33
|
+
"git add"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://www.npmjs.com/package/@haluo/util",
|
|
37
|
+
"keywords": [
|
|
38
|
+
"utils",
|
|
39
|
+
"tool",
|
|
40
|
+
"@haluo/util"
|
|
41
|
+
],
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"axios": "^0.19.2",
|
|
44
|
+
"clipboard-copy": "^4.0.1",
|
|
45
|
+
"raven-js": "^3.27.2",
|
|
46
|
+
"ua-parser-js": "^1.0.2",
|
|
47
|
+
"uuid": "^9.0.1"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@babel/core": "^7.0.0",
|
|
51
|
+
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
|
52
|
+
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
|
53
|
+
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
54
|
+
"@babel/polyfill": "^7.0.0",
|
|
55
|
+
"@babel/preset-env": "^7.14.7",
|
|
56
|
+
"@babel/preset-typescript": "^7.14.5",
|
|
57
|
+
"@types/lodash": "^4.17.20",
|
|
58
|
+
"@types/node": "^14.18.63",
|
|
59
|
+
"@types/qs": "^6.14.0",
|
|
60
|
+
"@types/uuid": "^9.0.0",
|
|
61
|
+
"@types/webpack-env": "^1.15.2",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
63
|
+
"autoprefixer-loader": "^2.1.0",
|
|
64
|
+
"babel-eslint": "^8.2.3",
|
|
65
|
+
"babel-loader": "^8.0.6",
|
|
66
|
+
"babel-preset-env": "^1.7.0",
|
|
67
|
+
"eslint": "^4.19.1",
|
|
68
|
+
"eslint-config-standard": "^11.0.0",
|
|
69
|
+
"eslint-friendly-formatter": "^4.0.1",
|
|
70
|
+
"eslint-loader": "^2.0.0",
|
|
71
|
+
"eslint-plugin-html": "^4.0.6",
|
|
72
|
+
"eslint-plugin-import": "^2.12.0",
|
|
73
|
+
"eslint-plugin-node": "^6.0.1",
|
|
74
|
+
"eslint-plugin-promise": "^3.8.0",
|
|
75
|
+
"eslint-plugin-standard": "^3.1.0",
|
|
76
|
+
"eslint-plugin-vue": "^4.5.0",
|
|
77
|
+
"html-webpack-plugin": "^3.2.0",
|
|
78
|
+
"lodash": "^4.17.21",
|
|
79
|
+
"lrz": "^4.9.41",
|
|
80
|
+
"normalize.css": "^8.0.1",
|
|
81
|
+
"qs": "^6.14.0",
|
|
82
|
+
"typescript": "^4.9.5",
|
|
83
|
+
"webpack": "^4.32.2",
|
|
84
|
+
"webpack-cli": "^3.3.2",
|
|
85
|
+
"webpack-dev-server": "^3.4.1",
|
|
86
|
+
"webpack-merge": "^4.2.1"
|
|
87
|
+
}
|
|
88
|
+
}
|