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

@incanta/config

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@incanta/config - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

lib/loader.js

@@ -65,4 +65,6 @@ "use strict";

}
const newObj = Loader.convertKebabToCamelCase(obj);
return newObj;
if (typeof obj === "object" && obj !== null && !Array.isArray(obj)) {
obj = Loader.convertKebabToCamelCase(obj);
}
return obj;
}

@@ -69,0 +71,0 @@ static load(folder) {

{
"name": "@incanta/config",
"version": "0.2.0",
"version": "0.2.1",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "exports": {

@@ -72,5 +72,7 @@ import fs from "fs";

const newObj = Loader.convertKebabToCamelCase(obj);
if (typeof obj === "object" && obj !== null && !Array.isArray(obj)) {
obj = Loader.convertKebabToCamelCase(obj);
}
return newObj;
return obj;
}

@@ -77,0 +79,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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