Huge News!Announcing our $40M Series B led by Abstract Ventures.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 4.7.0 to 4.7.1

1

dist/gridsterPush.service.d.ts

@@ -15,3 +15,2 @@ import { GridsterItemComponentInterface } from './gridsterItemComponent.interface';

private tryPattern;
private count;
constructor(gridsterItem: GridsterItemComponentInterface);

@@ -18,0 +17,0 @@ destroy(): void;

13

dist/gridsterPush.service.js

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

function GridsterPush(gridsterItem) {
this.count = 0;
this.pushedItems = [];

@@ -31,3 +30,2 @@ this.pushedItemsTemp = [];

GridsterPush.prototype.pushItems = function (direction, disable) {
this.count = 0;
if (this.gridster.$options.pushItems && !disable) {

@@ -91,8 +89,2 @@ this.pushedItemsOrder = [];

GridsterPush.prototype.push = function (gridsterItem, direction) {
if (this.count > 50000) {
return false;
}
else {
this.count++;
}
if (this.gridster.checkGridCollision(gridsterItem.$item)) {

@@ -118,3 +110,6 @@ return false;

}
if (this.pushedItemsTemp.indexOf(itemCollision) > -1) {
var compare = this.pushedItemsTemp.find(function (el) {
return el.$item.x === itemCollision.$item.x && el.$item.y === itemCollision.$item.y;
});
if (compare) {
makePush = false;

@@ -121,0 +116,0 @@ break;

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

[{"__symbolic":"module","version":4,"metadata":{"GridsterPush":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./gridsterItemComponent.interface","name":"GridsterItemComponentInterface","line":27,"character":28}]}],"destroy":[{"__symbolic":"method"}],"pushItems":[{"__symbolic":"method"}],"restoreTempItems":[{"__symbolic":"method"}],"restoreItems":[{"__symbolic":"method"}],"setPushedItems":[{"__symbolic":"method"}],"checkPushBack":[{"__symbolic":"method"}],"push":[{"__symbolic":"method"}],"trySouth":[{"__symbolic":"method"}],"tryNorth":[{"__symbolic":"method"}],"tryEast":[{"__symbolic":"method"}],"tryWest":[{"__symbolic":"method"}],"addToTempPushed":[{"__symbolic":"method"}],"removeFromTempPushed":[{"__symbolic":"method"}],"addToPushed":[{"__symbolic":"method"}],"removeFromPushed":[{"__symbolic":"method"}],"removeFromPushedItem":[{"__symbolic":"method"}],"checkPushedItem":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"GridsterPush":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":5,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./gridsterItemComponent.interface","name":"GridsterItemComponentInterface","line":26,"character":28}]}],"destroy":[{"__symbolic":"method"}],"pushItems":[{"__symbolic":"method"}],"restoreTempItems":[{"__symbolic":"method"}],"restoreItems":[{"__symbolic":"method"}],"setPushedItems":[{"__symbolic":"method"}],"checkPushBack":[{"__symbolic":"method"}],"push":[{"__symbolic":"method"}],"trySouth":[{"__symbolic":"method"}],"tryNorth":[{"__symbolic":"method"}],"tryEast":[{"__symbolic":"method"}],"tryWest":[{"__symbolic":"method"}],"addToTempPushed":[{"__symbolic":"method"}],"removeFromTempPushed":[{"__symbolic":"method"}],"addToPushed":[{"__symbolic":"method"}],"removeFromPushed":[{"__symbolic":"method"}],"removeFromPushedItem":[{"__symbolic":"method"}],"checkPushedItem":[{"__symbolic":"method"}]}}}}]
{
"name": "angular-gridster2",
"version": "4.7.0",
"version": "4.7.1",
"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