diff --git a/.licenses/npm/typed-rest-client.dep.yml b/.licenses/npm/typed-rest-client.dep.yml index 03df18e5..6c9721b5 100644 --- a/.licenses/npm/typed-rest-client.dep.yml +++ b/.licenses/npm/typed-rest-client.dep.yml @@ -1,6 +1,6 @@ --- name: typed-rest-client -version: 2.0.1 +version: 2.0.2 type: npm summary: Node Rest and Http Clients for use with TypeScript homepage: https://github.com/Microsoft/typed-rest-client#readme diff --git a/dist/index.js b/dist/index.js index addcf699..cea09857 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11518,7 +11518,7 @@ var HttpCodes; })(HttpCodes || (exports.HttpCodes = HttpCodes = {})); const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect]; const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout]; -const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED']; +const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED', 'EHOSTUNREACH']; const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; const ExponentialBackoffCeiling = 10; const ExponentialBackoffTimeSlice = 5; diff --git a/package-lock.json b/package-lock.json index 52be9bde..a18f3516 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "@actions/core": "^1.10.1", "@actions/tool-cache": "^2.0.1", "semver": "^7.6.2", - "typed-rest-client": "^2.0.1" + "typed-rest-client": "^2.0.2" }, "devDependencies": { "@actions/io": "^1.1.3", @@ -9502,9 +9502,9 @@ } }, "node_modules/typed-rest-client": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-2.0.1.tgz", - "integrity": "sha512-LSfgVu+jKUbkceVBGJ6bdIMzzpvjhw6A+aKsVnGa2S7bT82QCALh/RAtq/fdV3aLXxHqsChuClrQ93fXMrIckA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-2.0.2.tgz", + "integrity": "sha512-rmAQM2gZw/PQpK5+5aSs+I6ZBv4PFC2BT1o+0ADS1SgSejA+14EmbI2Lt8uXwkX7oeOMkwFmg0pHKwe8D9IT5A==", "dependencies": { "des.js": "^1.1.0", "js-md4": "^0.3.2", @@ -16829,9 +16829,9 @@ } }, "typed-rest-client": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-2.0.1.tgz", - "integrity": "sha512-LSfgVu+jKUbkceVBGJ6bdIMzzpvjhw6A+aKsVnGa2S7bT82QCALh/RAtq/fdV3aLXxHqsChuClrQ93fXMrIckA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-2.0.2.tgz", + "integrity": "sha512-rmAQM2gZw/PQpK5+5aSs+I6ZBv4PFC2BT1o+0ADS1SgSejA+14EmbI2Lt8uXwkX7oeOMkwFmg0pHKwe8D9IT5A==", "requires": { "des.js": "^1.1.0", "js-md4": "^0.3.2", diff --git a/package.json b/package.json index fbd73848..d09f4460 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@actions/core": "^1.10.1", "@actions/tool-cache": "^2.0.1", "semver": "^7.6.2", - "typed-rest-client": "^2.0.1" + "typed-rest-client": "^2.0.2" }, "devDependencies": { "@actions/io": "^1.1.3",