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

draggable-helper

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draggable-helper - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

2

dist/draggable-helper.cjs.js
/*!
* draggable-helper v6.0.2
* draggable-helper v6.0.3
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -4,0 +4,0 @@ * Homepage: null

/*!
* draggable-helper v6.0.2
* draggable-helper v6.0.3
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -4,0 +4,0 @@ * Homepage: null

/*!
* draggable-helper v6.0.2
* draggable-helper v6.0.3
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -807,3 +807,3 @@ * Homepage: null

/*!
* helper-js v2.0.5
* helper-js v2.0.6
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -815,3 +815,3 @@ * Homepage: null

function isArray(v) {
return Object.prototype.toString.call(v) === '[object Array]';
return Object.prototype.toString.call(v) === "[object Array]";
}

@@ -885,3 +885,3 @@

if (r === 'break') {
if (r === "break") {
return;

@@ -917,3 +917,3 @@ } else if (r) {

} else {
return new RegExp('(^| )' + className + '( |$)', 'gi').test(el.className);
return new RegExp("(^| )" + className + "( |$)", "gi").test(el.className);
}

@@ -928,3 +928,3 @@ } // source: http://youmightnotneedjquery.com/

} else {
el.className += ' ' + className;
el.className += " " + className;
}

@@ -965,5 +965,5 @@ }

function elementsFromPoint(x, y) {
var args = [x, y]; // @ts-ignore
var func = document.elementsFromPoint || document.msElementsFromPoint || elementsFromPoint;
var args = [x, y];
var func = document.elementsFromPoint || // @ts-ignore
document.msElementsFromPoint || elementsFromPoint;
return func.apply(document, args);

@@ -979,3 +979,3 @@

parents.push(parent);
parent.style.pointerEvents = 'none';
parent.style.pointerEvents = "none";
} else {

@@ -987,3 +987,3 @@ parent = false;

parents.forEach(function (parent) {
return parent.style.pointerEvents = 'all';
return parent.style.pointerEvents = "all";
});

@@ -1072,3 +1072,3 @@ return parents;

/*!
* drag-event-service v1.1.8
* drag-event-service v1.1.10
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -1075,0 +1075,0 @@ * Homepage: null

/*!
* draggable-helper v6.0.2
* draggable-helper v6.0.3
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -9,3 +9,3 @@ * Homepage: null

/*!
* helper-js v2.0.5
* helper-js v2.0.6
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -17,3 +17,3 @@ * Homepage: null

/*!
* drag-event-service v1.1.8
* drag-event-service v1.1.10
* (c) phphe <phphe@outlook.com> (https://github.com/phphe)

@@ -20,0 +20,0 @@ * Homepage: null

{
"name": "draggable-helper",
"version": "6.0.2",
"version": "6.0.3",
"description": "To simplify drag and drop.",

@@ -13,3 +13,2 @@ "main": "dist/draggable-helper.cjs.js",

"scripts": {
"compile-scripts": "tsc --target ES6 --module CommonJS scripts/build.ts",
"build": "rollup -c scripts/build.js & node scripts/build.js --report",

@@ -30,3 +29,3 @@ "watch": "rollup -c scripts/build.js --watch"

"@rollup-use/ts": "^0",
"typescript": "^3.9.5"
"typescript": "^4"
},

@@ -33,0 +32,0 @@ "dependencies": {

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