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

e2e-conf

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

e2e-conf - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

cli.js

@@ -31,3 +31,3 @@ /**

if (uploadPath) {
fs.readJsonFile(uploadPath, function (err, actualConfig) {
fs.readJson(uploadPath, function (err, actualConfig) {
if (err) {

@@ -34,0 +34,0 @@ if (err instanceof SyntaxError) {

@@ -166,3 +166,3 @@ /**

function (dirName, callback) {
fs.readJsonFile(self.defaultFileName, function (err, defaultConf) {
fs.readJson(self.defaultFileName, function (err, defaultConf) {
callback(err, defaultConf);

@@ -175,3 +175,3 @@ });

if( diff === undefined) {
fs.delete(self.localFileName, callback);
fs.remove(self.localFileName, callback);
} else {

@@ -178,0 +178,0 @@ fs.writeFile(self.localFileName, JSON.stringify(diff, null, ' '), callback);

{
"name": "e2e-conf",
"version": "3.0.2",
"version": "3.0.3",
"main": "conf.js",
"dependencies": {
"nconf": "^0.7.1",
"fs-extra": "^0.16.3",
"async": "^0.9.0",
"nconf": "^0.10.0",
"fs-extra": "^8.1.0",
"async": "^3.1.0",
"exit": "^0.1.2",

@@ -13,3 +13,3 @@ "argparse": "^1.0.10"

"devDependencies": {
"nodeunit": "^0.9.0"
"nodeunit": "^0.11.3"
},

@@ -16,0 +16,0 @@ "author": {

@@ -0,0 +0,0 @@ # e2e-conf - Easy Configuration for E2E Bridge Node.js Services

@@ -0,0 +0,0 @@ /**

{
"hello": "changed"
}

@@ -24,3 +24,3 @@ /**

this.conf.cleanUp();
fs.deleteSync(this.basePath);
fs.removeSync(this.basePath);

@@ -27,0 +27,0 @@ callback();

@@ -0,0 +0,0 @@ /**

@@ -24,3 +24,3 @@ /**

this.conf.cleanUp();
fs.deleteSync(this.basePath);
fs.removeSync(this.basePath);

@@ -44,3 +44,3 @@ callback();

test.deepEqual(fs.readJsonFileSync(conf.localFile()),
test.deepEqual(fs.readJsonSync(conf.localFile()),
{

@@ -88,3 +88,3 @@ hello: 'changed'

test.deepEqual(fs.readJsonFileSync(conf.localFile()),
test.deepEqual(fs.readJsonSync(conf.localFile()),
{

@@ -91,0 +91,0 @@ "hello": "changed",

@@ -24,3 +24,3 @@ /**

this.conf.cleanUp();
fs.deleteSync(this.basePath);
fs.removeSync(this.basePath);

@@ -73,3 +73,3 @@ callback();

conf.init(self.basePath);
test.deepEqual(fs.readJsonFileSync(conf.localFile()),
test.deepEqual(fs.readJsonSync(conf.localFile()),
{

@@ -131,3 +131,3 @@ hello: 'changed'

this.conf.cleanUp();
fs.deleteSync(this.basePath);
fs.removeSync(this.basePath);

@@ -154,3 +154,3 @@ callback();

conf.init(self.basePath);
test.deepEqual(fs.readJsonFileSync(conf.localFile()),
test.deepEqual(fs.readJsonSync(conf.localFile()),
{

@@ -182,3 +182,3 @@ connection: {user: 'changed', passwd: 'changed'}

conf.init(self.basePath);
test.deepEqual(fs.readJsonFileSync(conf.localFile()),
test.deepEqual(fs.readJsonSync(conf.localFile()),
{

@@ -213,3 +213,3 @@ connection: {user: 'local', passwd: 'local'},

conf.init(self.basePath);
test.deepEqual(fs.readJsonFileSync(conf.localFile()),
test.deepEqual(fs.readJsonSync(conf.localFile()),
{

@@ -216,0 +216,0 @@ connection: {user: 'local', passwd: 'local'},

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

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