Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,8 @@ | ||
1.0.1 / 2018-02-24 | ||
------------------ | ||
- Fix crash on big font files (when memory growth happens). | ||
- Declare symlinks for CLI scripts. | ||
1.0.0 / 2018-02-15 | ||
@@ -2,0 +9,0 @@ ------------------ |
@@ -21,3 +21,2 @@ 'use strict'; | ||
let outputPtr = em_module._malloc(outputSize); | ||
let output = em_module.HEAPU8.subarray(outputPtr, outputPtr + outputSize); | ||
@@ -32,3 +31,3 @@ let compress_wrap = em_module.cwrap('compress', 'number', [ 'number' ], [ 'number' ], [ 'number' ]); | ||
let result = output.slice(0, outputSize); | ||
let result = em_module.HEAPU8.slice(outputPtr, outputPtr + outputSize); | ||
@@ -35,0 +34,0 @@ em_module._free(inputPtr); |
@@ -21,3 +21,2 @@ 'use strict'; | ||
let outputPtr = em_module._malloc(outputSize); | ||
let output = em_module.HEAPU8.subarray(outputPtr, outputPtr + outputSize); | ||
@@ -30,3 +29,3 @@ let decompress_wrap = em_module.cwrap('decompress', 'number', [ 'number' ], [ 'number' ], [ 'number' ]); | ||
let result = output.slice(0, outputSize); | ||
let result = em_module.HEAPU8.slice(outputPtr, outputPtr + outputSize); | ||
@@ -33,0 +32,0 @@ em_module._free(inputPtr); |
{ | ||
"name": "wawoff2", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Convert TTF font to WOFF2", | ||
@@ -17,2 +17,6 @@ "keywords": [ | ||
}, | ||
"bin": { | ||
"woff2_compress.js": "./bin/woff2_compress.js", | ||
"woff2_decompress.js": "./bin/woff2_decompress.js" | ||
}, | ||
"files": [ | ||
@@ -19,0 +23,0 @@ "compress.js", |
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
987364
318