Socket
Socket
Sign inDemoInstall

babel-plugin-jest-hoist

Package Overview
Dependencies
0
Maintainers
5
Versions
189
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.0.2 to 18.0.0

4

build/index.js

@@ -82,3 +82,3 @@ /**

return args[0].isStringLiteral();
} else if (args.length === 2) {
} else if (args.length === 2 || args.length === 3) {
const moduleFactory = args[1];

@@ -112,3 +112,3 @@ invariant(

// Allow istanbul's coverage variable to pass.
//^(?:__)?cov/.test(name),
/^(?:__)?cov/.test(name),
'The module factory of `jest.mock()` is not allowed to ' +

@@ -115,0 +115,0 @@ 'reference any out-of-scope variables.\n' +

{
"name": "babel-plugin-jest-hoist",
"version": "17.0.2",
"version": "18.0.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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