New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

beautiful-log

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beautiful-log - npm Package Compare versions

Comparing version 2.0.0-4 to 2.0.0-5

9

dist/main/beautiful-log.js

@@ -10,3 +10,3 @@ "use strict";

let started = false;
let broadcast = undefined;
let broadcast = (event, data) => undefined;
let loggers = [];

@@ -43,11 +43,10 @@ function init(appName, mode) {

}
for (let logger of loggers) {
logger.announce();
}
}
exports.init = init;
function make(loggerName) {
if (!started) {
throw new Error("Can't make a logger until init() is called.");
}
let log = new Logger(loggerName);
loggers.push(log);
log.announce();
return log;

@@ -54,0 +53,0 @@ }

{
"name": "beautiful-log",
"version": "2.0.0-4",
"version": "2.0.0-5",
"description": "Because logging should be beautiful.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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