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

wild-config

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

wild-config - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

11

index.js

@@ -232,5 +232,5 @@ /* eslint no-console: 0, global-require: 0 */

if (typeof eParent[key] === 'number') {
cParent[key] = Number(cParent[key]);
} else if (typeof eParent[key] === 'boolean') {
if (typeof cParent[key] === 'number') {
eParent[key] = Number(eParent[key]);
} else if (typeof cParent[key] === 'boolean') {
if (!isNaN(value)) {

@@ -242,8 +242,7 @@ value = Number(value);

let falsy = ['false', 'null', 'undefined', 'no', '0', '', 0];
cParent[key] = falsy.includes(value) ? false : !!value;
} else {
cParent[key] = eParent[key];
eParent[key] = falsy.includes(value) ? false : !!value;
}
});
};
if (Object.keys(argv || {}).length) {

@@ -250,0 +249,0 @@ walkConfig(data, argv);

{
"name": "wild-config",
"version": "1.3.4",
"version": "1.3.5",
"description": "Configuration management module",

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