diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js index b9204db67..be9cdd687 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/bundle.js @@ -90,7 +90,7 @@ eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./nod /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at successLoader (/Users/alawson/dev/ts-loader/dist/index.js:41:15)/n at Object.loader (/Users/alawson/dev/ts-loader/dist/index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); +eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at successLoader (C://source//ts-loader//dist//index.js:41:15)/n at Object.loader (C://source//ts-loader//dist//index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); /***/ }) diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt index 527f522b4..b4b712e57 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.9/output.txt @@ -1,13 +1,13 @@ Asset Size Chunks Chunk Names -bundle.js 3.77 KiB main [emitted] main +bundle.js 3.79 KiB main [emitted] main Entrypoint main = bundle.js [./app.ts] 79 bytes {main} [built] -[./node_modules/a/index.ts] 568 bytes {main} [built] [failed] [1 error] +[./node_modules/a/index.ts] 556 bytes {main} [built] [failed] [1 error] ERROR in ./node_modules/a/index.ts -Module build failed: Error: Typescript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules. +Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules. You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. See: https://github.com/Microsoft/TypeScript/issues/12358 - at successLoader (dist/index.js:41:15) - at Object.loader (dist/index.js:21:12) + at successLoader (dist\index.js:41:15) + at Object.loader (dist\index.js:21:12) @ ./app.ts 3:8-20 \ No newline at end of file diff --git a/test/comparison-tests/run-tests.js b/test/comparison-tests/run-tests.js index 3dbe1a43e..a96c19f64 100644 --- a/test/comparison-tests/run-tests.js +++ b/test/comparison-tests/run-tests.js @@ -7,7 +7,7 @@ var execSync = require('child_process').execSync; // We only want to run comparison tests for the latest released version var typescriptVersion = parseFloat(semver.major(typescript.version) + '.' + semver.minor(typescript.version)); -if (typescriptVersion < 2.8 || typescriptVersion > 2.8) return; +if (typescriptVersion < 2.9 || typescriptVersion > 2.9) return; // Parse command line arguments var saveOutputMode = process.argv.indexOf('--save-output') !== -1; diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js index f8bf7f615..bea7ac7f0 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/bundle.js @@ -78,7 +78,7 @@ /*! no static exports found */ /***/ (function(module, exports) { -eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules/n/n at validateLoaderOptions (/Users/alawson/dev/ts-loader/dist/index.js:110:19)/n at getLoaderOptions (/Users/alawson/dev/ts-loader/dist/index.js:72:5)/n at Object.loader (/Users/alawson/dev/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); +eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:110:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:72:5)/n at Object.loader (C://source//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); /***/ }) diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt index e5b87bfde..8207d243c 100644 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-2.9/output.txt @@ -1,7 +1,7 @@ Asset Size Chunks Chunk Names -bundle.js 3.53 KiB main [emitted] main +bundle.js 3.54 KiB main [emitted] main Entrypoint main = bundle.js -[./app.ts] 766 bytes {main} [built] [failed] [1 error] +[./app.ts] 751 bytes {main} [built] [failed] [1 error] ERROR in ./app.ts Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption @@ -9,6 +9,6 @@ Module build failed: Error: ts-loader was supplied with an unexpected loader opt Please take a look at the options you are supplying; the following are valid options: silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules - at validateLoaderOptions (dist/index.js:110:19) - at getLoaderOptions (dist/index.js:72:5) - at Object.loader (dist/index.js:15:21) \ No newline at end of file + at validateLoaderOptions (dist\index.js:110:19) + at getLoaderOptions (dist\index.js:72:5) + at Object.loader (dist\index.js:15:21) \ No newline at end of file diff --git a/test/execution-tests/pnpm/shrinkwrap.yaml b/test/execution-tests/pnpm/shrinkwrap.yaml index a29becdf9..89817999d 100644 --- a/test/execution-tests/pnpm/shrinkwrap.yaml +++ b/test/execution-tests/pnpm/shrinkwrap.yaml @@ -205,7 +205,7 @@ packages: resolution: integrity: sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== registry: 'https://registry.npmjs.org/' -shrinkwrapMinorVersion: 5 +shrinkwrapMinorVersion: 7 shrinkwrapVersion: 3 specifiers: '@types/react': 16.3.12