Skip to content

Commit bad937d

Browse files
feat(deps): bump import-in-the-middle from 2.0.1 to 2.0.6 (#19042)
Bumps [import-in-the-middle](https://github.com/nodejs/import-in-the-middle) from 2.0.1 to 2.0.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nodejs/import-in-the-middle/releases">import-in-the-middle's releases</a>.</em></p> <blockquote> <h2>import-in-the-middle: v2.0.6</h2> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.5...import-in-the-middle-v2.0.6">2.0.6</a> (2026-01-27)</h2> <h3>Bug Fixes</h3> <ul> <li>ensure the callback 'name' arg is the module name when matching the module main file, even when 'internals: true' option is used (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/241">#241</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/ad9d02cd774df110c5e2f72e6cca414d7c315404">ad9d02c</a>)</li> <li>fix a couple issues with duplicate entries and specifier (submodule) matching (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/237">#237</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/fdc0b3d5863a1338586e25a94b831fee1bd8bd0b">fdc0b3d</a>)</li> <li>properly hook builtin modules that require the 'node:' prefix (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/240">#240</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/de8458962958182eac743e99edeb944160638e2c">de84589</a>)</li> <li>properly hook builtin modules that require the 'node:' prefix (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/240">#240</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/9d916a59b4a95b2a22568d1e8f65948598178de9">9d916a5</a>)</li> </ul> <h2>import-in-the-middle: v2.0.5</h2> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.4...import-in-the-middle-v2.0.5">2.0.5</a> (2026-01-20)</h2> <h3>Bug Fixes</h3> <ul> <li>handle lazy initialization and circular dependencies (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/229">#229</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/d1421dc0ae65ce6da5de5cb58f41af99f9d87371">d1421dc</a>)</li> <li>entrypoint can be treated as CommonJS when loader chains add query params to file URLs (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/233">#233</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/60ab14aeed8960b5dec4bec571a81649363e256e">60ab14a</a>)</li> </ul> <h2>import-in-the-middle: v2.0.4</h2> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.3...import-in-the-middle-v2.0.4">2.0.4</a> (2026-01-14)</h2> <h3>Bug Fixes</h3> <ul> <li>do not instrument the top level module (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/225">#225</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/b563b35c74b96554b5112905391ec3842162b7ee">b563b35</a>)</li> </ul> <h2>import-in-the-middle: v2.0.3</h2> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.2...import-in-the-middle-v2.0.3">2.0.3</a> (2026-01-13)</h2> <h3>Bug Fixes</h3> <ul> <li>add missing JSDoc type information (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>add missing name for fast builtin lookup (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>do not crash on missing setters (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/223">#223</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/fe4477832aa9a3422ebecf0a2460cf77be3b3581">fe44778</a>)</li> <li>handle undefined exports properly (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>multiple minor issues (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/221">#221</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>remove small memory leak (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> </ul> <h3>Performance Improvements</h3> <ul> <li>improve perf by calculating less stack frames and fast paths (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/224">#224</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/09ae8bfdeedf6c1c8c81c7338858004447e68233">09ae8bf</a>)</li> </ul> <h2>import-in-the-middle: v2.0.2</h2> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.1...import-in-the-middle-v2.0.2">2.0.2</a> (2026-01-11)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nodejs/import-in-the-middle/blob/main/CHANGELOG.md">import-in-the-middle's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.5...import-in-the-middle-v2.0.6">2.0.6</a> (2026-01-27)</h2> <h3>Bug Fixes</h3> <ul> <li>ensure the callback 'name' arg is the module name when matching the module main file, even when 'internals: true' option is used (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/241">#241</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/ad9d02cd774df110c5e2f72e6cca414d7c315404">ad9d02c</a>)</li> <li>fix a couple issues with duplicate entries and specifier (submodule) matching (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/237">#237</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/fdc0b3d5863a1338586e25a94b831fee1bd8bd0b">fdc0b3d</a>)</li> <li>properly hook builtin modules that require the 'node:' prefix (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/240">#240</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/de8458962958182eac743e99edeb944160638e2c">de84589</a>)</li> <li>properly hook builtin modules that require the 'node:' prefix (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/240">#240</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/9d916a59b4a95b2a22568d1e8f65948598178de9">9d916a5</a>)</li> </ul> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.4...import-in-the-middle-v2.0.5">2.0.5</a> (2026-01-20)</h2> <h3>Bug Fixes</h3> <ul> <li>handle lazy initialization and circular dependencies (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/229">#229</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/d1421dc0ae65ce6da5de5cb58f41af99f9d87371">d1421dc</a>)</li> <li>entrypoint can be treated as CommonJS when loader chains add query params to file URLs (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/223">#223</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/60ab14aeed8960b5dec4bec571a81649363e256e">60ab14a</a>)</li> </ul> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.3...import-in-the-middle-v2.0.4">2.0.4</a> (2026-01-14)</h2> <h3>Bug Fixes</h3> <ul> <li>do not instrument the top level module (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/225">#225</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/b563b35c74b96554b5112905391ec3842162b7ee">b563b35</a>)</li> </ul> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.2...import-in-the-middle-v2.0.3">2.0.3</a> (2026-01-13)</h2> <h3>Bug Fixes</h3> <ul> <li>add missing JSDoc type information (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>add missing name for fast builtin lookup (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>do not crash on missing setters (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/223">#223</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/fe4477832aa9a3422ebecf0a2460cf77be3b3581">fe44778</a>)</li> <li>handle undefined exports properly (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>multiple minor issues (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/221">#221</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> <li>remove small memory leak (<a href="https://github.com/nodejs/import-in-the-middle/commit/40c1009ef3acc45b5eec89ed1b866866933edace">40c1009</a>)</li> </ul> <h3>Performance Improvements</h3> <ul> <li>improve perf by calculating less stack frames and fast paths (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/224">#224</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/09ae8bfdeedf6c1c8c81c7338858004447e68233">09ae8bf</a>)</li> </ul> <h2><a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.1...import-in-the-middle-v2.0.2">2.0.2</a> (2026-01-11)</h2> <h3>Bug Fixes</h3> <ul> <li>grammar issue in README.md (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/216">#216</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/46e4a2a9ad250c06fb52c9b782370071a6d1f3cc">46e4a2a</a>)</li> <li>properly handle internals when specifier matches (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/220">#220</a>) (<a href="https://github.com/nodejs/import-in-the-middle/commit/05e4216e10d11c7eb996d4124f36e476f3a6d42f">05e4216</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/43e238166923b956386d6928efd8eaa9b53f274c"><code>43e2381</code></a> chore: release v2.0.6 (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/242">#242</a>)</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/ad9d02cd774df110c5e2f72e6cca414d7c315404"><code>ad9d02c</code></a> fix: ensure the callback 'name' arg is the module name when matching the modu...</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/de8458962958182eac743e99edeb944160638e2c"><code>de84589</code></a> fix: properly hook builtin modules that require the 'node:' prefix (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/240">#240</a>)</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/9d916a59b4a95b2a22568d1e8f65948598178de9"><code>9d916a5</code></a> fix: properly hook builtin modules that require the 'node:' prefix (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/240">#240</a>)</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/fdc0b3d5863a1338586e25a94b831fee1bd8bd0b"><code>fdc0b3d</code></a> fix: fix a couple issues with duplicate entries and specifier (submodule) mat...</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/542def860af4e89dfa424c63c9d7df978d8a4814"><code>542def8</code></a> Revert &quot;feat: Optionally hook internal paths like <code>require-in-the-middle</code> (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/1">#1</a>...</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/e178bb4fe7272d93ed510847caedccad7ac9cf05"><code>e178bb4</code></a> test: increase coverage and more (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/231">#231</a>)</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/402f246f6be9e9b31b7ccb0e3c9614860e8409be"><code>402f246</code></a> chore: Add missing changelog entry (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/235">#235</a>)</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/0a21838bb41713170209bb8b7290031c2b3b16a9"><code>0a21838</code></a> chore: release v2.0.5 (<a href="https://redirect.github.com/nodejs/import-in-the-middle/issues/234">#234</a>)</li> <li><a href="https://github.com/nodejs/import-in-the-middle/commit/60ab14aeed8960b5dec4bec571a81649363e256e"><code>60ab14a</code></a> Fix entrypoint can be treated as CommonJS when loader chains add query params...</li> <li>Additional commits viewable in <a href="https://github.com/nodejs/import-in-the-middle/compare/import-in-the-middle-v2.0.1...import-in-the-middle-v2.0.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=import-in-the-middle&package-manager=npm_and_yarn&previous-version=2.0.1&new-version=2.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JPeer264 <jan.peer@sentry.io>
1 parent de658a8 commit bad937d

4 files changed

Lines changed: 14 additions & 15 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@
151151
"gauge/strip-ansi": "6.0.1",
152152
"wide-align/string-width": "4.2.3",
153153
"cliui/wrap-ansi": "7.0.0",
154-
"sucrase": "getsentry/sucrase#es2020-polyfills",
155-
"import-in-the-middle": "2.0.1"
154+
"sucrase": "getsentry/sucrase#es2020-polyfills"
156155
},
157156
"version": "0.0.0",
158157
"name": "sentry-javascript",

packages/node-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@apm-js-collab/tracing-hooks": "^0.3.1",
7070
"@sentry/core": "10.37.0",
7171
"@sentry/opentelemetry": "10.37.0",
72-
"import-in-the-middle": "^2.0.1"
72+
"import-in-the-middle": "^2.0.6"
7373
},
7474
"devDependencies": {
7575
"@apm-js-collab/code-transformer": "^0.8.2",

packages/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"@sentry/core": "10.37.0",
9999
"@sentry/node-core": "10.37.0",
100100
"@sentry/opentelemetry": "10.37.0",
101-
"import-in-the-middle": "^2.0.1",
101+
"import-in-the-middle": "^2.0.6",
102102
"minimatch": "^9.0.0"
103103
},
104104
"devDependencies": {

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12795,10 +12795,10 @@ citty@^0.1.2, citty@^0.1.5, citty@^0.1.6:
1279512795
dependencies:
1279612796
consola "^3.2.3"
1279712797

12798-
cjs-module-lexer@^1.2.2:
12799-
version "1.2.3"
12800-
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107"
12801-
integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==
12798+
cjs-module-lexer@^2.2.0:
12799+
version "2.2.0"
12800+
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-2.2.0.tgz#b3ca5101843389259ade7d88c77bd06ce55849ca"
12801+
integrity sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==
1280212802

1280312803
class-utils@^0.3.5:
1280412804
version "0.3.6"
@@ -19034,15 +19034,15 @@ import-fresh@^3.2.1:
1903419034
parent-module "^1.0.0"
1903519035
resolve-from "^4.0.0"
1903619036

19037-
import-in-the-middle@2.0.1, import-in-the-middle@^2.0.0, import-in-the-middle@^2.0.1:
19038-
version "2.0.1"
19039-
resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-2.0.1.tgz#8d1aa2db18374f2c811de2aa4756ebd6e9859243"
19040-
integrity sha512-bruMpJ7xz+9jwGzrwEhWgvRrlKRYCRDBrfU+ur3FcasYXLJDxTruJ//8g2Noj+QFyRBeqbpj8Bhn4Fbw6HjvhA==
19037+
import-in-the-middle@^2.0.0, import-in-the-middle@^2.0.6:
19038+
version "2.0.6"
19039+
resolved "https://registry.yarnpkg.com/import-in-the-middle/-/import-in-the-middle-2.0.6.tgz#1972337bfe020d05f6b5e020c13334567436324f"
19040+
integrity sha512-3vZV3jX0XRFW3EJDTwzWoZa+RH1b8eTTx6YOCjglrLyPuepwoBti1k3L2dKwdCUrnVEfc5CuRuGstaC/uQJJaw==
1904119041
dependencies:
19042-
acorn "^8.14.0"
19042+
acorn "^8.15.0"
1904319043
acorn-import-attributes "^1.9.5"
19044-
cjs-module-lexer "^1.2.2"
19045-
module-details-from-path "^1.0.3"
19044+
cjs-module-lexer "^2.2.0"
19045+
module-details-from-path "^1.0.4"
1904619046

1904719047
import-local@3.1.0:
1904819048
version "3.1.0"

0 commit comments

Comments
 (0)