Socket
Socket
Sign inDemoInstall

console-stamp

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-stamp - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

.idea/misc.xml

7

main.js

@@ -130,3 +130,3 @@ /*jshint node:true, bitwise:false */

if ( options.label ) {
prefix += colorTheme.label( options.labelPrefix + f.toUpperCase() + options.labelSuffix ) + " ".substr( f.length );
prefix += colorTheme.label( options.labelPrefix + f.toUpperCase() + options.labelSuffix ) + " ".substr( f.length );
}

@@ -148,6 +148,9 @@

if ( f === "error" || f === "warn" || ( f === "assert" && !args[0] ) ) {
if ( f === "error" || f === "warn" ) {
( stderr || process.stderr ).write( prefix );
} else if ( f !== "assert" ) {
( stdout || process.stdout ).write( prefix );
} else if( f === 'assert' && !args[0] ){
( stderr || process.stderr ).write( `${prefix}Assertion failed: ${args[1]}\n` );
return;
}

@@ -154,0 +157,0 @@

{
"name": "console-stamp",
"main": "main",
"version": "0.2.6",
"version": "0.2.7",
"author": {

@@ -6,0 +6,0 @@ "name": "Ståle Raknes",

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