pretty-format
Advanced tools
Comparing version 28.0.0-alpha.0 to 28.0.0-alpha.1
@@ -7,2 +7,3 @@ /** | ||
*/ | ||
import type {SnapshotFormat} from '@jest/schemas'; | ||
@@ -88,16 +89,7 @@ export declare type Colors = { | ||
export declare type Options = { | ||
callToJSON: boolean; | ||
export declare interface Options | ||
extends Omit<RequiredOptions, 'compareKeys' | 'theme'> { | ||
compareKeys: CompareKeys; | ||
escapeRegex: boolean; | ||
escapeString: boolean; | ||
highlight: boolean; | ||
indent: number; | ||
maxDepth: number; | ||
min: boolean; | ||
plugins: Plugins; | ||
printBasicPrototype: boolean; | ||
printFunctionName: boolean; | ||
theme: Theme; | ||
}; | ||
theme: Required<RequiredOptions['theme']>; | ||
} | ||
@@ -127,15 +119,5 @@ export declare type OptionsReceived = PrettyFormatOptions; | ||
export declare interface PrettyFormatOptions { | ||
callToJSON?: boolean; | ||
export declare interface PrettyFormatOptions extends SnapshotFormat { | ||
compareKeys?: CompareKeys; | ||
escapeRegex?: boolean; | ||
escapeString?: boolean; | ||
highlight?: boolean; | ||
indent?: number; | ||
maxDepth?: number; | ||
min?: boolean; | ||
plugins?: Plugins; | ||
printBasicPrototype?: boolean; | ||
printFunctionName?: boolean; | ||
theme?: ThemeReceived; | ||
} | ||
@@ -156,20 +138,8 @@ | ||
declare type RequiredOptions = Required<PrettyFormatOptions>; | ||
declare type Test = (arg0: any) => boolean; | ||
export declare type Theme = { | ||
comment: string; | ||
content: string; | ||
prop: string; | ||
tag: string; | ||
value: string; | ||
}; | ||
export declare type Theme = Options['theme']; | ||
declare type ThemeReceived = { | ||
comment?: string; | ||
content?: string; | ||
prop?: string; | ||
tag?: string; | ||
value?: string; | ||
}; | ||
export {}; |
{ | ||
"name": "pretty-format", | ||
"version": "28.0.0-alpha.0", | ||
"version": "28.0.0-alpha.1", | ||
"repository": { | ||
@@ -23,2 +23,3 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/schemas": "^28.0.0-alpha.1", | ||
"ansi-regex": "^5.0.1", | ||
@@ -33,3 +34,3 @@ "ansi-styles": "^5.0.0", | ||
"immutable": "^4.0.0", | ||
"jest-util": "^28.0.0-alpha.0", | ||
"jest-util": "^28.0.0-alpha.1", | ||
"react": "*", | ||
@@ -45,3 +46,3 @@ "react-dom": "*", | ||
}, | ||
"gitHead": "89275b08977065d98e42ad71fcf223f4ad169f09" | ||
"gitHead": "d30164dde1847166fa0faec98d20abffd85e6ffd" | ||
} |
63251
4
1724
+ Added@jest/schemas@28.1.3(transitive)
+ Added@sinclair/typebox@0.24.51(transitive)