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

angular-gridster2

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gridster2 - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

@@ -277,3 +277,6 @@ "use strict";

}
if (this.rows >= this.columns && this.$options.maxCols > this.columns) {
var canAddToRows = this.$options.maxRows > this.rows + newItem.rows;
var canAddToColumns = this.$options.maxCols > this.columns + newItem.cols;
var addToRows = this.rows >= this.columns && canAddToRows;
if (!addToRows && canAddToColumns) {
newItem.x = this.columns;

@@ -283,3 +286,3 @@ newItem.y = 0;

}
else if (this.$options.maxRows > this.rows) {
else if (canAddToRows) {
newItem.y = this.rows;

@@ -286,0 +289,0 @@ newItem.x = 0;

{
"name": "angular-gridster2",
"version": "3.3.0",
"version": "3.3.1",
"license": "MIT",

@@ -49,18 +49,19 @@ "main": "dist/index.js",

"devDependencies": {
"@angular/animations": "4.2.5",
"@angular/animations": "4.2.6",
"@angular/cdk": "2.0.0-beta.8",
"@angular/cli": "1.2.0",
"@angular/common": "4.2.5",
"@angular/compiler": "4.2.5",
"@angular/compiler-cli": "4.2.5",
"@angular/core": "4.2.5",
"@angular/forms": "4.2.5",
"@angular/http": "4.2.5",
"@angular/language-service": "4.2.5",
"@angular/material": "2.0.0-beta.7",
"@angular/platform-browser": "4.2.5",
"@angular/platform-browser-dynamic": "4.2.5",
"@angular/platform-server": "4.2.5",
"@angular/router": "4.2.5",
"@angular/common": "4.2.6",
"@angular/compiler": "4.2.6",
"@angular/compiler-cli": "4.2.6",
"@angular/core": "4.2.6",
"@angular/forms": "4.2.6",
"@angular/http": "4.2.6",
"@angular/language-service": "4.2.6",
"@angular/material": "2.0.0-beta.8",
"@angular/platform-browser": "4.2.6",
"@angular/platform-browser-dynamic": "4.2.6",
"@angular/platform-server": "4.2.6",
"@angular/router": "4.2.6",
"@types/jasmine": "2.5.53",
"@types/node": "8.0.7",
"@types/node": "8.0.9",
"codelyzer": "3.1.2",

@@ -86,3 +87,3 @@ "core-js": "2.4.1",

"tslib": "1.7.1",
"tslint": "5.4.3",
"tslint": "5.5.0",
"typescript": "2.4.1",

@@ -89,0 +90,0 @@ "zone.js": "0.8.12"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet