Comparing version 0.1.0 to 1.0.0
@@ -5,3 +5,3 @@ 'use strict'; | ||
// prevent caching of this module so module.parent is always accurate | ||
// Prevent caching of this module so module.parent is always accurate | ||
delete require.cache[__filename]; | ||
@@ -26,3 +26,3 @@ const parentFile = module.parent.filename; | ||
// adhere to the Node.js require algorithm by trying each extension in order | ||
// Adhere to the Node.js require algorithm by trying each extension in order | ||
for (const ext of Object.keys(require.extensions)) { | ||
@@ -43,3 +43,3 @@ for (const file of files) { | ||
ret[exportKey] = require(fullPath); | ||
ret[exportKey] = require(fullPath); // eslint-disable-line import/no-dynamic-require | ||
done.add(stem); | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "req-all", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Require all files in a directory", | ||
@@ -37,6 +37,3 @@ "license": "MIT", | ||
"xo": "*" | ||
}, | ||
"xo": { | ||
"esnext": true | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4032
1