@modern-js/utils 2.9.0 → 2.11.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.9.0",
14
+ "version": "2.11.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/index.d.ts",
17
17
  "main": "./dist/index.js",
@@ -20,12 +20,10 @@
20
20
  "exports": {
21
21
  ".": "./dist/index.js",
22
22
  "./ssr": "./dist/ssr.js",
23
- "./format": "./dist/format.js",
23
+ "./babel": "./dist/babel.js",
24
24
  "./logger": "./dist/logger.js",
25
+ "./chain-id": "./dist/chainId.js",
25
26
  "./constants": "./dist/constants.js",
26
- "./serialize": "./dist/serialize.js",
27
- "./nestedRoutes": "./dist/nestedRoutes.js",
28
- "./remix-router": "./dist/remix-router.js",
29
27
  "./ajv": "./compiled/ajv/index.js",
30
28
  "./glob": "./compiled/glob/index.js",
31
29
  "./chalk": "./compiled/chalk/index.js",
@@ -44,7 +42,11 @@
44
42
  "./tsconfig-paths": "./compiled/tsconfig-paths/index.js",
45
43
  "./better-ajv-errors": "./compiled/better-ajv-errors/index.js",
46
44
  "./webpack-dev-middleware": "./compiled/webpack-dev-middleware/index.js",
47
- "./chain-id": "./dist/chainId.js"
45
+ "./universal/constants": "./dist/universal/constants.js",
46
+ "./universal/serialize": "./dist/universal/serialize.js",
47
+ "./universal/remix-router": "./dist/universal/remixRouter.js",
48
+ "./universal/format-webpack": "./dist/universal/formatWebpack.js",
49
+ "./universal/nestedRoutes": "./dist/universal/nestedRoutes.js"
48
50
  },
49
51
  "publishConfig": {
50
52
  "registry": "https://registry.npmjs.org/",
@@ -55,20 +57,14 @@
55
57
  "ssr": [
56
58
  "./dist/ssr.d.ts"
57
59
  ],
58
- "format": [
59
- "./dist/format.d.ts"
60
- ],
61
60
  "logger": [
62
61
  "./dist/logger.d.ts"
63
62
  ],
64
63
  "constants": [
65
64
  "./dist/constants.d.ts"
66
65
  ],
67
- "serialize": [
68
- "./dist/serialize.d.ts"
69
- ],
70
- "nestedRoutes": [
71
- "./dist/nestedRoutes.d.ts"
66
+ "babel": [
67
+ "./dist/babel.d.ts"
72
68
  ],
73
69
  "ajv": [
74
70
  "./compiled/ajv/types/ajv.d.ts"
@@ -85,6 +81,9 @@
85
81
  "json5": [
86
82
  "./compiled/json5/index.d.ts"
87
83
  ],
84
+ "chain-id": [
85
+ "./dist/chainId.d.ts"
86
+ ],
88
87
  "semver": [
89
88
  "./compiled/semver/index.d.ts"
90
89
  ],
@@ -127,11 +126,20 @@
127
126
  "webpack-dev-middleware": [
128
127
  "./compiled/webpack-dev-middleware/types/index.d.ts"
129
128
  ],
130
- "chain-id": [
131
- "./dist/chainId.d.ts"
129
+ "universal/constants": [
130
+ "./dist/universal/constants.d.ts"
131
+ ],
132
+ "universal/serialize": [
133
+ "./dist/universal/serialize.d.ts"
134
+ ],
135
+ "universal/remix-router": [
136
+ "./dist/universal/remixRouter.d.ts"
137
+ ],
138
+ "universal/format-webpack": [
139
+ "./dist/universal/formatWebpack.d.ts"
132
140
  ],
133
- "remix-router": [
134
- "./dist/remix-router.d.ts"
141
+ "universal/nestedRoutes": [
142
+ "./dist/universal/nestedRoutes.d.ts"
135
143
  ]
136
144
  }
137
145
  },
@@ -161,15 +169,15 @@
161
169
  "react": ">=17.0.0",
162
170
  "react-dom": ">=17.0.0",
163
171
  "react-router-dom": "^6.8.1",
164
- "@types/jest": "^27",
172
+ "@types/jest": "^29",
165
173
  "@types/node": "^14",
166
- "jest": "^27",
174
+ "jest": "^29",
167
175
  "typescript": "^4",
168
- "webpack": "^5.75.0",
176
+ "webpack": "^5.76.2",
169
177
  "@types/serialize-javascript": "^5.0.1",
170
- "@modern-js/types": "2.9.0",
171
- "@scripts/jest-config": "2.9.0",
172
- "@scripts/build": "2.9.0"
178
+ "@modern-js/types": "2.11.0",
179
+ "@scripts/build": "2.11.0",
180
+ "@scripts/jest-config": "2.11.0"
173
181
  },
174
182
  "sideEffects": false,
175
183
  "scripts": {
File without changes