New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

confi

Package Overview
Dependencies
Maintainers
7
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confi - npm Package Compare versions

Comparing version 9.2.3 to 9.3.0

.nyc_output/1dbf91ca589363103d03281e075eb626.json

4

lib/truthy.js

@@ -1,2 +0,2 @@

module.exports = function(val) {
module.exports = function(val, defaultVal = false) {
// boolean truthiness is automatic:

@@ -19,4 +19,4 @@ if (typeof val === 'boolean') {

if (val === undefined || val === null) {
return false;
return defaultVal;
}
};
{
"name": "confi",
"description": "a simple configuration library",
"version": "9.2.3",
"version": "9.3.0",
"homepage": "https://github.com/firstandthird/confi",

@@ -6,0 +6,0 @@ "author": "First+Third",

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