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

atlaspack

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atlaspack - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

7

index.js

@@ -5,3 +5,3 @@ /*

*
* Copyright (c) 2013 Kyle Robinson Young
* Copyright (c) 2014 Kyle Robinson Young
* Licensed under the MIT license.

@@ -53,3 +53,3 @@ *

this._cache = [];
this._uvcache = [];
this._uvcache = Object.create(null);
rect = this._toRect(rect);

@@ -141,5 +141,2 @@

var self = this;
if (self._uvcache.length > 0) {
return self._uvcache;
}
w = w || self.rect.w;

@@ -146,0 +143,0 @@ h = h || self.rect.h;

{
"name": "atlaspack",
"description": "Pack rectangles (or images) into a rectangle (or canvas texture atlas).",
"version": "0.2.5",
"version": "0.2.6",
"homepage": "https://github.com/shama/atlaspack",

@@ -28,8 +28,9 @@ "author": {

"scripts": {
"start": "./node_modules/.bin/browservefy example/example.js 8080 -- -d",
"start": "./node_modules/.bin/beefy example/example.js 8080 -- -d",
"gh-pages": "browserify example/example.js -o example/example.js"
},
"devDependencies": {
"browservefy": "0.0.10",
"painterly-textures": "0.0.3"
"painterly-textures": "0.0.3",
"beefy": "~1.0.0",
"browserify": "~3.28.0"
},

@@ -36,0 +37,0 @@ "keywords": [

@@ -177,2 +177,3 @@ # atlaspack

## release history
* 0.2.6 - Fix _uvcache should be an object (@deathcap).
* 0.2.5 - clearRect before placing image onto a canvas.

@@ -187,3 +188,3 @@ * 0.2.4 - Add width/height overrides to uv method.

## license
Copyright (c) 2013 Kyle Robinson Young<br/>
Copyright (c) 2014 Kyle Robinson Young
Licensed under the MIT license.

Sorry, the diff of this file is not supported yet

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