Socket
Socket
Sign inDemoInstall

jest-mock

Package Overview
Dependencies
Maintainers
6
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-mock - npm Package Compare versions

Comparing version 27.4.6 to 27.5.0

4

build/index.d.ts

@@ -117,2 +117,6 @@ /**

/**
* Getter for retrieving the last call arguments
*/
lastCall?: Y;
/**
* List of results of calls to the mock function.

@@ -119,0 +123,0 @@ */

@@ -338,2 +338,6 @@ 'use strict';

if (state.calls.length > 0) {
state.lastCall = state.calls[state.calls.length - 1];
}
return state;

@@ -340,0 +344,0 @@ }

6

package.json
{
"name": "jest-mock",
"version": "27.4.6",
"version": "27.5.0",
"repository": {

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

"dependencies": {
"@jest/types": "^27.4.2",
"@jest/types": "^27.5.0",
"@types/node": "*"

@@ -30,3 +30,3 @@ },

},
"gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e"
"gitHead": "247cbe6026a590deaf0d23edecc7b2779a4aace9"
}
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