🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

babel-plugin-jest-hoist

Package Overview
Dependencies
Maintainers
4
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-jest-hoist - npm Package Compare versions

Comparing version

to
30.0.0-beta.1

2

build/index.js

@@ -244,3 +244,3 @@ /*!

const mockStmt = callExpr.getStatementParent();
if (mockStmt && mockStmt.parentPath.isBlock()) {
if (mockStmt?.parentPath.isBlock()) {
stack.at(-1).calls.push(mockStmt.node);

@@ -247,0 +247,0 @@ mockStmt.remove();

{
"name": "babel-plugin-jest-hoist",
"version": "30.0.0-alpha.7",
"version": "30.0.0-beta.1",
"repository": {

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

"engines": {
"node": "^16.10.0 || ^18.12.0 || >=20.0.0"
"node": "^18.14.0 || ^20.0.0 || >=22.0.0"
},

@@ -44,3 +44,3 @@ "license": "MIT",

},
"gitHead": "bacb7de30d053cd87181294b0c8a8576632a8b02"
"gitHead": "ca9c8835e3c74ec17450cac43c7cd3e8bb5747b2"
}