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

abslog

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abslog - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

10

lib/log.js

@@ -8,3 +8,7 @@ 'use strict';

/**
* @typedef {object} AbstractLogger
* @typedef {ValidLogger | console | undefined} AbstractLoggerOptions
*/
/**
* @typedef {object} ValidLogger
* @property {LogFunction} trace

@@ -23,4 +27,4 @@ * @property {LogFunction} debug

* Returns an abstract logger which enables adding logging to modules without adding a dependency to a full log library.
* @param {any} logger
* @returns {AbstractLogger}
* @param {AbstractLoggerOptions} logger
* @returns {ValidLogger}
*/

@@ -27,0 +31,0 @@ module.exports = function abslog(logger) {

{
"name": "abslog",
"version": "2.4.2",
"version": "2.4.3",
"description": "An abstract logger - Enables adding logging to modules without adding a dependency to a full log library. ",

@@ -53,3 +53,3 @@ "main": "lib/log.js",

"bunyan": "1.8.15",
"pino": "8.20.0",
"pino": "9.0.0",
"roarr": "4.2.5",

@@ -56,0 +56,0 @@ "logdna": "3.5.3",

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