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

vuedraggable

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuedraggable - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

24

dist/vuedraggable.js

@@ -68,2 +68,8 @@ 'use strict';

default: null
},
clone: {
type: Function,
default: function _default(original) {
return original;
}
}

@@ -120,3 +126,3 @@ };

};
evt.item._underlying_vm_ = element;
evt.item._underlying_vm_ = this.clone(element);
},

@@ -168,11 +174,13 @@ onDragAdd: function onDragAdd(evt) {

if (typeof exports == "object") {
var Sortable = require("sortablejs")
module.exports = buildDraggable(Sortable)
if (typeof exports == "object") {
var Sortable = require("sortablejs");
module.exports = buildDraggable(Sortable);
} else if (typeof define == "function" && define.amd) {
define(['Sortable'], function(Sortable) { return buildDraggable(Sortable);});
} else if ( window && (window.Vue) && (window.Sortable)) {
var draggable = buildDraggable(window.Sortable)
Vue.component('draggable', draggable)
define(['Sortable'], function (Sortable) {
return buildDraggable(Sortable);
});
} else if (window && window.Vue && window.Sortable) {
var draggable = buildDraggable(window.Sortable);
Vue.component('draggable', draggable);
}
})();
{
"name": "vuedraggable",
"version": "2.0.4",
"version": "2.1.0",
"description": "draggable component for vue",

@@ -5,0 +5,0 @@ "main": "dist/vuedraggable.js",

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