From c08d02a78c29f206e34992ec025909a29297b3fb Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Tue, 19 Dec 2023 16:08:16 +0100 Subject: [PATCH 1/2] fix(instrumentation): use caret on import-in-the-middle --- .../packages/opentelemetry-instrumentation/package.json | 2 +- package-lock.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index 2db4d921588..15862d22d6a 100644 --- a/experimental/packages/opentelemetry-instrumentation/package.json +++ b/experimental/packages/opentelemetry-instrumentation/package.json @@ -72,7 +72,7 @@ }, "dependencies": { "@types/shimmer": "^1.0.2", - "import-in-the-middle": "1.7.2", + "import-in-the-middle": "^1.7.2", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" diff --git a/package-lock.json b/package-lock.json index f926ba0d835..152f3ab1769 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3105,7 +3105,7 @@ "license": "Apache-2.0", "dependencies": { "@types/shimmer": "^1.0.2", - "import-in-the-middle": "1.7.2", + "import-in-the-middle": "^1.7.2", "require-in-the-middle": "^7.1.1", "semver": "^7.5.2", "shimmer": "^1.2.1" @@ -40765,7 +40765,7 @@ "codecov": "3.8.3", "cpx": "1.5.0", "cross-var": "1.1.0", - "import-in-the-middle": "1.7.2", + "import-in-the-middle": "^1.7.2", "karma": "6.4.2", "karma-chrome-launcher": "3.1.0", "karma-coverage": "2.2.1", From c4abc81a899f6939eece6248e65f36a391e88cb5 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Tue, 19 Dec 2023 16:28:20 +0100 Subject: [PATCH 2/2] fix: add chanelog entry --- experimental/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 2b4a27e9681..4ffc9cdc6fc 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -10,6 +10,8 @@ All notable changes to experimental packages in this project will be documented ### :bug: (Bug Fix) +fix(instrumentation): use caret range on import-in-the-middle [#4380](https://github.com/open-telemetry/opentelemetry-js/pull/4380) @pichlermarc + ### :books: (Refine Doc) ### :house: (Internal)