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

@d-fischer/logger

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d-fischer/logger - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/BrowserLogger.js

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

if (this._timestamps) {
formattedMessage = "[" + new Date().toLocaleTimeString() + "] " + message;
formattedMessage = "[" + new Date().toISOString() + "] " + message;
}

@@ -21,0 +21,0 @@ logFn(formattedMessage);

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

if (this._timestamps) {
builtMessage += "[" + new Date().toLocaleTimeString() + "] ";
builtMessage += "[" + new Date().toISOString() + "] ";
}

@@ -54,0 +54,0 @@ if (this._emoji) {

{
"name": "@d-fischer/logger",
"version": "0.2.0",
"version": "0.2.1",
"description": "A simple logger for Node and the browser.",

@@ -5,0 +5,0 @@ "main": "lib",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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