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

layout-bin-packer

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

layout-bin-packer - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -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);
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