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

simcfg

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simcfg - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

7

dist/Config.js

@@ -50,5 +50,3 @@ import { readFileSync, promises, writeFileSync } from 'fs';

}
if (this.config.hasOwnProperty(key))
this.config[key] = value;
else if (key.indexOf(".") != -1) {
if (key.indexOf(".") != -1) {
const tree = key.split(".");

@@ -63,2 +61,5 @@ let newKey = tree[0];

}
else {
this.config[key] = value;
}
return this;

@@ -65,0 +66,0 @@ }

{
"name": "simcfg",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple module for managing configuration files",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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