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

react-shortcuts

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-shortcuts - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

7

lib/shortcut-manager.js

@@ -79,2 +79,9 @@ 'use strict';

}, {
key: 'extendKeymap',
value: function extendKeymap(keymap) {
(0, _invariant2.default)(keymap, 'extendKeymap: keymap argument is not defined or falsy.');
this._keymap = Object.assign({}, this._keymap, keymap);
this.emit(ShortcutManager.CHANGE_EVENT);
}
}, {
key: 'getAllShortcuts',

@@ -81,0 +88,0 @@ value: function getAllShortcuts() {

2

package.json
{
"name": "react-shortcuts",
"description": "React shortcuts",
"version": "1.2.0",
"version": "1.3.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "main": "./lib/",

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