Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
noop-logger
Advanced tools
The noop-logger npm package provides a 'no-operation' logger, which means it's a logger that does nothing. It's useful for providing a logger interface that can be used in environments where logging is not desired or necessary, such as in testing or when running in production where you might not want to output logs.
No-operation logging
The noop-logger package provides methods that mimic the standard logging methods such as log, info, warn, and error, but they do not perform any action when called.
{"log": noop-logger.log, "info": noop-logger.info, "warn": noop-logger.warn, "error": noop-logger.error}
Abstract-logging provides a no-op logger that is API compatible with Pino's log methods. It's useful for when you want to have a logger that can be swapped with Pino without changing the logging interface.
Bunyan-blackhole is a no-op logger for the Bunyan logging framework. It's designed to consume and discard all log messages, similar to noop-logger, but specifically tailored for Bunyan.
A logger that does exactly nothing, useful when you want to test modules that require a logger to be passed in.
$ npm install noop-logger
Exposes the following noops:
logger.debug
logger.info
logger.warn
logger.error
logger.critical
logger.alert
logger.emergency
logger.notice
logger.fatal
MIT
FAQs
A logger that does exactly nothing.
The npm package noop-logger receives a total of 470,885 weekly downloads. As such, noop-logger popularity was classified as popular.
We found that noop-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.