react-hotkeys-hook
Advanced tools
Comparing version 3.4.0 to 3.4.1
{ | ||
"name": "react-hotkeys-hook", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"repository": "https://JohannesKlauss@github.com/JohannesKlauss/react-keymap-hook.git", | ||
@@ -31,5 +31,3 @@ "homepage": "https://johannesklauss.github.io/react-hotkeys-hook/", | ||
"test": "jest", | ||
"publish": "np", | ||
"docz:dev": "docz dev", | ||
"docz:build": "docz build" | ||
"publish": "np" | ||
}, | ||
@@ -63,17 +61,16 @@ "babel": { | ||
"devDependencies": { | ||
"@babel/core": "7.14.8", | ||
"@babel/core": "7.15.5", | ||
"@babel/plugin-proposal-class-properties": "7.14.5", | ||
"@babel/preset-env": "7.14.8", | ||
"@babel/preset-env": "7.15.6", | ||
"@babel/preset-react": "7.14.5", | ||
"@babel/preset-typescript": "7.14.5", | ||
"@testing-library/react": "12.0.0", | ||
"@testing-library/react-hooks": "7.0.1", | ||
"@testing-library/user-event": "13.2.0", | ||
"@types/jest": "26.0.24", | ||
"@types/react": "17.0.14", | ||
"@babel/preset-typescript": "7.15.0", | ||
"@testing-library/react": "12.1.0", | ||
"@testing-library/react-hooks": "7.0.2", | ||
"@testing-library/user-event": "13.2.1", | ||
"@types/jest": "27.0.1", | ||
"@types/react": "17.0.24", | ||
"@types/react-dom": "17.0.9", | ||
"docz": "2.3.1", | ||
"eslint-plugin-prettier": "3.4.0", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"jest": "26.6.3", | ||
"prettier": "2.3.2", | ||
"prettier": "2.4.1", | ||
"react": "17.0.2", | ||
@@ -83,4 +80,4 @@ "react-dom": "17.0.2", | ||
"tsdx": "0.14.1", | ||
"tslib": "2.3.0", | ||
"typescript": "4.3.5" | ||
"tslib": "2.3.1", | ||
"typescript": "4.4.3" | ||
}, | ||
@@ -87,0 +84,0 @@ "peerDependencies": { |
@@ -10,5 +10,5 @@ # react-hotkeys-hook | ||
### Documentation and live example | ||
## [Documentation & Live Examples](https://react-hotkeys-hook.vercel.app/) | ||
https://johannesklauss.github.io/react-hotkeys-hook/ | ||
## [Support](https://github.com/JohannesKlauss/react-hotkeys-hook/discussions) | ||
@@ -15,0 +15,0 @@ ### Installation |
@@ -75,2 +75,4 @@ import hotkeys, { HotkeysEvent, KeyHandler } from 'hotkeys-js'; | ||
if (!enabled) { | ||
hotkeys.unbind(keys, memoisedCallback); | ||
return; | ||
@@ -77,0 +79,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49385
20
408