Comparing version 0.6.40 to 0.6.41
{ | ||
"name": "squishjs", | ||
"version": "0.6.40", | ||
"version": "0.6.41", | ||
"description": "squish & unsquish stuff", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -148,7 +148,7 @@ const InternalGameNode = require("./InternalGameNode"); | ||
for (let i = 0; i < align.length; i++) { | ||
squishedText[6 + squishedTextColor.length + 1 + i] = align.charCodeAt(i); | ||
squishedText[6 + squishedTextColor.length + 1 + i] = align.codePointAt(i); | ||
} | ||
for (let i = 0; i < t.text.length; i++) { | ||
squishedText[6 + squishedTextColor.length + align.length + 1 + i] = t.text.charCodeAt(i); | ||
squishedText[6 + squishedTextColor.length + align.length + 1 + i] = t.text.codePointAt(i); | ||
} | ||
@@ -205,3 +205,3 @@ | ||
for (let i = 0; i < assetKey.length; i++) { | ||
squishedAssets[8 + i] = assetKey.charCodeAt(i); | ||
squishedAssets[8 + i] = assetKey.codePointAt(i); | ||
} | ||
@@ -244,3 +244,3 @@ | ||
for (let i = 0; i < assetKey.length; i++) { | ||
squishedEffects[i] = assetKey.charCodeAt(i); | ||
squishedEffects[i] = assetKey.codePointAt(i); | ||
} | ||
@@ -305,3 +305,3 @@ squishedEffects[assetKey.length] = a.shadow.color[0]; | ||
for (let i = 0; i < a.type.length; i++) { | ||
squished[i] = a.type.charCodeAt(i); | ||
squished[i] = a.type.codePointAt(i); | ||
} | ||
@@ -308,0 +308,0 @@ return 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
88462