From 9ea36e799f052dfbcc6917a39de87db61fec3bc7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 3 May 2019 15:19:25 +0000 Subject: [PATCH 1/2] fix(deps): update dependency arrify to v2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7760a7f9..691a2f99 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "client library" ], "dependencies": { - "arrify": "^1.0.1", + "arrify": "^2.0.0", "base64-js": "^1.3.0", "fast-text-encoding": "^1.0.0", "gaxios": "^2.0.0", From 2c023c57f898abdbd3058e9efc17193413a1ab14 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 3 May 2019 09:29:52 -0700 Subject: [PATCH 2/2] fixy --- package.json | 1 - src/auth/computeclient.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 691a2f99..6448acd7 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ }, "devDependencies": { "@compodoc/compodoc": "^1.1.7", - "@types/arrify": "^1.0.4", "@types/base64-js": "^1.2.5", "@types/chai": "^4.1.7", "@types/execa": "^0.9.0", diff --git a/src/auth/computeclient.ts b/src/auth/computeclient.ts index d06343a1..7c87e328 100644 --- a/src/auth/computeclient.ts +++ b/src/auth/computeclient.ts @@ -14,8 +14,8 @@ * limitations under the License. */ -import * as arrify from 'arrify'; -import {GaxiosError, GaxiosOptions, GaxiosPromise} from 'gaxios'; +import arrify = require('arrify'); +import {GaxiosError} from 'gaxios'; import * as gcpMetadata from 'gcp-metadata'; import * as messages from '../messages';