From 7634004948ac3ab46f9d4806610fa6d9b06992fe Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 1 Jul 2019 13:18:49 -0700 Subject: [PATCH] fix(deps): bump the min required version of all deps (#152) --- package.json | 17 ++++++++--------- src/apirequest.ts | 9 ++++++--- src/endpoint.ts | 1 - system-test/test.kitchen.ts | 1 - 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 2f16586..2652dd7 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "!build/src/**/*.map" ], "scripts": { - "check": "gts check", "clean": "gts clean", "compile": "tsc -p .", "test": "nyc mocha build/test", @@ -19,8 +18,8 @@ "fix": "gts fix", "prepare": "npm run compile", "pretest": "npm run compile", - "posttest": "npm run check", - "lint": "npm run check", + "posttest": "npm run lint", + "lint": "gts check", "samples-test": "mocha build/samples-test", "docs": "compodoc src/", "webpack": "webpack", @@ -64,17 +63,17 @@ "nock": "^10.0.6", "null-loader": "^3.0.0", "nyc": "^14.1.1", - "puppeteer": "^1.17.0", + "puppeteer": "^1.18.1", "source-map-support": "^0.5.12", - "ts-loader": "^6.0.2", - "typescript": "~3.5.1", - "webpack": "^4.33.0", - "webpack-cli": "^3.3.4" + "ts-loader": "^6.0.4", + "typescript": "~3.5.2", + "webpack": "^4.35.0", + "webpack-cli": "^3.3.5" }, "dependencies": { "extend": "^3.0.2", "gaxios": "^2.0.1", - "google-auth-library": "^4.2.0", + "google-auth-library": "^4.2.5", "qs": "^6.7.0", "url-template": "^2.0.8", "uuid": "^3.3.2" diff --git a/src/apirequest.ts b/src/apirequest.ts index a641d75..2982c11 100644 --- a/src/apirequest.ts +++ b/src/apirequest.ts @@ -74,9 +74,12 @@ async function createAPIRequestAsync(parameters: APIRequestParams) { // Create a new params object so it can no longer be modified from outside // code Also support global and per-client params, but allow them to be // overriden per-request - const topOptions = (parameters.context.google && parameters.context.google._options && parameters.context.google._options.params) - ? parameters.context.google._options.params - : {}; + const topOptions = + parameters.context.google && + parameters.context.google._options && + parameters.context.google._options.params + ? parameters.context.google._options.params + : {}; params = Object.assign( {}, // New base object topOptions, // Global params diff --git a/src/endpoint.ts b/src/endpoint.ts index 715e2c1..2d8f755 100644 --- a/src/endpoint.ts +++ b/src/endpoint.ts @@ -12,7 +12,6 @@ // limitations under the License. import {BodyResponseCallback} from 'google-auth-library/build/src/transporters'; - import {APIRequestContext, APIRequestParams, GlobalOptions} from './api'; import {createAPIRequest} from './apirequest'; import {Schema, SchemaMethod, SchemaParameters, SchemaResource} from './schema'; diff --git a/system-test/test.kitchen.ts b/system-test/test.kitchen.ts index f4b8a06..86a7e87 100644 --- a/system-test/test.kitchen.ts +++ b/system-test/test.kitchen.ts @@ -15,7 +15,6 @@ */ import * as assert from 'assert'; -import * as cp from 'child_process'; import * as execa from 'execa'; import * as fs from 'fs'; import * as mv from 'mv';