Socket
Socket
Sign inDemoInstall

@jest/types

Package Overview
Dependencies
15
Maintainers
6
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.5.0 to 29.6.0

28

build/index.d.ts

@@ -186,2 +186,6 @@ /**

| {
name: 'test_started';
test: TestEntry;
}
| {
name: 'test_done';

@@ -255,2 +259,4 @@ test: TestEntry;

TestStatus,
TestNamesPath,
TestCaseStartInfo,
TestResult_2 as TestResult,

@@ -684,2 +690,3 @@ RunResult,

declare type GlobalErrorHandlers = {
rejectionHandled: Array<(promise: Promise<unknown>) => void>;
uncaughtException: Array<(exception: Exception) => void>;

@@ -931,2 +938,4 @@ unhandledRejection: Array<

clearMocks: boolean;
collectCoverageFrom: Array<string>;
coverageDirectory: string;
coveragePathIgnorePatterns: Array<string>;

@@ -1031,2 +1040,3 @@ cwd: string;

maxConcurrency: number;
unhandledRejectionErrorByPromise: Map<Promise<unknown>, Exception>;
};

@@ -1075,2 +1085,7 @@

error: Exception;
promise?: Promise<unknown>;
}
| {
name: 'error_handled';
promise: Promise<unknown>;
};

@@ -1086,2 +1101,10 @@

declare type TestCaseStartInfo = {
ancestorTitles: Array<string>;
fullName: string;
mode: TestMode;
title: string;
startedAt?: number | null;
};
declare type TestContext = Record<string, unknown>;

@@ -1109,2 +1132,3 @@

failing: boolean;
unhandledRejectionErrorByPromise: Map<Promise<unknown>, Exception>;
};

@@ -1148,2 +1172,4 @@

declare type TestNamesPath = Array<TestName_2 | BlockName_2>;
declare namespace TestResult {

@@ -1166,3 +1192,3 @@ export {AssertionResult, SerializableError};

retryReasons: Array<FormattedError>;
testPath: Array<TestName_2 | BlockName_2>;
testPath: TestNamesPath;
};

@@ -1169,0 +1195,0 @@

10

package.json
{
"name": "@jest/types",
"version": "29.5.0",
"version": "29.6.0",
"repository": {

@@ -23,3 +23,3 @@ "type": "git",

"dependencies": {
"@jest/schemas": "^29.4.3",
"@jest/schemas": "^29.6.0",
"@types/istanbul-lib-coverage": "^2.0.0",

@@ -32,4 +32,4 @@ "@types/istanbul-reports": "^3.0.0",

"devDependencies": {
"@tsd/typescript": "^4.9.0",
"tsd-lite": "^0.6.0"
"@tsd/typescript": "^5.0.4",
"tsd-lite": "^0.7.0"
},

@@ -39,3 +39,3 @@ "publishConfig": {

},
"gitHead": "39f3beda6b396665bebffab94e8d7c45be30454c"
"gitHead": "c1e5b8a38ef54bb138409f89831942ebf6a7a67e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc