Socket
Socket
Sign inDemoInstall

rasper

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.2 to 0.2.3

6

index.js

@@ -22,6 +22,2 @@ module.exports = (args = process.argv.slice(1)) => {

function exist (value) {
return value ? true : false
}
function getValue (value, index, self) {

@@ -40,3 +36,3 @@ const next = self[index + 1]

if (hasDash(value) && !hasEgual(value)) {
if (hasDash(next) || !exist(next)) {
if (hasDash(next) || !next) {
return value + '=' + 'true'

@@ -43,0 +39,0 @@ }

2

package.json
{
"name": "rasper",
"version": "0.2.2",
"version": "0.2.3",
"description": "Node.js parse argument options make ease.",

@@ -5,0 +5,0 @@ "homepage": "https://cjpatoilo.com/rasper",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc