netlify-cli 17.15.5 → 17.15.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-files.d.ts","sourceRoot":"","sources":["../../../src/utils/deploy/upload-files.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,WAAW;;;;wBAuEhB,CAAA;
|
|
1
|
+
{"version":3,"file":"upload-files.d.ts","sourceRoot":"","sources":["../../../src/utils/deploy/upload-files.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,WAAW;;;;wBAuEhB,CAAA;AAuDD,eAAe,WAAW,CAAA"}
|
|
@@ -82,9 +82,14 @@ const retryUpload = (uploadFn, maxRetry) => new Promise((resolve, reject) => {
|
|
|
82
82
|
}
|
|
83
83
|
catch (error) {
|
|
84
84
|
lastError = error;
|
|
85
|
+
// We don't need to retry for 400 or 422 errors
|
|
86
|
+
// @ts-expect-error TS(2571) FIXME: Object is of type 'unknown'.
|
|
87
|
+
if (error.status === 400 || error.status === 422) {
|
|
88
|
+
return reject(error);
|
|
89
|
+
}
|
|
85
90
|
// observed errors: 408, 401 (4** swallowed), 502
|
|
86
91
|
// @ts-expect-error TS(2571) FIXME: Object is of type 'unknown'.
|
|
87
|
-
if (error.status
|
|
92
|
+
if (error.status > 400 || error.name === 'FetchError') {
|
|
88
93
|
fibonacciBackoff.backoff();
|
|
89
94
|
return;
|
|
90
95
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "17.15.
|
|
3
|
+
"version": "17.15.6",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "netlify-cli",
|
|
9
|
-
"version": "17.15.
|
|
9
|
+
"version": "17.15.6",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@fastify/static": "6.10.2",
|
|
15
15
|
"@netlify/blobs": "6.4.2",
|
|
16
16
|
"@netlify/build": "29.33.3",
|
|
17
|
-
"@netlify/build-info": "7.
|
|
17
|
+
"@netlify/build-info": "7.12.0",
|
|
18
18
|
"@netlify/config": "20.10.2",
|
|
19
19
|
"@netlify/edge-bundler": "11.2.2",
|
|
20
20
|
"@netlify/local-functions-proxy": "1.1.1",
|
|
@@ -1191,9 +1191,9 @@
|
|
|
1191
1191
|
}
|
|
1192
1192
|
},
|
|
1193
1193
|
"node_modules/@netlify/build-info": {
|
|
1194
|
-
"version": "7.
|
|
1195
|
-
"resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.
|
|
1196
|
-
"integrity": "sha512-
|
|
1194
|
+
"version": "7.12.0",
|
|
1195
|
+
"resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.12.0.tgz",
|
|
1196
|
+
"integrity": "sha512-sYL/IIWYcZIqY+8W+2AysWnHB0PG7iUSJz9yb3aGSp40WaYsrjw69GUkw6GPRkcNxS/VR8a8eHL6ISlwYw/ONw==",
|
|
1197
1197
|
"dependencies": {
|
|
1198
1198
|
"@bugsnag/js": "^7.20.0",
|
|
1199
1199
|
"dot-prop": "^7.2.0",
|
|
@@ -15687,9 +15687,9 @@
|
|
|
15687
15687
|
}
|
|
15688
15688
|
},
|
|
15689
15689
|
"@netlify/build-info": {
|
|
15690
|
-
"version": "7.
|
|
15691
|
-
"resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.
|
|
15692
|
-
"integrity": "sha512-
|
|
15690
|
+
"version": "7.12.0",
|
|
15691
|
+
"resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.12.0.tgz",
|
|
15692
|
+
"integrity": "sha512-sYL/IIWYcZIqY+8W+2AysWnHB0PG7iUSJz9yb3aGSp40WaYsrjw69GUkw6GPRkcNxS/VR8a8eHL6ISlwYw/ONw==",
|
|
15693
15693
|
"requires": {
|
|
15694
15694
|
"@bugsnag/js": "^7.20.0",
|
|
15695
15695
|
"dot-prop": "^7.2.0",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
3
|
"description": "Netlify command line tool",
|
|
4
|
-
"version": "17.15.
|
|
4
|
+
"version": "17.15.6",
|
|
5
5
|
"author": "Netlify Inc.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@fastify/static": "6.10.2",
|
|
40
40
|
"@netlify/blobs": "6.4.2",
|
|
41
41
|
"@netlify/build": "29.33.3",
|
|
42
|
-
"@netlify/build-info": "7.
|
|
42
|
+
"@netlify/build-info": "7.12.0",
|
|
43
43
|
"@netlify/config": "20.10.2",
|
|
44
44
|
"@netlify/edge-bundler": "11.2.2",
|
|
45
45
|
"@netlify/local-functions-proxy": "1.1.1",
|