json-storage-formatter 2.0.1 → 2.0.2
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/package.json +42 -50
package/package.json
CHANGED
|
@@ -1,83 +1,75 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-storage-formatter",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Package for json stringify objects without losing data types",
|
|
5
|
-
"main": "
|
|
6
|
-
"types": "
|
|
7
|
-
"typesVersions": {
|
|
8
|
-
"*": {
|
|
9
|
-
"clone": ["./lib/clone.d.ts"],
|
|
10
|
-
"isNil": ["./lib/isNil.d.ts"],
|
|
11
|
-
"isNumber": ["./lib/isNumber.d.ts"],
|
|
12
|
-
"isBoolean": ["./lib/isBoolean.d.ts"],
|
|
13
|
-
"isString": ["./lib/isString.d.ts"],
|
|
14
|
-
"isDate": ["./lib/isDate.d.ts"],
|
|
15
|
-
"isRegex": ["./lib/isRegex.d.ts"],
|
|
16
|
-
"isFunction": ["./lib/isFunction.d.ts"],
|
|
17
|
-
"isPrimitive": ["./lib/isPrimitive.d.ts"],
|
|
18
|
-
"types": ["./lib/types.d.ts"],
|
|
19
|
-
"formatFromStore": ["./lib/formatFromStore.d.ts"],
|
|
20
|
-
"formatToStore": ["./lib/formatToStore.d.ts"]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"module": "lib/index.js",
|
|
5
|
+
"main": "./bundle.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
24
7
|
"sideEffects": false,
|
|
25
8
|
"exports": {
|
|
26
9
|
".": {
|
|
27
|
-
"import": "./
|
|
28
|
-
"require": "./
|
|
10
|
+
"import": "./bundle.js",
|
|
11
|
+
"require": "./bundle.js",
|
|
12
|
+
"types": "./index.d.ts"
|
|
29
13
|
},
|
|
30
14
|
"./clone": {
|
|
31
|
-
"import": "./
|
|
32
|
-
"require": "./
|
|
15
|
+
"import": "./clone.js",
|
|
16
|
+
"require": "./clone.js",
|
|
17
|
+
"types": "./clone.d.ts"
|
|
33
18
|
},
|
|
34
19
|
"./isNil": {
|
|
35
|
-
"import": "./
|
|
36
|
-
"require": "./
|
|
20
|
+
"import": "./isNil.js",
|
|
21
|
+
"require": "./isNil.js",
|
|
22
|
+
"types": "./isNil.d.ts"
|
|
37
23
|
},
|
|
38
24
|
"./isNumber": {
|
|
39
|
-
"import": "./
|
|
40
|
-
"require": "./
|
|
25
|
+
"import": "./isNumber.js",
|
|
26
|
+
"require": "./isNumber.js",
|
|
27
|
+
"types": "./isNumber.d.ts"
|
|
41
28
|
},
|
|
42
29
|
"./isBoolean": {
|
|
43
|
-
"import": "./
|
|
44
|
-
"require": "./
|
|
30
|
+
"import": "./isBoolean.js",
|
|
31
|
+
"require": "./isBoolean.js",
|
|
32
|
+
"types": "./isBoolean.d.ts"
|
|
45
33
|
},
|
|
46
34
|
"./isString": {
|
|
47
|
-
"import": "./
|
|
48
|
-
"require": "./
|
|
35
|
+
"import": "./isString.js",
|
|
36
|
+
"require": "./isString.js",
|
|
37
|
+
"types": "./isString.d.ts"
|
|
49
38
|
},
|
|
50
39
|
"./isDate": {
|
|
51
|
-
"import": "./
|
|
52
|
-
"require": "./
|
|
40
|
+
"import": "./isDate.js",
|
|
41
|
+
"require": "./isDate.js",
|
|
42
|
+
"types": "./isDate.d.ts"
|
|
53
43
|
},
|
|
54
44
|
"./isRegex": {
|
|
55
|
-
"import": "./
|
|
56
|
-
"require": "./
|
|
45
|
+
"import": "./isRegex.js",
|
|
46
|
+
"require": "./isRegex.js",
|
|
47
|
+
"types": "./isRegex.d.ts"
|
|
57
48
|
},
|
|
58
49
|
"./isFunction": {
|
|
59
|
-
"import": "./
|
|
60
|
-
"require": "./
|
|
50
|
+
"import": "./isFunction.js",
|
|
51
|
+
"require": "./isFunction.js",
|
|
52
|
+
"types": "./isFunction.d.ts"
|
|
61
53
|
},
|
|
62
54
|
"./isPrimitive": {
|
|
63
|
-
"import": "./
|
|
64
|
-
"require": "./
|
|
65
|
-
|
|
66
|
-
"./json-storage-formatter.types": {
|
|
67
|
-
"import": "./lib/json-storage-formatter.types.js",
|
|
68
|
-
"require": "./lib/json-storage-formatter.types.js"
|
|
55
|
+
"import": "./isPrimitive.js",
|
|
56
|
+
"require": "./isPrimitive.js",
|
|
57
|
+
"types": "./isPrimitive.d.ts"
|
|
69
58
|
},
|
|
70
59
|
"./formatFromStore": {
|
|
71
|
-
"import": "./
|
|
72
|
-
"require": "./
|
|
60
|
+
"import": "./formatFromStore.js",
|
|
61
|
+
"require": "./formatFromStore.js",
|
|
62
|
+
"types": "./formatFromStore.d.ts"
|
|
73
63
|
},
|
|
74
64
|
"./formatToStore": {
|
|
75
|
-
"import": "./
|
|
76
|
-
"require": "./
|
|
65
|
+
"import": "./formatToStore.js",
|
|
66
|
+
"require": "./formatToStore.js",
|
|
67
|
+
"types": "./formatToStore.d.ts"
|
|
77
68
|
}
|
|
78
69
|
},
|
|
79
|
-
|
|
80
|
-
"lib"
|
|
70
|
+
"files": [
|
|
71
|
+
"lib/*.js",
|
|
72
|
+
"lib/*.d.ts"
|
|
81
73
|
],
|
|
82
74
|
"scripts": {
|
|
83
75
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --watch --runInBand",
|