Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit ea59132

Browse files
chore(deps): update dependency teeny-request to v5 (#745)
1 parent ddc3629 commit ea59132

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"proxyquire": "^2.0.0",
9494
"require-inject": "^1.4.3",
9595
"source-map-support": "^0.5.6",
96-
"teeny-request": "^4.0.0",
96+
"teeny-request": "^5.0.0",
9797
"typescript": "~3.5.0",
9898
"uuid": "^3.3.2"
9999
}

test/test-controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as nock from 'nock';
2020
import {Debug} from '../src/client/stackdriver/debug';
2121
import {Debuggee} from '../src/debuggee';
2222
import * as stackdriver from '../src/types/stackdriver';
23-
import * as r from 'request'; // types only
23+
import * as t from 'teeny-request'; // types only
2424
import {teenyRequest} from 'teeny-request';
2525

2626
// the tests in this file rely on the GCLOUD_PROJECT environment variable
@@ -31,7 +31,7 @@ import {Controller} from '../src/agent/controller';
3131
// TODO: Fix fakeDebug to actually implement Debug.
3232
const fakeDebug = ({
3333
apiEndpoint: `clouddebugger.googleapis.com`,
34-
request: (options: r.Options, cb: r.RequestCallback) => {
34+
request: (options: t.Options, cb: t.RequestCallback) => {
3535
teenyRequest(options, (err, r) => {
3636
cb(err, r ? r.body : undefined, r);
3737
});

0 commit comments

Comments
 (0)