Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

m3u8-to-mp4-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m3u8-to-mp4-cli - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

21

index.js

@@ -13,3 +13,4 @@ #!/usr/bin/env node

let progressBar;
let progressBarDownloading;
let progressBarCombining;

@@ -25,4 +26,4 @@ converter(

case "downloading":
if(!progressBar) {
progressBar = new ProgressBar('downloading [:bar] :percent :etas', {
if(!progressBarDownloading) {
progressBarDownloading = new ProgressBar('downloading [:bar] :percent :etas', {
complete: '=',

@@ -34,8 +35,14 @@ incomplete: ' ',

}
progressBar.tick();
progressBarDownloading.tick();
break;
case "combining":
console.log(
"combining mp4 process:" + ((index / total) * 100).toFixed(2) + "%"
);
if(!progressBarCombining) {
progressBarCombining = new ProgressBar('combining [:bar] :percent :etas', {
complete: '=',
incomplete: ' ',
total: total,
width: 20
});
}
progressBarCombining.tick();
break;

@@ -42,0 +49,0 @@ }

{
"name": "m3u8-to-mp4-cli",
"version": "1.1.1",
"version": "1.1.2",
"description": "m3u8 hosted file to mp4",

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

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