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

lpac

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lpac - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

readme.md

6

index.js

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

const ee = require('event-emitter')
const strftime = require('strftime')

@@ -93,2 +94,3 @@ const chalk = require('chalk')

Log.prototype.log = function (...args) {
this.emit('log', ...args)
this.__print(chalk.bgCyan(`<${chalk.bold('log')}>`), args)

@@ -98,2 +100,3 @@ }

Log.prototype.warn = function (...args) {
this.emit('warn', ...args)
this.__print(chalk.bgYellow(`<${chalk.bold('warn')}>`), args)

@@ -103,2 +106,3 @@ }

Log.prototype.error = function (...args) {
this.emit('error', ...args)
this.__print(chalk.bgRed(`<${chalk.bold('error')}>`), args)

@@ -108,2 +112,3 @@ }

Log.prototype.debug = function (...args) {
this.emit('debug', ...args)
this.__print(chalk.bgMagenta(`<${chalk.bold('debug')}>`), args)

@@ -151,3 +156,4 @@ }

ee(Log.prototype)
module.exports = Log

3

package.json
{
"name": "lpac",
"version": "0.0.4",
"version": "0.0.5",
"description": "Logger progress and counter",

@@ -26,4 +26,5 @@ "main": "index.js",

"chalk": "1.1.3",
"event-emitter": "^0.3.5",
"strftime": "0.10.0"
}
}
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