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

mm_config

Package Overview
Dependencies
Maintainers
1
Versions
14
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.1 to 1.0.2

3

index.js

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

module.exports = function(_config, _jsonFile){
if(!_jsonFile){
_jsonFile = this.filename;
}
return new Proxy(_config, {

@@ -11,0 +14,0 @@ set: function(obj, prop, value) {

2

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

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

var conf = require('./index.js');
async function test(){
// var config = conf({
// name: "demo",
// state: 1
// }, "./config.json");
this.filename = "./config.json";
var config = conf({
name: "demo",
state: 1
}, "./config.json");
});
config.name = "test";

@@ -9,0 +15,0 @@ config.sort = 1;

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