jest-file-exists
Advanced tools
Comparing version 16.1.0-alpha.691b0e22 to 17.0.0
@@ -21,11 +21,2 @@ /** | ||
hasteFS) => | ||
{ | ||
if (hasteFS && hasteFS.exists(filePath)) { | ||
return true; | ||
} | ||
try { | ||
return fs.statSync(filePath).isFile(); | ||
} catch (e) {} | ||
return false; | ||
}; | ||
hasteFS && hasteFS.exists(filePath) || fs.existsSync(filePath); |
{ | ||
"name": "jest-file-exists", | ||
"version": "16.1.0-alpha.691b0e22", | ||
"version": "17.0.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
1
766
14