New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vbarbarosh/dd

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vbarbarosh/dd - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

dist/dd.js

@@ -104,3 +104,3 @@ var dd =

function begin() {
document.documentElement.style.cursor = window.getComputedStyle(context.event.currentTarget).cursor;
document.documentElement.style.cursor = window.getComputedStyle(context.event.target).cursor;
document.documentElement.style.pointerEvents = 'none';

@@ -107,0 +107,0 @@ document.addEventListener('mousemove', mousemove);

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

var dd=function(e){var t={};function n(o){if(t[o])return t[o].exports;var u=t[o]={i:o,l:!1,exports:{}};return e[o].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(o,u,function(t){return e[t]}.bind(null,u));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),t.default=function(e){function t(){e.x=e.event.clientX,e.y=e.event.clientY,"function"==typeof e.translate&&e.translate(e)}function n(n){e.event=n,t(),e.dx=e.x-e.x0,e.dy=e.y-e.y0,"function"==typeof e.move&&e.move(e),"function"==typeof e.update&&e.update(e)}function o(t){e.event=t,document.documentElement.style.cursor="",document.documentElement.style.pointerEvents="",document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",o),document.removeEventListener("scroll",u),"function"==typeof e.end&&e.end(e)}function u(t){e.event=t,"function"==typeof e.update&&e.update(e)}!function(){document.documentElement.style.cursor=window.getComputedStyle(e.event.currentTarget).cursor,document.documentElement.style.pointerEvents="none",document.addEventListener("mousemove",n),document.addEventListener("mouseup",o),document.addEventListener("scroll",u),t(),e.x0=e.x,e.y0=e.y,e.dx=0,e.dy=0,"function"==typeof e.begin&&e.begin(e);"function"==typeof e.update&&e.update(e)}()}}]).default;
var dd=function(e){var t={};function n(o){if(t[o])return t[o].exports;var u=t[o]={i:o,l:!1,exports:{}};return e[o].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(o,u,function(t){return e[t]}.bind(null,u));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),t.default=function(e){function t(){e.x=e.event.clientX,e.y=e.event.clientY,"function"==typeof e.translate&&e.translate(e)}function n(n){e.event=n,t(),e.dx=e.x-e.x0,e.dy=e.y-e.y0,"function"==typeof e.move&&e.move(e),"function"==typeof e.update&&e.update(e)}function o(t){e.event=t,document.documentElement.style.cursor="",document.documentElement.style.pointerEvents="",document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",o),document.removeEventListener("scroll",u),"function"==typeof e.end&&e.end(e)}function u(t){e.event=t,"function"==typeof e.update&&e.update(e)}!function(){document.documentElement.style.cursor=window.getComputedStyle(e.event.target).cursor,document.documentElement.style.pointerEvents="none",document.addEventListener("mousemove",n),document.addEventListener("mouseup",o),document.addEventListener("scroll",u),t(),e.x0=e.x,e.y0=e.y,e.dx=0,e.dy=0,"function"==typeof e.begin&&e.begin(e);"function"==typeof e.update&&e.update(e)}()}}]).default;
{
"author": "Vladimir Barbarosh",
"name": "@vbarbarosh/dd",
"version": "1.2.1",
"version": "1.2.2",
"description": "An abstraction for working with mouse",

@@ -6,0 +6,0 @@ "license": "ISC",

@@ -6,3 +6,3 @@ function dd(context)

function begin() {
document.documentElement.style.cursor = window.getComputedStyle(context.event.currentTarget).cursor;
document.documentElement.style.cursor = window.getComputedStyle(context.event.target).cursor;
document.documentElement.style.pointerEvents = 'none';

@@ -9,0 +9,0 @@ document.addEventListener('mousemove', mousemove);

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