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

reshow-hooks

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-hooks - npm Package Compare versions

Comparing version 0.17.29 to 0.17.30

6

build/cjs/src/useLongPress.js

@@ -32,3 +32,3 @@ "use strict";

return (0, _react.useMemo)(function () {
var start = function start() {
var start = function start( /**@type React.MouseEvent*/e) {
var _lastPayload$current = lastPayload.current,

@@ -38,5 +38,5 @@ _lastPayload$current$ = _lastPayload$current.threshold,

onStart = _lastPayload$current.onStart;
(0, _callFunc["default"])(onStart);
(0, _callFunc["default"])(onStart, [e]);
timerRun(function () {
(0, _callFunc["default"])(callback);
(0, _callFunc["default"])(callback, [e]);
}, threshold);

@@ -43,0 +43,0 @@ };

{
"version": "0.17.29",
"version": "0.17.30",
"name": "reshow-hooks",

@@ -4,0 +4,0 @@ "repository": {

@@ -18,7 +18,7 @@ export default useLongPress;

declare function useLongPress(callback: Function, payload?: LongPressPayload): {
onTouchStart: () => void;
onTouchStart: (e: React.MouseEvent) => void;
onTouchEnd: () => void;
onMouseDown: () => void;
onMouseDown: (e: React.MouseEvent) => void;
onMouseUp: () => void;
onMouseLeave: () => void;
};

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