Upgrading @types/jest 25 to 26
Unknown25.2.3 → 26.0.24
Fetching 25 releases from GitHub…0 / 25
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Installs 20 packages in all (was 18).
Also installs @types/node, undici-types.
Moves @jest/types 25.5.0 → 26.6.2, @types/istanbul-reports 1.1.2 → 3.0.4, chalk 3.0.0 → 4.1.2, diff-sequences 25.2.6 → 26.6.2, jest-diff 25.5.0 → 26.6.2, jest-get-type 25.2.6 → 26.3.0, pretty-format 25.5.0 → 26.6.2, react-is 16.13.1 → 17.0.2. Your build may pick other versions.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
interface NodeRequire - removed:
method NodeRequire.requireActual(moduleName: string): any - removed:
method NodeRequire.requireMock(moduleName: string): any - removed:
type jest.Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>> - removed:
type jest.Parameters<T extends (...args: any[]) => any> = T extends (...args: infer P) => any ? P : never - changed:
function jest.requireActual<TModule = any>(moduleName: string): TModule → function jest.requireActual<TModule extends {} = any>(moduleName: string): TModule - changed:
function jest.requireMock<TModule = any>(moduleName: string): TModule → function jest.requireMock<TModule extends {} = any>(moduleName: string): TModule - changed:
function jest.useFakeTimers(): typeof jest → function jest.useFakeTimers(implementation?: 'modern' | 'legacy'): typeof jest - changed:
method jest.Matchers.toBeGreaterThan(expected: number): R → method jest.Matchers.toBeGreaterThan(expected: number | bigint): R - changed:
method jest.Matchers.toBeGreaterThanOrEqual(expected: number): R → method jest.Matchers.toBeGreaterThanOrEqual(expected: number | bigint): R - changed:
method jest.Matchers.toBeLessThan(expected: number): R → method jest.Matchers.toBeLessThan(expected: number | bigint): R - changed:
method jest.Matchers.toBeLessThanOrEqual(expected: number): R → method jest.Matchers.toBeLessThanOrEqual(expected: number | bigint): R - changed:
method jest.Matchers.toThrowErrorMatchingSnapshot(): R → method jest.Matchers.toThrowErrorMatchingSnapshot(snapshotName?: string): R - changed:
method jest.MockInstance.getMockImplementation(): (...args: Y) => T | undefined → method jest.MockInstance.getMockImplementation(): ((...args: Y) => T) | undefined - changed:
property jest.MatcherHintOptions.comment?: string → property jest.MatcherHintOptions.comment?: string | undefined - changed:
property jest.MatcherHintOptions.expectedColor?: MatcherHintColor → property jest.MatcherHintOptions.expectedColor?: MatcherHintColor | undefined - changed:
property jest.MatcherHintOptions.isDirectExpectCall?: boolean → property jest.MatcherHintOptions.isDirectExpectCall?: boolean | undefined - changed:
property jest.MatcherHintOptions.isNot?: boolean → property jest.MatcherHintOptions.isNot?: boolean | undefined - changed:
property jest.MatcherHintOptions.promise?: string → property jest.MatcherHintOptions.promise?: string | undefined - changed:
property jest.MatcherHintOptions.receivedColor?: MatcherHintColor → property jest.MatcherHintOptions.receivedColor?: MatcherHintColor | undefined - changed:
property jest.MatcherHintOptions.secondArgument?: string → property jest.MatcherHintOptions.secondArgument?: string | undefined - changed:
property jest.MatcherHintOptions.secondArgumentColor?: MatcherHintColor → property jest.MatcherHintOptions.secondArgumentColor?: MatcherHintColor | undefined - changed:
property jest.MatcherState.isExpectingAssertions?: boolean → property jest.MatcherState.isExpectingAssertions?: boolean | undefined - changed:
property jest.MockOptions.virtual?: boolean → property jest.MockOptions.virtual?: boolean | undefined - changed:
type jest.NonPromiseMatchers<T extends JestMatchersShape> = Omit<T, 'resolves' | 'rejects' | 'not'> → type jest.NonPromiseMatchers<T extends JestMatchersShape<any>> = Omit<T, 'resolves' | 'rejects' | 'not'> - added:
function jest.createMockFromModule<T>(moduleName: string): T - added:
function jest.getRealSystemTime(): number - added:
function jest.setSystemTime(now?: number | Date): void
- removed:
interface jest.Matchers<R, T = {}> - removed:
method jest.Matchers.toBeGreaterThan(expected: number | bigint): R - removed:
method jest.Matchers.toBeGreaterThanOrEqual(expected: number | bigint): R - removed:
method jest.Matchers.toBeLessThan(expected: number | bigint): R - removed:
method jest.Matchers.toBeLessThanOrEqual(expected: number | bigint): R - removed:
namespace jest