-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): bump @react-aria/utils
version
#4226
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
"@nextui-org/use-intersection-observer": patch | ||
"@nextui-org/use-aria-modal-overlay": patch | ||
"@nextui-org/use-aria-toggle-button": patch | ||
"@nextui-org/use-aria-multiselect": patch | ||
"@nextui-org/use-aria-accordion": patch | ||
"@nextui-org/autocomplete": patch | ||
"@nextui-org/breadcrumbs": patch | ||
"@nextui-org/date-picker": patch | ||
"@nextui-org/date-input": patch | ||
"@nextui-org/pagination": patch | ||
"@nextui-org/use-aria-button": patch | ||
"@nextui-org/accordion": patch | ||
"@nextui-org/use-disclosure": patch | ||
"@nextui-org/aria-utils": patch | ||
"@nextui-org/calendar": patch | ||
"@nextui-org/checkbox": patch | ||
"@nextui-org/dropdown": patch | ||
"@nextui-org/progress": patch | ||
"@nextui-org/use-aria-link": patch | ||
"@nextui-org/use-aria-menu": patch | ||
"@nextui-org/listbox": patch | ||
"@nextui-org/popover": patch | ||
"@nextui-org/snippet": patch | ||
"@nextui-org/tooltip": patch | ||
"@nextui-org/avatar": patch | ||
"@nextui-org/button": patch | ||
"@nextui-org/navbar": patch | ||
"@nextui-org/select": patch | ||
"@nextui-org/slider": patch | ||
"@nextui-org/switch": patch | ||
"@nextui-org/alert": patch | ||
"@nextui-org/input": patch | ||
"@nextui-org/modal": patch | ||
"@nextui-org/radio": patch | ||
"@nextui-org/table": patch | ||
"@nextui-org/card": patch | ||
"@nextui-org/chip": patch | ||
"@nextui-org/form": patch | ||
"@nextui-org/link": patch | ||
"@nextui-org/menu": patch | ||
"@nextui-org/tabs": patch | ||
"@nextui-org/user": patch | ||
"@nextui-org/kbd": patch | ||
"@nextui-org/system": patch | ||
--- | ||
|
||
bump `@react-aria/utils` version (#4212) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ | |
"@react-aria/focus": "3.18.4", | ||
"@react-aria/i18n": "3.12.3", | ||
"@react-aria/interactions": "3.22.4", | ||
"@react-aria/utils": "3.25.3", | ||
"@react-aria/utils": "3.26.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Update @react-aria/utils version in input-otp package to 3.26.0 The version of @react-aria/utils is inconsistent in one package:
🔗 Analysis chainEnsure consistent version across all packages The version bump should be consistent across all NextUI packages using @react-aria/utils. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check version consistency across packages
# Find all package.json files with @react-aria/utils
echo "Checking @react-aria/utils versions across packages:"
fd package.json packages/ -x rg -l "@react-aria/utils" {} | while read -r file; do
echo "$file:"
rg '"@react-aria/utils": "[^"]+"' "$file"
done
Length of output: 10099 |
||
"@react-aria/visually-hidden": "3.8.17", | ||
"@react-stately/combobox": "3.10.0", | ||
"@react-types/combobox": "3.13.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ | |
"@react-stately/datepicker": "3.10.3", | ||
"@react-types/datepicker": "3.8.3", | ||
"@react-types/shared": "3.25.0", | ||
"@react-aria/utils": "3.25.3" | ||
"@react-aria/utils": "3.26.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Revert @react-aria/utils to version 3.25.3 to maintain compatibility The current update to @react-aria/[email protected] should be reverted as it exceeds the version range (^3.25.3) required by other React Aria dependencies in use:
To ensure compatibility, use version 3.25.3 instead. 🔗 Analysis chainVerify version compatibility with other React Aria dependencies The update to
Version mismatch detected between React Aria dependencies The update to
Let's verify if there are any other React Aria dependencies that might be affected: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check version compatibility between React Aria packages
# Get the package.json of @react-aria/datepicker and @react-aria/i18n to verify their @react-aria/utils dependency version
curl -s https://registry.npmjs.org/@react-aria/datepicker/3.11.4 | jq -r '.dependencies["@react-aria/utils"]'
curl -s https://registry.npmjs.org/@react-aria/i18n/3.12.3 | jq -r '.dependencies["@react-aria/utils"]'
Length of output: 233 Script: #!/bin/bash
# Check for all React Aria dependencies in the package.json
cat packages/components/date-input/package.json | jq '.dependencies | with_entries(select(.key | startswith("@react-aria")))'
Length of output: 233 |
||
}, | ||
"devDependencies": { | ||
"@nextui-org/system": "workspace:*", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ | |
"@react-aria/focus": "3.18.4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Update @react-aria/utils version in input-otp component The
🔗 Analysis chainEnsure consistent version bump across all NextUI packages To maintain consistency and prevent potential compatibility issues, verify that all NextUI packages using Also applies to: 49-49, 56-56 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Find all package.json files containing @react-aria/utils
fd package.json | xargs rg "@react-aria/utils"
Length of output: 3554 |
||
"@react-aria/interactions": "3.22.4", | ||
"@react-aria/overlays": "3.23.4", | ||
"@react-aria/utils": "3.25.3", | ||
"@react-aria/utils": "3.26.0", | ||
"@react-stately/overlays": "3.6.11", | ||
"@react-types/button": "3.10.0", | ||
"@react-types/overlays": "3.8.10", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Version inconsistency found in input-otp component
Almost all components are using version 3.26.0 of @react-aria/utils, but
@nextui-org/input-otp
is using version 3.24.1. This inconsistency should be addressed.packages/components/input-otp/package.json
: Update @react-aria/utils from "3.24.1" to "3.26.0" to maintain consistency across the codebase🔗 Analysis chain
Verify complete dependency tree update
Since this component depends on
@nextui-org/button
, we should verify that the button component and other related components also receive this version bump of@react-aria/utils
.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 135
Script:
Length of output: 1940
Script:
Length of output: 15583