Skip to content

Commit

Permalink
fix(deps): update dependency @google-cloud/common to v1 (#482)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency @google-cloud/common to v1

* stop passing requestion to @google-cloud/common's Service
  • Loading branch information
renovate[bot] authored and nolanmar511 committed May 13, 2019
1 parent cfcf179 commit 10ba3fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"license": "Apache-2.0",
"dependencies": {
"gaxios": "2.0.1",
"@google-cloud/common": "^0.31.0",
"@google-cloud/common": "^1.0.0",
"@types/console-log-level": "^1.4.0",
"@types/semver": "^6.0.0",
"bindings": "^1.2.1",
Expand All @@ -49,8 +49,7 @@
"protobufjs": "~6.8.6",
"semver": "^6.0.0",
"source-map": "^0.6.1",
"split": "^1.0.1",
"teeny-request": "^3.3.0"
"split": "^1.0.1"
},
"devDependencies": {
"@types/extend": "^3.0.0",
Expand Down
5 changes: 0 additions & 5 deletions ts/src/profiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
time as timeProfiler,
} from 'pprof';
import * as msToStr from 'pretty-ms';
import { teenyRequest as request } from 'teeny-request';
import * as zlib from 'zlib';

import { perftools } from '../../proto/profile';
Expand Down Expand Up @@ -295,14 +294,10 @@ export class Profiler extends ServiceObject {
baseUrl: config.baseApiUrl,
scopes: [SCOPE],
packageJson: pjson,
// tslint:disable-next-line: no-any
requestModule: request as any,
};
super({
parent: new Service(serviceConfig, config),
baseUrl: '/',
// tslint:disable-next-line: no-any
requestModule: request as any,
});
this.config = config;

Expand Down

0 comments on commit 10ba3fb

Please sign in to comment.