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

@uiw/react-drag-event-interactive

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-drag-event-interactive - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

lib/cjs/index.js

@@ -99,2 +99,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiSW50ZXJhY3RpdmUiLCJwcm9wcyIsIm9uTW92ZSIsIm9uRG93biIsInJlc2V0IiwiY29udGFpbmVyIiwiaGFzVG91Y2hlZCIsImlzRHJhZ2dpbmciLCJzZXREcmFnZ2luZyIsIm9uTW92ZUNhbGxiYWNrIiwib25LZXlDYWxsYmFjayIsImlzVmFsaWQiLCJldmVudCIsImN1cnJlbnQiLCJoYW5kbGVNb3ZlIiwiaXNEb3duIiwidG91Y2hlcyIsImxlbmd0aCIsImJ1dHRvbnMiLCJoYW5kbGVNb3ZlRW5kIiwidG9nZ2xlRG9jdW1lbnRFdmVudHMiLCJzdGF0ZSIsInRvZ2dsZUV2ZW50Iiwid2luZG93IiwiYWRkRXZlbnRMaXN0ZW5lciIsInJlbW92ZUV2ZW50TGlzdGVuZXIiLCJoYW5kbGVNb3ZlU3RhcnQiLCJuYXRpdmVFdmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTs7O0FBT2UsU0FBU0EsV0FBVCxDQUFxQkMsS0FBckIsRUFBOEM7QUFDM0QsTUFBUUMsTUFBUixHQUFxQ0QsS0FBckMsQ0FBUUMsTUFBUjtB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ZW5kJyA6ICdtb3VzZXVwJywgaGFuZGxlTW92ZUVuZCk7XG4gIH0sIFtdKTtcblxuICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgIHRvZ2dsZURvY3VtZW50RXZlbnRzKGlzRHJhZ2dpbmcpO1xuICAgIHJldHVybiAoKSA9PiB7XG4gICAgICBpc0RyYWdnaW5nICYmIHRvZ2dsZURvY3VtZW50RXZlbnRzKGZhbHNlKTtcbiAgICB9O1xuICB9LCBbaXNEcmFnZ2luZywgdG9nZ2xlRG9jdW1lbnRFdmVudHNdKTtcblxuICBjb25zdCBoYW5kbGVNb3ZlU3RhcnQgPSB1c2VDYWxsYmFjayhcbiAgICAoZXZlbnQ6IFJlYWN0Lk1vdXNlRXZlbnQgfCBSZWFjdC5Ub3VjaEV2ZW50KSA9PiB7XG4gICAgICBwcmV2ZW50RGVmYXVsdE1vdmUoZXZlbnQubmF0aXZlRXZlbnQpO1xuICAgICAgaWYgKCFpc1ZhbGlkKGV2ZW50Lm5hdGl2ZUV2ZW50KSkgcmV0dXJuO1xuICAgICAgb25LZXlDYWxsYmFjayAmJiBvbktleUNhbGxiYWNrKGdldFJlbGF0aXZlUG9zaXRpb24oY29udGFpbmVyLmN1cnJlbnQhLCBldmVudC5uYXRpdmVFdmVudCksIGV2ZW50Lm5hdGl2ZUV2ZW50KTtcbiAgICAgIHNldERyYWdnaW5nKHRydWUpO1xuICAgIH0sXG4gICAgW29uS2V5Q2FsbGJhY2tdLFxuICApO1xuXG4gIHJldHVybiA8ZGl2IHsuLi5yZXNldH0gcmVmPXtjb250YWluZXJ9IG9uTW91c2VEb3duPXtoYW5kbGVNb3ZlU3RhcnR9IG9uVG91Y2hTdGFydD17aGFuZGxlTW92ZVN0YXJ0fSAvPjtcbn1cbiJdfQ==

@@ -61,2 +61,2 @@ "use strict";

exports.getRelativePosition = getRelativePosition;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4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1xuICBjb25zdCByZWN0ID0gbm9kZS5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKTtcblxuICAvLyBHZXQgdXNlcidzIHBvaW50ZXIgcG9zaXRpb24gZnJvbSBgdG91Y2hlc2AgYXJyYXkgaWYgaXQncyBhIGBUb3VjaEV2ZW50YFxuICBjb25zdCBwb2ludGVyID0gaXNUb3VjaChldmVudCkgPyBldmVudC50b3VjaGVzWzBdIDogKGV2ZW50IGFzIE1vdXNlRXZlbnQpO1xuXG4gIHJldHVybiB7XG4gICAgbGVmdDogY2xhbXAoKHBvaW50ZXIucGFnZVggLSAocmVjdC5sZWZ0ICsgd2luZG93LnBhZ2VYT2Zmc2V0KSkgLyByZWN0LndpZHRoKSxcbiAgICB0b3A6IGNsYW1wKChwb2ludGVyLnBhZ2VZIC0gKHJlY3QudG9wICsgd2luZG93LnBhZ2VZT2Zmc2V0KSkgLyByZWN0LmhlaWdodCksXG4gIH07XG59O1xuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlscy50cyJdLCJuYW1lcyI6WyJ1c2VFdmVudENhbGxiYWNrIiwiaGFuZGxlciIsImNhbGxiYWNrUmVmIiwiY3VycmVudCIsInZhbHVlIiwiZXZlbnQiLCJpc1RvdWNoIiwicHJldmVudERlZmF1bHRNb3ZlIiwicHJldmVudERlZmF1bHQiLCJjbGFtcCIsIm51bWJlciIsIm1pbiIsIm1heCIsImdldFJlbGF0aXZlUG9zaXRpb24iLCJub2RlIiwicmVjdCIsImdldEJvdW5kaW5nQ2xpZW50UmVjdCIsInBvaW50ZXIiLCJ0b3VjaGVzIiwibGVmdCIsInBhZ2VYIiwid2luZG93IiwicGFnZVhPZmZzZXQiLCJ3aWR0aCIsInRvcCIsInBhZ2VZIiwicGFnZVlPZmZzZXQiLCJoZWlnaHQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7O0FBRUE7QUFD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1lbnRFdmVudHNdKTtcblxuICBjb25zdCBoYW5kbGVNb3ZlU3RhcnQgPSB1c2VDYWxsYmFjayhcbiAgICAoZXZlbnQ6IFJlYWN0Lk1vdXNlRXZlbnQgfCBSZWFjdC5Ub3VjaEV2ZW50KSA9PiB7XG4gICAgICBwcmV2ZW50RGVmYXVsdE1vdmUoZXZlbnQubmF0aXZlRXZlbnQpO1xuICAgICAgaWYgKCFpc1ZhbGlkKGV2ZW50Lm5hdGl2ZUV2ZW50KSkgcmV0dXJuO1xuICAgICAgb25LZXlDYWxsYmFjayAmJiBvbktleUNhbGxiYWNrKGdldFJlbGF0aXZlUG9zaXRpb24oY29udGFpbmVyLmN1cnJlbnQhLCBldmVudC5uYXRpdmVFdmVudCksIGV2ZW50Lm5hdGl2ZUV2ZW50KTtcbiAgICAgIHNldERyYWdnaW5nKHRydWUpO1xuICAgIH0sXG4gICAgW29uS2V5Q2FsbGJhY2tdLFxuICApO1xuXG4gIHJldHVybiA8ZGl2IHsuLi5yZXNldH0gcmVmPXtjb250YWluZXJ9IG9uTW91c2VEb3duPXtoYW5kbGVNb3ZlU3RhcnR9IG9uVG91Y2hTdGFydD17aGFuZGxlTW92ZVN0YXJ0fSAvPjtcbn1cbiJdfQ==

@@ -1,2 +0,2 @@

import { useRef, useEffect, useCallback } from "react"; // Saves incoming handler to the ref in order to avoid "useCallback hell"
import { useRef, useEffect, useCallback } from 'react'; // Saves incoming handler to the ref in order to avoid "useCallback hell"

@@ -40,2 +40,2 @@ export function useEventCallback(handler) {

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlscy50cyJdLCJuYW1lcyI6WyJ1c2VSZWYiLCJ1c2VFZmZlY3QiLCJ1c2VDYWxsYmFjayIsInVzZUV2ZW50Q2FsbGJhY2siLCJoYW5kbGVyIiwiY2FsbGJhY2tSZWYiLCJjdXJyZW50IiwidmFsdWUiLCJldmVudCIsIm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ubGVmdCArIHdpbmRvdy5wYWdlWE9mZnNldCkpIC8gcmVjdC53aWR0aCksXG4gICAgdG9wOiBjbGFtcCgocG9pbnRlci5wYWdlWSAtIChyZWN0LnRvcCArIHdpbmRvdy5wYWdlWU9mZnNldCkpIC8gcmVjdC5oZWlnaHQpLFxuICB9O1xufTtcbiJdfQ==
{
"name": "@uiw/react-drag-event-interactive",
"version": "0.0.1",
"version": "0.0.2",
"description": "react drag event interactive",

@@ -34,3 +34,4 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"react-test-renderer": "17.0.2"
}
},
"gitHead": "9505befd9da79920b371501b8cf2a320f3ab70c7"
}

@@ -1,2 +0,2 @@

import { useRef, useEffect, useCallback } from "react";
import { useRef, useEffect, useCallback } from 'react';

@@ -3,0 +3,0 @@ // Saves incoming handler to the ref in order to avoid "useCallback hell"

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