@types/jest-matcher-utils
Advanced tools
| { | ||
| "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; |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1865
-51.86%3
-25%0
-100%3
50%1
Infinity%1
Infinity%3
-82.35%1
Infinity%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed