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

@os-design/use-key-press

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/use-key-press - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

2

dist/cjs/index.js

@@ -7,4 +7,4 @@ "use strict";

exports["default"] = void 0;
var _useEvent = _interopRequireDefault(require("@os-design/use-event"));
var _react = require("react");
var _useEvent = _interopRequireDefault(require("@os-design/use-event"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -11,0 +11,0 @@ var useKeyPress = function useKeyPress(target, keys, listener) {

@@ -0,3 +1,3 @@

import useEvent from '@os-design/use-event';
import { useCallback, useEffect, useRef } from 'react';
import useEvent from '@os-design/use-event';
const useKeyPress = (target, keys, listener) => {

@@ -4,0 +4,0 @@ const keysRef = useRef();

{
"name": "@os-design/use-key-press",
"version": "1.0.13",
"version": "1.0.14",
"license": "UNLICENSED",

@@ -37,3 +37,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git",

},
"gitHead": "88df07f5c7c0c5534a24b84689854528fa514153"
"gitHead": "0e88d3afc41e36cee61222a039ef1aa4d08115b5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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