Socket
Socket
Sign inDemoInstall

pino-pretty

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-pretty - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

index.js

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

const bourne = require('bourne')
const bourne = require('@hapi/bourne')
const jsonParser = input => {

@@ -20,0 +20,0 @@ try {

{
"name": "pino-pretty",
"version": "3.0.0",
"version": "3.0.1",
"description": "Prettifier for Pino log lines",

@@ -33,4 +33,4 @@ "main": "index.js",

"dependencies": {
"@hapi/bourne": "^1.3.2",
"args": "^5.0.1",
"bourne": "^1.1.2",
"chalk": "^2.4.2",

@@ -37,0 +37,0 @@ "dateformat": "^3.0.3",

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

const formattedTime = internals.formatTime(epochMS, 'SYS:d mmm yyyy H:MM')
t.match(formattedTime, /\d{1} \w{3} \d{4} \d{2}:\d{2}/)
t.match(formattedTime, /\d{1} \w{3} \d{4} \d{1,2}:\d{2}/)
})

@@ -80,3 +80,3 @@

const formattedTime = internals.formatTime(dateStr, 'SYS:d mmm yyyy H:MM')
t.match(formattedTime, /\d{1} \w{3} \d{4} \d{2}:\d{2}/)
t.match(formattedTime, /\d{1} \w{3} \d{4} \d{1,2}:\d{2}/)
})

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