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

svelte-dnd-action

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-dnd-action - npm Package Compare versions

Comparing version 0.9.33 to 0.9.34

31

package.json
{
"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 @@ }

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