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

@4lch4/logger

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4lch4/logger - npm Package Compare versions

Comparing version 1.8.1 to 1.8.2

20

dist/interfaces/IColorOpts.d.ts
import { Color } from 'chalk';
import { Level } from './index.js';
export interface IColorOpts {
[Level.debug]: Color;
[Level.error]: Color;
[Level.info]: Color;
[Level.success]: Color;
[Level.warn]: Color;
[Level.debug]: typeof Color;
[Level.error]: typeof Color;
[Level.info]: typeof Color;
[Level.success]: typeof Color;
[Level.warn]: typeof Color;
}
export interface IColorOptsInput {
[Level.debug]?: string | Color;
[Level.error]?: string | Color;
[Level.info]?: string | Color;
[Level.success]?: string | Color;
[Level.warn]?: string | Color;
[Level.debug]?: string | typeof Color;
[Level.error]?: string | typeof Color;
[Level.info]?: string | typeof Color;
[Level.success]?: string | typeof Color;
[Level.warn]?: string | typeof Color;
}
{
"name": "@4lch4/logger",
"displayName": "Logger",
"version": "1.8.1",
"version": "1.8.2",
"description": "A small utility for logging to console within NodeJS/TypeScript applications.",

@@ -34,3 +34,3 @@ "main": "dist/index.js",

"dependencies": {
"chalk": "^5.0.1",
"chalk": "^4",
"dayjs": "^1.11.3",

@@ -37,0 +37,0 @@ "fs-extra": "^10.1.0"

@@ -0,1 +1,20 @@

/*
* —————————————————————————————————————————————————————————————————————————————
* Project Name — Logger
* Project Version — 1.8.1
* Project Desc. — An API for easily generating a new project or individual components.
* Author — Devin W. Leaman (4lch4)
* Company — 4lch4 Industries, LLC.
* —————————————————————————————————————————————————————————————————————————————
* File Path — /src/interfaces/IColorOpts.ts
* File Created — 2021-10-07 @ 13:12:22-05:00
* Last Modified — 2022-06-17 @ 01:23:56-05:00
* Modified By — Devin W. Leaman (4lch4) (hey@4lch4.email)
* —————————————————————————————————————————————————————————————————————————————
* MIT License ⸺ http://www.opensource.org/licenses/MIT
*
* Copyright (c) 2022, Devin W. Leaman (4lch4) (hey@4lch4.email)
* —————————————————————————————————————————————————————————————————————————————
*/
import { Color } from 'chalk'

@@ -6,7 +25,7 @@ import { Level } from './index.js'

export interface IColorOpts {
[Level.debug]: Color
[Level.error]: Color
[Level.info]: Color
[Level.success]: Color
[Level.warn]: Color
[Level.debug]: typeof Color
[Level.error]: typeof Color
[Level.info]: typeof Color
[Level.success]: typeof Color
[Level.warn]: typeof Color
}

@@ -20,7 +39,7 @@

export interface IColorOptsInput {
[Level.debug]?: string | Color
[Level.error]?: string | Color
[Level.info]?: string | Color
[Level.success]?: string | Color
[Level.warn]?: string | Color
[Level.debug]?: string | typeof Color
[Level.error]?: string | typeof Color
[Level.info]?: string | typeof Color
[Level.success]?: string | typeof Color
[Level.warn]?: string | typeof Color
}

Sorry, the diff of this file is not supported yet

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