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

angular-gridster2

Package Overview
Dependencies
Maintainers
1
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gridster2 - npm Package Compare versions

Comparing version 5.3.3 to 5.3.4

1

dist/gridsterDraggable.service.d.ts

@@ -33,2 +33,3 @@ import { NgZone } from '@angular/core';

mouseup: Function;
mouseleave: Function;
cancelOnBlur: Function;

@@ -35,0 +36,0 @@ touchmove: Function;

44

dist/gridsterDraggable.service.js

@@ -57,2 +57,3 @@ "use strict";

this.mouseup = this.gridsterItem.renderer.listen('document', 'mouseup', this.dragStopFunction);
this.mouseleave = this.gridsterItem.renderer.listen('document', 'mouseleave', this.dragStopFunction);
this.cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', this.dragStopFunction);

@@ -107,2 +108,3 @@ this.touchend = this.gridsterItem.renderer.listen('document', 'touchend', this.dragStopFunction);

this.mouseup();
this.mouseleave();
this.touchmove();

@@ -133,8 +135,16 @@ this.touchend();

this.gridsterItem.setSize();
this.push.restoreItems();
this.swap.restoreSwapItem();
this.push.destroy();
delete this.push;
this.swap.destroy();
delete this.swap;
if (this.push) {
this.push.restoreItems();
}
if (this.swap) {
this.swap.restoreSwapItem();
}
if (this.push) {
this.push.destroy();
delete this.push;
}
if (this.swap) {
this.swap.destroy();
delete this.swap;
}
};

@@ -150,8 +160,16 @@ GridsterDraggable.prototype.makeDrag = function () {

this.gridsterItem.checkItemChanges(this.gridsterItem.$item, this.gridsterItem.item);
this.push.setPushedItems();
this.swap.setSwapItem();
this.push.destroy();
delete this.push;
this.swap.destroy();
delete this.swap;
if (this.push) {
this.push.setPushedItems();
}
if (this.swap) {
this.swap.setSwapItem();
}
if (this.push) {
this.push.destroy();
delete this.push;
}
if (this.swap) {
this.swap.destroy();
delete this.swap;
}
};

@@ -238,2 +256,3 @@ GridsterDraggable.prototype.calculateItemPosition = function () {

var cancelMouse = this.gridsterItem.renderer.listen('document', 'mouseup', cancelDrag);
var cancelMouseLeave = this.gridsterItem.renderer.listen('document', 'mouseleave', cancelDrag);
var cancelOnBlur = this.gridsterItem.renderer.listen('window', 'blur', cancelDrag);

@@ -253,2 +272,3 @@ var cancelTouchMove = this.gridsterItem.renderer.listen('document', 'touchmove', cancelMove);

cancelMouse();
cancelMouseLeave();
cancelTouchMove();

@@ -255,0 +275,0 @@ cancelTouchEnd();

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

[{"__symbolic":"module","version":4,"metadata":{"GridsterDraggable":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./gridsterItemComponent.interface","name":"GridsterItemComponentInterface","line":47,"character":28},{"__symbolic":"reference","module":"./gridster.interface","name":"GridsterComponentInterface","line":47,"character":70},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":47,"character":112}]}],"destroy":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"dragMove":[{"__symbolic":"method"}],"calculateItemPositionFromMousePosition":[{"__symbolic":"method"}],"dragStop":[{"__symbolic":"method"}],"cancelDrag":[{"__symbolic":"method"}],"makeDrag":[{"__symbolic":"method"}],"calculateItemPosition":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"dragStartDelay":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"GridsterDraggable":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./gridsterItemComponent.interface","name":"GridsterItemComponentInterface","line":48,"character":28},{"__symbolic":"reference","module":"./gridster.interface","name":"GridsterComponentInterface","line":48,"character":70},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":48,"character":112}]}],"destroy":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"dragMove":[{"__symbolic":"method"}],"calculateItemPositionFromMousePosition":[{"__symbolic":"method"}],"dragStop":[{"__symbolic":"method"}],"cancelDrag":[{"__symbolic":"method"}],"makeDrag":[{"__symbolic":"method"}],"calculateItemPosition":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"dragStartDelay":[{"__symbolic":"method"}]}}}}]
{
"name": "angular-gridster2",
"version": "5.3.3",
"version": "5.3.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.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