@4lch4/logger
Advanced tools
Comparing version 1.8.1 to 1.8.2
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133416
687
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removedchalk@5.4.1(transitive)
Updatedchalk@^4