Socket
Socket
Sign inDemoInstall

@wasm-audio-decoders/common

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wasm-audio-decoders/common - npm Package Compare versions

Comparing version 7.0.1 to 8.0.0

2

package.json
{
"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();

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc