Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@rc-component/motion": "^1.1.4",
"@rc-component/portal": "^2.1.3",
"@rc-component/util": "^1.2.1",
"@rc-component/util": "^1.7.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Given that the project relies on deep imports from @rc-component/util (e.g., .../lib/warning), which are not guaranteed to be stable between versions, it's safer to pin this dependency to an exact version. This will prevent automatic minor updates from potentially breaking the build if the internal structure of the library changes. I suggest removing the caret (^) to lock the version.

Suggested change
"@rc-component/util": "^1.7.0",
"@rc-component/util": "1.7.0",

"clsx": "^2.1.1"
},
"devDependencies": {
Expand Down