Comparing version 0.4.20 to 0.4.21
{ | ||
"name": "squishjs", | ||
"version": "0.4.20", | ||
"version": "0.4.21", | ||
"description": "squish & unsquish stuff", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
const gameNode = require("./GameNode"); | ||
const GameNode = require("./GameNode"); | ||
const assert = require('assert'); | ||
@@ -172,3 +172,3 @@ | ||
let constructedGameNode = gameNode(); | ||
let constructedGameNode = GameNode(); | ||
@@ -203,3 +203,3 @@ while(squishedIndex < squished.length) { | ||
const attr = entity[key]; | ||
if (attr !== undefined) { | ||
if (attr !== undefined && attr !== null) { | ||
const squished = squishSpec[key].squish(attr); | ||
@@ -206,0 +206,0 @@ squishedPieces.push([squishSpec[key]['type'], squished.length + 2, ...squished]); |
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
13254