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 1.1.0 to 1.1.1

2

package.json
{
"name": "react-hotkeys-hook",
"description": "React hook for using keyboard shortcuts in components. This is a hook version for the [hotkeys] package.",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "source": "dist-src/index.js",

@@ -24,3 +24,3 @@ # react-hotkeys-hook

const [count, setCount] = useState(0);
useHotKeys('ctrl+k', () => setCount(count + 1));
useHotkeys('ctrl+k', () => setCount(count + 1));

@@ -39,3 +39,3 @@ return (

const [count, setCount] = useState(0);
useHotKeys('ctrl+k', () => setCount(count + 1));
useHotkeys('ctrl+k', () => setCount(count + 1));

@@ -42,0 +42,0 @@ return (

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