Socket
Socket
Sign inDemoInstall

optimist

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optimist - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

test/_.js

3

index.js

@@ -5,3 +5,4 @@ module.exports = Argv;

// Hack to work when loaded with CoffeeScript
if (process.argv.length < 2 || process.argv[0] != 'node') {
if (process.argv.length < 2
|| !process.argv[0].match(/(?:^|\/)node(?:-?\d+(?:\.\d+)*)?$/)) {
process.argv = ['coffee', ''].concat(process.argv);

@@ -8,0 +9,0 @@ }

{
"name" : "optimist",
"version" : "0.1.4",
"version" : "0.1.5",
"description" : "Light-weight option parsing with an argv hash. No optstrings attached.",

@@ -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