create-umi 4.0.75 → 4.0.77
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/template.js +1 -1
- package/package.json +2 -2
package/dist/template.js
CHANGED
|
@@ -74,7 +74,7 @@ async function getNpmPkgTarUrl(opts) {
|
|
|
74
74
|
var _a;
|
|
75
75
|
const { registry, name } = opts;
|
|
76
76
|
const nameWithoutScope = name.startsWith("@") ? name.split("/")[1] : name;
|
|
77
|
-
const latestPkgInfoUrl = `${registry}${name}/latest
|
|
77
|
+
const latestPkgInfoUrl = `${registry}${name}/latest`;
|
|
78
78
|
const res = await import_utils.axios.get(latestPkgInfoUrl, { validateStatus: () => true });
|
|
79
79
|
const latestVersion = (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.version;
|
|
80
80
|
if (!latestVersion) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-umi",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.77",
|
|
4
4
|
"description": "create-umi",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/create-umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"templates"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@umijs/utils": "4.0.
|
|
22
|
+
"@umijs/utils": "4.0.77"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|