Socket
Socket
Sign inDemoInstall

pino

Package Overview
Dependencies
Maintainers
4
Versions
310
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino - npm Package Compare versions

Comparing version 8.15.1 to 8.15.2

3

browser.js

@@ -449,1 +449,4 @@ 'use strict'

/* eslint-enable */
module.exports.default = pino
module.exports.pino = pino

2

docs/api.md

@@ -61,3 +61,3 @@ # API

One of `'fatal'`, `'error'`, `'warn'`, `'info`', `'debug'`, `'trace'` or `'silent'`.
One of `'fatal'`, `'error'`, `'warn'`, `'info'`, `'debug'`, `'trace'` or `'silent'`.

@@ -64,0 +64,0 @@ Additional levels can be added to the instance via the `customLevels` option.

'use strict'
module.exports = { version: '8.15.1' }
module.exports = { version: '8.15.2' }
{
"name": "pino",
"version": "8.15.1",
"version": "8.15.2",
"description": "super fast, all natural json logger",

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

@@ -48,3 +48,3 @@ // Project: https://github.com/pinojs/pino.git, http://getpino.io

interface LoggerExtras<Options = LoggerOptions> extends EventEmitter {
export interface LoggerExtras<Options = LoggerOptions> extends EventEmitter {
/**

@@ -51,0 +51,0 @@ * Exposes the Pino package version. Also available on the exported pino function.

import { expectAssignable, expectType } from "tsd";
import pino from "../../";
import type {LevelWithSilent, Logger, LogFn, P, DestinationStreamWithMetadata } from "../../pino";
import type {LevelWithSilent, Logger, LogFn, P, DestinationStreamWithMetadata, LoggerExtras } from "../../pino";

@@ -9,2 +9,3 @@ // NB: can also use `import * as pino`, but that form is callable as `pino()`

const log = pino();
expectAssignable<LoggerExtras>(log);
expectType<Logger>(log);

@@ -11,0 +12,0 @@ expectType<LogFn>(log.info);

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