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.6.9 to 0.6.10

2

package.json

@@ -35,3 +35,3 @@ {

"description": "*An awesome drag and drop library for Svelte 3 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *",
"version": "0.6.9",
"version": "0.6.10",
"repository": {

@@ -38,0 +38,0 @@ "type": "git",

@@ -21,3 +21,2 @@ const TRANSITION_DURATION_SECONDS = 0.2;

draggedEl.id = `dnd-action-dragged-el`;
draggedEl.name = `dnd-action-dragged-el`;
draggedEl.style.position = "fixed";

@@ -24,0 +23,0 @@ draggedEl.style.top = `${rect.top}px`;

@@ -256,3 +256,3 @@ import {decrementActiveDropZoneCount, incrementActiveDropZoneCount, ITEM_ID_KEY, SOURCES, TRIGGERS} from "./constants";

for(let i=0; i < node.children.length ; i++) {
for (let i = 0; i < node.children.length ; i++) {
const draggableEl = node.children[i];

@@ -264,3 +264,3 @@ allDragTargets.add(draggableEl);

}
draggableEl.removeEventListener("keyDown", elToKeyDownListeners.get(draggableEl));
draggableEl.removeEventListener("keydown", elToKeyDownListeners.get(draggableEl));
draggableEl.removeEventListener("click", elToFocusListeners.get(draggableEl));

@@ -267,0 +267,0 @@ if (!dragDisabled) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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