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

squishjs

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squishjs - npm Package Compare versions

Comparing version 0.7.53 to 0.7.54

2

package.json
{
"name": "squishjs",
"version": "0.7.53",
"version": "0.7.54",
"description": "squish & unsquish stuff",

@@ -5,0 +5,0 @@ "scripts": {

@@ -59,4 +59,4 @@ const InternalGameNode = require("./InternalGameNode");

const subFrameType = squished[squishedIndex];
const subFrameLength = squished[squishedIndex + 1];
const subFrame = squished.slice(squishedIndex + 2, squishedIndex + subFrameLength);
const subFrameLength = squished[squishedIndex + 1] + squished[squishedIndex + 2];
const subFrame = squished.slice(squishedIndex + 3, squishedIndex + subFrameLength);

@@ -119,3 +119,7 @@ if (!typeToSquishMap[subFrameType]) {

const squished = squishSpec[key].squish(attr, scale, internalNode);
squishedPieces.push([squishSpec[key]['type'], squished.length + 2, ...squished]);
const totalLength = squished.length + 3;
const rightMost = Math.min(255, totalLength);
const leftMost = Math.min(255, Math.max(0, totalLength - 255));
squishedPieces.push([squishSpec[key]['type'], leftMost, rightMost, ...squished]);
}

@@ -122,0 +126,0 @@ }

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