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

commoner

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commoner - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

9

lib/commoner.js

@@ -309,7 +309,8 @@ var assert = require("assert");

if (configFile === stdin) {
log.err(
return util.readJsonFromStdinP(
1000, // Time limit in milliseconds before warning displayed.
"Expecting configuration from STDIN (pass --config <file> " +
"if stuck here)...",
"yellow");
return util.readJsonFromStdinP();
"if stuck here)...",
"yellow"
);
}

@@ -316,0 +317,0 @@

@@ -15,3 +15,3 @@ var assert = require("assert");

// buffer against EMFILE (too many open files) errors.
fs.MAX_OPEN = 50;
fs.MAX_OPEN = 512;

@@ -110,3 +110,3 @@ function makePromise(callback, context) {

function readFromStdinP(timeLimit) {
function readFromStdinP(timeLimit, message, color) {
var deferred = Q.defer();

@@ -122,5 +122,5 @@ var stdin = process.stdin;

log.err(
"Warning: still waiting for STDIN after " +
timeLimit + "ms",
"yellow"
message || ("Warning: still waiting for STDIN after " +
timeLimit + "ms"),
color || "yellow"
);

@@ -127,0 +127,0 @@ }, timeLimit);

@@ -17,3 +17,3 @@ {

],
"version": "0.8.4",
"version": "0.8.5",
"license": "MIT",

@@ -20,0 +20,0 @@ "homepage": "http://github.com/benjamn/commoner",

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