Socket
Socket
Sign inDemoInstall

@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 2.1.1 to 3.0.0

4

lib/index.d.ts

@@ -1,5 +0,5 @@

import logger, { Logger, storeLogger, StoreLogger } from './logger';
import logger, { Logger } from './logger';
import streamParser, { createStreamParser, LogBase } from './streamParser';
import writeToConsole from './writeToConsole';
export default logger;
export { streamParser, storeLogger, StoreLogger, createStreamParser, writeToConsole, LogBase, Logger, };
export { streamParser, createStreamParser, writeToConsole, LogBase, Logger, };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const logger_1 = require("./logger");
exports.storeLogger = logger_1.storeLogger;
const streamParser_1 = require("./streamParser");

@@ -6,0 +5,0 @@ exports.streamParser = streamParser_1.default;

@@ -17,8 +17,1 @@ declare const _default: Logger<object>;

}
export declare const storeLogger: StoreLogger<object>;
export interface StoreLogger<T> {
debug: (log?: T) => void;
info: (message: string) => void;
warn: (message: string) => void;
error: (err: Error, log?: string | Error) => void;
}

@@ -6,3 +6,2 @@ "use strict";

exports.default = bole('pnpm');
exports.storeLogger = bole('pnpm:store');
//# sourceMappingURL=logger.js.map
{
"name": "@pnpm/logger",
"version": "2.1.1",
"description": "Logger for pnpm",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"test": "tslint -c tslint.json --project . && preview && ts-node test --type-check",
"tsc": "rimraf lib && tsc",
"prepublishOnly": "npm run tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pnpm/logger.git"
},
"engines": {
"node": ">=6"
},
"keywords": [
"pnpm",
"logger"
],
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io/",
"twitter": "ZoltanKochan"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/pnpm/logger/issues"
},
"homepage": "https://github.com/pnpm/logger#readme",
"dependencies": {
"bole": "^3.0.2",
"ndjson": "^1.5.0"
},
"devDependencies": {
"@types/node": "^12.0.3",
"@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",
"rimraf": "^2.5.4",
"tape": "^4.8.0",
"ts-node": "^8.2.0",
"tslint": "^5.0.0",
"typescript": "^3.0.0",
"validate-commit-msg": "^2.8.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"ghooks": {
"commit-msg": "node ./node_modules/validate-commit-msg/index.js"
}
},
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
}
"name": "@pnpm/logger",
"version": "3.0.0",
"description": "Logger for pnpm",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"test": "tslint -c tslint.json --project . && preview && ts-node test --type-check",
"tsc": "rimraf lib && tsc",
"prepublishOnly": "npm run tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pnpm/logger.git"
},
"engines": {
"node": ">=10"
},
"keywords": [
"pnpm",
"logger"
],
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io/",
"twitter": "ZoltanKochan"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/pnpm/logger/issues"
},
"homepage": "https://github.com/pnpm/logger#readme",
"dependencies": {
"bole": "^3.0.2",
"ndjson": "^1.5.0"
},
"devDependencies": {
"@types/node": "^12.0.3",
"@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",
"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"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"ghooks": {
"commit-msg": "node ./node_modules/validate-commit-msg/index.js"
}
},
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
}
}

Sorry, the diff of this file is not supported yet

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