From fffd9525d34ad1c7ae66708c81a58bfa54207942 Mon Sep 17 00:00:00 2001 From: "marc.pichler" Date: Wed, 14 Sep 2022 07:30:55 +0200 Subject: [PATCH 1/2] deps: remove unused protobufjs and update used ones to 7.1.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 - 4 files changed, 5 insertions(+), 7 deletions(-) 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", From 558c8bf32cf4eeb85eb680c5a5d818bcb6826165 Mon Sep 17 00:00:00 2001 From: "marc.pichler" Date: Wed, 14 Sep 2022 07:54:20 +0200 Subject: [PATCH 2/2] fix(changelog): add chanelog entry. --- experimental/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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