@jhqn/utils 0.0.1-beta.13 → 0.0.1-beta.15
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/dist/core.d.ts +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -0
- package/msw.d.ts +1 -0
- package/package.json +11 -5
package/dist/core.d.ts
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -6,6 +6,7 @@ const aes = require('@jhqn/utils-crypto/aes');
|
|
|
6
6
|
const base64 = require('@jhqn/utils-crypto/base64');
|
|
7
7
|
const md5 = require('@jhqn/utils-crypto/md5');
|
|
8
8
|
const utilsFaker = require('@jhqn/utils-faker');
|
|
9
|
+
const utilsMsw = require('@jhqn/utils-msw');
|
|
9
10
|
const utilsStorage = require('@jhqn/utils-storage');
|
|
10
11
|
|
|
11
12
|
|
|
@@ -28,6 +29,9 @@ Object.keys(md5).forEach(function (k) {
|
|
|
28
29
|
Object.keys(utilsFaker).forEach(function (k) {
|
|
29
30
|
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = utilsFaker[k];
|
|
30
31
|
});
|
|
32
|
+
Object.keys(utilsMsw).forEach(function (k) {
|
|
33
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = utilsMsw[k];
|
|
34
|
+
});
|
|
31
35
|
Object.keys(utilsStorage).forEach(function (k) {
|
|
32
36
|
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = utilsStorage[k];
|
|
33
37
|
});
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
package/msw.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@jhqn/utils-msw'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jhqn/utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.15",
|
|
5
5
|
"author": "jade-gjz <jiangang.zhang@jaderd.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/jaderd-jh/utils/tree/main/packages/utils#readme",
|
|
@@ -39,6 +39,11 @@
|
|
|
39
39
|
"import": "./dist/faker.mjs",
|
|
40
40
|
"require": "./dist/faker.cjs"
|
|
41
41
|
},
|
|
42
|
+
"./msw": {
|
|
43
|
+
"types": "./dist/faker.d.ts",
|
|
44
|
+
"import": "./dist/faker.mjs",
|
|
45
|
+
"require": "./dist/faker.cjs"
|
|
46
|
+
},
|
|
42
47
|
"./storage": {
|
|
43
48
|
"types": "./dist/storage/index.d.ts",
|
|
44
49
|
"import": "./dist/storage/index.mjs",
|
|
@@ -68,10 +73,11 @@
|
|
|
68
73
|
"*.d.ts"
|
|
69
74
|
],
|
|
70
75
|
"dependencies": {
|
|
71
|
-
"@jhqn/utils-core": "0.0.1-beta.
|
|
72
|
-
"@jhqn/utils-crypto": "0.0.1-beta.
|
|
73
|
-
"@jhqn/utils-faker": "0.0.1-beta.
|
|
74
|
-
"@jhqn/utils-
|
|
76
|
+
"@jhqn/utils-core": "0.0.1-beta.15",
|
|
77
|
+
"@jhqn/utils-crypto": "0.0.1-beta.15",
|
|
78
|
+
"@jhqn/utils-faker": "0.0.1-beta.15",
|
|
79
|
+
"@jhqn/utils-msw": "0.0.1-beta.15",
|
|
80
|
+
"@jhqn/utils-storage": "0.0.1-beta.15"
|
|
75
81
|
},
|
|
76
82
|
"scripts": {
|
|
77
83
|
"test": "vitest",
|