Updated jest pinned dependencies (#43613)

* Updated pinned dependencies

`jest-diff` and `pretty-format` were previously pinned in #43531 to work around backwards compatibility issues with the typescript definitions. Facebook added tooling to allow down-leveling their type definition in facebook/jest@d4057ce, which landed in 25.2.7, so bump the semver dependency to this.

* Pick an older version, this change is available in 25.2.1

* Bump min version to typescript 3.1

* Bump additional typescript versions
This commit is contained in:
Brent Erickson
2020-04-03 13:53:55 -07:00
committed by GitHub
parent 2729c1ac01
commit 8125c0c962
13 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
// Tanguy Krotoff <https://github.com/tkrotoff>
// Jason Mong <https://github.com/jfm710>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Christopher E. Woodland <https://github.com/cwoodland>
// Johnny Li <https://github.com/johnny4753>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types='jest'/>
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Josh Goldberg <https://github.com/JoshuaKGoldberg>
// erbridge <https://github.com/erbridge>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Janeene Beeforth <https://github.com/dawnmist>
// erbridge <https://github.com/erbridge>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/thinkmill/jest-in-case#readme
// Definitions by: Geovani de Souza <https://github.com/geovanisouza92>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
/// <reference types="node" />
+1 -1
View File
@@ -3,7 +3,7 @@
// Definitions by: Igor Korolev <https://github.com/deadNightTiger>
// Matt Scheurich <https://github.com/lvl99>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
import * as ajv from 'ajv';
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/d4nyll/jest-matcher-one-of#readme
// Definitions by: Joe Mitchard <https://github.com/joemitchard>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
declare namespace jest {
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/negativetwelve/jest-plugins/tree/master/packages/jest-plugin-context, https://github.com/negativetwelve/jest-plugins
// Definitions by: Jonas Heinrich <https://github.com/jonasheinrich>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
+1 -1
View File
@@ -5,7 +5,7 @@
// Gregor Stamać <https://github.com/gstamac>
// Valentin Stern <https://github.com/sehsyha>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for Jest 25.1
// Type definitions for Jest 25.2
// Project: https://jestjs.io/
// Definitions by: Asana (https://asana.com)
// Ivo Stratev <https://github.com/NoHomey>
@@ -29,7 +29,7 @@
// Pawel Fajfer <https://github.com/pawfa>
// Regev Brody <https://github.com/regevbr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
declare var beforeAll: jest.Lifecycle;
declare var beforeEach: jest.Lifecycle;
+2 -2
View File
@@ -1,7 +1,7 @@
{
"private": true,
"dependencies": {
"jest-diff": "25.1.0",
"pretty-format": "25.1.0"
"jest-diff": "^25.2.1",
"pretty-format": "^25.2.1"
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
// John Gozde <https://github.com/jgoz>
// Seth Macpherson <https://github.com/smacpherson64>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/wordpress/gutenberg/tree/master/packages/jest-console/readme.md
// Definitions by: Damien Sorel <https://github.com/mistic100>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 3.1
/// <reference types="jest" />