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

@knit/logger

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knit/logger - npm Package Compare versions

Comparing version 0.0.37 to 0.1.0

16

dist/lib/index.js
'use strict';
/* @flow weak */
var chalk = require('chalk');
var updateRdrr = require('listr-update-renderer');
var silentRdrr = require('listr-silent-renderer');
var verboseRdrr = require('listr-verbose-renderer');

@@ -73,4 +72,13 @@

exports.getRenderer = function () {
return process.stdout.isTTY ? updateRdrr : verboseRdrr;
exports.getRenderer = function (_ref) {
var silent = _ref.silent,
verbose = _ref.verbose;
if (silent) {
return silentRdrr;
} else if (verbose) {
return verboseRdrr;
}
return updateRdrr;
};

@@ -26,10 +26,12 @@ {

"description": "cli logger",
"version": "0.0.37",
"main": "dist/lib/index.js",
"version": "0.1.0",
"main": "/Users/swilson/Documents/Development/js/knitjs/knit/dist/lib/index.js",
"dependencies": {
"chalk": "1.1.3",
"listr-silent-renderer": "^1.1.1",
"listr-update-renderer": "0.1.2",
"listr-verbose-renderer": "0.1.0"
"listr-verbose-renderer": "^0.2.1"
},
"peerDependencies": {}
"peerDependencies": {},
"optionalDependencies": {}
}
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