From f4b681d4f388ecedaecff03b7c95f460c97a8f6c Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Wed, 20 Dec 2023 14:32:52 +0100 Subject: [PATCH] fix(instrumentation): use caret range on import-in-the-middle (#4380) * fix(instrumentation): use caret on import-in-the-middle * fix: add chanelog entry --------- Co-authored-by: Daniel Dyla --- experimental/CHANGELOG.md | 2 ++ .../packages/opentelemetry-instrumentation/package.json | 2 +- package-lock.json | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 2b4a27e968..4ffc9cdc6f 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) diff --git a/experimental/packages/opentelemetry-instrumentation/package.json b/experimental/packages/opentelemetry-instrumentation/package.json index 2db4d92158..15862d22d6 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 2be1e4a30c..3e074c7978 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" @@ -40768,7 +40768,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",