From 10d1e4dc861e25e426533bfbf2ad1379d1d08f9b Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 09:36:28 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20commander=20t?= =?UTF-8?q?o=20version=2015.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 316cc46d6b..3766b4bd84 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "array-range": "^1.0.1", "clamp": "^1.0.1", "classnames": "^2.5.1", - "commander": "^14.0.3", + "commander": "^15.0.0", "common-tags": "^1.8.2", "copy-to-clipboard": "^4.0.2", "core-js": "^3.49.0", diff --git a/yarn.lock b/yarn.lock index 155adf6ec6..a413449787 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3788,10 +3788,10 @@ command-line-usage@^7.0.3: table-layout "^4.1.0" typical "^7.1.1" -commander@^14.0.3: - version "14.0.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-14.0.3.tgz#425d79b48f9af82fcd9e4fc1ea8af6c5ec07bbc2" - integrity sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw== +commander@^15.0.0: + version "15.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-15.0.0.tgz#96f3961f12adac1799ef3fbd8bc61d40572d1b11" + integrity sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg== commander@^2.20.0: version "2.20.3" From d06952f51c29796614cc18bec16893a6191c651e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Mon, 15 Jun 2026 12:12:42 +0200 Subject: [PATCH 2/2] Transform Commander to CommonJS for Jest Commander 15 is ESM only, so we need to add it to this list to make sure it is transformed into CommonJS for Jest. --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 669de2c983..cd2c9ea6d6 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,7 +18,7 @@ const browserEnvConfig = { // Transform ESM modules to CommonJS for Jest // These packages ship as pure ESM and need to be transformed by Babel transformIgnorePatterns: [ - '/node_modules/(?!(query-string|decode-uri-component|iongraph-web|split-on-first|filter-obj|fetch-mock|devtools-reps|json-slabs)/)', + '/node_modules/(?!(query-string|decode-uri-component|iongraph-web|split-on-first|filter-obj|fetch-mock|devtools-reps|json-slabs|commander)/)', ], // Mock static assets (images, CSS, etc.)