svelte-dnd-action
Advanced tools
Comparing version 0.9.33 to 0.9.34
{ | ||
"name": "svelte-dnd-action", | ||
"svelte": "src/index.js", | ||
"description": "*An awesome drag and drop library for Svelte 3 and 4 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *", | ||
"version": "0.9.34", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/isaacHagoel/svelte-dnd-action.git" | ||
}, | ||
"author": "Isaac Hagoel", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/isaacHagoel/svelte-dnd-action/issues" | ||
}, | ||
"homepage": "https://github.com/isaacHagoel/svelte-dnd-action#readme", | ||
"module": "dist/index.mjs", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"svelte": "src/index.js", | ||
"exports": { | ||
".": { | ||
"svelte": "./dist/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
@@ -45,14 +62,2 @@ "test": "cypress run", | ||
], | ||
"description": "*An awesome drag and drop library for Svelte 3 and 4 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *", | ||
"version": "0.9.33", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/isaacHagoel/svelte-dnd-action.git" | ||
}, | ||
"author": "Isaac Hagoel", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/isaacHagoel/svelte-dnd-action/issues" | ||
}, | ||
"homepage": "https://github.com/isaacHagoel/svelte-dnd-action#readme", | ||
"husky": { | ||
@@ -59,0 +64,0 @@ "hooks": { |
@@ -34,4 +34,3 @@ /** | ||
const canvases = elIsCanvas ? [el] : [...el.querySelectorAll("canvas")]; | ||
if(canvases.length > 0) | ||
{ | ||
if (canvases.length > 0) { | ||
const clonedCanvases = elIsCanvas ? [cloned] : [...cloned.querySelectorAll("canvas")]; | ||
@@ -43,3 +42,3 @@ for (let i = 0; i < clonedCanvases.length; i++) { | ||
clonedCanvas.height = canvas.height; | ||
clonedCanvas.getContext("2d").drawImage(canvas,0,0); | ||
clonedCanvas.getContext("2d").drawImage(canvas, 0, 0); | ||
} | ||
@@ -46,0 +45,0 @@ } |
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
294610
6845