New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-draggable

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-draggable - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0-rc.3

.npmignore

6

build/vue-draggable.js

@@ -8,3 +8,4 @@ let VueDraggable = {

onDrop: null,
onDragstart: null
onDragstart: null,
onDragend: null
},

@@ -379,2 +380,5 @@ targets: null,

el.addEventListener('dragend', e => {
if (typeof this.defaultOptions.onDragend === 'function') {
this.defaultOptions.onDragend(Object.assign({ nativeEvent: e }, this.selections));
}
//if we have a valid drop target reference

@@ -381,0 +385,0 @@ //(which implies that we have some selected items)

2

package.json
{
"name": "vue-draggable",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.3",
"description": "Vuejs 2.0 directive for drag and drop",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -54,6 +54,7 @@ # vue-draggable

onDrop: function(event) {},
onDragstart: function(event) {}
onDragstart: function(event) {},
onDragend: function(event) {}
}
// onDrop and onDragstart event
// onDrop, onDragstart and onDragend events
{

@@ -60,0 +61,0 @@ nativeEvent: {}, // native js event

@@ -8,3 +8,4 @@ let VueDraggable = {

onDrop: () => {},
onDragstart: () => {}
onDragstart: () => {},
onDragend: () => {}
},

@@ -394,2 +395,9 @@ targets: null,

el.addEventListener('dragend', (e) => {
if (typeof this.defaultOptions.onDragend === 'function') {
this.defaultOptions.onDragend(
Object.assign({
nativeEvent: e
}, this.selections));
}
//if we have a valid drop target reference

@@ -396,0 +404,0 @@ //(which implies that we have some selected items)

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