🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@types/jest-matcher-utils

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jest-matcher-utils - npm Package Compare versions

Comparing version
21.0.2
to
25.1.0
+8
-19
jest-matcher-utils/package.json
{
"name": "@types/jest-matcher-utils",
"version": "21.0.2",
"description": "TypeScript definitions for jest-matcher-utils",
"license": "MIT",
"contributors": [
{
"name": "Alex Coles",
"url": "https://github.com/myabc",
"githubUsername": "myabc"
}
],
"version": "25.1.0",
"typings": null,
"description": "Stub TypeScript definitions entry for jest-matcher-utils, which provides its own types definitions",
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"author": "",
"repository": "https://github.com/facebook/jest/tree/master/packages/jest-matcher-utils",
"license": "MIT",
"dependencies": {
"chalk": "^2.2.0"
},
"typesPublisherContentHash": "629a0f75552670b88b34c0ed82c06394f2cab780e7201f208aaa792cffbc0774",
"typeScriptVersion": "2.2"
"jest-matcher-utils": "*"
}
}

@@ -1,16 +0,3 @@

# Installation
> `npm install --save @types/jest-matcher-utils`
This is a stub types definition for jest-matcher-utils (https://github.com/facebook/jest/tree/master/packages/jest-matcher-utils).
# Summary
This package contains type definitions for jest-matcher-utils ( https://github.com/facebook/jest ).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-matcher-utils
Additional Details
* Last updated: Wed, 13 Feb 2019 18:42:15 GMT
* Dependencies: @types/chalk
* Global values: none
# Credits
These definitions were written by Alex Coles <https://github.com/myabc>.
jest-matcher-utils provides its own type definitions, so you don't need @types/jest-matcher-utils installed!
// Type definitions for jest-matcher-utils 21.0
// Project: https://github.com/facebook/jest
// Definitions by: Alex Coles <https://github.com/myabc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import { Chalk } from 'chalk';
export const EXPECTED_COLOR: Chalk;
export const RECEIVED_COLOR: Chalk;
export const EXPECTED_BG: Chalk; // TODO: removed in b430e51a
export const RECEIVED_BG: Chalk; // TODO: removed in b430e51a
export const SUGGEST_TO_EQUAL: string;
export function stringify(object: any, maxDepth?: number): string;
export function highlightTrailingWhitespace(
text: string,
bgColor: Chalk // removed in b430e51a
): string;
export function printReceived(object: any): string;
export function printExpected(value: any): string;
export function printWithType(
name: string,
received: any,
print: (value: any) => string
): string;
export function ensureNoExpected(actual: any, matcherName?: string): void;
export function ensureActualIsNumber(actual: any, matcherName?: string): void;
export function ensureExpectedIsNumber(actual: any, matcherName?: string): void;
export function ensureNumbers(
actual: any,
expected: any,
matcherName?: string
): void;
export function pluralize(word: string, count: number): string;
export function matcherHint(
matcherName: string,
received?: string,
expected?: string,
options?: { secondArgument?: string; isDirectExpectCall?: boolean }
): string;