Skip to content

Commit

Permalink
fix(deps): bump the min required version of all deps (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Jul 1, 2019
1 parent da1e230 commit 7634004
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
17 changes: 8 additions & 9 deletions package.json
Expand Up @@ -10,7 +10,6 @@
"!build/src/**/*.map"
],
"scripts": {
"check": "gts check",
"clean": "gts clean",
"compile": "tsc -p .",
"test": "nyc mocha build/test",
Expand All @@ -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",
Expand Down Expand Up @@ -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"
Expand Down
9 changes: 6 additions & 3 deletions src/apirequest.ts
Expand Up @@ -74,9 +74,12 @@ async function createAPIRequestAsync<T>(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
Expand Down
1 change: 0 additions & 1 deletion src/endpoint.ts
Expand Up @@ -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';
Expand Down
1 change: 0 additions & 1 deletion system-test/test.kitchen.ts
Expand Up @@ -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';
Expand Down

0 comments on commit 7634004

Please sign in to comment.