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.1.2 to 0.1.3

4

lib/loader.js

@@ -54,3 +54,3 @@ "use strict";

for (const content of contents) {
if (!content.isDirectory() && content.name.startsWith("index.")) {
if (!content.isDirectory() && /^_?index\./.exec(content.name) !== null) {
(0, lodash_merge_1.default)(baseObj, Loader.loadFile(path_1.default.join(folder, content.name)));

@@ -70,3 +70,3 @@ }

else {
if (content.name.startsWith("index.")) {
if (/^_?index\./.exec(content.name) !== null) {
// we already loaded this to be be in the base config

@@ -73,0 +73,0 @@ continue;

{
"name": "@incanta/config",
"version": "0.1.2",
"version": "0.1.3",
"main": "lib/index.js",

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

@@ -54,3 +54,3 @@ import fs from "fs";

for (const content of contents) {
if (!content.isDirectory() && content.name.startsWith("index.")) {
if (!content.isDirectory() && /^_?index\./.exec(content.name) !== null) {
merge(baseObj, Loader.loadFile(path.join(folder, content.name)));

@@ -75,3 +75,3 @@ }

} else {
if (content.name.startsWith("index.")) {
if (/^_?index\./.exec(content.name) !== null) {
// we already loaded this to be be in the base config

@@ -78,0 +78,0 @@ continue;

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