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.4.2 to 0.4.3

7

lib/loader.js

@@ -128,3 +128,8 @@ "use strict";

}
(0, lodash_merge_1.default)(baseObj, Loader.load(path_1.default.join(folder, "..", parentName), options));
const parentFolder = path_1.default.join(folder, "..", parentName);
const parentOptions = Loader.readConfigSettings(parentFolder);
(0, lodash_merge_1.default)(baseObj, Loader.loadRoot(parentFolder, {
...options,
parentNames: parentOptions.parentNames,
}));
}

@@ -131,0 +136,0 @@ }

2

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

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

@@ -161,5 +161,10 @@ import fs from "fs";

}
const parentFolder = path.join(folder, "..", parentName);
const parentOptions = Loader.readConfigSettings(parentFolder);
merge(
baseObj,
Loader.load(path.join(folder, "..", parentName), options)
Loader.loadRoot(parentFolder, {
...options,
parentNames: parentOptions.parentNames,
})
);

@@ -166,0 +171,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