Skip to content

Conversation

remolueoend
Copy link
Contributor

Dear RC-team

It seems that commit 4e64b55 introduced a dependency to rc-util's useEvent hook, which has been introduced with rc-util@5.22.0. On the other hand, this package still lists rc-util: ^5.14.0 in its package dependencies. This leads to bundling errors such as:

ERROR in ../../node_modules/rc-table/es/ContextSelector/index.js 4:0-49
Module not found: Error: Can't resolve 'rc-util/es/hooks/useEvent' in '/<project-dir>/node_modules/rc-table/es/ContextSelector'

I therefore bump the rc-util dependency to the current version 5.22.5.

@vercel
Copy link

vercel bot commented Jul 17, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
table ✅ Ready (Inspect) Visit Preview Jul 17, 2022 at 2:44PM (UTC)

@remolueoend remolueoend changed the title Fix outdated rc-util dependency Bump outdated rc-util dependency Jul 17, 2022
@afc163 afc163 merged commit 5e6213b into react-component:master Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants