@hairy/utils 0.6.0 → 0.6.1
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.
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
|
-
// index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var src_exports = {};
|
|
32
|
+
__export(src_exports, {
|
|
33
33
|
UA: () => UA,
|
|
34
34
|
arange: () => arange,
|
|
35
35
|
atWillToSize: () => atWillToSize,
|
|
@@ -60,7 +60,7 @@ __export(util_core_exports, {
|
|
|
60
60
|
pipe: () => pipe,
|
|
61
61
|
weexPlatform: () => weexPlatform
|
|
62
62
|
});
|
|
63
|
-
module.exports = __toCommonJS(
|
|
63
|
+
module.exports = __toCommonJS(src_exports);
|
|
64
64
|
|
|
65
65
|
// src/is/index.ts
|
|
66
66
|
var isBrowser = typeof window !== "undefined";
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hairy/utils",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"main": "index.cjs.js",
|
|
5
|
+
"main": "./dist/index.cjs.js",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"jsdelivr": "./dist/index.iife.min.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
6
12
|
"dependencies": {
|
|
7
13
|
"@extra-array/arange": "^1.1.7",
|
|
8
14
|
"delay": "^5.0.0",
|
|
@@ -13,19 +19,17 @@
|
|
|
13
19
|
"devDependencies": {
|
|
14
20
|
"@types/lodash": "^4"
|
|
15
21
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "ptsup src/index.ts --dts"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"module": "./dist/index.esm.js",
|
|
27
|
+
"unpkg": "./dist/index.iife.min.js",
|
|
20
28
|
"exports": {
|
|
21
29
|
".": {
|
|
22
|
-
"import": "./index.esm.js",
|
|
23
|
-
"require": "./index.cjs.js"
|
|
30
|
+
"import": "./dist/index.esm.js",
|
|
31
|
+
"require": "./dist/index.cjs.js"
|
|
24
32
|
},
|
|
25
33
|
"./*": "./*"
|
|
26
|
-
},
|
|
27
|
-
"linkDirectory": false,
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "ptsup index.ts --dts --meta"
|
|
30
34
|
}
|
|
31
35
|
}
|
package/src/index.ts
ADDED
package/CHANGELOG.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# @hairy/utils
|
|
2
|
-
|
|
3
|
-
## 0.3.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- remove pickByParams function
|
|
8
|
-
|
|
9
|
-
## 0.2.0
|
|
10
|
-
|
|
11
|
-
### Minor Changes
|
|
12
|
-
|
|
13
|
-
- fix dist not being packaged
|
|
14
|
-
|
|
15
|
-
## 0.1.0
|
|
16
|
-
|
|
17
|
-
### Minor Changes
|
|
18
|
-
|
|
19
|
-
- f1a05f4: hairy v2 public package publish all
|
|
File without changes
|
|
File without changes
|