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

proc-log

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proc-log - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

7

lib/index.js

@@ -0,2 +1,4 @@

const META = Symbol('proc-log.meta')
module.exports = {
META: META,
output: {

@@ -7,2 +9,3 @@ LEVELS: [

'buffer',
'flush',
],

@@ -13,2 +16,3 @@ KEYS: {

buffer: 'buffer',
flush: 'flush',
},

@@ -24,2 +28,5 @@ standard: function (...args) {

},
flush: function (...args) {
return process.emit('output', 'flush', ...args)
},
},

@@ -26,0 +33,0 @@ log: {

2

package.json
{
"name": "proc-log",
"version": "4.1.0",
"version": "4.2.0",
"files": [

@@ -5,0 +5,0 @@ "bin/",

@@ -28,2 +28,6 @@ # proc-log

* `output.flush(...args)` calls `process.emit('output', 'flush', ...args)`
This is to indicate that the output buffer should be flushed.
* `output.LEVELS` an array of strings of all output method names

@@ -30,0 +34,0 @@

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