@pnpm/logger
Advanced tools
Comparing version 3.2.3 to 4.0.0-0
@@ -1,13 +0,6 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.writeToConsole = exports.createStreamParser = exports.streamParser = exports.globalWarn = exports.globalInfo = void 0; | ||
const logger_1 = require("./logger"); | ||
Object.defineProperty(exports, "globalInfo", { enumerable: true, get: function () { return logger_1.globalInfo; } }); | ||
Object.defineProperty(exports, "globalWarn", { enumerable: true, get: function () { return logger_1.globalWarn; } }); | ||
const streamParser_1 = require("./streamParser"); | ||
exports.streamParser = streamParser_1.default; | ||
Object.defineProperty(exports, "createStreamParser", { enumerable: true, get: function () { return streamParser_1.createStreamParser; } }); | ||
const writeToConsole_1 = require("./writeToConsole"); | ||
exports.writeToConsole = writeToConsole_1.default; | ||
exports.default = logger_1.default; | ||
import logger, { globalInfo, globalWarn, } from './logger'; | ||
import streamParser, { createStreamParser, } from './streamParser'; | ||
import writeToConsole from './writeToConsole'; | ||
export default logger; | ||
export { globalInfo, globalWarn, streamParser, createStreamParser, writeToConsole, }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,16 +0,11 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.globalInfo = exports.globalWarn = void 0; | ||
const bole = require("bole"); | ||
import bole from 'bole'; | ||
bole.setFastTime(); | ||
exports.default = bole('pnpm'); | ||
export default bole('pnpm'); | ||
const globalLogger = bole('pnpm:global'); | ||
function globalWarn(message) { | ||
export function globalWarn(message) { | ||
globalLogger.warn(message); | ||
} | ||
exports.globalWarn = globalWarn; | ||
function globalInfo(message) { | ||
export function globalInfo(message) { | ||
globalLogger.info(message); | ||
} | ||
exports.globalInfo = globalInfo; | ||
//# sourceMappingURL=logger.js.map |
@@ -1,8 +0,5 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createStreamParser = void 0; | ||
const bole = require("bole"); | ||
const ndjson = require("ndjson"); | ||
exports.default = createStreamParser(); | ||
function createStreamParser() { | ||
import bole from 'bole'; | ||
import ndjson from 'ndjson'; | ||
export default createStreamParser(); | ||
export function createStreamParser() { | ||
const sp = ndjson.parse(); | ||
@@ -16,3 +13,2 @@ bole.output([ | ||
} | ||
exports.createStreamParser = createStreamParser; | ||
//# sourceMappingURL=streamParser.js.map |
@@ -1,5 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const bole = require("bole"); | ||
function default_1() { | ||
import bole from 'bole'; | ||
export default function () { | ||
bole.output([ | ||
@@ -11,3 +9,2 @@ { | ||
} | ||
exports.default = default_1; | ||
//# sourceMappingURL=writeToConsole.js.map |
{ | ||
"name": "@pnpm/logger", | ||
"version": "3.2.3", | ||
"version": "4.0.0-0", | ||
"description": "Logger for pnpm", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"type": "module", | ||
"files": [ | ||
@@ -21,3 +22,3 @@ "lib", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12" | ||
}, | ||
@@ -24,0 +25,0 @@ "keywords": [ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Yes
5824
77
1