Socket
Socket
Sign inDemoInstall

@wasm-audio-decoders/common

Package Overview
Dependencies
1
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0 to 7.0.1

3

package.json
{
"name": "@wasm-audio-decoders/common",
"version": "7.0.0",
"version": "7.0.1",
"description": "Web Assembly Audio Decoders Common",
"module": "index.js",
"main": "index.js",
"sideEffects": false,
"files": [

@@ -8,0 +9,0 @@ "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();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc