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

pino-postgres

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-postgres - npm Package Compare versions

Comparing version 0.0.29 to 0.0.30

5

index.js

@@ -91,2 +91,3 @@ #! /usr/bin/env node

.option('--buffer-size <number>', 'max number of log entries in buffer', parseNumber, 1000)
.option('--max-connections <number>', 'max number of connections', parseNumber, 3)
.option('--ssl', 'use ssl', false)

@@ -98,6 +99,4 @@ .option('--debug', 'debug postgres client', false)

console.log('opts: ', opts);
const postgresOpts = {
max: 3
max: opts.maxConnections
}

@@ -104,0 +103,0 @@ if (opts.ssl) {

2

package.json
{
"name": "pino-postgres",
"version": "0.0.29",
"version": "0.0.30",
"description": "Pino transport for Postgres",

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

@@ -17,15 +17,16 @@ <h1 align="center">Welcome to pino-postgres 👋</h1>

Options:
-V, --version output the version number
--connection <connection> postgres connection string
--table <name> table name (default: "logs")
--schema <name> schema name (default: "public")
--content-column <name> content column name (default: "content")
--time-column <name> time column name (default: "time")
--time-field <name> time field name (default: "time")
--flush-interval <number> interval at which logs are flushed in ms (default: 5000)
--buffer-size <number> max number of log entries in buffer (default: 1000)
--ssl use ssl (default: false)
--debug debug postgres client (default: false)
--pass-through pass logs through (default: false)
-h, --help display help for command
-V, --version output the version number
--connection <connection> postgres connection string
--table <name> table name (default: "logs")
--schema <name> schema name (default: "public")
--content-column <name> content column name (default: "content")
--time-column <name> time column name (default: "time")
--time-field <name> time field name (default: "time")
--flush-interval <number> interval at which logs are flushed in ms (default: 5000)
--buffer-size <number> max number of log entries in buffer (default: 1000)
--max-connections <number> max number of connections (default: 3)
--ssl use ssl (default: false)
--debug debug postgres client (default: false)
--pass-through pass logs through (default: false)
-h, --help display help for command
```

@@ -32,0 +33,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