Socket
Socket
Sign inDemoInstall

babel-jest

Package Overview
Dependencies
Maintainers
5
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-jest - npm Package Compare versions

Comparing version 17.0.0 to 17.0.2

30

build/index.js

@@ -58,2 +58,17 @@ /**

canInstrument: true,
getCacheKey(
fileData,
filename,
configString, _ref2)
{let instrument = _ref2.instrument,watch = _ref2.watch;
return crypto.createHash('md5').
update(fileData).
update(configString)
// Don't use the in-memory cache in watch mode because the .babelrc
// file may be modified.
.update(getBabelRC(filename, { useCache: !watch })).
update(instrument ? 'instrument' : '').
digest('hex');
},
process(

@@ -78,17 +93,2 @@ src,

return src;
},
getCacheKey(
fileData,
filename,
configString, _ref2)
{let instrument = _ref2.instrument,watch = _ref2.watch;
return crypto.createHash('md5').
update(fileData).
update(configString)
// Don't use the in-memory cache in watch mode because the .babelrc
// file may be modified.
.update(getBabelRC(filename, { useCache: !watch })).
update(instrument ? 'instrument' : '').
digest('hex');
} };

@@ -95,0 +95,0 @@

{
"name": "babel-jest",
"version": "17.0.0",
"version": "17.0.2",
"repository": {

@@ -13,4 +13,4 @@ "type": "git",

"babel-plugin-istanbul": "^2.0.0",
"babel-preset-jest": "^16.0.0"
"babel-preset-jest": "^17.0.2"
}
}
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