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

console-progress-bar

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-progress-bar - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

20

app.js

@@ -19,5 +19,9 @@ // Import.

* Console progress bar constructor.
* @param {object} [options] - Options.
* @param {number} [options.maxValue] - Max value.
* @param {number} [options.charsLength] - Chars length.
* @param {object} [options] Options.
* @param {number} [options.maxValue] Max value. Default is 100.
* @param {string} [options.startChars] Start chars.
* @param {string} [options.endChars] End chars.
* @param {string} [options.notFilledPartChars] Not filled part chars.
* @param {string} [options.filledPartChars] Filled part chars.
* @param {number} [options.charsLength] Chars length.
*/

@@ -77,3 +81,3 @@ constructor(options = {}) {

* Set value.
* @param {number} [value] - Value.
* @param {number} [value] Value.
*/

@@ -96,3 +100,3 @@ setValue(value = this.value) {

* Add value.
* @param {number} [value] - Value.
* @param {number} [value] Value.
*/

@@ -119,5 +123,5 @@ addValue(value = 1) {

* Add color.
* @param {string} progressBarString - Progress bar string.
* @param {number} percent - Percent.
* @returns {string}
* @param {string} progressBarString Progress bar string.
* @param {number} percent Percent.
* @returns {string} Progress bar string with color.
*/

@@ -124,0 +128,0 @@ function addColor(progressBarString, percent) {

4

package.json
{
"name": "console-progress-bar",
"version": "1.0.6",
"version": "1.0.7",
"description": "Console progress bar",

@@ -29,4 +29,4 @@ "main": "app.js",

"devDependencies": {
"eslint": "^7.21.0"
"eslint": "^8.31.0"
}
}
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