Skip to content

Upgrading ts-jest 23 to 24

Review needed23.10.5 → 24.3.0New1Changed1Fixed15Other1

Review neededUpgrade verdict

1 changed default.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Adds lodash.memoize 4.x.

Installs 18 packages in all (was 17).

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: readonly property ConfigSet.astTransformers: AstTransformerDesc[]
  • removed: readonly property ConfigSet.babel: BabelConfig | undefined
  • removed: readonly property ConfigSet.babelJestTransformer: BabelJestTransformer | undefined
  • removed: readonly property ConfigSet.cacheKey: string
  • removed: readonly property ConfigSet.compilerModule: TTypeScript
  • removed: readonly property ConfigSet.cwd: string
  • removed: readonly property ConfigSet.hooks: TsJestHooksMap
  • removed: readonly property ConfigSet.jest: jest.ProjectConfig
  • removed: readonly property ConfigSet.overriddenCompilerOptions: Partial<CompilerOptions>
  • removed: readonly property ConfigSet.projectDependencies: Record<string, string>
  • removed: readonly property ConfigSet.projectPackageJson: Record<string, any>
  • removed: readonly property ConfigSet.rootDir: string
  • removed: readonly property ConfigSet.shouldReportDiagnostic: (filePath: string) => boolean
  • removed: readonly property ConfigSet.shouldStringifyContent: (filePath: string) => boolean
  • removed: readonly property ConfigSet.tsCacheDir: string | undefined
  • removed: readonly property ConfigSet.tsCompiler: TsCompiler
  • removed: readonly property ConfigSet.tsCustomTransformers: CustomTransformers
  • removed: readonly property ConfigSet.tsJest: TsJestConfig
  • removed: readonly property ConfigSet.tsJestDigest: string
  • removed: readonly property ConfigSet.tsconfig: any
  • removed: readonly property ConfigSet.typescript: ParsedCommandLine
  • removed: readonly property ConfigSet.versions: Record<string, string>
  • added: get ConfigSet.astTransformers(): AstTransformerDesc[]
  • added: get ConfigSet.babel(): BabelConfig | undefined
  • added: get ConfigSet.babelJestTransformer(): BabelJestTransformer | undefined
  • added: get ConfigSet.cacheKey(): string
  • added: get ConfigSet.compilerModule(): TTypeScript
  • added: get ConfigSet.cwd(): string
  • added: get ConfigSet.hooks(): TsJestHooksMap
  • added: get ConfigSet.jest(): jest.ProjectConfig
  • added: get ConfigSet.overriddenCompilerOptions(): Partial<CompilerOptions>
  • added: get ConfigSet.projectDependencies(): Record<string, string>
  • added: get ConfigSet.projectPackageJson(): Record<string, any>
  • added: get ConfigSet.rootDir(): string
  • added: get ConfigSet.shouldReportDiagnostic(): (filePath: string) => boolean
  • added: get ConfigSet.shouldStringifyContent(): (filePath: string) => boolean
  • added: get ConfigSet.tsCacheDir(): string | undefined
  • added: get ConfigSet.tsCompiler(): TsCompiler
  • added: get ConfigSet.tsCustomTransformers(): CustomTransformers
  • added: get ConfigSet.tsJest(): TsJestConfig
  • added: get ConfigSet.tsJestDigest(): string
  • added: get ConfigSet.tsconfig(): any
  • added: get ConfigSet.typescript(): ParsedCommandLine
  • added: get ConfigSet.versions(): Record<string, string>
  • changed: property TsJestPresets.moduleFileExtensions: string[] → property TsJestPresets.moduleFileExtensions?: string[]
  • changed: property TsJestPresets.testMatch: string[] → property TsJestPresets.testMatch?: string[]
  • removed: function getJestConfigPkg<TJestConfig>(logger: Logger): TJestConfig
  • removed: static readonly property TsJestTransformer.lastTransformerId: number
  • added: static get TsJestTransformer.lastTransformerId(): number
  • added: property TsJestConfig.packageJson: TsJestConfig$packageJson
  • added: property TsJestGlobalOptions.packageJson?: boolean | string | object
  • changed: type MaybeMocked<T> = T extends Function ? MockedFunction<T> : T extends object ? MockedObject<T> : T → type MaybeMocked<T> = T extends MockableFunction ? MockedFunction<T> : T extends object ? MockedObject<T> : T
  • changed: type MaybeMockedDeep<T> = T extends Function ? MockedFunctionDeep<T> : T extends object ? MockedObjectDeep<T> : T → type MaybeMockedDeep<T> = T extends MockableFunction ? MockedFunctionDeep<T> : T extends object ? MockedObjectDeep<T> : T