ut2 1.4.8 → 1.4.10
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 +4 -4
- package/dist/ut2.js +1 -1
- package/dist/ut2.js.map +1 -1
- package/dist/ut2.min.js +1 -1
- package/dist/ut2.min.js.map +1 -1
- package/es/internals/helpers.js +1 -1
- package/lib/internals/helpers.js +1 -1
- package/package.json +5 -7
- package/types/isNil.d.ts +1 -1
package/README.md
CHANGED
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
|
|
19
19
|
安装依赖
|
|
20
20
|
|
|
21
|
-
#### npm
|
|
22
|
-
|
|
23
21
|
```shell
|
|
24
22
|
npm install ut2
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
#### yarn
|
|
28
|
-
|
|
29
25
|
```shell
|
|
30
26
|
yarn add ut2
|
|
31
27
|
```
|
|
32
28
|
|
|
29
|
+
```shell
|
|
30
|
+
pnpm add ut2
|
|
31
|
+
```
|
|
32
|
+
|
|
33
33
|
### 浏览器原生开发环境
|
|
34
34
|
|
|
35
35
|
如果你的项目使用的是原生方式开发,可以在浏览器中使用 `script` 标签直接引入文件,并使用全局变量 `ut2` 。
|
package/dist/ut2.js
CHANGED
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
return value == null || value !== value ? defaultValue : value;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
var VERSION = "1.4.
|
|
478
|
+
var VERSION = "1.4.10";
|
|
479
479
|
var supportedArgumentsType = objectToString.call((function () { return arguments; })()) === argumentsTag;
|
|
480
480
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
481
481
|
function toSource(func) {
|