Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

config-file

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-file - npm Package Compare versions

Comparing version
0.1.5
to
0.1.6
+1
-1
bower.json
{
"name": "config-file",
"version": "0.1.5",
"version": "0.1.6",
"main": [

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

@@ -65,9 +65,9 @@ /**

config.load = function(filename, options) {
var opts = _.extend({}, options);
options = options || {};
// If no filename is specified, config.find will
// automatically load 'package.json'
var configfile = config.find(filename, opts);
var configfile = config.find(filename, options);
try {
return file.readDataSync(configfile, opts);
return file.readDataSync(configfile, options);
} catch(e) {

@@ -74,0 +74,0 @@ console.warn('\n Unable to find config file. config.load failed.\n', e.message);

{
"name": "config-file",
"version": "0.1.5",
"version": "0.1.6",
"description": "Find and load a YAML or JSON config file from a local project, installed npm module, or the user's home directory.",

@@ -5,0 +5,0 @@ "repository": {