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

potpack

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

potpack - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

index.d.ts

6

index.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.potpack = factory());
}(this, (function () { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.potpack = factory());
})(this, (function () { 'use strict';

@@ -107,2 +107,2 @@ function potpack(boxes) {

})));
}));
{
"name": "potpack",
"version": "1.0.1",
"version": "1.0.2",
"description": "A tiny library for packing 2D rectangles (for sprite layouts)",

@@ -9,9 +9,12 @@ "main": "index",

"jsdelivr": "index.js",
"types": "index.d.ts",
"files": [
"index.mjs",
"index.js"
"index.js",
"index.d.ts"
],
"scripts": {
"pretest": "eslint index.mjs",
"test": "tape -r esm test.js",
"pretest": "eslint index.mjs test.mjs bench.mjs",
"test": "node -r esm test.mjs",
"bench": "node -r esm bench.mjs",
"build": "rollup -c",

@@ -22,10 +25,3 @@ "start": "rollup -w",

"eslintConfig": {
"extends": "mourner",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-var": "error",
"prefer-const": "error"
}
"extends": "mourner"
},

@@ -50,9 +46,11 @@ "repository": {

"devDependencies": {
"eslint": "^5.4.0",
"eslint-config-mourner": "^2.0.3",
"esm": "^3.0.80",
"rollup": "^0.64.1",
"rollup-plugin-buble": "^0.19.2",
"tape": "^4.9.1"
"@mapbox/shelf-pack": "^3.2.0",
"@rollup/plugin-buble": "^0.21.3",
"bin-pack": "^1.0.2",
"eslint": "^8.0.1",
"eslint-config-mourner": "^3.0.0",
"esm": "^3.2.25",
"rollup": "^2.58.0",
"tape": "^5.3.1"
}
}

@@ -51,3 +51,3 @@ # potpack

```html
<script src="https://unpkg.com/potpack@1.0.0/index.js"></script>
<script src="https://unpkg.com/potpack@1.0.1/index.js"></script>
```
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