Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ts-jest to v27 - autoclosed #171

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 25, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-jest (source) 25.5.1 -> 27.0.3 age adoption passing confidence

Release Notes

kulshekhar/ts-jest

v27.0.3

Compare Source

Bug Fixes
Features

v27.0.2

Compare Source

Bug Fixes

v27.0.1

Compare Source

Bug Fixes

v27.0.0

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.6

Compare Source

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

v26.5.5

Compare Source

Bug Fixes

v26.5.4

Compare Source

Bug Fixes

v26.5.3

Compare Source

Bug Fixes

v26.5.2

Compare Source

Bug Fixes

v26.5.1

Compare Source

Features

v26.5.0

Compare Source

Bug Fixes
Features
DEPRECATIONS

v26.4.4

Compare Source

Bug Fixes
Features

v26.4.3

Compare Source

Bug Fixes
Features

v26.4.2

Compare Source

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)

v26.4.1

Compare Source

Bug Fixes

v26.4.0

Compare Source

Bug Fixes
Features
Performance Improvements
  • compiler: remove createProgram for isolatedModules: true to boost startup speed (#​1941) (dd84534)

v26.3.0

Compare Source

Bug Fixes
Features

v26.2.0

Compare Source

Bug Fixes
Features
  • config: support after and afterDeclarations AST transformers (#​1831) (be20a7c)
  • allow opt-out version warning message by environment variable TS_JEST_DISABLE_VER_CHECKER (#​1821) (e6b42fc), closes #​1774

26.1.4 (2020-07-28)

Bug Fixes

26.1.3 (2020-07-16)

Bug Fixes

26.1.2 (2020-07-13)

Bug Fixes
  • compiler: use resolveModuleNames TypeScript API to get resolved modules for test files (#​1784) (5f26054), closes #​1747
  • config: invalidate cache when other options in tsconfig change (#​1788) (6948855)
Performance Improvements

26.1.1 (2020-06-21)

Bug Fixes

v26.1.4

Compare Source

Bug Fixes

v26.1.3

Compare Source

Bug Fixes

v26.1.2

Compare Source

Bug Fixes
  • compiler: use resolveModuleNames TypeScript API to get resolved modules for test files (#​1784) (5f26054), closes #​1747
  • config: invalidate cache when other options in tsconfig change (#​1788) (6948855)
Performance Improvements

v26.1.1

Compare Source

Bug Fixes

v26.1.0

Compare Source

Bug Fixes
Features
  • config: show a warning message when TypeScript target version doesn't match with recommended NodeJs version (#​1678) (085bdf5)
  • config: support multiple paths for pathsToModuleNameMapper (#​1690) (a727bd5)
  • support TypeScript 3.9 (#​1653) (fc3d5ad)

v26.0.0

Compare Source

Bug Fixes
  • compiler: return undefined for getScriptVersion when a file doesn't exist in memory cache (#​1641) (6851b8e)
Features
BREAKING CHANGES
  • Requires a minimum of TypeScript v3.8
  • Drop support for Node 8

25.5.1 (2020-05-09)

Bug Fixes
  • compiler: don't resolve files from build folder for projectReferences (#​1614) (74b92d3)
  • config: don't set include value of tsconfig to empty array (#​1606) (8a29aaa)

Configuration

📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/ts-jest-27.x branch 2 times, most recently from b61f5a7 to 8191945 Compare May 31, 2021 07:44
@renovate renovate bot changed the title chore(deps): update dependency ts-jest to v27 chore(deps): update dependency ts-jest to v27 - autoclosed Jul 4, 2021
@renovate renovate bot closed this Jul 4, 2021
@renovate renovate bot deleted the renovate/ts-jest-27.x branch July 4, 2021 21:09
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.

None yet

1 participant