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

@erisa/logger

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@erisa/logger - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.codeclimate.yml

14

index.ts
import {Erisa, MiddlewareHandler} from 'erisa';
import tc from 'turbocolor';
import {bgRed, red, bold, black, bgYellow, yellow, bgGreen, green} from 'colorette';

@@ -30,12 +30,12 @@ type DefaultListeners = 'ready' | 'error' | 'warn' | 'guildCreate' | 'guildDelete';

error: {
tagText: tc.bgRed('[ERROR]'),
textFunc: str => tc.red.bold(str)
tagText: bgRed('[ERROR]'),
textFunc: str => red(bold(str))
},
warn: {
tagText: tc.black.bgYellow('[WARN]'),
textFunc: str => tc.yellow.bold(str)
tagText: black(bgYellow('[WARN]')),
textFunc: str => yellow(bold(str))
},
info: {
tagText: tc.black.bgGreen('[INFO]'),
textFunc: str => tc.green.bold(str)
tagText: black(bgGreen('[INFO]')),
textFunc: str => green(bold(str))
}

@@ -42,0 +42,0 @@ } as {[x: string]: LoggerLevel}

{
"name": "@erisa/logger",
"version": "0.0.2",
"description": "The default logging module for Erisa.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/Ovyerus/erisa",
"author": "Ovyerus <iamovyerus@gmail.com>",
"license": "MIT",
"scripts": {
"lint": "tslint -p . -c ../../tslint.json",
"compile": "tsc -p .",
"clean": "rimraf dist",
"build": "npm run clean && npm run compile",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"rimraf": "^2.6.2",
"tslint": "^5.11.0",
"typescript": "^3.0.1"
},
"peerDependencies": {
"erisa": "^0.0.2"
},
"dependencies": {
"turbocolor": "^2.4.1"
},
"publishConfig": {
"access": "public"
}
"name": "@erisa/logger",
"version": "0.0.3",
"description": "The default logging module for Erisa.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/erisaaa/logger",
"author": "Ovyerus <iamovyerus@gmail.com>",
"license": "MIT",
"scripts": {
"test": "mocha",
"coverage": "nyc mocha",
"lint": "tslint -p . -c tslint.json",
"compile": "tsc -p .",
"clean": "rimraf dist",
"build": "npm run clean && npm run compile",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/chai": "^4.1.6",
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.7",
"chai": "^4.2.0",
"erisa": "^0.0.3",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.9",
"test-console": "^1.1.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"peerDependencies": {
"erisa": "^0.0.3"
},
"dependencies": {
"colorette": "^1.0.5"
},
"nyc": {
"include": [
"index.ts"
],
"exclude": [
"test/**/*.test.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"sourceMap": true,
"instrument": true
}
}
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"declaration": true
"target": "es6",
"lib": ["esnext"],
"module": "commonjs",
"allowSyntheticDefaultImports": true,
"strictNullChecks": true,
"esModuleInterop": true
},
"include": [
"index.ts",
],
"exclude": [
"node_modules",
"dist"
"files": [
"index.ts"
]
}
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