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

conf.js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conf.js - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.hound.yml

10

build/conf.js

@@ -1,3 +0,3 @@

var ConfJS, fs, path, _,
__slice = [].slice;
var ConfJS, _, fs, path,
slice = [].slice;

@@ -37,3 +37,3 @@ _ = require('lodash-contrib');

if (key == null) {
return;
return this._data;
}

@@ -49,4 +49,4 @@ return _.getPath(this._data, key);

var objects;
objects = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
return _.extend.apply(_, [this._data].concat(__slice.call(objects)));
objects = 1 <= arguments.length ? slice.call(arguments, 0) : [];
return _.extend.apply(_, [this._data].concat(slice.call(objects)));
};

@@ -53,0 +53,0 @@

{
"name": "conf.js",
"version": "1.0.0",
"version": "1.1.0",
"description": "Support per-user and per-project configuration files out of the box",

@@ -5,0 +5,0 @@ "main": "build/conf.js",

@@ -101,2 +101,4 @@ conf.js

If you pass no key to `settings.get()`, then you will get back all the settings.
### settings.has(key)

@@ -149,2 +151,9 @@

ChangeLog
---------
### v1.1.0
- The `get()` function returns all settings if no key.
License

@@ -151,0 +160,0 @@ -------

Sorry, the diff of this file is not supported yet

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