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

oberknecht-utils

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oberknecht-utils - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

8

lib/utils/log.js

@@ -8,5 +8,9 @@ function date_() { return new Date(new Date().setMinutes(new Date().getMinutes() - new Date().getTimezoneOffset())).toISOString().split("Z")[0].replace("T", " ") };

if (!global.logs.all) global.logs.all = {};
if(typeof logmsg === "string") {
global.logs.all[Date.now()] = global.logs[logopt][Date.now()] = [logopt, logmsg?.replace(/\x1b\[[\w;]+m/g, ""), date_()];
if (typeof logmsg === "string") {
if (global.logs) global.logs.all[Date.now()] = global.logs[logopt][Date.now()] = [logopt, logmsg?.replace(/\x1b\[[\w;]+m/g, ""), date_()];
};
if (!logmsg && logopt) {
logmsg = logopt;
logopt = 0;
};

@@ -13,0 +17,0 @@ const logcolors = { "reset": "0", "bright": "1", "dim": "2", "underscore": "4", "blink": "5", "reverse": "7", "hidden": "8", "fgblack": "30", "fgred": "31", "fggreen": "32", "fgyellow": "33", "fgblue": "34", "fgmagenta": "35", "fgcyan": "36", "fgwhite": "37", "bgblack": "40", "bgred": "41", "bggreen": "42", "bgyellow": "43", "bgblue": "44", "bgmagenta": "45", "bgcyan": "46", "bgwhite": "47" };

{
"name": "oberknecht-utils",
"version": "0.2.6",
"version": "0.2.7",
"description": "Utils for oberknecht packages",

@@ -5,0 +5,0 @@ "main": "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