@babel/cli
Advanced tools
Comparing version 7.0.0-beta.55 to 7.0.0-beta.56
@@ -176,3 +176,3 @@ "use strict"; | ||
if (stat.isDirectory(filenameOrDir)) { | ||
if (stat.isDirectory()) { | ||
const dirname = filenameOrDir; | ||
@@ -179,0 +179,0 @@ let count = 0; |
@@ -76,3 +76,8 @@ "use strict"; | ||
function readdir(dirname, includeDotfiles, filter) { | ||
return (0, _fsReaddirRecursive().default)(dirname, filename => (includeDotfiles || filename[0] !== ".") && (!filter || filter(filename))); | ||
return (0, _fsReaddirRecursive().default)(dirname, (filename, _index, currentDirectory) => { | ||
const stat = _fs().default.statSync(_path().default.join(currentDirectory, filename)); | ||
if (stat.isDirectory()) return true; | ||
return (includeDotfiles || filename[0] !== ".") && (!filter || filter(filename)); | ||
}); | ||
} | ||
@@ -79,0 +84,0 @@ |
{ | ||
"name": "@babel/cli", | ||
"version": "7.0.0-beta.55", | ||
"version": "7.0.0-beta.56", | ||
"description": "Babel command line.", | ||
@@ -36,4 +36,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.55", | ||
"@babel/helper-fixtures": "7.0.0-beta.55" | ||
"@babel/core": "7.0.0-beta.56", | ||
"@babel/helper-fixtures": "7.0.0-beta.56" | ||
}, | ||
@@ -40,0 +40,0 @@ "bin": { |
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
31228
753