@fastly/cli 10.17.0 → 10.18.0
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 +9 -9
- package/update.js +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastly/cli",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.18.0",
|
|
4
4
|
"description": "Build, deploy and configure Fastly services from your terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"fastly": "fastly.js"
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@fastly/cli-darwin-arm64": "=10.
|
|
24
|
-
"@fastly/cli-darwin-x64": "=10.
|
|
25
|
-
"@fastly/cli-linux-arm64": "=10.
|
|
26
|
-
"@fastly/cli-linux-x64": "=10.
|
|
27
|
-
"@fastly/cli-linux-x32": "=10.
|
|
28
|
-
"@fastly/cli-win32-arm64": "=10.
|
|
29
|
-
"@fastly/cli-win32-x64": "=10.
|
|
30
|
-
"@fastly/cli-win32-x32": "=10.
|
|
23
|
+
"@fastly/cli-darwin-arm64": "=10.18.0",
|
|
24
|
+
"@fastly/cli-darwin-x64": "=10.18.0",
|
|
25
|
+
"@fastly/cli-linux-arm64": "=10.18.0",
|
|
26
|
+
"@fastly/cli-linux-x64": "=10.18.0",
|
|
27
|
+
"@fastly/cli-linux-x32": "=10.18.0",
|
|
28
|
+
"@fastly/cli-win32-arm64": "=10.18.0",
|
|
29
|
+
"@fastly/cli-win32-x64": "=10.18.0",
|
|
30
|
+
"@fastly/cli-win32-x32": "=10.18.0"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"index.js",
|
package/update.js
CHANGED
|
@@ -74,6 +74,7 @@ let response = await fetch(
|
|
|
74
74
|
);
|
|
75
75
|
if (!response.ok) {
|
|
76
76
|
console.error(
|
|
77
|
+
'%s %o',
|
|
77
78
|
`Response from https://api.github.com/repos/fastly/cli/releases/tags/${tag} was not ok`,
|
|
78
79
|
response
|
|
79
80
|
);
|
|
@@ -87,10 +88,11 @@ let assets = await fetch(
|
|
|
87
88
|
);
|
|
88
89
|
if (!assets.ok) {
|
|
89
90
|
console.error(
|
|
91
|
+
'%s %o',
|
|
90
92
|
`Response from https://api.github.com/repos/fastly/cli/releases/${id}/assets was not ok`,
|
|
91
93
|
assets
|
|
92
94
|
);
|
|
93
|
-
console.error(await
|
|
95
|
+
console.error(await assets.text());
|
|
94
96
|
process.exit(1);
|
|
95
97
|
}
|
|
96
98
|
assets = await assets.json();
|
|
@@ -120,7 +122,11 @@ for (const info of packages) {
|
|
|
120
122
|
const browser_download_url = asset.browser_download_url;
|
|
121
123
|
const archive = await fetch(browser_download_url);
|
|
122
124
|
if (!archive.ok) {
|
|
123
|
-
console.error(
|
|
125
|
+
console.error(
|
|
126
|
+
'%s %o',
|
|
127
|
+
`Response from ${browser_download_url} was not ok`,
|
|
128
|
+
archive
|
|
129
|
+
);
|
|
124
130
|
console.error(await response.text());
|
|
125
131
|
process.exit(1);
|
|
126
132
|
}
|