color-loggers
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -45,3 +45,3 @@ "use strict"; | ||
function Blue(prefix) { | ||
if (prefix === void 0) { prefix = '[Info]:'; } | ||
if (prefix === void 0) { prefix = '[Info]: '; } | ||
return _super.call(this, styles_1.default.FgBlue, prefix) || this; | ||
@@ -55,3 +55,3 @@ } | ||
function Green(prefix) { | ||
if (prefix === void 0) { prefix = '[Done]:'; } | ||
if (prefix === void 0) { prefix = '[Done]: '; } | ||
return _super.call(this, styles_1.default.FgGreen, prefix) || this; | ||
@@ -65,3 +65,3 @@ } | ||
function Red(prefix) { | ||
if (prefix === void 0) { prefix = '[Error]:'; } | ||
if (prefix === void 0) { prefix = '[Error]: '; } | ||
return _super.call(this, styles_1.default.FgRed, prefix) || this; | ||
@@ -75,3 +75,3 @@ } | ||
function Yellow(prefix) { | ||
if (prefix === void 0) { prefix = '[Warn]:'; } | ||
if (prefix === void 0) { prefix = '[Warn]: '; } | ||
return _super.call(this, styles_1.default.FgYellow, prefix) || this; | ||
@@ -78,0 +78,0 @@ } |
{ | ||
"name": "color-loggers", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"license": "MIT", | ||
@@ -13,5 +13,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/node": "^20.14.11", | ||
"@typescript-eslint/eslint-plugin": "^7.16.1", | ||
"@typescript-eslint/parser": "^7.16.1", | ||
"@types/node": "^22.1.0", | ||
"@typescript-eslint/eslint-plugin": "^8.0.1", | ||
"@typescript-eslint/parser": "^8.0.1", | ||
"eslint": "8.57.0", | ||
@@ -24,5 +24,5 @@ "eslint-config-alloy": "^5.1.2", | ||
"ts-node": "^10.9.2", | ||
"ttpt": "^0.9.6", | ||
"typescript": "^5.5.3", | ||
"yarn-upgrade-all": "^0.7.2" | ||
"ttpt": "^0.10.2", | ||
"typescript": "^5.5.4", | ||
"yarn-upgrade-all": "^0.7.4" | ||
}, | ||
@@ -29,0 +29,0 @@ "yarn-upgrade-all": { |
@@ -31,3 +31,3 @@ import Styles from './styles'; | ||
export class Blue extends Color { | ||
public constructor(prefix: Prefix = '[Info]:') { | ||
public constructor(prefix: Prefix = '[Info]: ') { | ||
super(Styles.FgBlue, prefix); | ||
@@ -38,3 +38,3 @@ } | ||
export class Green extends Color { | ||
public constructor(prefix: Prefix = '[Done]:') { | ||
public constructor(prefix: Prefix = '[Done]: ') { | ||
super(Styles.FgGreen, prefix); | ||
@@ -45,3 +45,3 @@ } | ||
export class Red extends Color { | ||
public constructor(prefix: Prefix = '[Error]:') { | ||
public constructor(prefix: Prefix = '[Error]: ') { | ||
super(Styles.FgRed, prefix); | ||
@@ -52,3 +52,3 @@ } | ||
export class Yellow extends Color { | ||
public constructor(prefix: Prefix = '[Warn]:') { | ||
public constructor(prefix: Prefix = '[Warn]: ') { | ||
super(Styles.FgYellow, prefix); | ||
@@ -55,0 +55,0 @@ } |
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
55723