anudit / convo

The Decentralized Conversation Layer of Internet
https://theconvo.space
Other
40 stars 8 forks source link

Bump react-hotkeys-hook from 3.4.7 to 4.0.8 #164

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps react-hotkeys-hook from 3.4.7 to 4.0.8.

Release notes

Sourced from react-hotkeys-hook's releases.

v4.0.8

What's Changed

Full Changelog: https://github.com/JohannesKlauss/react-hotkeys-hook/compare/v4.0.7...v4.0.8

4.0.7

What's Changed

New Contributors

Full Changelog: https://github.com/JohannesKlauss/react-hotkeys-hook/compare/v4.0.6...v4.0.7

4.0.3

🐛 Bugfixes

  • Fix #827 (window is not defined). Ensure compat with SSR rendering by guarding access of window object

4.0.2

🏗️ Improvements

  • Greatly reduce bundle size by tree shaking lodash

4.0.1

Chore

  • Bump lodash version to mitigate security issues

4.0.0

🎉 Happy Release day Version 4!

Note that there are a lot of breaking changes, so it will be unlikely that your app won't need any updating.

🚨 Breaking Changes

  • filter merges into enabled
  • enabled takes a Trigger. A trigger can either be a boolean or a a function that return a boolean to determine if the option should trigger. The function gets the keyboardEvent and the hotkeysEvent which you can use to determine if the hotkey should be enabled or not.
  • splitKey is now called combinationKey (still defaults to +)
  • splitKey now refers to the separation of keystrokes (defaults to ,)
  • The dependency list is now properly typed as DependencyList instead of any[]
  • cmd and command hotkeys are not longer available. Use meta instead.
  • enableOnTags has been renamed to enableOnFormTags

➕ Features useHotkeys

Arguments

  • The options object and the dependency array are swappable. This means that you can call useHotkeys in multiple ways:
    • useHotkeys('ctrl+a', () => console.log('pressed'))
    • useHotkeys('ctrl+a', () => console.log('pressed'), options)
    • useHotkeys('ctrl+a', () => console.log('pressed'), [dependencyA, dependencyB])

... (truncated)

Commits
  • 4710276 v4.0.8
  • b1377e8 Merge pull request #875 from JohannesKlauss/fix/853
  • 7d245e6 Fix rerender when using HotkeysProvider and a bug in removing bound hotkeys
  • 9793506 v4.0.7
  • 67734b8 Merge remote-tracking branch 'origin/main'
  • 83a508a Merge pull request #873 from eliasmelgaco/main
  • 3b43c10 fix enableOnFormTags option property
  • 16392a5 v4.0.6
  • 524163e Merge pull request #867 from JohannesKlauss/fix/window_meta
  • 0b6461c Fix tests
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
vercel[bot] commented 1 year ago

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

Name Status Preview Updated
convo ❌ Failed (Inspect) Dec 23, 2022 at 6:22AM (UTC)
dependabot[bot] commented 1 year ago

Looks like react-hotkeys-hook is up-to-date now, so this is no longer needed.