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

@cca-io/re-logger

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cca-io/re-logger - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "@cca-io/re-logger",
"version": "0.1.3",
"version": "0.1.4",
"description": "Simple logger library for Reason/BuckleScript apps",

@@ -5,0 +5,0 @@ "main": "src/Logger.bs.js",

@@ -5,9 +5,8 @@ // Generated by BUCKLESCRIPT VERSION 4.0.7, PLEASE EDIT WITH CARE

var Curry = require("bs-platform/lib/js/curry.js");
var Pervasives = require("bs-platform/lib/js/pervasives.js");
function prependDate(message) {
var now = new Date();
var hours = Pervasives.string_of_float(now.getHours()).padStart(2, "0");
var minutes = Pervasives.string_of_float(now.getMinutes()).padStart(2, "0");
var seconds = Pervasives.string_of_float(now.getSeconds()).padStart(2, "0");
var hours = now.getHours().toString().padStart(2, "0");
var minutes = now.getMinutes().toString().padStart(2, "0");
var seconds = now.getSeconds().toString().padStart(2, "0");
return "" + (String(hours) + (":" + (String(minutes) + (":" + (String(seconds) + (" " + (String(message) + "")))))));

@@ -14,0 +13,0 @@ }

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