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

help

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

help - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

14

index.js
'use strict'
var path = require('path')
, fs = require('fs')
const path = require('path')
const fs = require('fs')

@@ -15,8 +15,10 @@ module.exports = function(file, stream) {

return function(code) {
var rs = fs.createReadStream(file)
const rs = fs.createReadStream(file)
rs.pipe(stream)
rs.on('close', function() {
if (code) process.exitCode = code
})
if (code) {
rs.on('close', function() {
process.exitCode = code
})
}
}
}
{
"name": "help",
"version": "3.0.1",
"version": "3.0.2",
"description": "substack way of --help",

@@ -5,0 +5,0 @@ "main": "index.js",

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