From 4422d8ce210c684ff341ec574259e50e10ec2bbc Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Thu, 15 Sep 2022 05:32:03 +0200 Subject: [PATCH] deps: remove unused protobufjs and update used ones to 7.1.1 (#3251) * deps: remove unused protobufjs and update used ones to 7.1.1 * fix(changelog): add chanelog entry. Co-authored-by: Daniel Dyla --- experimental/CHANGELOG.md | 1 + experimental/packages/exporter-trace-otlp-proto/package.json | 3 +-- .../opentelemetry-exporter-metrics-otlp-proto/package.json | 3 +-- experimental/packages/otlp-proto-exporter-base/package.json | 5 +++-- experimental/packages/otlp-transformer/package.json | 1 - 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 0c77075056..171f3812f6 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -55,6 +55,7 @@ All notable changes to experimental packages in this project will be documented ### :house: (Internal) * ci(instrumentation-http): improve metrics test stability [#3242](https://github.com/open-telemetry/opentelemetry-js/pull/3242) @pichlermarc +* deps: remove unused protobufjs and update used ones to 7.1.1 #3251 [#3251](https://github.com/open-telemetry/opentelemetry-js/pull/3251) @pichlermarc ## 0.32.0 diff --git a/experimental/packages/exporter-trace-otlp-proto/package.json b/experimental/packages/exporter-trace-otlp-proto/package.json index 41aff440c7..4a1d2974dd 100644 --- a/experimental/packages/exporter-trace-otlp-proto/package.json +++ b/experimental/packages/exporter-trace-otlp-proto/package.json @@ -72,8 +72,7 @@ "@opentelemetry/otlp-proto-exporter-base": "0.32.0", "@opentelemetry/otlp-transformer": "0.32.0", "@opentelemetry/resources": "1.6.0", - "@opentelemetry/sdk-trace-base": "1.6.0", - "protobufjs": "^6.9.0" + "@opentelemetry/sdk-trace-base": "1.6.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/exporter-trace-otlp-proto" } diff --git a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json index 9723a58a55..d9e62b66e5 100644 --- a/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json +++ b/experimental/packages/opentelemetry-exporter-metrics-otlp-proto/package.json @@ -74,8 +74,7 @@ "@opentelemetry/otlp-proto-exporter-base": "0.32.0", "@opentelemetry/otlp-transformer": "0.32.0", "@opentelemetry/resources": "1.6.0", - "@opentelemetry/sdk-metrics": "0.32.0", - "protobufjs": "^6.9.0" + "@opentelemetry/sdk-metrics": "0.32.0" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-metrics-otlp-proto" } diff --git a/experimental/packages/otlp-proto-exporter-base/package.json b/experimental/packages/otlp-proto-exporter-base/package.json index a9ae89dcec..4c0ff243c6 100644 --- a/experimental/packages/otlp-proto-exporter-base/package.json +++ b/experimental/packages/otlp-proto-exporter-base/package.json @@ -52,7 +52,7 @@ "codecov": "3.8.3", "mocha": "10.0.0", "nyc": "15.1.0", - "protobufjs": "6.11.3", + "protobufjs-cli": "^1.0.2", "rimraf": "3.0.2", "sinon": "14.0.0", "ts-loader": "8.4.0", @@ -65,7 +65,8 @@ "dependencies": { "@grpc/proto-loader": "^0.6.9", "@opentelemetry/core": "1.6.0", - "@opentelemetry/otlp-exporter-base": "0.32.0" + "@opentelemetry/otlp-exporter-base": "0.32.0", + "protobufjs": "7.1.1" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/otlp-proto-exporter-base" } diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index b15be78d13..8bcd3949d5 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -69,7 +69,6 @@ "mkdirp": "1.0.4", "mocha": "10.0.0", "nyc": "15.1.0", - "protobufjs": "6.11.3", "rimraf": "3.0.2", "ts-loader": "8.4.0", "ts-mocha": "10.0.0",