@types/signale
Advanced tools
Comparing version 1.2.1 to 1.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for signale 1.2 | ||
// Type definitions for signale 1.4 | ||
// Project: https://github.com/klaussinani/signale | ||
@@ -62,2 +62,3 @@ // Definitions by: Resi Respati <https://github.com/resir014> | ||
uppercaseLabel?: boolean; | ||
logLevel?: string; | ||
} | ||
@@ -126,2 +127,26 @@ | ||
): { label: string; span?: number }; | ||
/** | ||
* Disables the logging functionality of all loggers belonging to a specific instance. | ||
*/ | ||
disable(): void; | ||
/** | ||
* Enables the logging functionality of all loggers belonging to a specific instance. | ||
*/ | ||
enable(): void; | ||
/** | ||
* Checks whether the logging functionality of a specific instance is enabled. | ||
* | ||
* @returns a boolean that describes whether or not the logger is enabled. | ||
*/ | ||
isEnabled(): boolean; | ||
/** | ||
* Adds new secrets/sensitive-information to the targeted Signale instance. | ||
* | ||
* @param secrets Array holding the secrets/sensitive-information to be filtered out. | ||
*/ | ||
addSecrets(secrets: string[] | number[]): void; | ||
/** | ||
* Removes all secrets/sensitive-information from the targeted Signale instance. | ||
*/ | ||
clearSecrets(): void; | ||
} | ||
@@ -128,0 +153,0 @@ |
{ | ||
"name": "@types/signale", | ||
"version": "1.2.1", | ||
"version": "1.4.0", | ||
"description": "TypeScript definitions for signale", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -35,4 +35,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "d21aba25c86f4395290f16e32249c72c9dbed5eef52d533bdbfc2ed63dfc5b75", | ||
"typeScriptVersion": "2.7" | ||
"typesPublisherContentHash": "07253ccd82bdc177df1956e08b0fd1c575ba41fd7bf0fcab48e88936e92ec48d", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for signale ( https://github.com/klaussinani/signale ). | ||
This package contains type definitions for signale (https://github.com/klaussinani/signale). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/signale | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/signale. | ||
Additional Details | ||
* Last updated: Wed, 27 Feb 2019 16:45:18 GMT | ||
* Dependencies: @types/node | ||
### Additional Details | ||
* Last updated: Sun, 15 Mar 2020 01:18:05 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Resi Respati <https://github.com/resir014>, Kingdaro <https://github.com/kingdaro>, Joydip Roy <https://github.com/rjoydip>. | ||
These definitions were written by [Resi Respati](https://github.com/resir014), [Kingdaro](https://github.com/kingdaro), and [Joydip Roy](https://github.com/rjoydip). |
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
8672
155