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

log-segment

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-segment - npm Package Compare versions

Comparing version 1.7.7 to 1.7.8

10

main.js

@@ -351,3 +351,3 @@ 'use strict'

// paint the message
return __color(segment, message)
return __color(segment, level, message)
})

@@ -360,11 +360,11 @@

return __output(segment, level, __color(segment, __format(segment, level, _data)))
return __output(segment, level, __color(segment, level, __format(segment, level, _data)))
}
}
const __color = function (segment, message) {
const __color = function (segment, level, message) {
if (__segments[segment] &&
__segments[segment].color &&
__segments[segment].mode !== mode.EMAIL &&
__segments[segment].mode !== mode.FILE &&
__levels[level].mode !== mode.EMAIL &&
__levels[level].mode !== mode.FILE &&
chalk[__segments[segment].color]) {

@@ -371,0 +371,0 @@ return chalk[__segments[segment].color](message)

{
"name": "log-segment",
"version": "1.7.7",
"version": "1.7.8",
"description": "logger with partition",

@@ -14,2 +14,3 @@ "main": "main.js",

"devDependencies": {
"pre-commit": "^1.2.2",
"standard": "^11.0.1",

@@ -16,0 +17,0 @@ "tap": "^10.x",

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