Skip to content

chore(deps): update dependency ts-jest to v26.5.6#14

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ts-jest-26.x
Open

chore(deps): update dependency ts-jest to v26.5.6#14
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ts-jest-26.x

Conversation

@renovate

@renovate renovate Bot commented Oct 26, 2022

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
ts-jest (source) 26.2.026.5.6 age confidence

Release Notes

kulshekhar/ts-jest (ts-jest)

v26.5.6

Compare Source

Bug Fixes
Features
Performance Improvements
  • reuse jest file system cache for isolatedModules: false (#​2189) (68f446b)
Code Refactoring

BREAKING CHANGES

import type { TsCompilerInstance } from 'ts-jest/dist/types'

export function factory(compilerInstance: TsCompilerInstance) {
   //...
}
  • One is currently using pathRegex should use exclude with glob patterns.
  • If one currently relies on type check for js files, please set checkJs: true in your tsconfig.
  • Now both isolatedModules: true and isolatedModule: false codes are in one single class TsCompiler which is an instance created in TsJestCompiler based on config option compiler with value typescript or ttypescript.
  • config: packageJson config option is not used in internal ts-jest so this option is now removed.
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils'
  • config: One currently uses tsConfig should change to tsconfig in your jest.config.js or package.json.

26.5.6 (2021-05-05)

Code Refactoring
  • refactor(config): show warning message for sourceMap: false (#​2557) (cf60990).

v26.5.5

Compare Source

Bug Fixes
Features
Performance Improvements
  • reuse jest file system cache for isolatedModules: false (#​2189) (68f446b)
Code Refactoring

BREAKING CHANGES

import type { TsCompilerInstance } from 'ts-jest/dist/types'

export function factory(compilerInstance: TsCompilerInstance) {
   //...
}
  • One is currently using pathRegex should use exclude with glob patterns.
  • If one currently relies on type check for js files, please set checkJs: true in your tsconfig.
  • Now both isolatedModules: true and isolatedModule: false codes are in one single class TsCompiler which is an instance created in TsJestCompiler based on config option compiler with value typescript or ttypescript.
  • config: packageJson config option is not used in internal ts-jest so this option is now removed.
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils'
  • config: One currently uses tsConfig should change to tsconfig in your jest.config.js or package.json.

26.5.6 (2021-05-05)

Code Refactoring
  • refactor(config): show warning message for sourceMap: false (#​2557) (cf60990).

v26.5.4

Compare Source

Features

BREAKING CHANGES

  • By default, ts-jest will use sourceMap option from your tsconfig. If users want to have sourcemap on, they need to either remove sourceMap or set sourceMap: true in tsconfig

26.5.5 (2021-04-15)

Bug Fixes

v26.5.3

Compare Source

Bug Fixes

26.5.4 (2021-03-17)

Bug Fixes

v26.5.2

Compare Source

Bug Fixes

26.5.3 (2021-03-03)

Bug Fixes

v26.5.1

Compare Source

Bug Fixes

26.5.2 (2021-02-21)

Bug Fixes

v26.5.0

Compare Source

Bug Fixes
  • config: invalidate Jest transform cache when astTransformers value changes (#​2345) (d726016)
Features

26.5.1 (2021-02-09)

Features

v26.4.4

Compare Source

Code Refactoring
BREAKING CHANGES
  • config: packageJson config option is not used in internal ts-jest so this option is now removed
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper` } from 'ts-jest/utils'
  • config: One currently uses tsConfig should change to tsconfig in your jest.config.js or package.json

26.4.4 (2020-11-08)

Bug Fixes
Features

26.4.3 (2020-10-26)

Bug Fixes
Features

26.4.2 (2020-10-23)

Features
Performance Improvements
  • compiler: speed up bootstrap time for isolatedModules:false (#​2055) (230b5dd)
DEPRECATIONS
  • config: deprecate tsConfig in favor of tsconfig (#​1997)
  • config: deprecate packageJson since internal codes don't use it anymore (#​2034)

26.4.1 (2020-09-29)

Bug Fixes

v26.4.3

Compare Source

Code Refactoring
BREAKING CHANGES
  • config: packageJson config option is not used in internal ts-jest so this option is now removed
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper` } from 'ts-jest/utils'
  • config: One currently uses tsConfig should change to tsconfig in your jest.config.js or package.json

26.4.4 (2020-11-08)

Bug Fixes
Features

26.4.3 (2020-10-26)

Bug Fixes
Features

26.4.2 (2020-10-23)

Features
Performance Improvements
  • compiler: speed up bootstrap time for isolatedModules:false (#​2055) (230b5dd)
DEPRECATIONS
  • config: deprecate tsConfig in favor of tsconfig (#​1997)
  • config: deprecate packageJson since internal codes don't use it anymore (#​2034)

26.4.1 (2020-09-29)

Bug Fixes

v26.4.2

Compare Source

Code Refactoring
BREAKING CHANGES
  • config: packageJson config option is not used in internal ts-jest so this option is now removed
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change to
import { mocked, createJestPreset, pathsToModuleNameMapper` } from 'ts-jest/utils'
  • config: One currently uses tsConfig should change to tsconfig in your jest.config.js or package.json

26.4.4 (2020-11-08)

Bug Fixes
Features

26.4.3 (2020-10-26)

Bug Fixes
Features

26.4.2 (2020-10-23)

Features
Performance Improvements
  • compiler: speed up bootstrap time for isolatedModules:false (#​2055) (230b5dd)
DEPRECATIONS
  • config: deprecate tsConfig in favor of tsconfig (#​1997)
  • config: deprecate packageJson since internal codes don't use it anymore (#​2034)

26.4.1 (2020-09-29)

Bug Fixes

v26.4.1

Compare Source

Code Refactoring
BREAKING CHANGES
  • config: packageJson config option is not used in internal ts-jest so this option is now removed
  • config: One is defining ast transformers in jest.config.js/package.json should change to
// jest.config.js
module.exports = {
   //...
   globals: {
      'ts-jest': {
         astTransformers: {
           before: ['your_before_transformer_path'],
           after: ['your_after_transformer_path'],
           afterDeclarations: ['your_afterDeclarations_transformer_path'],
         }
      }
   }
}

or

// package.json
{
  "jest": {
     "globals": {
        "ts-jest": {
           "astTransformers": {
              "before": ["your_before_transformer_path"],
              "after": ["your_after_transformer_path"],
              "afterDeclarations": ["your_afterDeclarations_transformer_path"]
           }
        }
     }
  }
}
  • One currently refers type in jest.config.js
/** @​typedef {import('ts-jest')} */
module.exports = {
  //...
}

should change to

/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
  //...
}
  • Remove possibilities to import `moc

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency ts-jest to v26.5.6 Update dependency ts-jest to v26.5.6 Dec 17, 2022
@renovate renovate Bot changed the title Update dependency ts-jest to v26.5.6 chore(deps): update dependency ts-jest to v26.5.6 Dec 17, 2022
@renovate renovate Bot force-pushed the renovate/ts-jest-26.x branch from f21de16 to f2e31a0 Compare August 12, 2025 23:51
@renovate renovate Bot force-pushed the renovate/ts-jest-26.x branch 2 times, most recently from 5166677 to 4d7f025 Compare November 19, 2025 20:10
@renovate renovate Bot force-pushed the renovate/ts-jest-26.x branch from 4d7f025 to 84972a2 Compare March 14, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants