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

jest-file-exists

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-file-exists - npm Package Compare versions

Comparing version 14.0.0 to 14.2.0-alpha.ca8bfb6e

17

build/index.js

@@ -19,12 +19,13 @@ /**

module.exports = (
filePath,
files) =>
filePath,
hasteFS) =>
{
if (files && files[filePath]) {
return true;}
if (hasteFS && hasteFS.exists(filePath)) {
return true;
}
try {
return fs.statSync(filePath).isFile();}
catch (e) {}
return false;};
return fs.statSync(filePath).isFile();
} catch (e) {}
return false;
};
{
"name": "jest-file-exists",
"version": "14.0.0",
"version": "14.2.0-alpha.ca8bfb6e",
"repository": {

@@ -10,8 +10,2 @@ "type": "git",

"main": "build/index.js",
"jest": {
"automock": false,
"rootDir": "./src",
"scriptPreprocessor": "../../babel-jest",
"testEnvironment": "node"
},
"scripts": {

@@ -18,0 +12,0 @@ "test": "../../packages/jest-cli/bin/jest.js"

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