chore: Bump Yarn to 4.16.0#4019
Conversation
| - path: .yarn/plugins/local/plugin-workspaces-filter.js | ||
| - path: .yarn/plugins/local/plugin-lifecycle-scripts.js | ||
|
|
||
| yarnPath: .yarn/releases/yarn-4.14.1.cjs |
There was a problem hiding this comment.
Handled by Corepack (matching module template).
There was a problem hiding this comment.
Does Yarn just default to that when you don't specify yarnPath?
| // Note: We have to import `minimatch` here, because Yarn will always | ||
| // load the plugin, even if the command is not used, and `minimatch` | ||
| // may not be installed. | ||
| const { minimatch } = await import('minimatch'); |
There was a problem hiding this comment.
This broke in Node.js 20 for some reason. 😕
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 62cd8b7. Configure here.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4019 +/- ##
=======================================
Coverage 98.58% 98.58%
=======================================
Files 425 425
Lines 12364 12364
Branches 1948 1948
=======================================
Hits 12189 12189
Misses 175 175 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

This bumps Yarn to
4.16.0.Note
Low Risk
Small plugin-only change to dependency loading; no auth, data, or product logic touched.
Overview
Updates the local
plugin-workspaces-filterplugin so it stays compatible with Yarn 4.16.0 after the bump.In both
FilterListCommandandFilterRunCommand,minimatchis no longer loaded with dynamicimport('minimatch'). It now uses Node’screateRequire(__filename)so the dependency resolves from the repo (e.g. rootdevDependencies) instead of Yarn’s restricted pluginrequiresandbox.No runtime behavior change for
--include/--excludeglob filtering—only howminimatchis resolved at command execution time.Reviewed by Cursor Bugbot for commit cb3187c. Bugbot is set up for automated code reviews on this repo. Configure here.