From 6606ec4649ccab93618bfe889e841d705b7d12b3 Mon Sep 17 00:00:00 2001 From: Gerhard Stoebich <18708370+Flarna@users.noreply.github.com> Date: Sun, 17 Nov 2019 19:34:33 +0100 Subject: [PATCH] fix(plugin-http): adapt to current @types/node --- packages/opentelemetry-plugin-http/package.json | 2 +- packages/opentelemetry-plugin-http/test/utils/assertSpan.ts | 2 +- packages/opentelemetry-plugin-https/package.json | 2 +- packages/opentelemetry-plugin-https/test/utils/assertSpan.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/opentelemetry-plugin-http/package.json b/packages/opentelemetry-plugin-http/package.json index 59cefd55bb..94a5baa114 100644 --- a/packages/opentelemetry-plugin-http/package.json +++ b/packages/opentelemetry-plugin-http/package.json @@ -46,7 +46,7 @@ "@types/got": "^9.6.7", "@types/mocha": "^5.2.7", "@types/nock": "^11.1.0", - "@types/node": "^12.7.9", + "@types/node": "^12.12.9", "@types/request-promise-native": "^1.0.17", "@types/semver": "^6.0.2", "@types/shimmer": "^1.0.1", diff --git a/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts b/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts index 9a222f48f4..eccf35bc7a 100644 --- a/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts +++ b/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts @@ -33,7 +33,7 @@ export const assertSpan = ( hostname: string; pathname: string; reqHeaders?: http.OutgoingHttpHeaders; - path?: string; + path?: string | null; forceStatus?: Status; component: string; } diff --git a/packages/opentelemetry-plugin-https/package.json b/packages/opentelemetry-plugin-https/package.json index 09387444e3..8d3a19264f 100644 --- a/packages/opentelemetry-plugin-https/package.json +++ b/packages/opentelemetry-plugin-https/package.json @@ -45,7 +45,7 @@ "@types/got": "^9.6.7", "@types/mocha": "^5.2.7", "@types/nock": "^11.1.0", - "@types/node": "^12.7.8", + "@types/node": "^12.12.9", "@types/request-promise-native": "^1.0.17", "@types/semver": "^6.0.2", "@types/shimmer": "^1.0.1", diff --git a/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts b/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts index f89aa5b5b6..639a16d989 100644 --- a/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts +++ b/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts @@ -35,7 +35,7 @@ export const assertSpan = ( hostname: string; pathname: string; reqHeaders?: http.OutgoingHttpHeaders; - path?: string; + path?: string | null; component: string; } ) => {