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.1 to 0.2.2

12

lib/loader.js

@@ -23,2 +23,14 @@ "use strict";

}
else if (Array.isArray(obj[key])) {
newObj[key] = obj[key].map((item) => {
if (typeof item === "object" &&
!Array.isArray(item) &&
item !== null) {
return Loader.convertKebabToCamelCase(item);
}
else {
return item;
}
});
}
else {

@@ -25,0 +37,0 @@ newObj[key] = obj[key];

2

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

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

@@ -24,2 +24,14 @@ import fs from "fs";

newObj[key] = Loader.convertKebabToCamelCase(obj[key]);
} else if (Array.isArray(obj[key])) {
newObj[key] = obj[key].map((item: any) => {
if (
typeof item === "object" &&
!Array.isArray(item) &&
item !== null
) {
return Loader.convertKebabToCamelCase(item);
} else {
return item;
}
});
} else {

@@ -26,0 +38,0 @@ newObj[key] = obj[key];

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