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.3.1 to 0.3.2

5

dist/index.js

@@ -862,2 +862,7 @@ (function (global, factory) {

function handleMouseDown(e) {
// prevents responding to any button but left click which equals 0 (which is falsy)
if (e.button) {
console.debug(`ignoring none left click button: ${e.button}`);
return;
}
if (isWorkingOnPreviousDrag) {

@@ -864,0 +869,0 @@ console.debug('cannot start a new drag before finalizing previous one');

2

package.json

@@ -33,3 +33,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.3.1",
"version": "0.3.2",
"dependencies": {

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

@@ -273,2 +273,7 @@ import { observe, unobserve } from './helpers/observer';

function handleMouseDown(e) {
// prevents responding to any button but left click which equals 0 (which is falsy)
if (e.button) {
console.debug(`ignoring none left click button: ${e.button}`);
return;
}
if (isWorkingOnPreviousDrag) {

@@ -275,0 +280,0 @@ console.debug('cannot start a new drag before finalizing previous one');

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