react-spectrum
react-spectrum copied to clipboard
`@react-stately/flags` stuck on old `@swc/helpers`?
Provide your feedback here.
In https://github.com/adobe/react-spectrum/pull/4642, @swc/helpers was updated to ^0.5.0 across all repos. In parallel, https://github.com/adobe/react-spectrum/pull/4617 was developed, adding @react-stately/flags still using @swc/helpers@^0.4.14 as dependency.
Both PRs were merged at similar time.
🔦 Context
Consequently, installing react-aria-components installs causes not one, not two, but three versions of @swc/helpers to be installed:
0.5.3(latest matching^0.5.0)0.4.36(latest matching^0.4.14)0.4.14(referenced by0.4.36aslegacy-swc-helpers)
💻 Code Sample
No response
Version
react-aria-components 1.1.1
What browsers are you seeing the problem on?
Other
If other, please specify
n/a
What operating system are you using?
macOS Sonoma
In fact, looking at the source code of @react-stately/flags, I don't even see why it's a dependency at all 🤔 It's not used in any of the source files.