Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Comments

Update dependency ts-jest to v26.5.6#19

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

Update dependency ts-jest to v26.5.6#19
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/ts-jest-26.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 15, 2020

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-jest (source) 26.5.4 -> 26.5.6 age adoption passing 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).

Configuration

📅 Schedule: 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 is behind base branch, 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 requested a review from erik-beus May 15, 2020 21:59
@renovate renovate bot changed the title Update dependency ts-jest to v26 Update dependency ts-jest to v26 - autoclosed Apr 13, 2021
@renovate renovate bot closed this Apr 13, 2021
@renovate renovate bot deleted the renovate/ts-jest-26.x branch April 13, 2021 08:03
@renovate renovate bot changed the title Update dependency ts-jest to v26 - autoclosed Update dependency ts-jest to v26 Apr 15, 2021
@renovate renovate bot restored the renovate/ts-jest-26.x branch April 15, 2021 16:38
@renovate renovate bot reopened this Apr 15, 2021
@renovate renovate bot force-pushed the renovate/ts-jest-26.x branch from 6484e3d to c2001f3 Compare April 15, 2021 16:39
@renovate renovate bot changed the title Update dependency ts-jest to v26 Update dependency ts-jest to v26.5.5 Apr 15, 2021
@renovate renovate bot force-pushed the renovate/ts-jest-26.x branch from c2001f3 to 2597b5c Compare May 5, 2021 15:27
@renovate renovate bot changed the title Update dependency ts-jest to v26.5.5 Update dependency ts-jest to v26.5.6 May 5, 2021
@renovate renovate bot changed the title Update dependency ts-jest to v26.5.6 Update dependency ts-jest to v26.5.6 - autoclosed May 7, 2021
@renovate renovate bot closed this May 7, 2021
@renovate renovate bot deleted the renovate/ts-jest-26.x branch May 7, 2021 09:29
@renovate renovate bot changed the title Update dependency ts-jest to v26.5.6 - autoclosed Update dependency ts-jest to v26.5.6 May 7, 2021
@renovate renovate bot reopened this May 7, 2021
@renovate renovate bot restored the renovate/ts-jest-26.x branch May 7, 2021 15:16
@renovate renovate bot force-pushed the renovate/ts-jest-26.x branch from 2597b5c to 19e98d7 Compare May 7, 2021 15:17
@renovate renovate bot force-pushed the renovate/ts-jest-26.x branch from 19e98d7 to fa1de57 Compare September 25, 2022 16:19
@renovate
Copy link
Contributor Author

renovate bot commented Sep 25, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
ERROR: npm is known not to run on Node.js v10.15.3
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
ERROR: npm is known not to run on Node.js v10.15.3
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/

@renovate
Copy link
Contributor Author

renovate bot commented Aug 10, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants