Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/logger

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/logger - npm Package Compare versions

Comparing version 3.2.3 to 4.0.0-0

17

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc