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

yargs-unparser

Package Overview
Dependencies
Maintainers
19
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yargs-unparser - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

11

index.js

@@ -5,8 +5,3 @@ 'use strict';

const flatten = require('flat');
const castArray = require('lodash/castArray');
const some = require('lodash/some');
const isPlainObject = require('lodash/isPlainObject');
const camelCase = require('lodash/camelCase');
const kebabCase = require('lodash/kebabCase');
const omitBy = require('lodash/omitBy');
const {castArray, some, isPlainObject, camelCase, kebabCase, omitBy} = require('lodash');

@@ -43,3 +38,5 @@ function isAlias(key, alias) {

for (const flattenedKey in flattened) {
unparseOption(`${key}.${flattenedKey}`, flattened[flattenedKey], unparsed);
if (!isCamelCased(flattenedKey, flattened)) {
unparseOption(`${key}.${flattenedKey}`, flattened[flattenedKey], unparsed);
}
}

@@ -46,0 +43,0 @@ // Fallback case (numbers and other types)

{
"name": "yargs-unparser",
"description": "Converts back a yargs argv object to its original array form",
"version": "1.5.0",
"version": "1.5.1",
"keywords": [

@@ -34,3 +34,3 @@ "yargs",

"scripts": {
"posttag": "git push --follow-tags origin master && npm publish"
"posttag": "git push --follow-tags origin master"
}

@@ -50,18 +50,18 @@ },

"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"eslint": "^5.9.0",
"eslint-config-moxy": "^6.1.1",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"eslint": "^6.1.0",
"eslint-config-moxy": "^7.1.0",
"husky": "^3.0.1",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"minimist": "^1.2.0",
"standard-version": "^4.4.0",
"yargs-parser": "^11.1.1"
"standard-version": "^7.0.0",
"yargs-parser": "^13.1.1"
},
"dependencies": {
"flat": "^4.1.0",
"lodash": "^4.17.11",
"yargs": "^12.0.5"
"lodash": "^4.17.15",
"yargs": "^13.3.0"
}
}

@@ -58,3 +58,3 @@ # yargs-unparser

const yargs = require('yargs');
const unparse = require('yargs-unparse');
const unparse = require('yargs-unparser');

@@ -61,0 +61,0 @@ const argv = yargs

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