New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.5.0 to 1.5.1

4

main.js

@@ -72,3 +72,2 @@ 'use strict'

* @param {Object} params
* @param {string} params.template default '{marker} [{timestamp}] {message}'
*/

@@ -78,5 +77,2 @@ const __init = function (params) {

__setLevels(__levels)
if (params && params.template) {
__setTemplate(params.template)
}
}

@@ -83,0 +79,0 @@

2

package.json
{
"name": "log-segment",
"version": "1.5.0",
"version": "1.5.1",
"description": "logger with partition",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -76,3 +76,3 @@ # log-segment

segments: { '*': { color: 'white' } },
template: '{marker} [{timestamp}] {message}',
format: '{marker} [{timestamp}] {message}',
enabled: { segments: '*', levels: '*' }

@@ -223,3 +223,3 @@ }

Different behaviour for each level:
- disable not interesting parts: success level, template rendering
- disable not interesting parts: success level
- different file for each type: *info, warning, error*

@@ -226,0 +226,0 @@ and remove marks

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