@mudbean/utils 2.0.5 → 2.0.6
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/CHANGELOG.md +4 -0
- package/cjs/createBezier.js +1 -1
- package/es/createBezier.d.ts +1 -1
- package/es/createBezier.js +1 -1
- package/package.json +101 -57
package/CHANGELOG.md
CHANGED
package/cjs/createBezier.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @copyright 2026 ©️ Mr.MudBean
|
|
8
8
|
* @since 2026-03-26 11:24
|
|
9
9
|
* @version 2.0.2
|
|
10
|
-
* @lastModified 2026-06-
|
|
10
|
+
* @lastModified 2026-06-12 20:56
|
|
11
11
|
*
|
|
12
12
|
* ## [贝尔赛曲线](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Reference/Values/easing-function#%E4%B8%89%E6%AC%A1%E8%B4%9D%E5%A1%9E%E5%B0%94%E7%BC%93%E5%8A%A8%E5%87%BD%E6%95%B0)
|
|
13
13
|
*
|
package/es/createBezier.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @copyright 2026 ©️ Mr.MudBean
|
|
6
6
|
* @since 2026-03-26 11:24
|
|
7
7
|
* @version 2.0.2
|
|
8
|
-
* @lastModified 2026-06-
|
|
8
|
+
* @lastModified 2026-06-12 20:56
|
|
9
9
|
*
|
|
10
10
|
* ## [贝尔赛曲线](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Reference/Values/easing-function#%E4%B8%89%E6%AC%A1%E8%B4%9D%E5%A1%9E%E5%B0%94%E7%BC%93%E5%8A%A8%E5%87%BD%E6%95%B0)
|
|
11
11
|
*
|
package/es/createBezier.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @copyright 2026 ©️ Mr.MudBean
|
|
6
6
|
* @since 2026-03-26 11:24
|
|
7
7
|
* @version 2.0.2
|
|
8
|
-
* @lastModified 2026-06-
|
|
8
|
+
* @lastModified 2026-06-12 20:56
|
|
9
9
|
*
|
|
10
10
|
* ## [贝尔赛曲线](https://developer.mozilla.org/zh-CN/docs/Web/CSS/Reference/Values/easing-function#%E4%B8%89%E6%AC%A1%E8%B4%9D%E5%A1%9E%E5%B0%94%E7%BC%93%E5%8A%A8%E5%87%BD%E6%95%B0)
|
|
11
11
|
*
|
package/package.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"type": "module",
|
|
3
|
-
"version": "2.0.5",
|
|
4
2
|
"name": "@mudbean/utils",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"@mudbean/is": "^2.0.2"
|
|
8
|
-
},
|
|
3
|
+
"version": "2.0.6",
|
|
4
|
+
"type": "module",
|
|
9
5
|
"main": "cjs/index.js",
|
|
10
6
|
"module": "es/index.js",
|
|
11
7
|
"types": "es/index.d.ts",
|
|
@@ -16,9 +12,7 @@
|
|
|
16
12
|
},
|
|
17
13
|
"description": "一点点 🤏 js 函数",
|
|
18
14
|
"sideEffects": false,
|
|
19
|
-
"
|
|
20
|
-
"node": ">=18.0.0"
|
|
21
|
-
},
|
|
15
|
+
"license": "MIT",
|
|
22
16
|
"files": [
|
|
23
17
|
"es",
|
|
24
18
|
"cjs",
|
|
@@ -28,90 +22,140 @@
|
|
|
28
22
|
],
|
|
29
23
|
"exports": {
|
|
30
24
|
".": {
|
|
31
|
-
"import":
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
"import": {
|
|
26
|
+
"default": "./es/index.js",
|
|
27
|
+
"types": "./es/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"default": "./cjs/index.js",
|
|
31
|
+
"types": "./es/index.d.ts"
|
|
32
|
+
}
|
|
35
33
|
},
|
|
36
34
|
"./array": {
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
"import": {
|
|
36
|
+
"default": "./es/array/index.js",
|
|
37
|
+
"types": "./es/array/index.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"require": {
|
|
40
|
+
"default": "./cjs/array/index.js",
|
|
41
|
+
"types": "./es/array/index.d.ts"
|
|
42
|
+
}
|
|
41
43
|
},
|
|
42
44
|
"./className": {
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
"import": {
|
|
46
|
+
"default": "./es/className.js",
|
|
47
|
+
"types": "./es/className.d.ts"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"default": "./cjs/className.js",
|
|
51
|
+
"types": "./es/className.d.ts"
|
|
52
|
+
}
|
|
47
53
|
},
|
|
48
54
|
"./createBezier": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
"import": {
|
|
56
|
+
"default": "./es/createBezier.js",
|
|
57
|
+
"types": "./es/createBezier.d.ts"
|
|
58
|
+
},
|
|
59
|
+
"require": {
|
|
60
|
+
"default": "./cjs/createBezier.js",
|
|
61
|
+
"types": "./es/createBezier.d.ts"
|
|
62
|
+
}
|
|
53
63
|
},
|
|
54
64
|
"./getRandomNumber": {
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
"import": {
|
|
66
|
+
"default": "./es/getRandomNumber.js",
|
|
67
|
+
"types": "./es/getRandomNumber.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"require": {
|
|
70
|
+
"default": "./cjs/getRandomNumber.js",
|
|
71
|
+
"types": "./es/getRandomNumber.d.ts"
|
|
72
|
+
}
|
|
59
73
|
},
|
|
60
74
|
"./getRandomString": {
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
75
|
+
"import": {
|
|
76
|
+
"default": "./es/getRandomString.js",
|
|
77
|
+
"types": "./es/getRandomString.d.ts"
|
|
78
|
+
},
|
|
79
|
+
"require": {
|
|
80
|
+
"default": "./cjs/getRandomString.js",
|
|
81
|
+
"types": "./es/getRandomString.d.ts"
|
|
82
|
+
}
|
|
65
83
|
},
|
|
66
84
|
"./isNode": {
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
85
|
+
"import": {
|
|
86
|
+
"default": "./es/isNode.js",
|
|
87
|
+
"types": "./es/isNode.d.ts"
|
|
88
|
+
},
|
|
89
|
+
"require": {
|
|
90
|
+
"default": "./cjs/isNode.js",
|
|
91
|
+
"types": "./es/isNode.d.ts"
|
|
92
|
+
}
|
|
71
93
|
},
|
|
72
94
|
"./object": {
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
95
|
+
"import": {
|
|
96
|
+
"default": "./es/object/index.js",
|
|
97
|
+
"types": "./es/object/index.d.ts"
|
|
98
|
+
},
|
|
99
|
+
"require": {
|
|
100
|
+
"default": "./cjs/object/index.js",
|
|
101
|
+
"types": "./es/object/index.d.ts"
|
|
102
|
+
}
|
|
77
103
|
},
|
|
78
104
|
"./performance": {
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
105
|
+
"import": {
|
|
106
|
+
"default": "./es/performance.js",
|
|
107
|
+
"types": "./es/performance.d.ts"
|
|
108
|
+
},
|
|
109
|
+
"require": {
|
|
110
|
+
"default": "./cjs/performance.js",
|
|
111
|
+
"types": "./es/performance.d.ts"
|
|
112
|
+
}
|
|
83
113
|
},
|
|
84
114
|
"./regexp": {
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
115
|
+
"import": {
|
|
116
|
+
"default": "./es/regexp/index.js",
|
|
117
|
+
"types": "./es/regexp/index.d.ts"
|
|
118
|
+
},
|
|
119
|
+
"require": {
|
|
120
|
+
"default": "./cjs/regexp/index.js",
|
|
121
|
+
"types": "./es/regexp/index.d.ts"
|
|
122
|
+
}
|
|
89
123
|
},
|
|
90
124
|
"./sleep": {
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
125
|
+
"import": {
|
|
126
|
+
"default": "./es/sleep.js",
|
|
127
|
+
"types": "./es/sleep.d.ts"
|
|
128
|
+
},
|
|
129
|
+
"require": {
|
|
130
|
+
"default": "./cjs/sleep.js",
|
|
131
|
+
"types": "./es/sleep.d.ts"
|
|
132
|
+
}
|
|
95
133
|
}
|
|
96
134
|
},
|
|
97
|
-
"repository": {
|
|
98
|
-
"type": "git",
|
|
99
|
-
"url": "git+https://github.com/MrMudBean/utils.git"
|
|
100
|
-
},
|
|
101
135
|
"keywords": [
|
|
102
136
|
"js utils",
|
|
103
137
|
"js 工具",
|
|
104
138
|
"mudbean"
|
|
105
139
|
],
|
|
106
140
|
"homepage": "https://npm.lmssee.cn/utils",
|
|
141
|
+
"dependencies": {
|
|
142
|
+
"@mudbean/is": "^2.0.5"
|
|
143
|
+
},
|
|
107
144
|
"bugs": {
|
|
108
145
|
"url": "https://github.com/MrMudBean/utils/issues",
|
|
109
146
|
"email": "Mr.MudBean@outlook.com"
|
|
110
147
|
},
|
|
148
|
+
"repository": {
|
|
149
|
+
"type": "git",
|
|
150
|
+
"url": "git+https://github.com/MrMudBean/utils.git"
|
|
151
|
+
},
|
|
111
152
|
"publishConfig": {
|
|
112
153
|
"access": "public",
|
|
113
154
|
"registry": "https://registry.npmjs.org/"
|
|
114
155
|
},
|
|
156
|
+
"engines": {
|
|
157
|
+
"node": ">=18.0.0"
|
|
158
|
+
},
|
|
115
159
|
"browserslist": [
|
|
116
160
|
"last 2 versions not ie <= 11"
|
|
117
161
|
]
|