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 2.1.0 to 3.0.0

.commitlintrc

78

package.json
{
"name": "bhala",
"description": "A pretty (!), powerful and customizable logging library for Node.js.",
"version": "2.1.0",
"version": "3.0.0",
"license": "MIT",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"engine": {
"node": ">=14"
},
"scripts": {
"build": "rm -Rf ./dist && rollup -c",
"build:watch": "rollup -cw",
"build": "rm -Rf ./dist && tsc",
"build:watch": "tsc-watch",
"dev": "yarn build && concurrently \"yarn build:watch\" \"yarn dev:simulate\"",

@@ -17,27 +25,37 @@ "dev:simulate": "nodemon --delay 2.5 --watch ./dist --watch ./examples/demo.js ./examples/demo.js",

"dependencies": {
"chalk": "^4.1.2",
"node-emoji": "^1.11.0"
"chalk": "^5.0.0"
},
"devDependencies": {
"@ivangabriele/commitlint-config": "1.0.2",
"@ivangabriele/eslint-config-typescript-base": "2.1.4",
"@ivangabriele/prettier-config": "2.0.2",
"@ivangabriele/semantic-release-config-base": "1.2.0",
"@rollup/plugin-node-resolve": "13.1.2",
"@rollup/plugin-typescript": "8.3.0",
"@types/node": "16.11.17",
"@types/node-emoji": "1.8.1",
"@types/prettier": "2.4.2",
"@types/shelljs": "0.8.10",
"concurrently": "6.5.1",
"@commitlint/cli": "16.1.0",
"@commitlint/config-conventional": "16.0.0",
"@ivangabriele/commitlint-config": "1.0.5",
"@ivangabriele/eslint-config-typescript-base": "3.0.1",
"@ivangabriele/prettier-config": "3.0.2",
"@ivangabriele/semantic-release-config-base": "2.0.2",
"@types/node": "16.11.24",
"@typescript-eslint/eslint-plugin": "5.10.0",
"@typescript-eslint/parser": "5.10.0",
"concurrently": "7.0.0",
"eslint": "7.32.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "15.0.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jest": "25.7.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-sort-destructure-keys": "1.4.0",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"husky": "7.0.4",
"jest": "27.4.5",
"jest": "27.5.1",
"nodemon": "2.0.15",
"rimraf": "3.0.2",
"rollup": "2.62.0",
"rollup-plugin-node-polyfills": "0.2.1",
"shelljs": "0.8.4",
"typescript": "4.5.4",
"wait-on": "6.0.0"
"prettier": "2.5.1",
"tsc-watch": "4.6.0",
"typescript": "4.4.4",
"wait-on": "6.0.1"
},
"prettier": "@ivangabriele/prettier-config",
"release": {
"extends": "@ivangabriele/semantic-release-config-base"
},
"author": {

@@ -51,8 +69,2 @@ "name": "Ivan Gabriele",

},
"engine": {
"node": ">=14"
},
"files": [
"/dist"
],
"homepage": "https://github.com/ivangabriele/bhala#readme",

@@ -71,15 +83,9 @@ "keywords": [

],
"main": "./dist/index.js",
"prettier": "@ivangabriele/prettier-config",
"publishConfig": {
"access": "public"
},
"release": {
"extends": "@ivangabriele/semantic-release-config-base"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivangabriele/bhala.git"
},
"types": "./dist/index.d.ts"
}
}

@@ -43,3 +43,2 @@ <p align="center">

- [Contants](#contants)
- [`EMO`](#emo)
- [Methods](#methods)

@@ -53,3 +52,2 @@ - [`debug()`](#debug)

- [`warn()`](#warn)
- [Name](#name)

@@ -70,13 +68,7 @@ ## Install

A not-so-serious proposed practice is to use the `ß` character to reference **bhala** library.
- Linux: DuckDuckGo it!
- macOS: <kbd>Option</kbd> + <kbd>s</kbd>
- Windows: <kbd>Alt</kbd> + <kbd>2</kbd><kbd>2</kbd><kbd>5</kbd>
```js
import ß from 'bhala';
import { B } from 'bhala';
ß.log('Here is a wonderful log.');
ß.event('Here is a wonderful event.');
B.log('Here is a wonderful log.');
B.event('Here is a wonderful event.');
```

@@ -88,6 +80,2 @@

#### `EMO`
List of emoji keys that should named like you do in Markdown, i.e.: `computer` for `:computer:`.
### Methods

@@ -98,3 +86,3 @@

```ts
ß.debug(...messages: string[])
B.debug(...messages: string[])
```

@@ -105,3 +93,3 @@

```ts
ß.error(...messages: string[])
B.error(...messages: string[])
```

@@ -112,3 +100,3 @@

```ts
ß.event(...messages: string[])
B.event(...messages: string[])
```

@@ -119,3 +107,3 @@

```ts
ß.info(...messages: string[])
B.info(...messages: string[])
```

@@ -126,3 +114,3 @@

```ts
ß.log(...messages: string[])
B.log(...messages: string[])
```

@@ -133,3 +121,3 @@

```ts
ß.success(...messages: string[])
B.success(...messages: string[])
```

@@ -140,12 +128,3 @@

```ts
ß.warn(...messages: string[])
B.warn(...messages: string[])
```
## Name
You may wonder why "bhala"? It means "write" in Zulu, which you can learn [how to conjugate][link-bhala] (ngibhala,
ubhala, etc) if you also love learning new languages 😉.
---
[link-bhala]: https://en.wikipedia.org/wiki/Zulu_grammar#Verbs

Sorry, the diff of this file is not supported yet

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