Socket
Socket
Sign inDemoInstall

yargs-parser

Package Overview
Dependencies
0
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 20.2.5 to 20.2.6

6

build/lib/yargs-parser.js

@@ -173,2 +173,8 @@ import { tokenizeArgString } from './tokenize-arg-string.js';

pushPositional(arg);
// ---, ---=, ----, etc,
}
else if (arg.match(/---+(=|$)/)) {
// options without key name are invalid.
pushPositional(arg);
continue;
// -- separated by =

@@ -175,0 +181,0 @@ }

@@ -5,2 +5,9 @@ # Changelog

### [20.2.6](https://www.github.com/yargs/yargs-parser/compare/v20.2.5...v20.2.6) (2021-02-22)
### Bug Fixes
* **populate--:** -- should always be array ([#354](https://www.github.com/yargs/yargs-parser/issues/354)) ([585ae8f](https://www.github.com/yargs/yargs-parser/commit/585ae8ffad74cc02974f92d788e750137fd65146))
### [20.2.5](https://www.github.com/yargs/yargs-parser/compare/v20.2.4...v20.2.5) (2021-02-13)

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

2

package.json
{
"name": "yargs-parser",
"version": "20.2.5",
"version": "20.2.6",
"description": "the mighty option parser used by yargs",

@@ -5,0 +5,0 @@ "main": "build/index.cjs",

Sorry, the diff of this file is not supported yet

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