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 2.0.1 to 3.0.0

2

package.json
{
"name": "@wasm-audio-decoders/common",
"version": "2.0.1",
"version": "3.0.0",
"description": "Web Assembly Audio Decoders Common",

@@ -5,0 +5,0 @@ "module": "index.js",

@@ -125,4 +125,6 @@ export default class WASMAudioDecoderCommon {

static inflateYencString(source, dest) {
static inflateDynEncodeString(source, dest) {
const output = new Uint8Array(source.length);
const offset = parseInt(source.substring(11, 13), 16);
const offsetReverse = 256 - offset;

@@ -133,3 +135,3 @@ let escaped = false,

for (let i = 0; i < source.length; i++) {
for (let i = 13; i < source.length; i++) {
byte = source.charCodeAt(i);

@@ -147,3 +149,4 @@

output[byteIndex++] = byte < 42 && byte > 0 ? byte + 214 : byte - 42;
output[byteIndex++] =
byte < offset && byte > 0 ? byte + offsetReverse : byte - offset;
}

@@ -150,0 +153,0 @@

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