[Snyk] Upgrade cmdk from 1.0.0 to 1.0.3 #352
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade cmdk from 1.0.0 to 1.0.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 5 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: cmdk
-
1.0.3 - 2024-11-01
- Fix
-
1.0.3-beta.0 - 2024-11-01
-
1.0.2 - 2024-10-31
-
1.0.2-beta.0 - 2024-10-31
-
1.0.1 - 2024-10-30
- fix: docs mistake we are no longer lowercasing by @ itsjoeoui in #227
- feat: export defaultFilter by @ evanob in #229
- chore: add more details to package.json by @ andipaetzold in #228
- chore(deps): bump the npm_and_yarn group across 2 directories with 2 updates by @ dependabot in #226
- fix: controlled search change with hidden Command.List by @ vltansky in #217
- fix: Framer example capitalization of values by @ arihanv in #231
- fix: fix compiling code Array.from(void 0) by @ nenya1840 in #237
- fix: useId backward compatibility by @ phsantiago in #165
- Relax dependencies on Radix-UI to SemVer MAJOR releases by @ eps1lon in #278
- feat: allow react v19 as peer dep by @ Yonom in #318
- Upgrade @ radix-ui/react-id by @ tmcw in #297
- fix: useSyncExternalStore backward compatibility by @ MateoKruk in #296
- fix(context): read disablePointerSelection from propsRef by @ f0rr0 in #314
- @ itsjoeoui made their first contribution in #227
- @ evanob made their first contribution in #229
- @ andipaetzold made their first contribution in #228
- @ dependabot made their first contribution in #226
- @ vltansky made their first contribution in #217
- @ arihanv made their first contribution in #231
- @ nenya1840 made their first contribution in #237
- @ phsantiago made their first contribution in #165
- @ eps1lon made their first contribution in #278
- @ Yonom made their first contribution in #318
- @ tmcw made their first contribution in #297
- @ MateoKruk made their first contribution in #296
- @ f0rr0 made their first contribution in #314
-
1.0.0 - 2024-03-08
// After
/ Before */
- Added support for rendering
- Fixed
- Fixed ESM support via new exports field by @ SoYoung210 in #141
- Added
- Fix excessive re-renders when using
- Fixed to only scroll the selected item into view on first render and via keyboard by @ joaom00 in #135
- Bumped
- Fixed item sort not working correctly by @ pengx17 in #182
- Added
- Added
- Fix suggestions list and loading progressbar labels by @ afercia in #204
- Allow keyboard navigation even when text input is not focused by @ glocore in #61
- Fix DOM error with quotes in the search query by @ yjl9903 in #223
- @ SoYoung210 made their first contribution in #141
- @ wmcheung made their first contribution in #194
- @ pengx17 made their first contribution in #182
- @ itaikeren made their first contribution in #158
- @ afercia made their first contribution in #204
- @ glocore made their first contribution in #61
- @ yjl9903 made their first contribution in #223
from cmdk GitHub release notesuse-sync-external-storeshim for compatibility with Next.js 15 and React 19 RCv1.0.2
What's Changed
New Contributors
Full Changelog: v1.0.0...v1.0.1
This is a major version release as it contains breaking changes.
Breaking Changes
You will need to update your code to account for these changes before upgrading to
cmdk@1.0.0.valueis now case sensitive 3dae25dThe
valueprop you pass toCommand.Itemand receive inonSelectis now case sensitive. But while the value is no longer lowercased, it is still trimmed.Command.Listis now required (CommandListin shadcn) 54aa261Rendering the
Command.Listpart (CommandListif using shadcn) is now mandatory. Otherwise, you should expect to see an error like this:The fix:
<Command label="Command Menu">
<Command.Input />
</Command>
Update
[aria-disabled]and[aria-selected]CSS selectors c57e6b7The
aria-disabledandaria-selectedprops will now be set tofalse, instead of beingundefined. If you previously used CSS selectors based on attribute presence, you will now need to use the attribute value.[aria-disabled] {}
:not([aria-disabled]) {}
/* After */
[aria-disabled="true"] {}
[aria-disabled="false"] {}
What's Changed
Command.Listin a portal in 54aa261Command.Emptynot appearing on first render in be4388edisablePointerSelectionprop toCommandto disable item selection via pointer, like Raycast by @ joaom00 in #116forceMountby @ joaom00 in #143@ radix-ui/react-dialogversion by @ wmcheung in #194keywordsprop to theCommand.Itemcomponent by @ itaikeren in #158asChildprop to all component parts by @ joaom00 in #138New Contributors
Full Changelog: v0.2.1...v1.0.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: