react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

`@react-stately/flags` stuck on old `@swc/helpers`?

Open wojtekmaj opened this issue 1 month ago • 1 comments

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 by 0.4.36 as legacy-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

wojtekmaj avatar May 14 '24 09:05 wojtekmaj