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

draggable-vue-directive

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draggable-vue-directive - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

9

dist/draggable.d.ts

@@ -1,2 +0,2 @@

import Vue from "vue";
import Vue, { DirectiveOptions, VNodeDirective } from "vue";
export declare type HandleType = Vue | HTMLElement;

@@ -29,3 +29,3 @@ export interface Position {

}
export interface DraggableBindings {
export interface DraggableBindings extends VNodeDirective {
value: DraggableValue;

@@ -39,5 +39,2 @@ }

}
export declare const Draggable: {
bind(el: HTMLElement, binding: DraggableBindings): void;
update(el: HTMLElement, binding: DraggableBindings): void;
};
export declare const Draggable: DirectiveOptions;

@@ -42,6 +42,6 @@ "use strict";

exports.Draggable = {
bind: function (el, binding) {
exports.Draggable.update(el, binding);
bind: function (el, binding, vnode, oldVnode) {
exports.Draggable.update(el, binding, vnode, oldVnode);
},
update: function (el, binding) {
update: function (el, binding, vnode, oldVnode) {
if (binding.value && binding.value.stopDragging) {

@@ -48,0 +48,0 @@ return;

{
"name": "draggable-vue-directive",
"version": "2.0.5",
"version": "2.0.6",
"description": "A simple directive to handle drag and drop of any Vue component",

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

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