New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bhala

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bhala - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [3.0.3](https://github.com/ivangabriele/bhala/compare/v3.0.2...v3.0.3) (2022-02-15)
### Bug Fixes
* migrate from chalk to colorette ([246b506](https://github.com/ivangabriele/bhala/commit/246b506ebc71b69c1c9436e9445a159d21d0101e))
## [3.0.2](https://github.com/ivangabriele/bhala/compare/v3.0.1...v3.0.2) (2022-02-15)

@@ -2,0 +9,0 @@

16

dist/index.js

@@ -1,3 +0,3 @@

import chalk from 'chalk';
import childProcess from 'child_process';
import { cyan, gray, green, magenta, red, white, yellow } from 'colorette';
import os from 'os';

@@ -9,3 +9,3 @@ class Bhala {

debug(...messages) {
const output = this.generateOutput(messages, chalk.gray, '🔧', 'debug -');
const output = this.generateOutput(messages, gray, '🔧', 'debug -');
// eslint-disable-next-line no-console

@@ -15,3 +15,3 @@ console.debug(output);

error(...messages) {
const output = this.generateOutput(messages, chalk.red, '❌', 'error -');
const output = this.generateOutput(messages, red, '❌', 'error -');
// eslint-disable-next-line no-console

@@ -21,3 +21,3 @@ console.error(output);

event(...messages) {
const output = this.generateOutput(messages, chalk.magenta, '📅', 'event -');
const output = this.generateOutput(messages, magenta, '📅', 'event -');
// eslint-disable-next-line no-console

@@ -27,3 +27,3 @@ console.log(output);

info(...messages) {
const output = this.generateOutput(messages, chalk.cyan, '📢', 'info -');
const output = this.generateOutput(messages, cyan, '📢', 'info -');
// eslint-disable-next-line no-console

@@ -33,3 +33,3 @@ console.info(output);

log(...messages) {
const output = this.generateOutput(messages, chalk.white, '📝', 'log -');
const output = this.generateOutput(messages, white, '📝', 'log -');
// eslint-disable-next-line no-console

@@ -39,3 +39,3 @@ console.log(output);

success(...messages) {
const output = this.generateOutput(messages, chalk.green, '🎉', 'success -');
const output = this.generateOutput(messages, green, '🎉', 'success -');
// eslint-disable-next-line no-console

@@ -45,3 +45,3 @@ console.log(output);

warn(...messages) {
const output = this.generateOutput(messages, chalk.yellow, '🔔', 'warning -');
const output = this.generateOutput(messages, yellow, '🔔', 'warning -');
// eslint-disable-next-line no-console

@@ -48,0 +48,0 @@ console.warn(output);

{
"name": "bhala",
"description": "A pretty (!), powerful and customizable logging library for Node.js.",
"version": "3.0.2",
"version": "3.0.3",
"license": "MIT",

@@ -25,3 +25,3 @@ "type": "module",

"dependencies": {
"chalk": "^5.0.0"
"colorette": "2.0.16"
},

@@ -28,0 +28,0 @@ "devDependencies": {

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