
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Node.js module to log to the console and to a file, allowing for different log levels for both
Filelogger is a logging utility to allow logging to the console AND filesystem with differing log levels for each.
The default log levels are as follows:
For example, if you select "warn" for the console logging, everything below warn will be logged to the console (warn, info). Likewise, if you select "debug", all four levels will be logged.
Usage
The Logger class takes three elements:
var Logger = require("filelogger"),
logger = new Logger("error", "info", "myLog.log");
To log, simply call logger.log() with the log level and message (can also be an object);
logger.log("info", "Foobar!");
logger.log("error", {message: "my error message"});
FAQs
Node.js module to log to the console and to a file, allowing for different log levels for both
We found that filelogger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.