This repository was archived by the owner on Apr 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 5959 "linkinator" : " ^1.1.2"
6060 },
6161 "dependencies" : {
62- "@google-cloud/common" : " ^0.31 .0" ,
62+ "@google-cloud/common" : " ^0.32 .0" ,
6363 "@sindresorhus/is" : " ^0.15.0" ,
6464 "acorn" : " ^6.0.0" ,
6565 "coffeescript" : " ^2.0.0" ,
7272 "pify" : " ^4.0.1" ,
7373 "semver" : " ^6.0.0" ,
7474 "source-map" : " ^0.6.1" ,
75- "split" : " ^1.0.0" ,
76- "teeny-request" : " ^3.11.1"
75+ "split" : " ^1.0.0"
7776 },
7877 "scripts" : {
7978 "changelog" : " npm run compile && ./bin/run-changelog.sh" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import {ServiceObject} from '@google-cloud/common';
2222import * as assert from 'assert' ;
2323import * as qs from 'querystring' ;
2424import * as request from 'request' ; // Only for type declarations.
25- import { teenyRequest } from 'teeny-request' ;
2625
2726import { URL } from 'url' ;
2827
@@ -43,11 +42,7 @@ export class Controller extends ServiceObject {
4342 */
4443
4544 constructor ( debug : Debug , config ?: { apiUrl ?: string } ) {
46- super ( {
47- requestModule : teenyRequest as typeof request ,
48- parent : debug ,
49- baseUrl : '/controller'
50- } ) ;
45+ super ( { parent : debug , baseUrl : '/controller' } ) ;
5146
5247 /** @private {string} */
5348 this . nextWaitToken = null ;
Original file line number Diff line number Diff line change 1616
1717import { GoogleAuthOptions , Service } from '@google-cloud/common' ;
1818import * as request from 'request' ; // Only for type declarations.
19- import { teenyRequest } from 'teeny-request' ;
2019
2120export interface PackageInfo {
2221 name : string ;
@@ -58,7 +57,6 @@ export class Debug extends Service {
5857 }
5958
6059 const config = {
61- requestModule : teenyRequest as typeof request ,
6260 projectIdRequired : false ,
6361 baseUrl : 'https://clouddebugger.googleapis.com/v2' ,
6462 scopes : [ 'https://www.googleapis.com/auth/cloud_debugger' ] ,
Original file line number Diff line number Diff line change 1919 */
2020
2121import { ServiceObject } from '@google-cloud/common' ;
22- import * as request from 'request' ; // types only
23-
2422import { Debug } from '../src/client/stackdriver/debug' ;
2523import { Debuggee } from '../src/debuggee' ;
2624import * as stackdriver from '../src/types/stackdriver' ;
@@ -45,7 +43,7 @@ export class Debugger extends ServiceObject {
4543 * @constructor
4644 */
4745 constructor ( debug : Debug ) {
48- super ( { requestModule : request , parent : debug , baseUrl : '/debugger' } ) ;
46+ super ( { parent : debug , baseUrl : '/debugger' } ) ;
4947
5048 /** @private {string} */
5149 this . nextWaitToken = null ;
You can’t perform that action at this time.
0 commit comments