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.0.0 to 1.0.1

.gitattributes

24

index.js

@@ -1,2 +0,2 @@

const base = "color: white; border-radius: 2px; padding: 2px; font-size: 11px;"
const base = "color: white; border-radius: 2px; padding: 1.75px; font-size: 11px;"
const success = "background: green;"

@@ -6,12 +6,18 @@ const error = "background: red;"

module.exports = {
success: function (string) {
return console.log("%c " + string + " ", base + success);
const goodLog = {
mounted() {
console.log("%c " + string + " ", base + success);
},
error: function (string) {
return console.log("%c " + string + " ", base + error);
}
const badLog = {
mounted() {
console.log("%c " + string + " ", base + error);
},
warning: function (string) {
return console.log("%c " + string + " ", base + warning);
}
const warningLog = {
mounted() {
console.log("%c " + string + " ", base + warning);
},
};
}
export default { goodLog, badLog, warningLog }
{
"name": "glweems-prettylogs",
"version": "1.0.0",
"version": "1.0.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