layout-bin-packer
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -237,3 +237,3 @@ // I don't think this should have args | ||
ShelfFirst.prototype.position = function position(index, width) { | ||
var length = this.length; | ||
var length = this.length(); | ||
@@ -240,0 +240,0 @@ if (length === 0 || index > length) { |
{ | ||
"name": "layout-bin-packer", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -296,1 +296,7 @@ var Bin = require('./index'); | ||
assert(!bin.isGrid()); | ||
var bin = new Bin.ShelfFirst([], 100); | ||
assert.throws(function() { | ||
bin.position(0, 100); | ||
}, RangeError); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18189
566
0