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

etc

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

etc - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

3

etc.js

@@ -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"
}
}
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