New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pleasant-progress

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pleasant-progress - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

18

index.js

@@ -15,4 +15,20 @@ 'use strict';

PleasantProgress.prototype.forPromise = function(message, promise) {
this.start(message);
try {
return promise.then(function(value) {
this.stop();
return value;
}, function(reason) {
this.stop();
throw reason;
});
} finally {
this.stop();
}
};
PleasantProgress.prototype.start = function(message, stepString) {
this.message = message;
this.message = message || '';
this.stepString = stepString || '.';

@@ -19,0 +35,0 @@ this.stop();

2

package.json
{
"name": "pleasant-progress",
"version": "1.0.2",
"version": "1.1.0",
"description": "module for outputing a pleasant progress indicator",

@@ -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