Socket
Socket
Sign inDemoInstall

@types/jest

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jest - npm Package Compare versions

Comparing version 27.5.0 to 27.5.1

6

jest/index.d.ts

@@ -149,3 +149,4 @@ // Type definitions for Jest 27.5

*/
function doMock(moduleName: string, factory?: () => unknown, options?: MockOptions): typeof jest;
// tslint:disable-next-line no-unnecessary-generics
function doMock<T = unknown>(moduleName: string, factory?: () => T, options?: MockOptions): typeof jest;
/**

@@ -181,3 +182,4 @@ * Indicates that the module system should never return a mocked version

*/
function mock(moduleName: string, factory?: () => unknown, options?: MockOptions): typeof jest;
// tslint:disable-next-line no-unnecessary-generics
function mock<T = unknown>(moduleName: string, factory?: () => T, options?: MockOptions): typeof jest;

@@ -184,0 +186,0 @@ /**

{
"name": "@types/jest",
"version": "27.5.0",
"version": "27.5.1",
"description": "TypeScript definitions for Jest",

@@ -156,3 +156,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest",

},
"typesPublisherContentHash": "b1b5dcb749738ee53a9a1c1cc1d18a07e6bc4733d3def9b9d248e9c2e46828f3",
"typesPublisherContentHash": "e0eae44ba6c7b08f5dee018bd203a3c6046cd866045afed44a626690a98af7be",
"typeScriptVersion": "3.9",

@@ -159,0 +159,0 @@ "exports": {

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 02 May 2022 22:31:38 GMT
* Last updated: Wed, 11 May 2022 23:01:41 GMT
* Dependencies: [@types/jest-matcher-utils](https://npmjs.com/package/@types/jest-matcher-utils), [@types/pretty-format](https://npmjs.com/package/@types/pretty-format)

@@ -14,0 +14,0 @@ * Global values: `afterAll`, `afterEach`, `beforeAll`, `beforeEach`, `describe`, `expect`, `fail`, `fdescribe`, `fit`, `it`, `jasmine`, `jest`, `pending`, `spyOn`, `test`, `xdescribe`, `xit`, `xtest`

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