@mediabunny/mp3-encoder
Advanced tools
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgNH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kBAAkB,YAE9B,CAAC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkNH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kBAAkB,YAO9B,CAAC"} |
@@ -178,2 +178,3 @@ "use strict"; | ||
| } | ||
| let registered = false; | ||
| /** | ||
@@ -198,2 +199,6 @@ * Registers the LAME MP3 encoder, which Mediabunny will then use automatically when applicable. Make sure to call this | ||
| const registerMp3Encoder = () => { | ||
| if (registered) { | ||
| return; | ||
| } | ||
| registered = true; | ||
| (0, mediabunny_1.registerEncoder)(Mp3Encoder); | ||
@@ -200,0 +205,0 @@ }; |
+1
-1
| { | ||
| "name": "@mediabunny/mp3-encoder", | ||
| "author": "Vanilagy", | ||
| "version": "1.44.2", | ||
| "version": "1.45.0", | ||
| "description": "MP3 encoder extension for Mediabunny, based on LAME.", | ||
@@ -6,0 +6,0 @@ "main": "./dist/bundles/mediabunny-mp3-encoder.mjs", |
+7
-0
@@ -215,2 +215,4 @@ /*! | ||
| let registered = false; | ||
| /** | ||
@@ -235,2 +237,7 @@ * Registers the LAME MP3 encoder, which Mediabunny will then use automatically when applicable. Make sure to call this | ||
| export const registerMp3Encoder = () => { | ||
| if (registered) { | ||
| return; | ||
| } | ||
| registered = true; | ||
| registerEncoder(Mp3Encoder); | ||
@@ -237,0 +244,0 @@ }; |
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.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
1681329
0.25%8154
0.25%8
-11.11%