diff --git a/package.json b/package.json
index 56cd3f5b5c39e2ee2fd83f45f9f231fc1f1e1b3d..036cf17daa1f937abe755bd615ebf9d6916b0710 100644
--- a/package.json
+++ b/package.json
@@ -166,7 +166,7 @@
     "@renovatebot/pep440": "3.0.20",
     "@renovatebot/ruby-semver": "3.0.23",
     "@sindresorhus/is": "4.6.0",
-    "@yarnpkg/core": "4.0.5",
+    "@yarnpkg/core": "4.1.0",
     "@yarnpkg/parsers": "3.0.2",
     "agentkeepalive": "4.5.0",
     "aggregate-error": "3.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 524307b6743551759fe579c8b3654467763329eb..6b4655797d697dbffc0120d090f152dc6eb3431c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -84,8 +84,8 @@ importers:
         specifier: 4.6.0
         version: 4.6.0
       '@yarnpkg/core':
-        specifier: 4.0.5
-        version: 4.0.5(typanion@3.14.0)
+        specifier: 4.1.0
+        version: 4.1.0(typanion@3.14.0)
       '@yarnpkg/parsers':
         specifier: 3.0.2
         version: 3.0.2
@@ -2241,8 +2241,8 @@ packages:
   '@ungap/structured-clone@1.2.0':
     resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
 
-  '@yarnpkg/core@4.0.5':
-    resolution: {integrity: sha512-6ib9l8P30GxHvxZo3170hr5PCy2qQnI4N4lXwNJxJnV0i46UlgLA4hlGp/kFVttteATGeckfduIDyWZgjn9sPw==}
+  '@yarnpkg/core@4.1.0':
+    resolution: {integrity: sha512-8O+afZvv6qDK2TfwBat2uHw49DwpLk0KzL+wY/C5dlEqUxLXClYs1zNmQo2lj4g7JuZmCPxYGblzjacizWYLTg==}
     engines: {node: '>=18.12.0'}
 
   '@yarnpkg/fslib@3.1.0':
@@ -8636,7 +8636,7 @@ snapshots:
 
   '@ungap/structured-clone@1.2.0': {}
 
-  '@yarnpkg/core@4.0.5(typanion@3.14.0)':
+  '@yarnpkg/core@4.1.0(typanion@3.14.0)':
     dependencies:
       '@arcanis/slice-ansi': 1.1.1
       '@types/semver': 7.5.8