GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — Update dependency ts-jest to v29 by xcomponentadmin · Pull Request #255 · xcomponent/ReactiveXComponent.js Conversation
|
| Package | Type | Update | Change |
|---|---|---|---|
| ts-jest (source) | devDependencies | major | ^25.0.0 -> ^29.0.0 |
v29.0.3globals with transformer config correctly (#3842) (9c9fd60), closes #3841v29.0.2ts-jest as optional in ConfigGlobals (#3816) (cbb88bb), closes #3815config:init command (#3825) (21b94db)v29.0.1v29.0.0ts-jest config under globals is now deprecated. Please define the config via transformer config instead.v28.0.8v28.0.7v28.0.6diagnostics: false (#3647) (9a9bc02), closes #3638useCaseSensitiveFileNames wherever needed (#3683) (c40bc34), closes #3665@jest/types as peer dependency (#3633) (24567e1)v28.0.5v28.0.4v28.0.3v28.0.2v28.0.1v28.0.0ConfigSet as legacy (#3456) (a986729)TsCompiler and TsJestCompiler as legacy (#3457) (0f2fe30)path-mapping AST transformer (#3455) (f566869)mocked testing util (#3333) (2d9017d)ts-jest/utils sub path export (#3334) (9f253d3)TsJestTransformer as legacy (#3451) (b090179)path-mapping AST transformer is no longer shipped in ts-jest v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.ts-jest/dist/compiler/ts-compiler should change to ts-jest/dist/legacy/compiler/ts-compilerts-jest/dist/compiler/ts-jest-compiler should change to ts-jest/dist/legacy/compiler/ts-jest-compilerts-jest/dist/config/config-set should change to ts-jest/dist/legacy/config/config-setTypeScript version is now 4.3 since Jest 28 requires it.ts-jest/utils should be replaced with ts-jest.mocked has been integrated into Jest repo.esbuild from peer dependency (#3360) (8c8c1ca), closes #3346.cjs extension (#3361) (5e5ac4a), closes #3335afterProcess hook (#3132) (2b6b86e)esbuild as optional peer dependency (#3129) (20258de)v27.1.5v27.1.4esbuild from peer dependency (#3360) (8c8c1ca), closes #3346.cjs extension (#3361) (5e5ac4a), closes #3335v27.1.3v27.1.2v27.1.1afterProcess hook (#3132) (2b6b86e)esbuild as optional peer dependency (#3129) (20258de)v27.1.0processAsync and getCacheKeyAsync (#3047) (571a880)ts-jest public apis from index.js (#3080) (53175dd), closes #3045mocked util function (#3102) (55e69f1)compiler option (#3087) (cc42daf)path-mapping AST transformer (#3088) (d8f6b96)factory API for hoisting AST transformer (#3058) (a72f51d)path-mapping AST transformer is deprecated and will be removed in v28.0.0. One should use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.mocked function is deprecated and will be removed in v28.0.0. The function has been integrated into jest-mock package as a part of Jest 27.4.0, see https://github.com/facebook/jest/pull/12089. One should use the one from Jest insteadtsConfig option for ts-jest config options (#2794) (781710b), closes #2764config:init genarate invalid type comment (#2773) (ede8a20), closes #2772./ in tsconfig paths for pathsToModuleNameMapper (#2797) (42ff5e4), closes #2709@types/jest as optional peerDependencies to solve yarn 2 (#2756) (5fbf43e)babel-jest as optional peerDependencies to solve yarn 2 (#2751) (8bede2e)name and version into cache key (#2755) (310fb9a), closes #2753npx ts-jest:init (#2742) (f51ba05)TS_JEST to allow detecting of ts-jest (#2717) (56c137a), closes #2716exclude should only exclude files which match glob values (#2637) (c5ce979), closes #2634testMatch if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false use updated compiler options (#2628) (348e30f), closes #2629presets (#2624) (0ea025e), closes #2623v27.0.7v27.0.6v27.0.5tsConfig option for ts-jest config options (#2794) (781710b), closes #2764config:init genarate invalid type comment (#2773) (ede8a20), closes #2772./ in tsconfig paths for pathsToModuleNameMapper (#2797) (42ff5e4), closes #2709v27.0.4@types/jest as optional peerDependencies to solve yarn 2 (#2756) (5fbf43e)babel-jest as optional peerDependencies to solve yarn 2 (#2751) (8bede2e)name and version into cache key (#2755) (310fb9a), closes #2753npx ts-jest:init (#2742) (f51ba05)TS_JEST to allow detecting of ts-jest (#2717) (56c137a), closes #2716v27.0.3v27.0.2exclude should only exclude files which match glob values (#2637) (c5ce979), closes #2634v27.0.1testMatch if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false use updated compiler options (#2628) (348e30f), closes #2629presets (#2624) (0ea025e), closes #2623v27.0.0.ts/.tsx/.d.ts files only (#2458) (a89f0e2), closes #2445undefined (#2433) (c6d6e4c), closes #2085@types/jest from direct dep (#2409) (8913120), closes #2406 #2411outDir from compiler source files (#2375) (ec68c74), closes #2350 #2374tsconfig option (#2383) (584324a), closes #2368astTransformers value changes (#2345) (d726016)node_modules when adding ts-jest (#2263) (8e0675c)TsCompiler as public api (#2344) (871cd6a)presets entry point (#2337) (1a3058f)Program (#2299) (387964f)pathRegex with exclude (#2295) (f2f99c3)js files based on checkJs (#2283) (1e04433)isolatedModules: false (#2269) (9bb0c05), closes #1709isolatedModule: true (#2219) (e101db0), closes #1709TsJestTransformer to have version checking (#2176) (ca8d7c4)astTransformers string array (#2129) (1e0b2ce)packageJson option (#2128) (05916b9)tsConfig option (#2127) (3cc9b80)ts-jest will use sourceMap option from your tsconfig. If users want to have sourcemap on, they need to set sourceMap: true in tsconfig.exports field to package.json, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e)ts-jest custom AST transformer function signature has changed toimport type { TsCompilerInstance } from 'ts-jest/dist/types'
export function factory(compilerInstance: TsCompilerInstance) {
//...
}
pathRegex should use exclude with glob patterns.js files, please set checkJs: true in your tsconfig.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.packageJson config option is not used in internal ts-jest so this option is now removed.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"]
}
}
}
}
}
jest.config.js/** @​typedef {import('ts-jest')} */
module.exports = {
//...
}
should change to
/** @​typedef {import('ts-jest/dist/types')} */
module.exports = {
//...
}
mocked, createJestPreset, pathsToModuleNameMapper from package entry. One should change toimport { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils'
tsConfig should change to tsconfig in your jest.config.js or package.json.v26.5.6v26.5.5v26.5.4v26.5.3@types/jest from direct dep (#2416) (060302e), closes #2406 #2411v26.5.2outDir from compiler source files (#2376) (9034677), closes #2350 #2374matchTestFilePath before setupTsJestCfg (#2373) (c427fea), closes #2371tsconfig/tsConfig option (#2377) (d4f6aff), closes #2368v26.5.1presets entry point (#2341) (e12b004), closes #2325v26.5.0v26.4.4v26.4.3.babelrc file path before attempting to read it (#2071) (681bfef), closes #2064v26.4.2tsConfig in favor of tsconfig (#1997)packageJson since internal codes don't use it anymore (#2034)v26.4.1MaybeMockedConstructor returns T (#1976) (b7712b2)path.join and add check on prefix ends with / (#1989) (3d9035b), closes #1982v26.4.0pathsToModuleNameMapper resolve path mapping with path.join (#1969) (81fce4c), closes #1968jest-util version at 26.1.0 (#1914) (f00414c), closes #1913@jest/globals (#1937) (0e5be15), closes #1593path-mapping custom AST transformer (#1927) (3325186)v26.3.0v26.2.0📅 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.
This PR has been generated by Renovate Bot.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.