Skip to content

Commit 8648313

Browse files
pichlermarctrentm
andauthored
fix(instrumentation)!: pin [email protected] (#4441)
* fix(instrumentation): pin [email protected] * fix(changelog): add changlog entry * Update experimental/CHANGELOG.md Co-authored-by: Trent Mick <[email protected]> * fix(changelog): additional details * fix(changelog): formatting * fix(changelog): lint --------- Co-authored-by: Trent Mick <[email protected]>
1 parent 0635ab1 commit 8648313

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

experimental/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to experimental packages in this project will be documented
66

77
### :boom: Breaking Change
88

9+
* fix(instrumentation)!: pin [email protected] [#4441](https://github.com/open-telemetry/opentelemetry-js/pull/4441)
10+
* Fixes a bug where, in some circumstances, ESM instrumentation packages would try to instrument CJS exports on ESM, causing the end-user application to crash.
11+
* This breaking change only affects users that are using the *experimental* `@opentelemetry/instrumentation/hook.mjs` loader hook AND Node.js 18.19 or later:
12+
* This reverts back to an older version of `import-in-the-middle` due to <https://github.com/DataDog/import-in-the-middle/issues/57>
13+
* This version does not support Node.js 18.19 or later
14+
915
### :rocket: (Enhancement)
1016

1117
### :bug: (Bug Fix)

experimental/packages/opentelemetry-instrumentation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"dependencies": {
7474
"@types/shimmer": "^1.0.2",
75-
"import-in-the-middle": "^1.7.2",
75+
"import-in-the-middle": "1.7.1",
7676
"require-in-the-middle": "^7.1.1",
7777
"semver": "^7.5.2",
7878
"shimmer": "^1.2.1"

package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)