ts-jest 29.4.1 → 29.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.ts-jest-digest CHANGED
@@ -1 +1 @@
1
- ff42db26b185ac7e4ad144c52d191736fe9dffdd
1
+ dcc1f805fca523b68a17fd855bdb44f7efac00d6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [29.4.2](https://github.com/kulshekhar/ts-jest/compare/v29.4.1...v29.4.2) (2025-09-15)
2
+
3
+
4
+ ## Bug Fixes
5
+
6
+ * fix: node 14 compatibility ([aa0d563](https://github.com/kulshekhar/ts-jest/commit/aa0d563)), fixes [#5038](https://github.com/kulshekhar/ts-jest/issues/5038)
7
+
8
+
9
+
1
10
  ## [29.4.1](https://github.com/kulshekhar/ts-jest/compare/v29.4.0...v29.4.1) (2025-08-03)
2
11
 
3
12
 
@@ -54,9 +54,11 @@ const shouldCheckProjectPkgJsonContent = (fileName, moduleKind) => {
54
54
  * - Allow using custom AST transformers with the internal created {@link Program}
55
55
  */
56
56
  const transpileWorker = (input, transpileOptions) => {
57
- barebonesLibSourceFile ??= typescript_1.default.createSourceFile(barebonesLibName, barebonesLibContent, {
58
- languageVersion: typescript_1.default.ScriptTarget.Latest,
59
- });
57
+ if (!barebonesLibSourceFile) {
58
+ barebonesLibSourceFile = typescript_1.default.createSourceFile(barebonesLibName, barebonesLibContent, {
59
+ languageVersion: typescript_1.default.ScriptTarget.Latest,
60
+ });
61
+ }
60
62
  const diagnostics = [];
61
63
  const options = transpileOptions.compilerOptions
62
64
  ? // @ts-expect-error internal TypeScript API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-jest",
3
- "version": "29.4.1",
3
+ "version": "29.4.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
@@ -93,31 +93,31 @@
93
93
  "devDependencies": {
94
94
  "@commitlint/cli": "^19.8.1",
95
95
  "@commitlint/config-angular": "^19.8.1",
96
- "@eslint/compat": "^1.3.1",
96
+ "@eslint/compat": "^1.3.2",
97
97
  "@eslint/eslintrc": "^3.3.1",
98
- "@eslint/js": "^9.32.0",
98
+ "@eslint/js": "^9.35.0",
99
99
  "@jest/globals": "^30.0.5",
100
100
  "@jest/transform": "^30.0.5",
101
101
  "@jest/types": "^30.0.5",
102
102
  "@types/babel__core": "^7.20.5",
103
103
  "@types/fs-extra": "^11.0.4",
104
- "@types/handlebars": "^4.1.0",
105
104
  "@types/jest": "^29.5.14",
106
105
  "@types/js-yaml": "^4.0.9",
107
106
  "@types/lodash.camelcase": "^4.3.9",
108
107
  "@types/lodash.memoize": "^4.1.9",
109
108
  "@types/lodash.set": "^4.3.9",
110
109
  "@types/micromatch": "^4.0.9",
111
- "@types/node": "20.19.9",
112
- "@types/semver": "^7.7.0",
110
+ "@types/node": "20.19.14",
111
+ "@types/semver": "^7.7.1",
113
112
  "@types/yargs": "^17.0.33",
114
113
  "@types/yargs-parser": "21.0.3",
115
- "@typescript-eslint/eslint-plugin": "^8.38.0",
116
- "@typescript-eslint/parser": "^8.38.0",
114
+ "@typescript-eslint/eslint-plugin": "^8.43.0",
115
+ "@typescript-eslint/parser": "^8.43.0",
117
116
  "babel-jest": "^30.0.5",
117
+ "conventional-changelog-angular": "^8.0.0",
118
118
  "conventional-changelog-cli": "^5.0.0",
119
- "esbuild": "~0.25.8",
120
- "eslint": "^9.32.0",
119
+ "esbuild": "~0.25.9",
120
+ "eslint": "^9.35.0",
121
121
  "eslint-config-prettier": "^10.1.8",
122
122
  "eslint-plugin-import": "^2.32.0",
123
123
  "eslint-plugin-jest": "^28.14.0",
@@ -125,18 +125,18 @@
125
125
  "eslint-plugin-prettier": "^4.2.5",
126
126
  "execa": "5.1.1",
127
127
  "fast-glob": "^3.3.3",
128
- "fs-extra": "^11.3.0",
129
- "globals": "^16.3.0",
128
+ "fs-extra": "^11.3.1",
129
+ "globals": "^16.4.0",
130
130
  "husky": "^9.1.7",
131
131
  "jest": "^30.0.5",
132
132
  "js-yaml": "^4.1.0",
133
133
  "lint-staged": "^15.5.2",
134
- "memfs": "^4.36.0",
134
+ "memfs": "^4.39.0",
135
135
  "prettier": "^2.8.8",
136
136
  "rimraf": "^5.0.10",
137
137
  "ts-node": "^10.9.2",
138
- "typescript": "~5.8.3",
139
- "typescript-eslint": "^8.38.0"
138
+ "typescript": "~5.9.2",
139
+ "typescript-eslint": "^8.43.0"
140
140
  },
141
141
  "engines": {
142
142
  "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"