Socket
Socket
Sign inDemoInstall

glweems-prettylogs

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

14

index.js

@@ -1,18 +0,18 @@

const base = "color: white; border-radius: 2px; padding: 1.75px; font-size: 11px;"
const good = "background: green;"
const error = "background: red;"
const warning = "background: orange;"
const baseStr = "color: white; border-radius: 2px; padding: 1.75px; font-size: 11px;"
const goodStr = "background: green;"
const errorStr = "background: red;"
const warningStr = "background: orange;"
export function success(string) {
console.log("%c " + string + " ", base + good)
console.log("%c " + string + " ", baseStr + goodStr)
};
export function danger(string) {
console.log("%c " + string + " ", base + error);
console.log("%c " + string + " ", baseStr + errorStr);
};
export function warning(string) {
console.log("%c " + string + " ", base + warning);
console.log("%c " + string + " ", baseStr + warningStr);
};
export default { success, danger, warning }
{
"name": "glweems-prettylogs",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc