Socket
Socket
Sign inDemoInstall

hexo-util

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

hexo-util - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

14

lib/spawn.js

@@ -24,10 +24,13 @@ 'use strict';

var stderrCache = new CacheStream();
var stdout = task.stdout.pipe(stdoutCache);
var stderr = task.stderr.pipe(stderrCache);
if (verbose) {
stdout = stdout.pipe(process.stdout);
stderr = stderr.pipe(process.stderr);
if (task.stdout) {
var stdout = task.stdout.pipe(stdoutCache);
if (verbose) stdout.pipe(process.stdout);
}
if (task.stderr) {
var stderr = task.stderr.pipe(stderrCache);
if (verbose) stderr.pipe(process.stderr);
}
task.on('close', function(code) {

@@ -48,2 +51,3 @@ if (code) {

var buf = stream.getCache();
stream.destroy();
if (!encoding) return buf;

@@ -50,0 +54,0 @@

{
"name": "hexo-util",
"version": "0.4.0",
"version": "0.4.1",
"description": "Utilities for Hexo.",

@@ -5,0 +5,0 @@ "main": "lib/index",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc