yummies 3.2.6 → 3.2.8
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 +2 -2
- package/index.d.ts +25 -0
- package/index.d.ts.map +1 -0
- package/index.js +24 -0
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -91,10 +91,10 @@ Or specified in `tsconfig.json` in the `"types"` field
|
|
|
91
91
|
}
|
|
92
92
|
```
|
|
93
93
|
Alternatively, you can use the "library" approach, where you need exported types.
|
|
94
|
-
For this, you can use the `yummies/utils/types` import.
|
|
94
|
+
For this, you can use the `yummies` or `yummies/utils/types` import.
|
|
95
95
|
|
|
96
96
|
```ts
|
|
97
|
-
import { AnyObject } from 'yummies
|
|
97
|
+
import { AnyObject } from 'yummies';
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from './complex/index.js';
|
|
2
|
+
export * from './type-guard/index.js';
|
|
3
|
+
export * from './utils/types.js';
|
|
4
|
+
export * from './async.js';
|
|
5
|
+
export * from './common.js';
|
|
6
|
+
export * from './cookie.js';
|
|
7
|
+
export * from './css.js';
|
|
8
|
+
export * from './data.js';
|
|
9
|
+
export * from './date-time.js';
|
|
10
|
+
export * from './device.js';
|
|
11
|
+
export * from './encodings.js';
|
|
12
|
+
export * from './file.js';
|
|
13
|
+
export * from './html.js';
|
|
14
|
+
export * from './id.js';
|
|
15
|
+
export * from './imports.js';
|
|
16
|
+
export * from './math.js';
|
|
17
|
+
export * from './media.js';
|
|
18
|
+
export * from './ms.js';
|
|
19
|
+
export * from './price.js';
|
|
20
|
+
export * from './random.js';
|
|
21
|
+
export * from './sound.js';
|
|
22
|
+
export * from './storage.js';
|
|
23
|
+
export * from './text.js';
|
|
24
|
+
export * from './vibrate.js';
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './complex/index.js';
|
|
2
|
+
export * from './type-guard/index.js';
|
|
3
|
+
export * from './utils/types.js';
|
|
4
|
+
export * from './async.js';
|
|
5
|
+
export * from './common.js';
|
|
6
|
+
export * from './cookie.js';
|
|
7
|
+
export * from './css.js';
|
|
8
|
+
export * from './data.js';
|
|
9
|
+
export * from './date-time.js';
|
|
10
|
+
export * from './device.js';
|
|
11
|
+
export * from './encodings.js';
|
|
12
|
+
export * from './file.js';
|
|
13
|
+
export * from './html.js';
|
|
14
|
+
export * from './id.js';
|
|
15
|
+
export * from './imports.js';
|
|
16
|
+
export * from './math.js';
|
|
17
|
+
export * from './media.js';
|
|
18
|
+
export * from './ms.js';
|
|
19
|
+
export * from './price.js';
|
|
20
|
+
export * from './random.js';
|
|
21
|
+
export * from './sound.js';
|
|
22
|
+
export * from './storage.js';
|
|
23
|
+
export * from './text.js';
|
|
24
|
+
export * from './vibrate.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yummies",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": "js2me",
|
|
6
6
|
"license": "MIT",
|
|
@@ -127,6 +127,11 @@
|
|
|
127
127
|
"default": "./imports.js",
|
|
128
128
|
"types": "./imports.d.ts"
|
|
129
129
|
},
|
|
130
|
+
".": {
|
|
131
|
+
"import": "./index.js",
|
|
132
|
+
"default": "./index.js",
|
|
133
|
+
"types": "./index.d.ts"
|
|
134
|
+
},
|
|
130
135
|
"./math": {
|
|
131
136
|
"import": "./math.js",
|
|
132
137
|
"default": "./math.js",
|
|
@@ -198,6 +203,8 @@
|
|
|
198
203
|
"files": [
|
|
199
204
|
"*"
|
|
200
205
|
],
|
|
206
|
+
"main": "./index.js",
|
|
207
|
+
"typings": "./index.d.ts",
|
|
201
208
|
"scripts": {
|
|
202
209
|
"clean": "rimraf dist",
|
|
203
210
|
"lint:check": "eslint . --fix",
|