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 25.1.0 to 25.1.1

44

jest/index.d.ts

@@ -529,46 +529,4 @@ // Type definitions for Jest 25.1

interface SnapshotSerializerOptions {
callToJSON?: boolean;
edgeSpacing?: string;
spacing?: string;
escapeRegex?: boolean;
highlight?: boolean;
indent?: number;
maxDepth?: number;
min?: boolean;
plugins?: SnapshotSerializerPlugin[];
printFunctionName?: boolean;
theme?: SnapshotSerializerOptionsTheme;
type SnapshotSerializerPlugin = import('pretty-format').Plugin;
// see https://github.com/facebook/jest/blob/e56103cf142d2e87542ddfb6bd892bcee262c0e6/types/PrettyFormat.js
}
interface SnapshotSerializerOptionsTheme {
comment?: string;
content?: string;
prop?: string;
tag?: string;
value?: string;
}
interface SnapshotSerializerColor {
close: string;
open: string;
}
interface SnapshotSerializerColors {
comment: SnapshotSerializerColor;
content: SnapshotSerializerColor;
prop: SnapshotSerializerColor;
tag: SnapshotSerializerColor;
value: SnapshotSerializerColor;
}
interface SnapshotSerializerPlugin {
print(
val: any,
serialize: (val: any) => string,
indent: (str: string) => string,
opts: SnapshotSerializerOptions,
colors: SnapshotSerializerColors
): string;
test(val: any): boolean;
}
interface InverseAsymmetricMatchers {

@@ -575,0 +533,0 @@ /**

7

jest/package.json
{
"name": "@types/jest",
"version": "25.1.0",
"version": "25.1.1",
"description": "TypeScript definitions for Jest",

@@ -142,6 +142,7 @@ "license": "MIT",

"dependencies": {
"jest-diff": "^25.1.0"
"jest-diff": "^25.1.0",
"pretty-format": "^25.1.0"
},
"typesPublisherContentHash": "c0b91884cedbaa66f33f8c7f2b6149dca233205b983d263e06a4450b9ca122a6",
"typesPublisherContentHash": "be08fa311fffb35fef4133bfdb6579942c3f19d1212961165e7340ccff909472",
"typeScriptVersion": "3.0"
}

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

### Additional Details
* Last updated: Mon, 27 Jan 2020 18:49:42 GMT
* Last updated: Wed, 29 Jan 2020 21:49:45 GMT
* Dependencies: none

@@ -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