Comparing version 0.0.6 to 0.0.7
@@ -6,2 +6,3 @@ var util = require('util'); | ||
var path = require('path'); | ||
var existsSync = fs.existsSync ? fs.existsSync : path.existsSync; | ||
var glob = require('glob'); | ||
@@ -102,3 +103,3 @@ var findPackage = require('witwip'); | ||
Etc.prototype.file = function(file, named) { | ||
if (fs.existsSync(file)) { | ||
if (existsSync(file)) { | ||
var ext = path.extname(file).substr(1); | ||
@@ -105,0 +106,0 @@ if (this.parsers[ext]) { |
{ | ||
"name": "etc", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Configuration loader for node.js applications", | ||
@@ -30,3 +30,6 @@ "main": "etc.js", | ||
"author": "Brian Link", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">= 0.6.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13140
221