draggable-helper
Advanced tools
Comparing version 6.0.2 to 6.0.3
/*! | ||
* 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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2877
0
138447