Skip to content

Commit

Permalink
Update non-web dev deps (open-telemetry#3157)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Aug 11, 2022
1 parent f882b71 commit 038df3f
Show file tree
Hide file tree
Showing 38 changed files with 225 additions and 225 deletions.
4 changes: 2 additions & 2 deletions examples/https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"@opentelemetry/instrumentation": "0.31.0",
"@opentelemetry/instrumentation-http": "0.31.0",
"@opentelemetry/resources": "1.5.0",
"@opentelemetry/semantic-conventions": "1.5.0",
"@opentelemetry/sdk-trace-base": "1.5.0",
"@opentelemetry/sdk-trace-node": "1.5.0",
"@opentelemetry/sdk-trace-base": "1.5.0"
"@opentelemetry/semantic-conventions": "1.5.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/examples/https",
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions experimental/packages/exporter-trace-otlp-grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/otlp-exporter-base": "0.31.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"cpx": "1.5.0",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions experimental/packages/exporter-trace-otlp-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
"devDependencies": {
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"@types/webpack-env": "1.16.3",
"babel-loader": "8.2.3",
"codecov": "3.8.3",
Expand All @@ -79,12 +79,12 @@
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"webpack": "4.46.0",
"webpack-cli": "4.9.1",
Expand Down
14 changes: 7 additions & 7 deletions experimental/packages/exporter-trace-otlp-proto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
"devDependencies": {
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"cpx": "1.5.0",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions experimental/packages/opentelemetry-api-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@opentelemetry/api": "^1.0.0"
},
"devDependencies": {
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/webpack-env": "1.16.3",
"codecov": "3.8.3",
"istanbul-instrumenter-loader": "3.0.1",
Expand All @@ -75,10 +75,10 @@
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"webpack": "4.46.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/api-metrics": "0.31.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"cpx": "1.5.0",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
"devDependencies": {
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"@types/webpack-env": "1.16.3",
"babel-loader": "8.2.3",
"codecov": "3.8.3",
Expand All @@ -79,12 +79,12 @@
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"webpack": "4.46.0",
"webpack-cli": "4.9.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/api-metrics": "0.31.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"cpx": "1.5.0",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
},
"devDependencies": {
"@opentelemetry/api": "^1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ describe('PrometheusExporter', () => {
const deferred = new Promise<void>(res => {
resolve = res;
});
mockResponse.end.callsFake(() => resolve());
mockResponse.end.callsFake(() => resolve() as any);
exporter.getMetricsRequestHandler(
(mockRequest as unknown) as http.IncomingMessage,
(mockResponse as unknown) as http.ServerResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"@opentelemetry/context-zone": "1.5.0",
"@opentelemetry/propagator-b3": "1.5.0",
"@opentelemetry/sdk-trace-base": "1.5.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"@types/webpack-env": "1.16.3",
"babel-loader": "8.2.3",
"codecov": "3.8.3",
Expand All @@ -72,12 +72,12 @@
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"webpack": "4.46.0",
"webpack-cli": "4.9.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@
"@opentelemetry/core": "1.5.0",
"@opentelemetry/sdk-trace-base": "1.5.0",
"@opentelemetry/sdk-trace-node": "1.5.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/semver": "7.3.9",
"@types/sinon": "10.0.6",
"@types/sinon": "10.0.13",
"codecov": "3.8.3",
"grpc": "1.24.11",
"mocha": "7.2.0",
"mocha": "10.0.0",
"node-pre-gyp": "0.17.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"semver": "7.3.5",
"sinon": "12.0.1",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@
"@opentelemetry/sdk-trace-base": "1.5.0",
"@opentelemetry/sdk-trace-node": "1.5.0",
"@types/got": "9.6.12",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/request-promise-native": "1.0.18",
"@types/semver": "7.3.9",
"@types/sinon": "10.0.6",
"@types/sinon": "10.0.13",
"@types/superagent": "4.1.13",
"axios": "0.24.0",
"codecov": "3.8.3",
"got": "9.6.0",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nock": "13.0.11",
"nyc": "15.1.0",
"request": "2.88.2",
"request-promise-native": "1.0.9",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"sinon": "14.0.0",
"superagent": "6.1.0",
"ts-mocha": "9.0.2",
"ts-mocha": "10.0.0",
"typescript": "4.4.4"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,12 @@ describe('HttpInstrumentation', () => {
}

it('should have 1 ended span when request throw on bad "options" object', () => {
assert.throws(() => http.request({ headers: { cookie: undefined} }), err => {
assert.throws(() => http.request({ headers: { cookie: undefined} }), (err: unknown) => {
const spans = memoryExporter.getFinishedSpans();
assert.strictEqual(spans.length, 1);

assert.ok(err instanceof Error);

const validations = {
httpStatusCode: undefined,
httpMethod: 'GET',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"@opentelemetry/context-zone": "1.5.0",
"@opentelemetry/propagator-b3": "1.5.0",
"@opentelemetry/sdk-trace-base": "1.5.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/sinon": "10.0.6",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/sinon": "10.0.13",
"@types/webpack-env": "1.16.3",
"babel-loader": "8.2.3",
"codecov": "3.8.3",
Expand All @@ -72,12 +72,12 @@
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"webpack": "4.46.0",
"webpack-cli": "4.9.1",
Expand Down
14 changes: 7 additions & 7 deletions experimental/packages/opentelemetry-instrumentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
"devDependencies": {
"@babel/core": "7.16.0",
"@opentelemetry/api": "^1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.33",
"@types/mocha": "9.1.1",
"@types/node": "18.6.5",
"@types/semver": "7.3.9",
"@types/shimmer": "1.0.2",
"@types/sinon": "10.0.6",
"@types/sinon": "10.0.13",
"@types/webpack-env": "1.16.3",
"babel-loader": "8.2.3",
"codecov": "3.8.3",
Expand All @@ -95,12 +95,12 @@
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"mocha": "10.0.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "12.0.1",
"ts-loader": "8.3.0",
"ts-mocha": "9.0.2",
"sinon": "14.0.0",
"ts-loader": "8.4.0",
"ts-mocha": "10.0.0",
"typescript": "4.4.4",
"webpack": "4.46.0",
"webpack-cli": "4.9.1",
Expand Down
Loading

0 comments on commit 038df3f

Please sign in to comment.