@mediabunny/mp3-encoder
Advanced tools
@@ -20,3 +20,3 @@ "use strict"; | ||
| if (globalThis[MP3_ENCODER_LOADED_SYMBOL]) { | ||
| console.error('[WARNING]\n@mediabunny/mp3-encoder was loaded twice.' | ||
| mediabunny_1.Logging._error('[WARNING]\n@mediabunny/mp3-encoder was loaded twice.' | ||
| + ' This will likely cause the encoder not to work correctly.' | ||
@@ -23,0 +23,0 @@ + ' Check if multiple dependencies are importing different versions of @mediabunny/mp3-encoder,' |
+1
-1
| { | ||
| "name": "@mediabunny/mp3-encoder", | ||
| "author": "Vanilagy", | ||
| "version": "1.48.1", | ||
| "version": "1.49.0", | ||
| "description": "MP3 encoder extension for Mediabunny, based on LAME.", | ||
@@ -6,0 +6,0 @@ "main": "./dist/bundles/mediabunny-mp3-encoder.mjs", |
+2
-2
@@ -9,3 +9,3 @@ /*! | ||
| import { CustomAudioEncoder, AudioCodec, AudioSample, EncodedPacket, registerEncoder } from 'mediabunny'; | ||
| import { CustomAudioEncoder, AudioCodec, AudioSample, EncodedPacket, Logging, registerEncoder } from 'mediabunny'; | ||
| import { MP3_FRAME_HEADER_SIZE, readMp3FrameHeader, SAMPLING_RATES } from '../../../shared/mp3-misc'; | ||
@@ -18,3 +18,3 @@ import type { WorkerCommand, WorkerResponse, WorkerResponseData } from './shared'; | ||
| if ((globalThis as Record<symbol, unknown>)[MP3_ENCODER_LOADED_SYMBOL]) { | ||
| console.error( | ||
| Logging._error( | ||
| '[WARNING]\n@mediabunny/mp3-encoder was loaded twice.' | ||
@@ -21,0 +21,0 @@ + ' This will likely cause the encoder not to work correctly.' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
1681576
0.01%9
28.57%