@fastly/cli 10.17.1 → 10.19.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.
Files changed (3) hide show
  1. package/README.md +6 -0
  2. package/package.json +9 -9
  3. package/update.js +8 -2
package/README.md CHANGED
@@ -34,6 +34,12 @@ Please also check the [CHANGELOG](https://github.com/fastly/cli/blob/main/CHANGE
34
34
 
35
35
  Please see our [SECURITY.md](SECURITY.md) for guidance on reporting security-related issues.
36
36
 
37
+ ## Binaries with unreleased changes
38
+
39
+ Binaries containing merged changes that are planned for the next release are available [here](https://github.com/fastly/cli/actions/workflows/merge_to_main.yml).
40
+ Use at your own risk.
41
+ Updating will revert the binary to the latest released version.
42
+
37
43
  ## License
38
44
 
39
45
  [Apache 2.0](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastly/cli",
3
- "version": "10.17.1",
3
+ "version": "10.19.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.17.1",
24
- "@fastly/cli-darwin-x64": "=10.17.1",
25
- "@fastly/cli-linux-arm64": "=10.17.1",
26
- "@fastly/cli-linux-x64": "=10.17.1",
27
- "@fastly/cli-linux-x32": "=10.17.1",
28
- "@fastly/cli-win32-arm64": "=10.17.1",
29
- "@fastly/cli-win32-x64": "=10.17.1",
30
- "@fastly/cli-win32-x32": "=10.17.1"
23
+ "@fastly/cli-darwin-arm64": "=10.19.0",
24
+ "@fastly/cli-darwin-x64": "=10.19.0",
25
+ "@fastly/cli-linux-arm64": "=10.19.0",
26
+ "@fastly/cli-linux-x64": "=10.19.0",
27
+ "@fastly/cli-linux-x32": "=10.19.0",
28
+ "@fastly/cli-win32-arm64": "=10.19.0",
29
+ "@fastly/cli-win32-x64": "=10.19.0",
30
+ "@fastly/cli-win32-x32": "=10.19.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 response.text());
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(`Response from ${browser_download_url} was not ok`, archive);
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
  }