Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hotkeys-hook

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hotkeys-hook - npm Package Compare versions

Comparing version 4.0.0-6 to 4.0.0-7

2

package.json
{
"name": "react-hotkeys-hook",
"version": "4.0.0-6",
"version": "4.0.0-7",
"repository": "https://JohannesKlauss@github.com/JohannesKlauss/react-keymap-hook.git",

@@ -5,0 +5,0 @@ "homepage": "https://johannesklauss.github.io/react-hotkeys-hook/",

@@ -37,7 +37,7 @@ import { HotkeyCallback, Keys, OptionsOrDependencyArray, RefType } from './types'

const { activeScopes } = useHotkeysContext()
const { enabledScopes } = useHotkeysContext()
const proxy = useBoundHotkeysProxy()
useLayoutEffect(() => {
if (memoisedOptions?.enabled === false || !isScopeActive(activeScopes, memoisedOptions?.scopes)) {
if (memoisedOptions?.enabled === false || !isScopeActive(enabledScopes, memoisedOptions?.scopes)) {
return

@@ -121,5 +121,5 @@ }

}
}, [keys, cb, memoisedOptions, activeScopes])
}, [keys, cb, memoisedOptions, enabledScopes])
return ref
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc