Socket
Socket
Sign inDemoInstall

pino-socket

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-socket - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

test/fixtures/issue5.js

3

changelog.md

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

### 0.4.1
+ Shutdown when `stdin` closes (issue #5)
### 0.4.0

@@ -2,0 +5,0 @@ + Add support for reconnecting to dropped TCP destinations (issue #3)

2

package.json
{
"name": "pino-socket",
"version": "0.4.0",
"version": "0.4.1",
"description": "A pino 'transport' for writing to a tcp or udp socket",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/jsumners/pino-socket",

@@ -100,1 +100,3 @@ 'use strict'

pump(process.stdin, split2(), myTransport)
process.stdin.on('close', () => { shutdown() })
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