From 7ca9a229f1d88d3b8a8c0530cd12b5a4fa282a5d Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 3 Mar 2023 08:51:16 -0500 Subject: [PATCH] Fix API dependency --- examples/https/package.json | 2 +- examples/opentelemetry-web/package.json | 2 +- examples/otlp-exporter-node/package.json | 2 +- experimental/examples/prometheus/package.json | 2 +- experimental/packages/api-events/package.json | 2 +- experimental/packages/api-logs/package.json | 2 +- integration-tests/propagation-validation-server/package.json | 2 +- packages/opentelemetry-context-async-hooks/package.json | 2 +- packages/opentelemetry-context-zone-peer-dep/package.json | 2 +- packages/opentelemetry-core/package.json | 2 +- packages/opentelemetry-exporter-jaeger/package.json | 2 +- packages/opentelemetry-exporter-zipkin/package.json | 2 +- packages/opentelemetry-propagator-b3/package.json | 2 +- packages/opentelemetry-propagator-jaeger/package.json | 2 +- packages/opentelemetry-sdk-trace-node/package.json | 2 +- packages/opentelemetry-sdk-trace-web/package.json | 2 +- packages/opentelemetry-shim-opentracing/package.json | 2 +- packages/sdk-metrics/package.json | 2 +- selenium-tests/package.json | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/examples/https/package.json b/examples/https/package.json index a0a4281993..0e7991cd86 100644 --- a/examples/https/package.json +++ b/examples/https/package.json @@ -32,7 +32,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "dependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.0.0", "@opentelemetry/exporter-jaeger": "1.10.0", "@opentelemetry/exporter-zipkin": "1.10.0", "@opentelemetry/instrumentation": "0.36.0", diff --git a/examples/opentelemetry-web/package.json b/examples/opentelemetry-web/package.json index 821e461813..02e10c607f 100644 --- a/examples/opentelemetry-web/package.json +++ b/examples/opentelemetry-web/package.json @@ -42,7 +42,7 @@ "webpack-merge": "^5.8.0" }, "dependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.3.0", "@opentelemetry/context-zone": "1.10.0", "@opentelemetry/core": "1.10.0", "@opentelemetry/exporter-metrics-otlp-http": "0.36.0", diff --git a/examples/otlp-exporter-node/package.json b/examples/otlp-exporter-node/package.json index 1b3e452497..d60567735a 100644 --- a/examples/otlp-exporter-node/package.json +++ b/examples/otlp-exporter-node/package.json @@ -28,7 +28,7 @@ "url": "https://github.com/open-telemetry/opentelemetry-js/issues" }, "dependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.3.0", "@opentelemetry/core": "1.10.0", "@opentelemetry/exporter-metrics-otlp-grpc": "0.36.0", "@opentelemetry/exporter-metrics-otlp-http": "0.36.0", diff --git a/experimental/examples/prometheus/package.json b/experimental/examples/prometheus/package.json index 1f24d71743..dffaae7c61 100644 --- a/experimental/examples/prometheus/package.json +++ b/experimental/examples/prometheus/package.json @@ -10,7 +10,7 @@ "author": "OpenTelemetry Authors", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.3.0", "@opentelemetry/exporter-prometheus": "0.36.0", "@opentelemetry/sdk-metrics": "1.10.0" } diff --git a/experimental/packages/api-events/package.json b/experimental/packages/api-events/package.json index 5b3accd3d1..8faa9b9315 100644 --- a/experimental/packages/api-events/package.json +++ b/experimental/packages/api-events/package.json @@ -61,7 +61,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/api": "1.4.1" + "@opentelemetry/api": "^1.0.0" }, "devDependencies": { "@types/mocha": "10.0.0", diff --git a/experimental/packages/api-logs/package.json b/experimental/packages/api-logs/package.json index 8736f2cb2b..a279d1c870 100644 --- a/experimental/packages/api-logs/package.json +++ b/experimental/packages/api-logs/package.json @@ -61,7 +61,7 @@ "access": "public" }, "dependencies": { - "@opentelemetry/api": "1.4.1" + "@opentelemetry/api": "^1.0.0" }, "devDependencies": { "@types/mocha": "10.0.0", diff --git a/integration-tests/propagation-validation-server/package.json b/integration-tests/propagation-validation-server/package.json index 8d2ccf34c6..beb4b61caa 100644 --- a/integration-tests/propagation-validation-server/package.json +++ b/integration-tests/propagation-validation-server/package.json @@ -11,7 +11,7 @@ "compile": "tsc --build" }, "dependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.0.0", "@opentelemetry/context-async-hooks": "1.10.0", "@opentelemetry/core": "1.10.0", "@opentelemetry/sdk-trace-base": "1.10.0", diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index c32c42a36a..ea957ddd99 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -44,7 +44,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "codecov": "3.8.3", diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index cd83d37bf9..f773e4c0d5 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@babel/core": "7.16.0", - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index 41c1ba3991..4ca680a641 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -64,7 +64,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", diff --git a/packages/opentelemetry-exporter-jaeger/package.json b/packages/opentelemetry-exporter-jaeger/package.json index eec6c434c9..27170b73b3 100644 --- a/packages/opentelemetry-exporter-jaeger/package.json +++ b/packages/opentelemetry-exporter-jaeger/package.json @@ -44,7 +44,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.0.0", "@opentelemetry/resources": "1.10.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", diff --git a/packages/opentelemetry-exporter-zipkin/package.json b/packages/opentelemetry-exporter-zipkin/package.json index ceb00ff283..985740542c 100644 --- a/packages/opentelemetry-exporter-zipkin/package.json +++ b/packages/opentelemetry-exporter-zipkin/package.json @@ -61,7 +61,7 @@ }, "devDependencies": { "@babel/core": "7.16.0", - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.0.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index 60a0a9a0f6..20ab69f853 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -57,7 +57,7 @@ "@opentelemetry/api": ">=1.0.0 <1.5.0" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "codecov": "3.8.3", diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index cb268e4319..f7cf51fa79 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -54,7 +54,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@types/mocha": "10.0.0", "@types/node": "18.6.5", "@types/sinon": "10.0.13", diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index 8bbb3d5884..3e38d76916 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -45,7 +45,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@opentelemetry/resources": "1.10.0", "@opentelemetry/semantic-conventions": "1.10.0", "@types/mocha": "10.0.0", diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index d1ca2609b7..5513dce644 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@babel/core": "7.16.0", - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@opentelemetry/context-zone": "1.10.0", "@opentelemetry/propagator-b3": "1.10.0", "@opentelemetry/resources": "1.10.0", diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index 361a785363..4a4c62d21a 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -42,7 +42,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.0.0 <1.5.0", "@opentelemetry/propagator-b3": "1.10.0", "@opentelemetry/propagator-jaeger": "1.10.0", "@opentelemetry/sdk-trace-base": "1.10.0", diff --git a/packages/sdk-metrics/package.json b/packages/sdk-metrics/package.json index b35818b8ba..d22d39ee7b 100644 --- a/packages/sdk-metrics/package.json +++ b/packages/sdk-metrics/package.json @@ -54,7 +54,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": ">=1.3.0 <1.5.0", "@types/lodash.merge": "4.6.6", "@types/mocha": "10.0.0", "@types/node": "18.6.5", diff --git a/selenium-tests/package.json b/selenium-tests/package.json index 7296dad62b..93dd972e64 100644 --- a/selenium-tests/package.json +++ b/selenium-tests/package.json @@ -36,7 +36,7 @@ "@babel/plugin-proposal-decorators": "7.16.4", "@babel/plugin-transform-runtime": "7.16.4", "@babel/preset-env": "7.16.4", - "@opentelemetry/api": "1.4.1", + "@opentelemetry/api": "^1.0.0", "babel-loader": "8.2.3", "babel-polyfill": "6.26.0", "browserstack-local": "1.4.8",