New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mm_config

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mm_config - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

config.json
{
"name": "test",
"state": 2,
"sort": 2
"age": 26
}

@@ -14,2 +14,5 @@ require("mm_expand");

_config = _jsonFile.loadJson();
if (!_config) {
_config = {};
}
}

@@ -16,0 +19,0 @@ return new Proxy(_config, {

{
"name": "mm_config",
"version": "1.0.5",
"version": "1.0.6",
"description": "这是超级美眉配置同步器,用于更改配置同步保存为JSON文件",

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

@@ -10,9 +10,13 @@ var conf = require('./index.js');

this.filename = "./config.json";
var config = conf({
name: "demo",
state: 2
});
config.name = "test";
config.sort = 2;
// var config = conf({
// name: "demo",
// state: 2
// });
// config.name = "test";
// config.sort = 2;
config = conf(null, this.filename);
console.log(config);
config.age = 26;
}
test();
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