@wasm-audio-decoders/common
Advanced tools
Comparing version 7.0.1 to 8.0.0
{ | ||
"name": "@wasm-audio-decoders/common", | ||
"version": "7.0.1", | ||
"version": "8.0.0", | ||
"description": "Web Assembly Audio Decoders Common", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
@@ -213,3 +213,3 @@ export default function WASMAudioDecoderCommon() { | ||
this.allocateTypedArray = (len, TypedArray, setPointer = true) => { | ||
const ptr = this._wasm["_malloc"](TypedArray.BYTES_PER_ELEMENT * len); | ||
const ptr = this._wasm.malloc(TypedArray.BYTES_PER_ELEMENT * len); | ||
if (setPointer) this._pointers.add(ptr); | ||
@@ -226,3 +226,3 @@ | ||
this._pointers.forEach((ptr) => { | ||
this._wasm["_free"](ptr); | ||
this._wasm.free(ptr); | ||
}); | ||
@@ -229,0 +229,0 @@ this._pointers.clear(); |
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
59203