ts-jest 28.0.7 → 28.0.8

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
- ff200d704e5e12be15a3c37d51a6bd3bb025a6c5
1
+ 52094263bf7d17e2c2650e5a9499d7adbdd08c8e
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [28.0.8](https://github.com/kulshekhar/ts-jest/compare/v28.0.7...v28.0.8) (2022-08-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * allow `.mts` to be processed ([#3713](https://github.com/kulshekhar/ts-jest/issues/3713)) ([effae71](https://github.com/kulshekhar/ts-jest/commit/effae717369860e16cb0ccbf24027651493b9bf1)), closes [#3702](https://github.com/kulshekhar/ts-jest/issues/3702)
7
+
8
+
9
+
1
10
  ## [28.0.7](https://github.com/kulshekhar/ts-jest/compare/v28.0.6...v28.0.7) (2022-07-15)
2
11
 
3
12
 
package/dist/constants.js CHANGED
@@ -4,8 +4,8 @@ exports.DEFAULT_JEST_TEST_MATCH = exports.JS_EXT_TO_TREAT_AS_ESM = exports.TS_EX
4
4
  exports.LINE_FEED = '\n';
5
5
  exports.DECLARATION_TYPE_EXT = '.d.ts';
6
6
  exports.JS_JSX_EXTENSIONS = ['.js', '.jsx'];
7
- exports.TS_TSX_REGEX = /\.tsx?$/;
8
- exports.JS_JSX_REGEX = /\.jsx?$/;
9
- exports.TS_EXT_TO_TREAT_AS_ESM = ['.ts', '.tsx'];
7
+ exports.TS_TSX_REGEX = /\.m?tsx?$/;
8
+ exports.JS_JSX_REGEX = /\.m?jsx?$/;
9
+ exports.TS_EXT_TO_TREAT_AS_ESM = ['.ts', '.tsx', '.mts'];
10
10
  exports.JS_EXT_TO_TREAT_AS_ESM = ['.jsx'];
11
11
  exports.DEFAULT_JEST_TEST_MATCH = ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-jest",
3
- "version": "28.0.7",
3
+ "version": "28.0.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "bin": {
@@ -91,8 +91,8 @@
91
91
  "devDependencies": {
92
92
  "@commitlint/cli": "17.x",
93
93
  "@commitlint/config-angular": "^17.0.3",
94
- "@jest/transform": "^28.1.1",
95
- "@jest/types": "^28.1.1",
94
+ "@jest/transform": "^28.1.3",
95
+ "@jest/types": "^28.1.3",
96
96
  "@types/babel__core": "7.x",
97
97
  "@types/cross-spawn": "latest",
98
98
  "@types/fs-extra": "latest",
@@ -108,13 +108,13 @@
108
108
  "@types/semver": "latest",
109
109
  "@types/yargs": "latest",
110
110
  "@types/yargs-parser": "21.x",
111
- "@typescript-eslint/eslint-plugin": "^5.30.6",
112
- "@typescript-eslint/parser": "^5.30.6",
113
- "babel-jest": "^28.1.1",
111
+ "@typescript-eslint/eslint-plugin": "^5.33.0",
112
+ "@typescript-eslint/parser": "^5.33.0",
113
+ "babel-jest": "^28.1.3",
114
114
  "conventional-changelog-cli": "2.x",
115
115
  "cross-spawn": "latest",
116
- "esbuild": "~0.14.49",
117
- "eslint": "^8.19.0",
116
+ "esbuild": "~0.15.3",
117
+ "eslint": "^8.22.0",
118
118
  "eslint-config-prettier": "latest",
119
119
  "eslint-plugin-import": "latest",
120
120
  "eslint-plugin-jest": "latest",
@@ -126,14 +126,14 @@
126
126
  "glob": "^8.0.3",
127
127
  "glob-gitignore": "latest",
128
128
  "husky": "4.x",
129
- "jest": "^28.1.1",
129
+ "jest": "^28.1.3",
130
130
  "jest-snapshot-serializer-raw": "^1.2.0",
131
131
  "js-yaml": "latest",
132
- "json-schema-to-typescript": "^11.0.1",
132
+ "json-schema-to-typescript": "^11.0.2",
133
133
  "lint-staged": "latest",
134
134
  "lodash.camelcase": "^4.3.0",
135
135
  "lodash.set": "^4.3.2",
136
- "node-fetch": "^3.2.8",
136
+ "node-fetch": "^3.2.10",
137
137
  "prettier": "^2.7.1",
138
138
  "typescript": "~4.7.4"
139
139
  },