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.2.3 to 0.2.4

10

dist/index.js

@@ -496,4 +496,10 @@ (function (global, factory) {

draggableEl.ondragstart = () => false;
draggableEl.style.userSelect = 'none';
draggableEl.style.cursor = dragDisabled? '': 'grab';
if (!dragDisabled) {
draggableEl.style.userSelect = 'none';
draggableEl.style.cursor = 'grab';
}
else {
draggableEl.style.userSelect = '';
draggableEl.style.cursor = '';
}
}

@@ -500,0 +506,0 @@

2

package.json

@@ -33,3 +33,3 @@ {

"description": "*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.2.3",
"version": "0.2.4",
"dependencies": {

@@ -36,0 +36,0 @@ "acorn": "^7.1.1",

@@ -86,4 +86,10 @@ const TRANSITION_DURATION_SECONDS = 0.2;

draggableEl.ondragstart = () => false;
draggableEl.style.userSelect = 'none';
draggableEl.style.cursor = dragDisabled? '': 'grab';
if (!dragDisabled) {
draggableEl.style.userSelect = 'none';
draggableEl.style.cursor = 'grab';
}
else {
draggableEl.style.userSelect = '';
draggableEl.style.cursor = '';
}
}

@@ -90,0 +96,0 @@

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