@pnpm/logger
Advanced tools
Comparing version 3.1.1 to 3.2.0
import logger, { globalInfo, globalWarn, Logger } from './logger'; | ||
import streamParser, { createStreamParser, LogBase } from './streamParser'; | ||
import streamParser, { createStreamParser, LogBase, LOG_LEVEL } from './streamParser'; | ||
import writeToConsole from './writeToConsole'; | ||
export default logger; | ||
export { globalInfo, globalWarn, streamParser, createStreamParser, writeToConsole, LogBase, Logger, }; | ||
export { globalInfo, globalWarn, streamParser, createStreamParser, writeToConsole, LogBase, LOG_LEVEL, Logger, }; |
@@ -0,1 +1,2 @@ | ||
export declare type LOG_LEVEL = 'error' | 'warn' | 'info' | 'debug'; | ||
export declare type LogBase = ({ | ||
@@ -7,3 +8,5 @@ level: 'debug' | 'error'; | ||
message: string; | ||
}); | ||
}) & { | ||
level: LOG_LEVEL; | ||
}; | ||
export declare type Reporter = (logObj: LogBase) => void; | ||
@@ -10,0 +13,0 @@ export interface StreamParser { |
{ | ||
"name": "@pnpm/logger", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"description": "Logger for pnpm", | ||
@@ -44,22 +44,11 @@ "main": "lib/index.js", | ||
"@types/tape": "^4.2.31", | ||
"commitizen": "^3.0.0", | ||
"ghooks": "^2.0.0", | ||
"mos": "^2.0.0-alpha.3", | ||
"mos-plugin-readme": "^1.0.4", | ||
"package-preview": "^2.0.0", | ||
"package-preview": "^3.0.0", | ||
"rimraf": "^3.0.0", | ||
"tape": "^4.8.0", | ||
"ts-node": "^8.2.0", | ||
"tslint": "^5.0.0", | ||
"typescript": "^3.0.0", | ||
"validate-commit-msg": "^2.8.2" | ||
"tslint": "^6.0.0", | ||
"typescript": "^3.0.0" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
}, | ||
"ghooks": { | ||
"commit-msg": "node ./node_modules/validate-commit-msg/index.js" | ||
} | ||
}, | ||
"mos": { | ||
@@ -66,0 +55,0 @@ "plugins": [ |
Sorry, the diff of this file is not supported yet
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
10
93
7591