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

@incanta/config

Package Overview
Dependencies
Maintainers
0
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.5.6 to 0.5.7

1

lib/loader.d.ts

@@ -5,2 +5,3 @@ import Config from "./config";

parentNames?: string[];
loadedNames?: string[];
}

@@ -7,0 +8,0 @@ export declare class Loader {

@@ -127,2 +127,5 @@ "use strict";

if (parentFolder) {
if (options.loadedNames?.includes(parentName)) {
continue;
}
const parentOptions = Loader.readConfigSettings(parentFolder);

@@ -132,2 +135,5 @@ (0, lodash_merge_1.default)(baseObj, Loader.loadRoot(parentFolder, {

parentNames: parentOptions.parentNames,
loadedNames: options.loadedNames
? [...options.loadedNames, parentName]
: [parentName],
}, config));

@@ -134,0 +140,0 @@ }

2

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

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

@@ -12,2 +12,3 @@ import fs from "fs";

parentNames?: string[];
loadedNames?: string[];
}

@@ -166,2 +167,6 @@

if (parentFolder) {
if (options.loadedNames?.includes(parentName)) {
continue;
}
const parentOptions = Loader.readConfigSettings(parentFolder);

@@ -175,2 +180,5 @@ merge(

parentNames: parentOptions.parentNames,
loadedNames: options.loadedNames
? [...options.loadedNames, parentName]
: [parentName],
},

@@ -177,0 +185,0 @@ config

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