@umijs/core 4.0.21 → 4.0.23
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/config/config.js +3 -0
- package/package.json +3 -3
package/dist/config/config.js
CHANGED
|
@@ -140,6 +140,9 @@ var Config = class {
|
|
|
140
140
|
try {
|
|
141
141
|
config = import_utils.lodash.merge(config, require(configFile).default);
|
|
142
142
|
} catch (e) {
|
|
143
|
+
if (import_utils.semver.lt(import_utils.semver.clean(process.version), "16.9.0")) {
|
|
144
|
+
throw e;
|
|
145
|
+
}
|
|
143
146
|
throw new Error(`Parse config file failed: [${configFile}]`, {
|
|
144
147
|
cause: e
|
|
145
148
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.23",
|
|
4
4
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/core#readme",
|
|
5
5
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
6
6
|
"repository": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"test": "umi-scripts jest-turbo"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@umijs/bundler-utils": "4.0.
|
|
25
|
-
"@umijs/utils": "4.0.
|
|
24
|
+
"@umijs/bundler-utils": "4.0.23",
|
|
25
|
+
"@umijs/utils": "4.0.23"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"dotenv": "16.0.0",
|