Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
multi-progress
Advanced tools
This module adds a layer on top of the API of progress that allows for multiple progress bars.
Install with npm: npm install multi-progress
multi-progress@4
requires progress@2
as a peer dependency.
If you don't already have progress@2
as a dependency, add it like so: npm install progress@2
.
// require the library
var Multiprogress = require('multi-progress');
// spawn an instance with the optional stream to write to
var multi = new Multiprogress(process.stderr);
// create a progress bar
var bar = multi.newBar(' downloading [:bar] :percent :etas', {
complete: '=',
incomplete: ' ',
width: 30,
total: size
});
// `bar` is an instance of ProgressBar
// Use the progressbar API with it
More detailed usage examples are available in the following projects:
Version 4.0.0 (2020-10-14)
API changed back to work like v1/v2, no longer having the user pass in Progress to a builder.
Progress is still a peer dependency like with v3, so that users can pick the exact version of progress they wish to use.
FAQs
Multiple progress bars based on the "progress" package
The npm package multi-progress receives a total of 18,339 weekly downloads. As such, multi-progress popularity was classified as popular.
We found that multi-progress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.