Socket
Socket
Sign inDemoInstall

c2s-ngx-dnd

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.21 to 1.2.22

16

directives/dnd-list.js

@@ -45,13 +45,7 @@ import { Directive, Input, Output, ElementRef, HostListener, EventEmitter } from '@angular/core';

DndList.prototype.handleDragOver = function (event) {
var start = new Date();
var end = new Date();
event = event['originalEvent'] || event;
var mimeType = this.getMimeType(event.dataTransfer.types);
var itemType = this.getItemType(mimeType);
if (!mimeType || !this.isDropAllowed(itemType)) {
end = new Date();
console.log('no drop allowed -> ellapsed :' + (end-start)/1000 + ' s - target : ' + event.target.innerText);
return true;

@@ -82,6 +76,2 @@ }

if (dropEffect === 'none') {
end = new Date();
console.log('dropEffect none -> ellapsed :' + (end-start)/1000 + ' s - target : ' + event.target.innerText);
return this.stopDragOver();

@@ -95,6 +85,2 @@ }

event.stopPropagation();
end = new Date();
console.log('end -> ellapsed :' + (end-start)/1000 + ' s - target : ' + event.target.innerText);
return false;

@@ -101,0 +87,0 @@ };

2

package.json

@@ -53,3 +53,3 @@ {

},
"version": "1.2.21"
"version": "1.2.22"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc