microloader
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -67,2 +67,6 @@ var exists = require('fs').existsSync | ||
if (basename(path)[0] === '.') { | ||
return [] | ||
} | ||
if (!exists(path)) { | ||
@@ -106,2 +110,4 @@ if (exists(path + '.js')) { | ||
// we may not still need the .-prefix check now | ||
// as it's done at the top of the function | ||
if (!stat.isFile() || !re.test(file) || basename(file)[0] === '.') { | ||
@@ -108,0 +114,0 @@ return |
{ | ||
"name": "microloader", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Load directories and files, doing with them what you want!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5696
116