New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simple-bin-help

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-bin-help - npm Package Compare versions

Comparing version 1.7.6 to 1.7.7

18

index.js
'use strict'
var updateNotifier = require('update-notifier')
var wrap = require('word-wrap')
var debug = require('debug')('simple-bin-help')
const updateNotifier = require('update-notifier')
const wrap = require('word-wrap')
const debug = require('debug')('simple-bin-help')

@@ -29,3 +29,3 @@ function isHelp (arg) {

function getPackage (options) {
var pkg = options.pkg || options.package
let pkg = options.pkg || options.package

@@ -40,8 +40,8 @@ if (!pkg && options.packagePath) {

function showHelp (options) {
var helpMessage = options.help || options.helpMessage
const helpMessage = options.help || options.helpMessage
debug('showHelp options %j', options)
var pkg = getPackage(options)
const pkg = getPackage(options)
var pkgInfo
let pkgInfo
if (pkg) {

@@ -98,3 +98,3 @@ pkgInfo = pkg.name ? pkg.name : ''

var pkg = getPackage(options)
const pkg = getPackage(options)
if (pkg) {

@@ -116,3 +116,3 @@ debug('found package %s %s', pkg.name, pkg.version)

var minArguments = options.minArguments ||
const minArguments = options.minArguments ||
options.min ||

@@ -119,0 +119,0 @@ options.n

@@ -5,3 +5,3 @@ {

"main": "index.js",
"version": "1.7.6",
"version": "1.7.7",
"scripts": {

@@ -13,2 +13,3 @@ "test": "mocha --harmony spec",

"size": "npm pack --dry",
"lint-ci": "standard *.js spec/*.js examples/*.js",
"lint": "standard --fix *.js spec/*.js examples/*.js",

@@ -45,10 +46,10 @@ "basic": "NODE_PATH=.. node examples/basic.js"

"mocha": "5.2.0",
"semantic-release": "^18.0.0",
"standard": "11.0.1"
"semantic-release": "19.0.2",
"standard": "16.0.4"
},
"dependencies": {
"debug": "3.2.7",
"update-notifier": "2.5.0",
"update-notifier": "5.1.0",
"word-wrap": "1.2.3"
}
}
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