ogg-opus-decoder
Advanced tools
+4
-4
| { | ||
| "name": "ogg-opus-decoder", | ||
| "version": "1.6.9", | ||
| "version": "1.6.10", | ||
| "description": "Web Assembly streaming Ogg Opus decoder", | ||
@@ -8,3 +8,3 @@ "type": "module", | ||
| "exports": { | ||
| "types":"./types.d.ts", | ||
| "types": "./types.d.ts", | ||
| "default": "./index.js" | ||
@@ -57,6 +57,6 @@ }, | ||
| "dependencies": { | ||
| "@wasm-audio-decoders/common": "9.0.3", | ||
| "@wasm-audio-decoders/common": "9.0.4", | ||
| "codec-parser": "2.4.3", | ||
| "opus-decoder": "0.7.4" | ||
| "opus-decoder": "0.7.5" | ||
| } | ||
| } |
+26
-28
@@ -1,32 +0,30 @@ | ||
| import { DecodeError } from "@wasm-audio-decoders/common/types"; | ||
| import { DecodeError } from "@wasm-audio-decoders/common"; | ||
| declare module "ogg-opus-decoder" { | ||
| export interface OpusDecodedAudio { | ||
| channelData: Float32Array[]; | ||
| samplesDecoded: number; | ||
| sampleRate: 48000; | ||
| errors: DecodeError[]; | ||
| } | ||
| export interface OggOpusDecodedAudio { | ||
| channelData: Float32Array[]; | ||
| samplesDecoded: number; | ||
| sampleRate: 48000; | ||
| errors: DecodeError[]; | ||
| } | ||
| export class OggOpusDecoder { | ||
| public constructor(options?: { forceStereo?: boolean }); | ||
| ready: Promise<void>; | ||
| reset: () => Promise<void>; | ||
| free: () => void; | ||
| decode: (data: Uint8Array) => OpusDecodedAudio; | ||
| decodeFile: (data: Uint8Array) => Promise<OpusDecodedAudio>; | ||
| flush: () => Promise<OpusDecodedAudio>; | ||
| } | ||
| export class OggOpusDecoder { | ||
| public constructor(options?: { forceStereo?: boolean }); | ||
| ready: Promise<void>; | ||
| reset: () => Promise<void>; | ||
| free: () => void; | ||
| decode: (data: Uint8Array) => OggOpusDecodedAudio; | ||
| decodeFile: (data: Uint8Array) => Promise<OggOpusDecodedAudio>; | ||
| flush: () => Promise<OggOpusDecodedAudio>; | ||
| } | ||
| export class OggOpusDecoderWebWorker { | ||
| public constructor(options?: { forceStereo?: boolean }); | ||
| ready: Promise<void>; | ||
| reset: () => Promise<void>; | ||
| free: () => Promise<void>; | ||
| decode: (data: Uint8Array) => Promise<OpusDecodedAudio>; | ||
| decodeFile: (data: Uint8Array) => Promise<OpusDecodedAudio>; | ||
| flush: () => Promise<OpusDecodedAudio>; | ||
| } | ||
| export class OggOpusDecoderWebWorker { | ||
| public constructor(options?: { forceStereo?: boolean }); | ||
| ready: Promise<void>; | ||
| reset: () => Promise<void>; | ||
| free: () => Promise<void>; | ||
| decode: (data: Uint8Array) => Promise<OggOpusDecodedAudio>; | ||
| decodeFile: (data: Uint8Array) => Promise<OggOpusDecodedAudio>; | ||
| flush: () => Promise<OggOpusDecodedAudio>; | ||
| } | ||
| export { DecodeError } | ||
| } | ||
| export { DecodeError }; |
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
193570
-0.04%731
-0.27%+ Added
+ Added
- Removed
- Removed
Updated