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

dargs

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dargs - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

4

index.js

@@ -9,5 +9,5 @@ 'use strict';

name = name.replace(/[A-Z]/g, '-$&').toLowerCase();
var quotedVal = /\W/.test(value) ? ("'" + escape(value) + "'") : value;
//var quotedVal = /\s/.test(value) ? ("'" + escape(value) + "'") : value;
return '--' + name + (value ? "=" + quotedVal : '');
return '--' + name + (value ? "=" + value : '');
};

@@ -14,0 +14,0 @@

{
"name": "dargs",
"version": "2.0.2",
"version": "2.0.3",
"description": "Converts an object of options into an array of command-line arguments",

@@ -5,0 +5,0 @@ "repository": "sindresorhus/dargs",

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