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

@loglin/reporter-console

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loglin/reporter-console - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Change Log

2

dist/reporter-console.cjs.js
/*!
* @loglin/reporter-console v0.0.4
* @loglin/reporter-console v0.0.6
* (c) 2021 Marvin Rudolph

@@ -4,0 +4,0 @@ * @license MIT

@@ -1,42 +0,49 @@

import chalk from 'chalk';
import { CreatedReporter } from 'loglin';
import { FormatterFunction } from 'loglin';
import { LogLevels } from 'loglin';
import chalk from 'chalk'
import { CreatedReporter } from 'loglin'
import { FormatterFunction } from 'loglin'
import { LogLevels } from 'loglin'
export declare const basicFormatter: FormatterFunction;
export declare const basicFormatter: FormatterFunction
export declare function chalkBgColor(name: string): chalk.Chalk;
export declare function chalkBgColor(name: string): chalk.Chalk
export declare function chalkColor(name: string): chalk.Chalk;
export declare function chalkColor(name: string): chalk.Chalk
export declare type ColorsConfig = Partial<Record<LogLevels, Partial<LevelColor>>>;
export declare type ColorsConfig = Partial<
Record<LogLevels, Partial<LevelColor>>
>
export declare const consoleReporter: CreatedReporter;
export declare const consoleReporter: CreatedReporter
export declare const createLabel: (level: LogLevels, colors?: LevelColors) => string;
export declare const createLabel: (
level: LogLevels,
colors?: LevelColors
) => string
export declare const defaultColors: LevelColors;
export declare const defaultColors: LevelColors
export declare const fancyFormatter: FormatterFunction<FancyFormatterOptions>;
export declare const fancyFormatter: FormatterFunction<FancyFormatterOptions>
export declare interface FancyFormatterOptions {
colors?: ColorsConfig;
colors?: ColorsConfig
}
export declare function formatError(error: Error): string | undefined;
export declare function formatError(error: Error): string | undefined
export declare const isThemeTextColor: (color: string) => boolean;
export declare const isThemeTextColor: (color: string) => boolean
export declare interface LevelColor {
text: string;
labelBackground: string;
labelText: string;
text: string
labelBackground: string
labelText: string
}
export declare type LevelColors = Record<LogLevels, LevelColor>;
export declare type LevelColors = Record<LogLevels, LevelColor>
export declare function mergeColors(colors: ColorsConfig): Record<LogLevels, LevelColor>;
export declare function mergeColors(
colors: ColorsConfig
): Record<LogLevels, LevelColor>
export declare function parseStack(stack: string): string[];
export declare function parseStack(stack: string): string[]
export { }
export {}
/*!
* @loglin/reporter-console v0.0.4
* @loglin/reporter-console v0.0.6
* (c) 2021 Marvin Rudolph

@@ -4,0 +4,0 @@ * @license MIT

{
"name": "@loglin/reporter-console",
"version": "0.0.5",
"version": "0.0.6",
"description": "@loglin/reporter-console",

@@ -20,3 +20,3 @@ "repository": {

"chalk": "^4.1.0",
"loglin": "^0.0.5"
"loglin": "^0.0.6"
},

@@ -26,3 +26,17 @@ "publishConfig": {

},
"gitHead": "04a9fd64bbdb32751b1bd9460869ea78399557c9"
"keywords": [
"fast",
"logger",
"node",
"simple",
"typescript",
"types",
"reporter",
"console",
"fancy"
],
"scripts": {
"release": "node updateVersions && node ../../scripts/release.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path ."
}
}
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