headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

Bump `@react-aria` versions to address missing source maps and console spam

Open short-dsb opened this issue 1 month ago • 0 comments

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.0.3

What browser are you using?

N/A

Reproduction URL

See adobe/react-spectrum#6355.

Describe your issue

Currently, @headlessui/react relies on versions of @react-aria/focus and @react-aria/interactions that are missing source maps, resulting in console spam like the following:

WARNING in ./node_modules/@react-aria/interactions/dist/useInteractOutside.mjs
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from './node_modules/@react-aria/interactions/dist/useInteractOutside.mjs.map' file: Error: ENOENT: no such file or directory, open './node_modules/@react-aria/interactions/dist/useInteractOutside.mjs.map'

The missing source maps have been restored in the latest release of @react-aria. Can the dependencies of this project be updated to address this issue?

short-dsb avatar May 24 '24 16:05 short-dsb