@modern-js/upgrade 0.0.0-next-20221101050526 → 0.0.0-next-20221103031223
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/index.js +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
@@ -34555,8 +34555,8 @@ ${stats.stack}` : "";
|
|
34555
34555
|
}
|
34556
34556
|
function formatWebpackMessages(json) {
|
34557
34557
|
var _a, _b, _c;
|
34558
|
-
const formattedErrors = (_a = json.errors) === null || _a === void 0 ? void 0 : _a.map(formatMessage);
|
34559
|
-
const formattedWarnings = (_b = json.warnings) === null || _b === void 0 ? void 0 : _b.map(formatMessage);
|
34558
|
+
const formattedErrors = (_a = json === null || json === void 0 ? void 0 : json.errors) === null || _a === void 0 ? void 0 : _a.map(formatMessage);
|
34559
|
+
const formattedWarnings = (_b = json === null || json === void 0 ? void 0 : json.warnings) === null || _b === void 0 ? void 0 : _b.map(formatMessage);
|
34560
34560
|
const result = {
|
34561
34561
|
errors: formattedErrors || [],
|
34562
34562
|
warnings: formattedWarnings || []
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "0.0.0-next-
|
14
|
+
"version": "0.0.0-next-20221103031223",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/index.d.ts",
|
17
17
|
"main": "./dist/index.js",
|
@@ -34,12 +34,12 @@
|
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
36
|
"@babel/runtime": "^7.18.0",
|
37
|
-
"@modern-js/utils": "0.0.0-next-
|
37
|
+
"@modern-js/utils": "0.0.0-next-20221103031223",
|
38
38
|
"@modern-js/codesmith": "1.6.3",
|
39
|
-
"@modern-js/plugin-i18n": "0.0.0-next-
|
40
|
-
"@modern-js/upgrade-generator": "0.0.0-next-
|
41
|
-
"@scripts/build": "0.0.0-next-
|
42
|
-
"@scripts/jest-config": "0.0.0-next-
|
39
|
+
"@modern-js/plugin-i18n": "0.0.0-next-20221103031223",
|
40
|
+
"@modern-js/upgrade-generator": "0.0.0-next-20221103031223",
|
41
|
+
"@scripts/build": "0.0.0-next-20221103031223",
|
42
|
+
"@scripts/jest-config": "0.0.0-next-20221103031223",
|
43
43
|
"@types/jest": "^27",
|
44
44
|
"@types/node": "^14",
|
45
45
|
"jest": "^27",
|