Comparing version 27.0.0-next.10 to 27.0.0-next.11
@@ -0,1 +1,25 @@ | ||
## [26.5.5](https://github.com/kulshekhar/ts-jest/compare/v26.5.4...v26.5.5) (2021-04-15) | ||
### Bug Fixes | ||
* **compiler:** return file content on emitSkipped for non ts/tsx files ([#2515](https://github.com/kulshekhar/ts-jest/issues/2515)) ([0320fb3](https://github.com/kulshekhar/ts-jest/commit/0320fb3ac22056aafe4d7ae966eab84dbf23fda9)), closes [#2513](https://github.com/kulshekhar/ts-jest/issues/2513) | ||
# [27.0.0-next.11](https://github.com/kulshekhar/ts-jest/compare/v27.0.0-next.10...v27.0.0-next.11) (2021-04-15) | ||
### Bug Fixes | ||
* **compiler:** return file content on emitSkipped for non ts/tsx files ([#2519](https://github.com/kulshekhar/ts-jest/issues/2519)) ([a4e5640](https://github.com/kulshekhar/ts-jest/commit/a4e5640f54a7810c9b7aba32663ce4a53893d22f)), closes [#2513](https://github.com/kulshekhar/ts-jest/issues/2513) | ||
### Features | ||
* support jest **27.0.0-next.7** ([#2498](https://github.com/kulshekhar/ts-jest/issues/2498)) ([a10af91](https://github.com/kulshekhar/ts-jest/commit/a10af91e2c3128c8de732a421f743621e60dbe8e)) | ||
* support jest **27.0.0-next.8** ([#2512](https://github.com/kulshekhar/ts-jest/issues/2512)) ([999ef60](https://github.com/kulshekhar/ts-jest/commit/999ef60c93801de5cdb1a3483af16090e3a1b52e)) | ||
# [27.0.0-next.10](https://github.com/kulshekhar/ts-jest/compare/v27.0.0-next.9...v27.0.0-next.10) (2021-03-30) | ||
@@ -2,0 +26,0 @@ |
@@ -130,4 +130,9 @@ "use strict"; | ||
if (output.emitSkipped) { | ||
this._logger.warn(messages_1.interpolate("Unable to process '{{file}}', falling back to original file content. Please make sure that `outDir` in your tsconfig is neither `''` or `'.'`. You can also configure Jest config option `transformIgnorePatterns` to ignore {{file}} from transformation", { file: fileName })); | ||
return compiler_utils_1.updateOutput(fileContent, fileName, '{}'); | ||
if (constants_1.TS_TSX_REGEX.test(fileName)) { | ||
throw new Error(messages_1.interpolate("Unable to process '{{file}}', please make sure that `outDir` in your tsconfig is neither `''` or `'.'`. You can also configure Jest config option `transformIgnorePatterns` to inform `ts-jest` to transform {{file}}", { file: fileName })); | ||
} | ||
else { | ||
this._logger.warn(messages_1.interpolate("Unable to process '{{file}}', falling back to original file content. You can also configure Jest config option `transformIgnorePatterns` to ignore {{file}} from transformation or make sure that `outDir` in your tsconfig is neither `''` or `'.'`", { file: fileName })); | ||
return compiler_utils_1.updateOutput(fileContent, fileName, '{}'); | ||
} | ||
} | ||
@@ -134,0 +139,0 @@ if (!output.outputFiles.length) { |
@@ -8,2 +8,3 @@ export interface RawCompilerOptions { | ||
disableReferencedProjectLoad?: boolean; | ||
noPropertyAccessFromIndexSignature?: boolean; | ||
emitBOM?: boolean; | ||
@@ -22,5 +23,5 @@ emitDeclarationOnly?: boolean; | ||
mapRoot?: string; | ||
module?: 'CommonJS' | 'AMD' | 'System' | 'UMD' | 'ES6' | 'ES2015' | 'ES2020' | 'ESNext' | 'None' | string; | ||
moduleResolution?: 'Classic' | 'Node'; | ||
newLine?: 'crlf' | 'lf'; | ||
module?: ('CommonJS' | 'AMD' | 'System' | 'UMD' | 'ES6' | 'ES2015' | 'ES2020' | 'ESNext' | 'None') | string; | ||
moduleResolution?: ('Classic' | 'Node') | string; | ||
newLine?: ('crlf' | 'lf') | string; | ||
noEmit?: boolean; | ||
@@ -30,3 +31,2 @@ noEmitHelpers?: boolean; | ||
noImplicitAny?: boolean; | ||
noImplicitOverride?: boolean; | ||
noImplicitThis?: boolean; | ||
@@ -53,3 +53,3 @@ noUnusedLocals?: boolean; | ||
suppressImplicitAnyIndexErrors?: boolean; | ||
target?: 'ES3' | 'ES5' | 'ES6' | 'ES2015' | 'ES2016' | 'ES2017' | 'ES2018' | 'ES2019' | 'ES2020' | 'ESNext' | string; | ||
target?: ('ES3' | 'ES5' | 'ES6' | 'ES2015' | 'ES2016' | 'ES2017' | 'ES2018' | 'ES2019' | 'ES2020' | 'ESNext') | string; | ||
watch?: boolean; | ||
@@ -86,3 +86,3 @@ fallbackPolling?: 'fixedPollingInterval' | 'priorityPollingInterval' | 'dynamicPriorityPolling'; | ||
disableSizeLimit?: boolean; | ||
lib?: Array<'ES5' | 'ES6' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' | 'ES2016' | 'ES2016.Array.Include' | 'ES2017' | 'ES2017.Intl' | 'ES2017.Object' | 'ES2017.SharedMemory' | 'ES2017.String' | 'ES2017.TypedArrays' | 'ES2018' | 'ES2018.AsyncGenerator' | 'ES2018.AsyncIterable' | 'ES2018.Intl' | 'ES2018.Promise' | 'ES2018.Regexp' | 'ES2019' | 'ES2019.Array' | 'ES2019.Object' | 'ES2019.String' | 'ES2019.Symbol' | 'ES2020' | 'ES2020.BigInt' | 'ES2020.Promise' | 'ES2020.String' | 'ES2020.Symbol.WellKnown' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' | 'ESNext.BigInt' | 'ESNext.Intl' | 'ESNext.Promise' | 'ESNext.String' | 'ESNext.Symbol' | 'DOM' | 'DOM.Iterable' | 'ScriptHost' | 'WebWorker' | 'WebWorker.ImportScripts'>; | ||
lib?: Array<('ES5' | 'ES6' | 'ES2015' | 'ES2015.Collection' | 'ES2015.Core' | 'ES2015.Generator' | 'ES2015.Iterable' | 'ES2015.Promise' | 'ES2015.Proxy' | 'ES2015.Reflect' | 'ES2015.Symbol.WellKnown' | 'ES2015.Symbol' | 'ES2016' | 'ES2016.Array.Include' | 'ES2017' | 'ES2017.Intl' | 'ES2017.Object' | 'ES2017.SharedMemory' | 'ES2017.String' | 'ES2017.TypedArrays' | 'ES2018' | 'ES2018.AsyncGenerator' | 'ES2018.AsyncIterable' | 'ES2018.Intl' | 'ES2018.Promise' | 'ES2018.Regexp' | 'ES2019' | 'ES2019.Array' | 'ES2019.Object' | 'ES2019.String' | 'ES2019.Symbol' | 'ES2020' | 'ES2020.BigInt' | 'ES2020.Promise' | 'ES2020.String' | 'ES2020.Symbol.WellKnown' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' | 'ESNext.BigInt' | 'ESNext.Intl' | 'ESNext.Promise' | 'ESNext.String' | 'ESNext.Symbol' | 'DOM' | 'DOM.Iterable' | 'ScriptHost' | 'WebWorker' | 'WebWorker.ImportScripts') | string>; | ||
strictNullChecks?: boolean; | ||
@@ -89,0 +89,0 @@ maxNodeModuleJsDepth?: number; |
@@ -10,5 +10,5 @@ "use strict"; | ||
exports.VersionCheckers = { | ||
jest: createVersionChecker('jest', ">=27.0.0-next.6 <28"), | ||
jest: createVersionChecker('jest', ">=27.0.0-next.8 <28"), | ||
typescript: createVersionChecker('typescript', ">=3.8 <5"), | ||
babelJest: createVersionChecker('babel-jest', ">=27.0.0-next.6 <28"), | ||
babelJest: createVersionChecker('babel-jest', ">=27.0.0-next.8 <28"), | ||
babelCore: createVersionChecker('@babel/core', ">=7.0.0-beta.0 <8"), | ||
@@ -15,0 +15,0 @@ }; |
{ | ||
"name": "ts-jest", | ||
"version": "27.0.0-next.10", | ||
"version": "27.0.0-next.11", | ||
"main": "dist/index.js", | ||
@@ -32,4 +32,4 @@ "types": "dist/index.d.ts", | ||
"lint:fix": "node_modules/.bin/eslint --fix --ext .js,.ts .", | ||
"lint:prettier": "prettier '**/*.{yml,yaml}' 'website/**/*.{css,js,md}' 'CONTRIBUTING.md' 'README.md' 'TROUBLESHOOTING.md' --write --ignore-path .gitignore", | ||
"lint:prettier-ci": "prettier '**/*.{yml,yaml}' 'website/**/*.{css,js,md}' 'CONTRIBUTING.md' 'README.md' 'TROUBLESHOOTING.md' --check --ignore-path .gitignore", | ||
"lint:prettier": "prettier 'scripts/**' '**/*.{yml,yaml}' 'website/**/*.{css,js,md}' 'CONTRIBUTING.md' 'README.md' 'TROUBLESHOOTING.md' --write --ignore-path .gitignore", | ||
"lint:prettier-ci": "prettier 'scripts/**' '**/*.{yml,yaml}' 'website/**/*.{css,js,md}' 'CONTRIBUTING.md' 'README.md' 'TROUBLESHOOTING.md' --check --ignore-path .gitignore", | ||
"doc": "cd website && npm run start", | ||
@@ -71,3 +71,3 @@ "doc:build": "cd website && npm run build", | ||
"fast-json-stable-stringify": "2.x", | ||
"jest-util": "27.0.0-next.6", | ||
"jest-util": "27.0.0-next.8", | ||
"json5": "2.x", | ||
@@ -81,3 +81,3 @@ "lodash": "4.x", | ||
"peerDependencies": { | ||
"jest": "27.0.0-next.6", | ||
"jest": "27.0.0-next.8", | ||
"typescript": ">=3.8 <5.0" | ||
@@ -95,4 +95,4 @@ }, | ||
"@commitlint/config-angular": "^12.0.0", | ||
"@jest/transform": "27.0.0-next.6", | ||
"@jest/types": "27.0.0-next.3", | ||
"@jest/transform": "27.0.0-next.8", | ||
"@jest/types": "27.0.0-next.8", | ||
"@types/babel__core": "7.x", | ||
@@ -128,3 +128,3 @@ "@types/buffer-from": "latest", | ||
"husky": "4.x", | ||
"jest": "27.0.0-next.6", | ||
"jest": "27.0.0-next.8", | ||
"js-yaml": "latest", | ||
@@ -131,0 +131,0 @@ "json-schema-to-typescript": "^10.1.4", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222274
3009
+ Addedjest@27.0.0-next.8(transitive)
+ Addedjest-util@27.0.0-next.8(transitive)
- Removedjest@27.0.0-next.6(transitive)
- Removedjest-util@27.0.0-next.6(transitive)
Updatedjest-util@27.0.0-next.8