Socket
Socket
Sign inDemoInstall

@jest/transform

Package Overview
Dependencies
123
Maintainers
6
Versions
126
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.4.3 to 29.5.0

1

build/index.d.ts

@@ -144,2 +144,3 @@ /**

config: Config.ProjectConfig,
loadedFilenames?: Array<string>,
): boolean;

@@ -146,0 +147,0 @@

@@ -101,3 +101,3 @@ 'use strict';

};
function shouldInstrument(filename, options, config) {
function shouldInstrument(filename, options, config, loadedFilenames) {
if (!options.collectCoverage) {

@@ -129,2 +129,9 @@ return false;

if (
options.collectCoverageFrom.length === 0 &&
loadedFilenames != null &&
!loadedFilenames.includes(filename)
) {
return false;
}
if (
// still cover if `only` is specified

@@ -131,0 +138,0 @@ options.collectCoverageFrom.length &&

12

package.json
{
"name": "@jest/transform",
"version": "29.4.3",
"version": "29.5.0",
"repository": {

@@ -21,3 +21,3 @@ "type": "git",

"@babel/core": "^7.11.6",
"@jest/types": "^29.4.3",
"@jest/types": "^29.5.0",
"@jridgewell/trace-mapping": "^0.3.15",

@@ -29,5 +29,5 @@ "babel-plugin-istanbul": "^6.1.1",

"graceful-fs": "^4.2.9",
"jest-haste-map": "^29.4.3",
"jest-haste-map": "^29.5.0",
"jest-regex-util": "^29.4.3",
"jest-util": "^29.4.3",
"jest-util": "^29.5.0",
"micromatch": "^4.0.4",

@@ -39,3 +39,3 @@ "pirates": "^4.0.4",

"devDependencies": {
"@jest/test-utils": "^29.4.3",
"@jest/test-utils": "^29.5.0",
"@types/babel__core": "^7.1.14",

@@ -54,3 +54,3 @@ "@types/convert-source-map": "^2.0.0",

},
"gitHead": "a49c88610e49a3242576160740a32a2fe11161e1"
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc