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

awesome-logging

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-logging - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

2

lib/awesome-logger.js

@@ -16,3 +16,3 @@ "use strict";

? param1
: !!param2
: param2
? logger_creator_1.LoggerCreator.create(param1, param2)

@@ -19,0 +19,0 @@ : AwesomeLogger.create('text', { text: param1 });

@@ -52,6 +52,6 @@ "use strict";

if (this._succeed === true) {
return (_a = chalk_1.default.green('√') + this._stoppedText) !== null && _a !== void 0 ? _a : this._text;
return (_a = chalk_1.default.green('√ ') + this._stoppedText) !== null && _a !== void 0 ? _a : this._text;
}
else if (this._succeed === false) {
return (_b = chalk_1.default.red('X') + this._stoppedText) !== null && _b !== void 0 ? _b : this._text;
return (_b = chalk_1.default.red('X ') + this._stoppedText) !== null && _b !== void 0 ? _b : this._text;
}

@@ -62,3 +62,3 @@ else {

}
return this._options.spinnerFrames[this._animationIndex] + this._text;
return `${this._options.spinnerFrames[this._animationIndex]} ${this._text}`;
}

@@ -65,0 +65,0 @@ stop(options) {

@@ -34,9 +34,9 @@ "use strict";

if (i === 0 && scrollAmount > 0) {
visibleRow = '↑ ' + visibleRow;
visibleRow = `↑ ${visibleRow}`;
}
else if (i === maxRowCount - 1 && scrollAmount < actualRowCount - maxRowCount) {
visibleRow = '↓ ' + visibleRow;
visibleRow = `↓ ${visibleRow}`;
}
else {
visibleRow = '| ' + visibleRow;
visibleRow = `| ${visibleRow}`;
}

@@ -43,0 +43,0 @@ visibleRowsWithScrollPrefix.push(visibleRow);

@@ -12,3 +12,3 @@ "use strict";

let cursorVisible = true;
let debug = false;
const debug = false;
// @internal

@@ -15,0 +15,0 @@ const MOVE_LEFT = () => process.stdout.write(`${exports.CONTROL_PREFIX}1000D`);

{
"name": "awesome-logging",
"version": "0.2.4",
"version": "0.2.5",
"description": "Advanced logging messages, interactive prompts, loading animations and more in TypeScript",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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