diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 39b923bcb..041d8d9a4 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ # https://github.com/microsoft/vscode-dev-containers/tree/v0.122.1/containers/typescript-node-14/.devcontainer/Dockerfile #------------------------------------------------------------------------------------------------------------- -FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:16 +FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:18 # The javascript-node image includes a non-root node user with sudo access. Use # the "remoteUser" property in devcontainer.json to use it. On Linux, the container diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index b0e8e6e9b..724d94022 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -48,7 +48,7 @@ jobs: name: Execution Tests Ubuntu strategy: matrix: - node: [14, 16] + node: [18, 16] ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, 4.2.4, 4.3.2, 4.4.2, 4.5.2, 4.6.2, 4.7.3, 4.8.2, 4.9.3, next] runs-on: ubuntu-latest steps: @@ -75,7 +75,7 @@ jobs: name: Execution Tests Windows strategy: matrix: - node: [14, 16] + node: [18, 16] ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, 4.2.4, 4.3.2, 4.4.2, 4.5.2, 4.6.2, 4.7.3, 4.8.2, 4.9.3, next] runs-on: windows-latest steps: diff --git a/Dockerfile b/Dockerfile index 1b17fcc74..9c2b48ce9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 +FROM node:18 # See https://crbug.com/795759 RUN apt-get update && apt-get install -yq libgconf-2-4 diff --git a/package.json b/package.json index bc9500b9c..143a8ca69 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "mocha": "^6.0.0", "prettier": "^2.0.5", "rimraf": "^2.6.2", - "typescript": "^4.9.3", + "typescript": "^5.0.4", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" }, diff --git a/src/config.ts b/src/config.ts index 6720b2909..6fe5279ab 100644 --- a/src/config.ts +++ b/src/config.ts @@ -159,7 +159,7 @@ export function getConfigParseResult( return configParseResult; } -const extendedConfigCache = new Map() as typescript.Map; +const extendedConfigCache = new Map(); export function getParsedCommandLine( compiler: typeof typescript, loaderOptions: LoaderOptions, diff --git a/src/utils.ts b/src/utils.ts index 990a509cf..46da41d13 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -134,7 +134,7 @@ function getFileLocations( export function fsReadFile( fileName: string, - encoding: BufferEncoding | undefined = 'utf8' + encoding: typescript.BufferEncoding | undefined = 'utf8' ) { fileName = path.normalize(fileName); try { diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.9/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.9/bundle.js deleted file mode 100644 index 18b2ec1df..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/***/ ((module) => { - -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.9/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.9/output.txt deleted file mode 100644 index 1258b61ed..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -./app.ts 120 bytes [built] [code generated] [2 errors] -./common/components/myComponent.ts 46 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 1:29-53 -[tsl] ERROR in app.ts(1,30) - TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations. -ts-loader-default_609318b4f68865d3 - -ERROR in app.ts -./app.ts 2:30-55 -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 38a20f95b..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/***/ ((module) => { - -eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index b9e20a7e7..000000000 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -cached modules 120 bytes [cached] 1 module -./common/components/myComponent.ts 45 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 1:29-53 -[tsl] ERROR in app.ts(1,30) - TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations. -ts-loader-default_609318b4f68865d3 - -ERROR in app.ts -./app.ts 2:30-55 -[tsl] ERROR in app.ts(2,31) - TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/aliasResolution/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-5.0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..d7a68fbf8 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-5.0/output.txt @@ -0,0 +1,17 @@ +asset bundle.js 2.64 KiB [emitted] (name: main) +./app.ts 156 bytes [built] [code generated] [2 errors] +./common/components/myComponent.ts 46 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 1:29-53 +[tsl] ERROR in app.ts(1,30) + TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations. +ts-loader-default_609318b4f68865d3 + +ERROR in app.ts +./app.ts 2:30-55 +[tsl] ERROR in app.ts(2,31) + TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/aliasResolution/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..b35ceec44 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,17 @@ +asset bundle.js 2.64 KiB [emitted] (name: main) +cached modules 156 bytes [cached] 1 module +./common/components/myComponent.ts 45 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 1:29-53 +[tsl] ERROR in app.ts(1,30) + TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations. +ts-loader-default_609318b4f68865d3 + +ERROR in app.ts +./app.ts 2:30-55 +[tsl] ERROR in app.ts(2,31) + TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/errorFormatter/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..6ce67c687 --- /dev/null +++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/***/ ((module) => { + +eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.9/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.9/bundle.js rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.9/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.9/output.txt rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.9/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/allowJs-ts-check/expectedOutput-4.9/bundle.js rename to test/comparison-tests/allowJs-ts-check/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.9/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/allowJs-ts-check/expectedOutput-4.9/output.txt rename to test/comparison-tests/allowJs-ts-check/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.9/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-4.9/bundle.js deleted file mode 100644 index 0b3a300f0..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./helper.ts": -/*!*******************!*\ - !*** ./helper.ts ***! - \*******************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); - -/***/ }), - -/***/ "./index.vue": -/*!*******************!*\ - !*** ./index.vue ***! - \*******************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./index.vue"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.9/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-4.9/output.txt deleted file mode 100644 index 8b55436ff..000000000 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.27 KiB [emitted] (name: main) -./index.vue 352 bytes [built] [code generated] -./component.vue 154 bytes [built] [code generated] -./helper.ts 154 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/appendSuffixTo/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/appendSuffixTo/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..222cffe35 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./helper.ts": +/*!*******************!*\ + !*** ./helper.ts ***! + \*******************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?"); + +/***/ }), + +/***/ "./index.vue": +/*!*******************!*\ + !*** ./index.vue ***! + \*******************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports[\"default\"] = {\n components: { component: component_vue_1.default },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./index.vue"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..39cd59da5 --- /dev/null +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.38 KiB [emitted] (name: main) +./index.vue 382 bytes [built] [code generated] +./component.vue 187 bytes [built] [code generated] +./helper.ts 190 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/bundle.entry2.js deleted file mode 100644 index 4f52fa536..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/bundle.entry2.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./entry2.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/output.txt deleted file mode 100644 index 00bbe6882..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -asset bundle.entry2.js 2.58 KiB [emitted] (name: entry2) -asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1) -./entry1.ts 23 bytes [built] [code generated] -./entry2.ts 132 bytes [built] [code generated] -./component.vue 76 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/bundle.entry2.js deleted file mode 100644 index 4f52fa536..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/bundle.entry2.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./component.vue": -/*!***********************!*\ - !*** ./component.vue ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); - -/***/ }), - -/***/ "./entry2.ts": -/*!*******************!*\ - !*** ./entry2.ts ***! - \*******************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./entry2.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 955a1fdd7..000000000 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -assets by status 2.58 KiB [cached] 1 asset -asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1) -cached modules 208 bytes [cached] 2 modules -./entry1.ts 27 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/bundle.entry1.js similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/bundle.entry1.js rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/bundle.entry1.js diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/bundle.entry2.js new file mode 100644 index 000000000..c885778cc --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/bundle.entry2.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./entry2.ts": +/*!*******************!*\ + !*** ./entry2.ts ***! + \*******************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1.default);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./entry2.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..d39d67819 --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/output.txt @@ -0,0 +1,6 @@ +asset bundle.entry2.js 2.66 KiB [emitted] (name: entry2) +asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1) +./entry1.ts 23 bytes [built] [code generated] +./entry2.ts 165 bytes [built] [code generated] +./component.vue 109 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/bundle.entry1.js similarity index 100% rename from test/comparison-tests/appendSuffixToWatch/expectedOutput-4.9/patch0/bundle.entry1.js rename to test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/bundle.entry1.js diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/bundle.entry2.js new file mode 100644 index 000000000..c885778cc --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/bundle.entry2.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./component.vue": +/*!***********************!*\ + !*** ./component.vue ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?"); + +/***/ }), + +/***/ "./entry2.ts": +/*!*******************!*\ + !*** ./entry2.ts ***! + \*******************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1.default);\n\n\n//# sourceURL=webpack:///./entry2.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./entry2.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..04635ec20 --- /dev/null +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,5 @@ +assets by status 2.66 KiB [cached] 1 asset +asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1) +cached modules 274 bytes [cached] 2 modules +./entry1.ts 27 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.9/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-4.9/bundle.js rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.9/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-4.9/output.txt rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.9/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-4.9/bundle.js rename to test/comparison-tests/babel-issue81/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.9/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-5.0/bundle.js.map similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-4.9/bundle.js.map rename to test/comparison-tests/babel-issue81/expectedOutput-5.0/bundle.js.map diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.9/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-4.9/output.txt rename to test/comparison-tests/babel-issue81/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/babel-issue81/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.9/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-transpile-5.0/bundle.js.map similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-transpile-4.9/bundle.js.map rename to test/comparison-tests/babel-issue81/expectedOutput-transpile-5.0/bundle.js.map diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/babel-issue81/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/babel-issue81/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/babel-issue92/expectedOutput-4.9/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-4.9/bundle.js rename to test/comparison-tests/babel-issue92/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/babel-issue92/expectedOutput-4.9/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-4.9/output.txt rename to test/comparison-tests/babel-issue92/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/babel-issue92/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/babel-issue92/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-4.9/bundle.js b/test/comparison-tests/basic/expectedOutput-4.9/bundle.js deleted file mode 100644 index 37e4d4420..000000000 --- a/test/comparison-tests/basic/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.9/output.txt b/test/comparison-tests/basic/expectedOutput-4.9/output.txt deleted file mode 100644 index 5bfac7662..000000000 --- a/test/comparison-tests/basic/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.11 KiB [emitted] (name: main) -./app.ts 169 bytes [built] [code generated] -./submodule/submodule.ts 149 bytes [built] [code generated] -./lib/externalLib.js 55 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 5ad5bf01e..000000000 --- a/test/comparison-tests/basic/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 0d462e53f..000000000 --- a/test/comparison-tests/basic/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 3.11 KiB [emitted] (name: main) -cached modules 204 bytes [cached] 2 modules -./app.ts 170 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 3:12-24 -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? -ts-loader-default_609318b4f68865d3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 37e4d4420..000000000 --- a/test/comparison-tests/basic/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 644f4a81e..000000000 --- a/test/comparison-tests/basic/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.11 KiB [emitted] (name: main) -cached modules 204 bytes [cached] 2 modules -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/basic/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/basic/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/basic/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/basic/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/basic/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..871f1e6db --- /dev/null +++ b/test/comparison-tests/basic/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 3.15 KiB [emitted] (name: main) +cached modules 204 bytes [cached] 2 modules +./app.ts 206 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 3:12-24 +[tsl] ERROR in app.ts(3,13) + TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? +ts-loader-default_609318b4f68865d3 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/basic/expectedOutput-5.0/patch1/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/basic/expectedOutput-5.0/patch1/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/basic/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/basic/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/basic/expectedOutput-transpile-5.0/patch0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/basic/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/basic/expectedOutput-transpile-5.0/patch1/bundle.js diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/basic/expectedOutput-transpile-5.0/patch1/output.txt diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.9/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.9/bundle.js deleted file mode 100644 index aca46612b..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,276 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./a.ts": -/*!**************!*\ - !*** ./a.ts ***! - \**************/ -/***/ ((module) => { - -eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); - -/***/ }), - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ \"c_ts-d_ts\").then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__))['catch'](__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/***/ ((module) => { - -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = __webpack_modules__; -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return "" + chunkId + ".bundle.js"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/load script */ -/******/ (() => { -/******/ var inProgress = {}; -/******/ // data-webpack is not used as build has no uniqueName -/******/ // loadScript function to load a script via script tag -/******/ __webpack_require__.l = (url, done, key, chunkId) => { -/******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; -/******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName("script"); -/******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; -/******/ if(s.getAttribute("src") == url) { script = s; break; } -/******/ } -/******/ } -/******/ if(!script) { -/******/ needAttach = true; -/******/ script = document.createElement('script'); -/******/ -/******/ script.charset = 'utf-8'; -/******/ script.timeout = 120; -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ -/******/ script.src = url; -/******/ } -/******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; -/******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); -/******/ if(prev) return prev(event); -/******/ } -/******/ ; -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); -/******/ needAttach && document.head.appendChild(script); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/publicPath */ -/******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript) -/******/ scriptUrl = document.currentScript.src -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName("script"); -/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src -/******/ } -/******/ } -/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration -/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic. -/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); -/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"); -/******/ __webpack_require__.p = scriptUrl; -/******/ })(); -/******/ -/******/ /* webpack/runtime/jsonp chunk loading */ -/******/ (() => { -/******/ // no baseURI -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "main": 0 -/******/ }; -/******/ -/******/ __webpack_require__.f.j = (chunkId, promises) => { -/******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; -/******/ if(installedChunkData !== 0) { // 0 means "already installed". -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ promises.push(installedChunkData[2]); -/******/ } else { -/******/ if(true) { // all chunks have JS -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); -/******/ promises.push(installedChunkData[2] = promise); -/******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); -/******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { -/******/ if(__webpack_require__.o(installedChunks, chunkId)) { -/******/ installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; -/******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; -/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; -/******/ error.name = 'ChunkLoadError'; -/******/ error.type = errorType; -/******/ error.request = realSrc; -/******/ installedChunkData[1](error); -/******/ } -/******/ } -/******/ }; -/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); -/******/ } else installedChunks[chunkId] = 0; -/******/ } -/******/ } -/******/ }; -/******/ -/******/ // no prefetching -/******/ -/******/ // no preloaded -/******/ -/******/ // no HMR -/******/ -/******/ // no HMR manifest -/******/ -/******/ // no on chunks loaded -/******/ -/******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0; -/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { -/******/ for(moduleId in moreModules) { -/******/ if(__webpack_require__.o(moreModules, moduleId)) { -/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(runtime) var result = runtime(__webpack_require__); -/******/ } -/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { -/******/ installedChunks[chunkId][0](); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ -/******/ } -/******/ -/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || []; -/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); -/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.9/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-4.9/output.txt deleted file mode 100644 index 6647be8f8..000000000 --- a/test/comparison-tests/codeSplitting/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -asset bundle.js 11.9 KiB [emitted] (name: main) -asset c_ts-d_ts.bundle.js 1020 bytes [emitted] -runtime modules 6.01 KiB 7 modules -cacheable modules 733 bytes - ./app.ts 589 bytes [built] [code generated] - ./a.ts 36 bytes [built] [code generated] - ./b.ts 36 bytes [built] [code generated] - ./c.ts 36 bytes [built] [code generated] - ./d.ts 36 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/codeSplitting/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.9/c_ts-d_ts.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-5.0/c_ts-d_ts.bundle.js similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-4.9/c_ts-d_ts.bundle.js rename to test/comparison-tests/codeSplitting/expectedOutput-5.0/c_ts-d_ts.bundle.js diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/codeSplitting/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..40b656600 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,276 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/***/ ((module) => { + +eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ \"c_ts-d_ts\").then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__))['catch'](__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/***/ ((module) => { + +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/ensure chunk */ +/******/ (() => { +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/get javascript chunk filename */ +/******/ (() => { +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => { +/******/ // return url for filenames based on template +/******/ return "" + chunkId + ".bundle.js"; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/global */ +/******/ (() => { +/******/ __webpack_require__.g = (function() { +/******/ if (typeof globalThis === 'object') return globalThis; +/******/ try { +/******/ return this || new Function('return this')(); +/******/ } catch (e) { +/******/ if (typeof window === 'object') return window; +/******/ } +/******/ })(); +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/load script */ +/******/ (() => { +/******/ var inProgress = {}; +/******/ // data-webpack is not used as build has no uniqueName +/******/ // loadScript function to load a script via script tag +/******/ __webpack_require__.l = (url, done, key, chunkId) => { +/******/ if(inProgress[url]) { inProgress[url].push(done); return; } +/******/ var script, needAttach; +/******/ if(key !== undefined) { +/******/ var scripts = document.getElementsByTagName("script"); +/******/ for(var i = 0; i < scripts.length; i++) { +/******/ var s = scripts[i]; +/******/ if(s.getAttribute("src") == url) { script = s; break; } +/******/ } +/******/ } +/******/ if(!script) { +/******/ needAttach = true; +/******/ script = document.createElement('script'); +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ +/******/ script.src = url; +/******/ } +/******/ inProgress[url] = [done]; +/******/ var onScriptComplete = (prev, event) => { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var doneFns = inProgress[url]; +/******/ delete inProgress[url]; +/******/ script.parentNode && script.parentNode.removeChild(script); +/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ if(prev) return prev(event); +/******/ } +/******/ ; +/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(null, script.onerror); +/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ needAttach && document.head.appendChild(script); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/publicPath */ +/******/ (() => { +/******/ var scriptUrl; +/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; +/******/ var document = __webpack_require__.g.document; +/******/ if (!scriptUrl && document) { +/******/ if (document.currentScript) +/******/ scriptUrl = document.currentScript.src +/******/ if (!scriptUrl) { +/******/ var scripts = document.getElementsByTagName("script"); +/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src +/******/ } +/******/ } +/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration +/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic. +/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); +/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/"); +/******/ __webpack_require__.p = scriptUrl; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ __webpack_require__.f.j = (chunkId, promises) => { +/******/ // JSONP chunk loading for javascript +/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ if(true) { // all chunks have JS +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ var loadingEnded = (event) => { +/******/ if(__webpack_require__.o(installedChunks, chunkId)) { +/******/ installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; +/******/ if(installedChunkData) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ installedChunkData[1](error); +/******/ } +/******/ } +/******/ }; +/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId); +/******/ } else installedChunks[chunkId] = 0; +/******/ } +/******/ } +/******/ }; +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ // no on chunks loaded +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ +/******/ } +/******/ +/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.9/c_ts-d_ts.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/c_ts-d_ts.bundle.js similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-transpile-4.9/c_ts-d_ts.bundle.js rename to test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/c_ts-d_ts.bundle.js diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..f51697cd6 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,10 @@ +asset bundle.js 11.9 KiB [emitted] (name: main) +asset c_ts-d_ts.bundle.js 1020 bytes [emitted] +runtime modules 6.01 KiB 7 modules +cacheable modules 769 bytes + ./app.ts 625 bytes [built] [code generated] + ./a.ts 36 bytes [built] [code generated] + ./b.ts 36 bytes [built] [code generated] + ./c.ts 36 bytes [built] [code generated] + ./d.ts 36 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.9/bundle.js b/test/comparison-tests/colors/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/colors/expectedOutput-4.9/bundle.js rename to test/comparison-tests/colors/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/colors/expectedOutput-4.9/output.txt b/test/comparison-tests/colors/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/colors/expectedOutput-4.9/output.txt rename to test/comparison-tests/colors/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/colors/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/colors/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/colors/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/colors/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/colors/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-4.9/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-4.9/bundle.js deleted file mode 100644 index 078b29358..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-4.9/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-4.9/output.txt deleted file mode 100644 index 20623b222..000000000 --- a/test/comparison-tests/conditionalRequire/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.46 KiB [emitted] (name: main) -./app.ts 312 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/conditionalRequire/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/conditionalRequire/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..d5b533ddd --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..be93d213f --- /dev/null +++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.5 KiB [emitted] (name: main) +./app.ts 348 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.9/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-4.9/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.9/output.txt b/test/comparison-tests/customTransformer/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-4.9/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-4.9/patch0/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-4.9/patch0/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-5.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-4.9/patch1/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-5.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-4.9/patch1/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-5.0/patch1/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-5.0/patch1/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch0/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch0/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch1/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.9/patch1/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-5.0/patch1/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch0/bundle.js diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch1/bundle.js diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-5.0/patch1/output.txt diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.9/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-4.9/bundle.js rename to test/comparison-tests/declarationDeps/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.9/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-4.9/output.txt rename to test/comparison-tests/declarationDeps/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/declarationDeps/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/declarationDeps/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.9/.output/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-5.0/.output/app.d.ts similarity index 100% rename from test/comparison-tests/declarationOutput/expectedOutput-4.9/.output/app.d.ts rename to test/comparison-tests/declarationOutput/expectedOutput-5.0/.output/app.d.ts diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.9/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-5.0/.output/sub/dep.d.ts similarity index 100% rename from test/comparison-tests/declarationOutput/expectedOutput-4.9/.output/sub/dep.d.ts rename to test/comparison-tests/declarationOutput/expectedOutput-5.0/.output/sub/dep.d.ts diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.9/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationOutput/expectedOutput-4.9/bundle.js rename to test/comparison-tests/declarationOutput/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.9/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/declarationOutput/expectedOutput-4.9/output.txt rename to test/comparison-tests/declarationOutput/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/.output/app.d.ts b/test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/.output/app.d.ts similarity index 100% rename from test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/.output/app.d.ts rename to test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/.output/app.d.ts diff --git a/test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/.output/sub/dep.d.ts similarity index 100% rename from test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/.output/sub/dep.d.ts rename to test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/.output/sub/dep.d.ts diff --git a/test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/bundle.js b/test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/bundle.js rename to test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/output.txt b/test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/declarationOutputAllowJs/expectedOutput-4.9/output.txt rename to test/comparison-tests/declarationOutputAllowJs/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/declarationOutputAllowJs/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/app.d.ts similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/app.d.ts rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/app.d.ts diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/app.d.ts.map similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/app.d.ts.map rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/app.d.ts.map diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/sub/dep.d.ts similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/sub/dep.d.ts rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/sub/dep.d.ts diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/sub/dep.d.ts.map similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/.output/sub/dep.d.ts.map rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/.output/sub/dep.d.ts.map diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/bundle.js rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.9/output.txt rename to test/comparison-tests/declarationOutputWithMaps/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.9/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.9/bundle.js deleted file mode 100644 index e42a49f97..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/***/ ((module) => { - -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.9/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.9/output.txt deleted file mode 100644 index 00a79cd9f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.45 KiB [emitted] (name: main) -./app.ts 108 bytes [built] [code generated] -./dep.ts 59 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index e42a49f97..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/***/ ((module) => { - -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 0fcbb7ef2..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,18 +0,0 @@ -asset bundle.js 2.45 KiB [emitted] (name: main) -./app.ts 108 bytes [built] [code generated] [1 error] -./dep.ts 59 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 5:6-17 -[tsl] ERROR in app.ts(5,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. -ts-loader-default_609318b4f68865d3 - -ERROR in dep.ts -./dep.ts 1:6-17 -[tsl] ERROR in dep.ts(1,7) - TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. -ts-loader-default_609318b4f68865d3 - @ ./app.ts 3:10-26 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index e42a49f97..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/***/ ((module) => { - -eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 00a79cd9f..000000000 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.45 KiB [emitted] (name: main) -./app.ts 108 bytes [built] [code generated] -./dep.ts 59 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-5.0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..920f90685 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/***/ ((module) => { + +eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-5.0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..0dda2f699 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.49 KiB [emitted] (name: main) +./app.ts 144 bytes [built] [code generated] +./dep.ts 59 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..920f90685 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/***/ ((module) => { + +eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..ab37c0050 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,18 @@ +asset bundle.js 2.49 KiB [emitted] (name: main) +./app.ts 144 bytes [built] [code generated] [1 error] +./dep.ts 59 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 5:6-17 +[tsl] ERROR in app.ts(5,7) + TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. +ts-loader-default_609318b4f68865d3 + +ERROR in dep.ts +./dep.ts 1:6-17 +[tsl] ERROR in dep.ts(1,7) + TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. +ts-loader-default_609318b4f68865d3 + @ ./app.ts 3:10-26 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..920f90685 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/***/ ((module) => { + +eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..0dda2f699 --- /dev/null +++ b/test/comparison-tests/declarationWatch/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.49 KiB [emitted] (name: main) +./app.ts 144 bytes [built] [code generated] +./dep.ts 59 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.9/bundle.js deleted file mode 100644 index 963f05036..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.9/output.txt deleted file mode 100644 index f8986b0d2..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,18 +0,0 @@ -asset bundle.js 2.75 KiB [emitted] (name: main) -./app.ts 121 bytes [built] [code generated] [2 errors] -./dep1.ts 76 bytes [built] [code generated] -./dep2.ts 76 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 4:5-7 -[tsl] ERROR in app.ts(4,6) - TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_609318b4f68865d3 - -ERROR in app.ts -./app.ts 5:5-7 -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 963f05036..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./dep1.ts": -/*!*****************!*\ - !*** ./dep1.ts ***! - \*****************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); - -/***/ }), - -/***/ "./dep2.ts": -/*!*****************!*\ - !*** ./dep2.ts ***! - \*****************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index c4cd7427a..000000000 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -asset bundle.js 2.75 KiB [emitted] (name: main) -cached modules 76 bytes [cached] 1 module -./app.ts 121 bytes [built] [code generated] [1 error] -./dep1.ts 76 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 5:5-7 -[tsl] ERROR in app.ts(5,6) - TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/dependencyErrors/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-5.0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..7143b24e1 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-5.0/output.txt @@ -0,0 +1,18 @@ +asset bundle.js 2.79 KiB [emitted] (name: main) +./app.ts 157 bytes [built] [code generated] [2 errors] +./dep1.ts 76 bytes [built] [code generated] +./dep2.ts 76 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 4:5-7 +[tsl] ERROR in app.ts(4,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. +ts-loader-default_609318b4f68865d3 + +ERROR in app.ts +./app.ts 5:5-7 +[tsl] ERROR in app.ts(5,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/dependencyErrors/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..c43f4286b --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,12 @@ +asset bundle.js 2.79 KiB [emitted] (name: main) +cached modules 76 bytes [cached] 1 module +./app.ts 157 bytes [built] [code generated] [1 error] +./dep1.ts 76 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 5:5-7 +[tsl] ERROR in app.ts(5,6) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..4abf7e601 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..4abf7e601 --- /dev/null +++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./dep1.ts": +/*!*****************!*\ + !*** ./dep1.ts ***! + \*****************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?"); + +/***/ }), + +/***/ "./dep2.ts": +/*!*****************!*\ + !*** ./dep2.ts ***! + \*****************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/dependencyErrors/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.9/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-4.9/bundle.js deleted file mode 100644 index 18b2ec1df..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/components/myComponent.ts": -/*!******************************************!*\ - !*** ./common/components/myComponent.ts ***! - \******************************************/ -/***/ ((module) => { - -eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.9/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.9/output.txt deleted file mode 100644 index 57bf27ad4..000000000 --- a/test/comparison-tests/errorFormatter/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -./app.ts 120 bytes [built] [code generated] [2 errors] -./common/components/myComponent.ts 46 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 1:29-53 -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent' or its corresponding type declarations.,file: app.ts,line: 1,character: 30,context: .test/errorFormatter -ts-loader-default_85b0565984bbe8dd - -ERROR in app.ts -./app.ts 2:30-55 -Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter -ts-loader-default_85b0565984bbe8dd - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-5.0/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..8efb138af --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/***/ ((module) => { + +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-5.0/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..5d9c9db45 --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 2.64 KiB [emitted] (name: main) +./app.ts 156 bytes [built] [code generated] [2 errors] +./common/components/myComponent.ts 46 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 1:29-53 +Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent' or its corresponding type declarations.,file: app.ts,line: 1,character: 30,context: .test/errorFormatter +ts-loader-default_85b0565984bbe8dd + +ERROR in app.ts +./app.ts 2:30-55 +Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter +ts-loader-default_85b0565984bbe8dd + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..8efb138af --- /dev/null +++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/components/myComponent.ts": +/*!******************************************!*\ + !*** ./common/components/myComponent.ts ***! + \******************************************/ +/***/ ((module) => { + +eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/errorFormatter/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/errorFormatter/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/errors/expectedOutput-4.9/bundle.js b/test/comparison-tests/errors/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/errors/expectedOutput-4.9/bundle.js rename to test/comparison-tests/errors/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/errors/expectedOutput-4.9/output.txt b/test/comparison-tests/errors/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/errors/expectedOutput-4.9/output.txt rename to test/comparison-tests/errors/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/errors/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/errors/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/errors/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/errors/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/errors/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/es3/app.ts b/test/comparison-tests/es3/app.ts deleted file mode 100644 index bd8dee558..000000000 --- a/test/comparison-tests/es3/app.ts +++ /dev/null @@ -1 +0,0 @@ -({get x(){ return 1 }}) \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-4.9/bundle.js b/test/comparison-tests/es3/expectedOutput-4.9/bundle.js deleted file mode 100644 index e719a9728..000000000 --- a/test/comparison-tests/es3/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-4.9/output.txt b/test/comparison-tests/es3/expectedOutput-4.9/output.txt deleted file mode 100644 index 8b7271459..000000000 --- a/test/comparison-tests/es3/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -asset bundle.js 1.17 KiB [emitted] (name: main) -./app.ts 29 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 1:6-7 -[tsl] ERROR in app.ts(1,7) - TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/es3/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index e719a9728..000000000 --- a/test/comparison-tests/es3/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/es3/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 0e2131fbb..000000000 --- a/test/comparison-tests/es3/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.17 KiB [emitted] (name: main) -./app.ts 29 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/es3/tsconfig.json b/test/comparison-tests/es3/tsconfig.json deleted file mode 100644 index 464d4469d..000000000 --- a/test/comparison-tests/es3/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "compilerOptions": { - "target": "es3" - } -} \ No newline at end of file diff --git a/test/comparison-tests/es3/webpack.config.js b/test/comparison-tests/es3/webpack.config.js deleted file mode 100644 index 7f2a00bf3..000000000 --- a/test/comparison-tests/es3/webpack.config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - mode: 'development', - entry: './app.ts', - output: { - filename: 'bundle.js' - }, - resolve: { - extensions: ['.ts', '.js'] - }, - module: { - rules: [ - { test: /\.ts$/, loader: 'ts-loader' } - ] - } -} - - diff --git a/test/comparison-tests/es5/expectedOutput-4.9/bundle.js b/test/comparison-tests/es5/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es5/expectedOutput-4.9/bundle.js rename to test/comparison-tests/es5/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/es5/expectedOutput-4.9/output.txt b/test/comparison-tests/es5/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/es5/expectedOutput-4.9/output.txt rename to test/comparison-tests/es5/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/es5/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/es5/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es5/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/es5/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/es5/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/es5/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/es5/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/es5/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/es6/expectedOutput-4.9/bundle.js b/test/comparison-tests/es6/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es6/expectedOutput-4.9/bundle.js rename to test/comparison-tests/es6/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/es6/expectedOutput-4.9/output.txt b/test/comparison-tests/es6/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/es6/expectedOutput-4.9/output.txt rename to test/comparison-tests/es6/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/es6/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/es6/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es6/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/es6/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/es6/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/es6/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/es6/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/es6/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.9/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-4.9/bundle.js rename to test/comparison-tests/es6codeSplitting/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.9/c_ts-d_ts.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-5.0/c_ts-d_ts.bundle.js similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-4.9/c_ts-d_ts.bundle.js rename to test/comparison-tests/es6codeSplitting/expectedOutput-5.0/c_ts-d_ts.bundle.js diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.9/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-4.9/output.txt rename to test/comparison-tests/es6codeSplitting/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/es6codeSplitting/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.9/c_ts-d_ts.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-5.0/c_ts-d_ts.bundle.js similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.9/c_ts-d_ts.bundle.js rename to test/comparison-tests/es6codeSplitting/expectedOutput-transpile-5.0/c_ts-d_ts.bundle.js diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/es6codeSplitting/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/es6withCJS/expectedOutput-4.9/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-4.9/bundle.js rename to test/comparison-tests/es6withCJS/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/es6withCJS/expectedOutput-4.9/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-4.9/output.txt rename to test/comparison-tests/es6withCJS/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/es6withCJS/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/es6withCJS/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/externals/expectedOutput-4.9/bundle.js b/test/comparison-tests/externals/expectedOutput-4.9/bundle.js deleted file mode 100644 index b2de0ae25..000000000 --- a/test/comparison-tests/externals/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "hello": -/*!************************!*\ - !*** external "hello" ***! - \************************/ -/***/ ((module) => { - -module.exports = hello; - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-4.9/output.txt b/test/comparison-tests/externals/expectedOutput-4.9/output.txt deleted file mode 100644 index 3c6f9e439..000000000 --- a/test/comparison-tests/externals/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.4 KiB [emitted] (name: main) -./app.ts 106 bytes [built] [code generated] -external "hello" 42 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/externals/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/externals/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/externals/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/externals/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/externals/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/externals/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/externals/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/externals/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..f1d997111 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "hello": +/*!************************!*\ + !*** external "hello" ***! + \************************/ +/***/ ((module) => { + +module.exports = hello; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/externals/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..6270519a4 --- /dev/null +++ b/test/comparison-tests/externals/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.44 KiB [emitted] (name: main) +./app.ts 142 bytes [built] [code generated] +external "hello" 42 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.9/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/ignoreDiagnostics/expectedOutput-4.9/bundle.js rename to test/comparison-tests/ignoreDiagnostics/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.9/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/ignoreDiagnostics/expectedOutput-4.9/output.txt rename to test/comparison-tests/ignoreDiagnostics/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.9/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.9/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.9/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.9/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 3df43a154..000000000 --- a/test/comparison-tests/importsWatch/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 4:0-7 -[tsl] ERROR in app.ts(4,1) - TS2322: Type 'string' is not assignable to type 'boolean'. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-5.0/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-5.0/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-5.0/output.txt b/test/comparison-tests/importsWatch/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-5.0/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..a20bffd07 --- /dev/null +++ b/test/comparison-tests/importsWatch/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,10 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 4:0-7 +[tsl] ERROR in app.ts(4,1) + TS2322: Type 'string' is not assignable to type 'boolean'. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/instance/expectedOutput-4.9/err.txt b/test/comparison-tests/instance/expectedOutput-5.0/err.txt similarity index 100% rename from test/comparison-tests/instance/expectedOutput-4.9/err.txt rename to test/comparison-tests/instance/expectedOutput-5.0/err.txt diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.9/err.txt b/test/comparison-tests/instance/expectedOutput-transpile-5.0/err.txt similarity index 100% rename from test/comparison-tests/instance/expectedOutput-transpile-4.9/err.txt rename to test/comparison-tests/instance/expectedOutput-transpile-5.0/err.txt diff --git a/test/comparison-tests/issue372/expectedOutput-4.9/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.9/bundle.js deleted file mode 100644 index ddd22941f..000000000 --- a/test/comparison-tests/issue372/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/***/ ((module) => { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.9/output.txt b/test/comparison-tests/issue372/expectedOutput-4.9/output.txt deleted file mode 100644 index 31d967edd..000000000 --- a/test/comparison-tests/issue372/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.87 KiB [emitted] (name: main) -./app.ts 110 bytes [built] [code generated] -./foo.ts 110 bytes [built] [code generated] -./node_modules/a/index.js 21 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 88de408ab..000000000 --- a/test/comparison-tests/issue372/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./foo.ts": -/*!****************!*\ - !*** ./foo.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/***/ ((module) => { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index a0fb16197..000000000 --- a/test/comparison-tests/issue372/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.88 KiB [emitted] (name: main) -cached modules 131 bytes [cached] 2 modules -./app.ts 117 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/issue372/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/issue372/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/issue372/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/issue372/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/issue372/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/issue372/expectedOutput-5.0/patch0/output.txt diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..217f4c67a --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/***/ ((module) => { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..e939cb4c1 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.95 KiB [emitted] (name: main) +./app.ts 146 bytes [built] [code generated] +./foo.ts 146 bytes [built] [code generated] +./node_modules/a/index.js 21 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..f619297f8 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./foo.ts": +/*!****************!*\ + !*** ./foo.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/***/ ((module) => { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..4af4428a6 --- /dev/null +++ b/test/comparison-tests/issue372/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.95 KiB [emitted] (name: main) +cached modules 167 bytes [cached] 2 modules +./app.ts 153 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.9/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.9/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/issue441/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.9/output.txt b/test/comparison-tests/issue441/expectedOutput-4.9/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/issue441/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/issue441/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/issue441/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/issue441/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/issue441/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-5.0/bundle.js b/test/comparison-tests/issue441/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-5.0/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-5.0/output.txt b/test/comparison-tests/issue441/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-5.0/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 57922d760..000000000 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 600abd410..000000000 --- a/test/comparison-tests/issue441/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,3 +0,0 @@ -asset bundle.js 1.27 KiB [emitted] (name: main) -./app.ts 70 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..b5254921d --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,33 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..17e981961 --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,3 @@ +asset bundle.js 1.31 KiB [emitted] (name: main) +./app.ts 106 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-4.9/bundle.js b/test/comparison-tests/issue71/expectedOutput-4.9/bundle.js deleted file mode 100644 index 87a4348be..000000000 --- a/test/comparison-tests/issue71/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./b.ts": -/*!**************!*\ - !*** ./b.ts ***! - \**************/ -/***/ ((module) => { - -"use strict"; -eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/***/ ((module) => { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-4.9/output.txt b/test/comparison-tests/issue71/expectedOutput-4.9/output.txt deleted file mode 100644 index 35f2f62c9..000000000 --- a/test/comparison-tests/issue71/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.75 KiB [emitted] (name: main) -./app.ts 119 bytes [built] [code generated] -./node_modules/a/index.js 21 bytes [built] [code generated] -./b.ts 36 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-5.0/bundle.js b/test/comparison-tests/issue71/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..16ad8f5fe --- /dev/null +++ b/test/comparison-tests/issue71/expectedOutput-5.0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/***/ ((module) => { + +"use strict"; +eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/***/ ((module) => { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/issue71/expectedOutput-5.0/output.txt b/test/comparison-tests/issue71/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..22ad22fa1 --- /dev/null +++ b/test/comparison-tests/issue71/expectedOutput-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.78 KiB [emitted] (name: main) +./app.ts 155 bytes [built] [code generated] +./node_modules/a/index.js 21 bytes [built] [code generated] +./b.ts 36 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.9/bundle.js b/test/comparison-tests/loaderOptionsCaching/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/loaderOptionsCaching/expectedOutput-4.9/bundle.js rename to test/comparison-tests/loaderOptionsCaching/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.9/output.txt b/test/comparison-tests/loaderOptionsCaching/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/loaderOptionsCaching/expectedOutput-4.9/output.txt rename to test/comparison-tests/loaderOptionsCaching/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.9/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.9/bundle.js deleted file mode 100644 index 750aa7ee9..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./fake.ts": -/*!*****************!*\ - !*** ./fake.ts ***! - \*****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \".concat(name, \"!\");\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.9/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.9/output.txt deleted file mode 100644 index 547ef058e..000000000 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 2.59 KiB [emitted] (name: main) -./app.ts 101 bytes [built] [code generated] [1 error] -./fake.ts 165 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 1:29-34 -[tsl] ERROR in app.ts(1,30) - TS2307: Cannot find module 'api' or its corresponding type declarations. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.0/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..0bc9b27ad --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.0/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 2.67 KiB [emitted] (name: main) +./app.ts 137 bytes [built] [code generated] [1 error] +./fake.ts 201 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 1:29-34 +[tsl] ERROR in app.ts(1,30) + TS2307: Cannot find module 'api' or its corresponding type declarations. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..403223a80 --- /dev/null +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./fake.ts": +/*!*****************!*\ + !*** ./fake.ts ***! + \*****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \".concat(name, \"!\");\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/node/expectedOutput-4.9/bundle.js b/test/comparison-tests/node/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/node/expectedOutput-4.9/bundle.js rename to test/comparison-tests/node/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/node/expectedOutput-4.9/output.txt b/test/comparison-tests/node/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/node/expectedOutput-4.9/output.txt rename to test/comparison-tests/node/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/node/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/node/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/node/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/node/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/node/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/node/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/node/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/node/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.9/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.9/bundle.js deleted file mode 100644 index d2bf095a3..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.ts": -/*!*********************************!*\ - !*** ./node_modules/a/index.ts ***! - \*********************************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: 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 makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.9/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.9/output.txt deleted file mode 100644 index 8c34a7b74..000000000 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 3.1 KiB [emitted] (name: main) -./app.ts 79 bytes [built] [code generated] -./node_modules/a/index.ts 39 bytes [built] [code generated] - -ERROR in ./node_modules/a/index.ts -Module build failed (from ../../index.js): -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 makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:8-20 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-5.0/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..13902866d --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.ts": +/*!*********************************!*\ + !*** ./node_modules/a/index.ts ***! + \*********************************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: 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 makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-5.0/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..269b85db4 --- /dev/null +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 3.18 KiB [emitted] (name: main) +./app.ts 115 bytes [built] [code generated] +./node_modules/a/index.ts 39 bytes [built] [code generated] + +ERROR in ./node_modules/a/index.ts +Module build failed (from ../../index.js): +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 makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:8-20 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/nodeResolution/expectedOutput-4.9/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-4.9/bundle.js deleted file mode 100644 index b70422d74..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./node_modules/a/index.js": -/*!*********************************!*\ - !*** ./node_modules/a/index.js ***! - \*********************************/ -/***/ ((module) => { - -eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-4.9/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-4.9/output.txt deleted file mode 100644 index ccef1e6be..000000000 --- a/test/comparison-tests/nodeResolution/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.49 KiB [emitted] (name: main) -./app.ts 79 bytes [built] [code generated] -./node_modules/a/index.js 21 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/nodeResolution/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/nodeResolution/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/nodeResolution/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/nodeResolution/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..7b6d58fa2 --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./node_modules/a/index.js": +/*!*********************************!*\ + !*** ./node_modules/a/index.js ***! + \*********************************/ +/***/ ((module) => { + +eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..2f1f20b4e --- /dev/null +++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.53 KiB [emitted] (name: main) +./app.ts 115 bytes [built] [code generated] +./node_modules/a/index.js 21 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-4.9/bundle.js b/test/comparison-tests/nolib/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-4.9/bundle.js rename to test/comparison-tests/nolib/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/nolib/expectedOutput-4.9/output.txt b/test/comparison-tests/nolib/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-4.9/output.txt rename to test/comparison-tests/nolib/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/nolib/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/nolib/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/nolib/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/nolib/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/npmLink/expectedOutput-4.9/bundle.js b/test/comparison-tests/npmLink/expectedOutput-4.9/bundle.js deleted file mode 100644 index 052ec8c0f..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../../test/comparison-tests/testLib/foo.ts": -/*!**************************************************!*\ - !*** ../../test/comparison-tests/testLib/foo.ts ***! - \**************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///../../test/comparison-tests/testLib/foo.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-4.9/output.txt b/test/comparison-tests/npmLink/expectedOutput-4.9/output.txt deleted file mode 100644 index b50f4eaf4..000000000 --- a/test/comparison-tests/npmLink/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.69 KiB [emitted] (name: main) -./app.ts 104 bytes [built] [code generated] -../../test/comparison-tests/testLib/foo.ts 69 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/npmLink/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/npmLink/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/npmLink/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/npmLink/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/npmLink/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/npmLink/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/npmLink/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..71a7c3402 --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1.default);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../../test/comparison-tests/testLib/foo.ts": +/*!**************************************************!*\ + !*** ../../test/comparison-tests/testLib/foo.ts ***! + \**************************************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = 'foo';\n\n\n//# sourceURL=webpack:///../../test/comparison-tests/testLib/foo.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..a1611b2a2 --- /dev/null +++ b/test/comparison-tests/npmLink/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +./app.ts 137 bytes [built] [code generated] +../../test/comparison-tests/testLib/foo.ts 102 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/bundle.js deleted file mode 100644 index 37e4d4420..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/output.txt deleted file mode 100644 index 5bfac7662..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.11 KiB [emitted] (name: main) -./app.ts 169 bytes [built] [code generated] -./submodule/submodule.ts 149 bytes [built] [code generated] -./lib/externalLib.js 55 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 5ad5bf01e..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index d8fb7fc3e..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 3.11 KiB [emitted] (name: main) -cached modules 204 bytes [cached] 2 modules -./app.ts 170 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 3:12-24 -[tsl] ERROR in app.ts(3,13) - TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? -ts-loader-default_5848564071297d45 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 37e4d4420..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./submodule/submodule.ts": -/*!********************************!*\ - !*** ./submodule/submodule.ts ***! - \********************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 644f4a81e..000000000 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.11 KiB [emitted] (name: main) -cached modules 204 bytes [cached] 2 modules -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..ad95915fb --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..f70cc859f --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.15 KiB [emitted] (name: main) +./app.ts 205 bytes [built] [code generated] +./submodule/submodule.ts 149 bytes [built] [code generated] +./lib/externalLib.js 55 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..b048c8aec --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..5ad5f5701 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 3.15 KiB [emitted] (name: main) +cached modules 204 bytes [cached] 2 modules +./app.ts 206 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 3:12-24 +[tsl] ERROR in app.ts(3,13) + TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? +ts-loader-default_5848564071297d45 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..ad95915fb --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..f3f31b8c1 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.15 KiB [emitted] (name: main) +cached modules 204 bytes [cached] 2 modules +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..ad95915fb --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..f70cc859f --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.15 KiB [emitted] (name: main) +./app.ts 205 bytes [built] [code generated] +./submodule/submodule.ts 149 bytes [built] [code generated] +./lib/externalLib.js 55 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..b048c8aec --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..ad95915fb --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.ts": +/*!********************************!*\ + !*** ./submodule/submodule.ts ***! + \********************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; +eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..f3f31b8c1 --- /dev/null +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.15 KiB [emitted] (name: main) +cached modules 204 bytes [cached] 2 modules +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/bundle.js deleted file mode 100644 index 01399793c..000000000 --- a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./message.ts": -/*!********************!*\ - !*** ./message.ts ***! - \********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/output.txt deleted file mode 100644 index 3e59a3d86..000000000 --- a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.55 KiB [emitted] (name: main) -./app.ts 111 bytes [built] [code generated] -./message.ts 102 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 01399793c..000000000 --- a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./message.ts": -/*!********************!*\ - !*** ./message.ts ***! - \********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index c0ed49488..000000000 --- a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.55 KiB [emitted] (name: main) -cached modules 102 bytes [cached] 1 module -./app.ts 111 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 01399793c..000000000 --- a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./message.ts": -/*!********************!*\ - !*** ./message.ts ***! - \********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 2d1d45310..000000000 --- a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.55 KiB [emitted] (name: main) -./app.ts 111 bytes [built] -./message.ts 102 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch0/output.txt diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch1/bundle.js diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..696068dff --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.63 KiB [emitted] (name: main) +./app.ts 147 bytes [built] +./message.ts 138 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..f8dc1f3c9 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..23252ce06 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.63 KiB [emitted] (name: main) +./app.ts 147 bytes [built] [code generated] +./message.ts 138 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..f8dc1f3c9 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..12f23a6ae --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.63 KiB [emitted] (name: main) +cached modules 138 bytes [cached] 1 module +./app.ts 147 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..f8dc1f3c9 --- /dev/null +++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./message.ts": +/*!********************!*\ + !*** ./message.ts ***! + \********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-5.0/patch1/output.txt diff --git a/test/comparison-tests/production/expectedOutput-4.9/output.txt b/test/comparison-tests/production/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/production/expectedOutput-4.9/output.txt rename to test/comparison-tests/production/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/production/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/production/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/production/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/production/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferences/expectedOutput-4.9/output.txt deleted file mode 100644 index 1a4691f6b..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferences/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferences/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferences/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferences/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/bundle.js deleted file mode 100644 index c81f04767..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/index.js deleted file mode 100644 index c561b2cc0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 30; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index 12c951626..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/indirectWithError/tsconfig.tsbuildinfo deleted file mode 100644 index ae45d6417..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/indirectWithError/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]],"emitSignatures":[6,7]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index ae45d6417..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]],"emitSignatures":[6,7]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/output.txt deleted file mode 100644 index 626f5e4c5..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,49 +0,0 @@ -assets by path common/ 1.32 KiB - asset common/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset common/index.js 128 bytes [compared for emit] - asset common/index.d.ts 42 bytes [compared for emit] -assets by path unreferenced/ 1.37 KiB - asset unreferenced/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset unreferenced/index.js 169 bytes [compared for emit] - asset unreferenced/index.d.ts 48 bytes [compared for emit] -assets by path unreferencedIndirect/ 1.42 KiB - asset unreferencedIndirect/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset unreferencedIndirect/index.js 209 bytes [compared for emit] - asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit] -asset bundle.js 3.65 KiB [emitted] (name: main) -asset indirectWithError/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] -asset lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] -./app.ts 187 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] -./utils/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in ./utils/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 4:14-32 - -ERROR in lib/fileWithError.ts -2:4-17 -[tsl] ERROR in lib/fileWithError.ts(2,5) - TS2322: Type 'boolean' is not assignable to type 'string'. - -ERROR in indirectWithError/fileWithError.ts -2:4-17 -[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) - TS2322: Type 'boolean' is not assignable to type 'string'. - -2 errors have detailed information that is not shown. -Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. - -webpack compiled with 4 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index d9f42069b..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/fileWithError.js deleted file mode 100644 index 4cd8719c8..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/fileWithError.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.foo = void 0; -function foo() { - return "hello world"; -} -exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 0b6130575..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index c9fe83381..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,29 +0,0 @@ -assets by status 369 bytes [compared for emit] - assets by path lib/*.js 246 bytes - asset lib/fileWithError.js 127 bytes [compared for emit] - asset lib/index.js 119 bytes [compared for emit] - assets by path lib/*.ts 123 bytes - asset lib/index.d.ts 84 bytes [compared for emit] - asset lib/fileWithError.d.ts 39 bytes [compared for emit] -assets by status 4.68 KiB [emitted] - asset bundle.js 3.35 KiB [emitted] (name: main) - asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted] -./app.ts 187 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -./utils/index.ts 39 bytes [built] [1 error] - -ERROR in ./utils/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 4:14-32 - -ERROR in indirectWithError/fileWithError.ts -2:4-17 -[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) - TS2322: Type 'boolean' is not assignable to type 'string'. -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index c521cc09a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/fileWithError.js deleted file mode 100644 index 215cdeb2a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/fileWithError.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.foo = void 0; -function foo() { - return "hello i fixed this error"; -} -exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/tsconfig.tsbuildinfo deleted file mode 100644 index a7d500c87..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 67a3893d3..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -assets by status 1.85 KiB [compared for emit] - assets by path indirectWithError/ 382 bytes - assets by path indirectWithError/*.js 259 bytes - asset indirectWithError/fileWithError.js 140 bytes [compared for emit] - asset indirectWithError/index.js 119 bytes [compared for emit] - assets by path indirectWithError/*.ts 123 bytes - asset indirectWithError/index.d.ts 84 bytes [compared for emit] - asset indirectWithError/fileWithError.d.ts 39 bytes [compared for emit] - assets by path utils/ 1.48 KiB - asset utils/tsconfig.tsbuildinfo 1.27 KiB [compared for emit] - asset utils/index.js 174 bytes [compared for emit] - asset utils/index.d.ts 39 bytes [compared for emit] -assets by status 4.83 KiB [emitted] - asset bundle.js 3.49 KiB [emitted] (name: main) - asset indirectWithError/tsconfig.tsbuildinfo 1.33 KiB [emitted] -cached modules 119 bytes [cached] 1 module -./app.ts 187 bytes [built] [code generated] -./utils/index.ts 174 bytes [built] [code generated] -./common/index.ts 128 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/index.js deleted file mode 100644 index 126060be6..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a315f1456..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index c521cc09a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index 7427a4fd4..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -asset bundle.js 3.49 KiB [emitted] (name: main) -asset unreferenced/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset unreferenced/index.js 183 bytes [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 187 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/unreferenced/index.js deleted file mode 100644 index 184fe4303..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/unreferenced/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferenced = void 0; -function unreferenced() { - return "i am unreferenced without error"; -} -exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/unreferenced/tsconfig.tsbuildinfo deleted file mode 100644 index 88ea8b5ce..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch2/unreferenced/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bb8ba6128be1271d91fd80319ca81516b664c6a68b5409b2991f70018b6c9e67","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/bundle.js deleted file mode 100644 index c521cc09a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index a7dc30e8f..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -asset bundle.js 3.49 KiB [emitted] (name: main) -asset unreferencedIndirect/tsconfig.tsbuildinfo 1.42 KiB [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 187 bytes [built] [code generated] - -ERROR in unreferencedIndirect/index.ts -2:2-50 -[tsl] ERROR in unreferencedIndirect/index.ts(2,3) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/unreferencedIndirect/tsconfig.tsbuildinfo deleted file mode 100644 index a0329b35a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch3/unreferencedIndirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c","signature":"2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":51,"length":48,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]],"emitSignatures":[[6,"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/bundle.js deleted file mode 100644 index c521cc09a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index e592bec5f..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -asset bundle.js 3.49 KiB [emitted] (name: main) -asset unreferencedIndirect/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset unreferencedIndirect/index.js 225 bytes [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 187 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/unreferencedIndirect/index.js deleted file mode 100644 index 44db5b50e..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/unreferencedIndirect/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferencedIndirect = void 0; -function unreferencedIndirect() { - return "i am unreferencedIndirect now fixed error"; -} -exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/unreferencedIndirect/tsconfig.tsbuildinfo deleted file mode 100644 index b5cf40c21..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch4/unreferencedIndirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/bundle.js deleted file mode 100644 index c521cc09a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index fefc9fd70..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -asset bundle.js 3.49 KiB [emitted] (name: main) -asset unreferenced/tsconfig.tsbuildinfo 1.42 KiB [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 187 bytes [built] [code generated] - -ERROR in unreferenced/index.ts -2:2-40 -[tsl] ERROR in unreferenced/index.ts(2,3) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/unreferenced/tsconfig.tsbuildinfo deleted file mode 100644 index aaffc3385..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch5/unreferenced/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1","signature":"2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":43,"length":38,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]],"emitSignatures":[[6,"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/index.js deleted file mode 100644 index 2a6e4b7c9..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferenced = void 0; -function unreferenced() { - return "i am unreferenced"; -} -exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/tsconfig.tsbuildinfo deleted file mode 100644 index c5edae62a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/index.js deleted file mode 100644 index 87bc79753..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferencedIndirect = void 0; -function unreferencedIndirect() { - return "i am unreferencedIndirect"; -} -exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/tsconfig.tsbuildinfo deleted file mode 100644 index cc1383405..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..0dc26ab13 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/common/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/index.js new file mode 100644 index 000000000..84f9ece58 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9a180cf3d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..85dde9550 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],9,1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8,9],"emitSignatures":[8,9]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..85dde9550 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],9,1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8,9],"emitSignatures":[8,9]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..feafd7118 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/output.txt @@ -0,0 +1,49 @@ +assets by path common/ 1.7 KiB + asset common/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset common/index.js 164 bytes [compared for emit] + asset common/index.d.ts 42 bytes [compared for emit] +assets by path unreferenced/ 1.75 KiB + asset unreferenced/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset unreferenced/index.js 205 bytes [compared for emit] + asset unreferenced/index.d.ts 48 bytes [compared for emit] +assets by path unreferencedIndirect/ 1.79 KiB + asset unreferencedIndirect/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset unreferencedIndirect/index.js 245 bytes [compared for emit] + asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit] +asset bundle.js 3.77 KiB [emitted] (name: main) +asset indirectWithError/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] +asset lib/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] +./app.ts 223 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] +./utils/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in ./utils/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 4:14-32 + +ERROR in lib/fileWithError.ts +2:4-17 +[tsl] ERROR in lib/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in indirectWithError/fileWithError.ts +2:4-17 +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +2 errors have detailed information that is not shown. +Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. + +webpack compiled with 4 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..2c80c2c20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/fileWithError.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/fileWithError.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/fileWithError.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/fileWithError.js new file mode 100644 index 000000000..acefb7946 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.foo = void 0; +function foo() { + return "hello world"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5b4bd68cc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..476762189 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,29 @@ +assets by status 441 bytes [compared for emit] + assets by path lib/*.js 318 bytes + asset lib/fileWithError.js 163 bytes [compared for emit] + asset lib/index.js 155 bytes [compared for emit] + assets by path lib/*.ts 123 bytes + asset lib/index.d.ts 84 bytes [compared for emit] + asset lib/fileWithError.d.ts 39 bytes [compared for emit] +assets by status 5.15 KiB [emitted] + asset bundle.js 3.47 KiB [emitted] (name: main) + asset lib/tsconfig.tsbuildinfo 1.68 KiB [emitted] +./app.ts 223 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +./utils/index.ts 39 bytes [built] [1 error] + +ERROR in ./utils/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 4:14-32 + +ERROR in indirectWithError/fileWithError.ts +2:4-17 +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/fileWithError.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/fileWithError.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/fileWithError.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/fileWithError.js new file mode 100644 index 000000000..7adf62cda --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.foo = void 0; +function foo() { + return "hello i fixed this error"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/indirectWithError/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..58eed16d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..8546260d7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,20 @@ +assets by status 2.3 KiB [compared for emit] + assets by path indirectWithError/ 454 bytes + assets by path indirectWithError/*.js 331 bytes + asset indirectWithError/fileWithError.js 176 bytes [compared for emit] + asset indirectWithError/index.js 155 bytes [compared for emit] + assets by path indirectWithError/*.ts 123 bytes + asset indirectWithError/index.d.ts 84 bytes [compared for emit] + asset indirectWithError/fileWithError.d.ts 39 bytes [compared for emit] + assets by path utils/ 1.86 KiB + asset utils/tsconfig.tsbuildinfo 1.61 KiB [compared for emit] + asset utils/index.js 210 bytes [compared for emit] + asset utils/index.d.ts 39 bytes [compared for emit] +assets by status 5.33 KiB [emitted] + asset bundle.js 3.65 KiB [emitted] (name: main) + asset indirectWithError/tsconfig.tsbuildinfo 1.68 KiB [emitted] +cached modules 155 bytes [cached] 1 module +./app.ts 223 bytes [built] [code generated] +./utils/index.ts 210 bytes [built] [code generated] +./common/index.ts 164 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/patch1/utils/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/index.js new file mode 100644 index 000000000..c095cb7f6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..640b0cf76 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..1bf64487a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,6 @@ +asset bundle.js 3.65 KiB [emitted] (name: main) +asset unreferenced/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset unreferenced/index.js 219 bytes [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/unreferenced/index.js new file mode 100644 index 000000000..84fa73ccd --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced without error"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..051d743b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch2/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bb8ba6128be1271d91fd80319ca81516b664c6a68b5409b2991f70018b6c9e67","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..90d8e0838 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,12 @@ +asset bundle.js 3.65 KiB [emitted] (name: main) +asset unreferencedIndirect/tsconfig.tsbuildinfo 1.75 KiB [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] [code generated] + +ERROR in unreferencedIndirect/index.ts +2:2-50 +[tsl] ERROR in unreferencedIndirect/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..01043277a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c","signature":"2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":51,"length":48,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[[8,"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..b2ff2dd47 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,6 @@ +asset bundle.js 3.65 KiB [emitted] (name: main) +asset unreferencedIndirect/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset unreferencedIndirect/index.js 261 bytes [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/unreferencedIndirect/index.js new file mode 100644 index 000000000..45a40ff3d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect now fixed error"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..67facd84b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..55d05ddf2 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,12 @@ +asset bundle.js 3.65 KiB [emitted] (name: main) +asset unreferenced/tsconfig.tsbuildinfo 1.75 KiB [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] [code generated] + +ERROR in unreferenced/index.ts +2:2-40 +[tsl] ERROR in unreferenced/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f58661a20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/patch5/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1","signature":"2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":43,"length":38,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[[8,"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferenced/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/index.js new file mode 100644 index 000000000..35713bd83 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5bc4ba770 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-4.9/unreferencedIndirect/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/index.js new file mode 100644 index 000000000..2ef1d436d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b263ffcfb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-5.0/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 262b1da66..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/index.js deleted file mode 100644 index c561b2cc0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 30; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index 12c951626..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/indirectWithError/tsconfig.tsbuildinfo deleted file mode 100644 index ae45d6417..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/indirectWithError/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]],"emitSignatures":[6,7]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index ae45d6417..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]],"emitSignatures":[6,7]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 582fc7005..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,47 +0,0 @@ -assets by path common/ 1.32 KiB - asset common/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset common/index.js 128 bytes [compared for emit] - asset common/index.d.ts 42 bytes [compared for emit] -assets by path unreferenced/ 1.37 KiB - asset unreferenced/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset unreferenced/index.js 169 bytes [compared for emit] - asset unreferenced/index.d.ts 48 bytes [compared for emit] -assets by path unreferencedIndirect/ 1.42 KiB - asset unreferencedIndirect/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset unreferencedIndirect/index.js 209 bytes [compared for emit] - asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit] -asset bundle.js 3.7 KiB [emitted] (name: main) -asset indirectWithError/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] -asset lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] -./app.ts 223 bytes [built] [code generated] [2 errors] -./lib/index.ts 39 bytes [built] [code generated] [1 error] -./utils/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 2:4-17 -[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) - TS2322: Type 'boolean' is not assignable to type 'string'. - -ERROR in ./app.ts 2:4-17 -[tsl] ERROR in lib/fileWithError.ts(2,5) - TS2322: Type 'boolean' is not assignable to type 'string'. - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in ./utils/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 4:14-32 - -2 errors have detailed information that is not shown. -Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. - -webpack compiled with 4 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 1852af9fc..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,78 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/fileWithError.js deleted file mode 100644 index 4cd8719c8..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/fileWithError.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.foo = void 0; -function foo() { - return "hello world"; -} -exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 0b6130575..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 17ef1e1d0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,28 +0,0 @@ -assets by status 369 bytes [compared for emit] - assets by path lib/*.js 246 bytes - asset lib/fileWithError.js 127 bytes [compared for emit] - asset lib/index.js 119 bytes [compared for emit] - assets by path lib/*.ts 123 bytes - asset lib/index.d.ts 84 bytes [compared for emit] - asset lib/fileWithError.d.ts 39 bytes [compared for emit] -assets by status 4.73 KiB [emitted] - asset bundle.js 3.4 KiB [emitted] (name: main) - asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted] -./app.ts 223 bytes [built] [code generated] [1 error] -./lib/index.ts 119 bytes [built] [code generated] -./utils/index.ts 39 bytes [built] [1 error] - -ERROR in ./app.ts 2:4-17 -[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) - TS2322: Type 'boolean' is not assignable to type 'string'. -ts-loader-default_8f3b13c212135902 - -ERROR in ./utils/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 4:14-32 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 4f8d5cfa0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/fileWithError.js deleted file mode 100644 index 215cdeb2a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/fileWithError.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.foo = void 0; -function foo() { - return "hello i fixed this error"; -} -exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/tsconfig.tsbuildinfo deleted file mode 100644 index a7d500c87..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index b174c1e95..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -assets by status 1.85 KiB [compared for emit] - assets by path indirectWithError/ 382 bytes - assets by path indirectWithError/*.js 259 bytes - asset indirectWithError/fileWithError.js 140 bytes [compared for emit] - asset indirectWithError/index.js 119 bytes [compared for emit] - assets by path indirectWithError/*.ts 123 bytes - asset indirectWithError/index.d.ts 84 bytes [compared for emit] - asset indirectWithError/fileWithError.d.ts 39 bytes [compared for emit] - assets by path utils/ 1.48 KiB - asset utils/tsconfig.tsbuildinfo 1.27 KiB [compared for emit] - asset utils/index.js 174 bytes [compared for emit] - asset utils/index.d.ts 39 bytes [compared for emit] -assets by status 4.87 KiB [emitted] - asset bundle.js 3.53 KiB [emitted] (name: main) - asset indirectWithError/tsconfig.tsbuildinfo 1.33 KiB [emitted] -cached modules 119 bytes [cached] 1 module -./app.ts 223 bytes [built] [code generated] -./utils/index.ts 174 bytes [built] [code generated] -./common/index.ts 128 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/index.js deleted file mode 100644 index 126060be6..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a315f1456..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/bundle.js deleted file mode 100644 index 4f8d5cfa0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index 4be145c30..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -assets by status 3.53 KiB [cached] 1 asset -asset unreferencedIndirect/tsconfig.tsbuildinfo 1.42 KiB [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 223 bytes [built] [1 error] - -ERROR in ./app.ts 2:2-50 -[tsl] ERROR in unreferencedIndirect/index.ts(2,3) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/unreferencedIndirect/tsconfig.tsbuildinfo deleted file mode 100644 index a0329b35a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch3/unreferencedIndirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c","signature":"2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":51,"length":48,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]],"emitSignatures":[[6,"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/bundle.js deleted file mode 100644 index 4f8d5cfa0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index 19a4f6034..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,6 +0,0 @@ -assets by status 3.53 KiB [cached] 1 asset -asset unreferencedIndirect/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset unreferencedIndirect/index.js 225 bytes [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 223 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/unreferencedIndirect/index.js deleted file mode 100644 index 44db5b50e..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/unreferencedIndirect/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferencedIndirect = void 0; -function unreferencedIndirect() { - return "i am unreferencedIndirect now fixed error"; -} -exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/unreferencedIndirect/tsconfig.tsbuildinfo deleted file mode 100644 index b5cf40c21..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch4/unreferencedIndirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/bundle.js deleted file mode 100644 index 4f8d5cfa0..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./common/index.ts": -/*!*************************!*\ - !*** ./common/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }), - -/***/ "./utils/index.ts": -/*!************************!*\ - !*** ./utils/index.ts ***! - \************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index 9b2c7cc16..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -assets by status 3.53 KiB [cached] 1 asset -asset unreferenced/tsconfig.tsbuildinfo 1.42 KiB [emitted] -cached modules 421 bytes [cached] 3 modules -./app.ts 223 bytes [built] [1 error] - -ERROR in ./app.ts 2:2-40 -[tsl] ERROR in unreferenced/index.ts(2,3) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/unreferenced/tsconfig.tsbuildinfo deleted file mode 100644 index aaffc3385..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch5/unreferenced/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1","signature":"2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":43,"length":38,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]],"emitSignatures":[[6,"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/index.js deleted file mode 100644 index 2a6e4b7c9..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferenced = void 0; -function unreferenced() { - return "i am unreferenced"; -} -exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/tsconfig.tsbuildinfo deleted file mode 100644 index c5edae62a..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/index.js deleted file mode 100644 index 87bc79753..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.unreferencedIndirect = void 0; -function unreferencedIndirect() { - return "i am unreferencedIndirect"; -} -exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/tsconfig.tsbuildinfo deleted file mode 100644 index cc1383405..000000000 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..3ec964a07 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/common/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/index.js new file mode 100644 index 000000000..84f9ece58 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9a180cf3d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..85dde9550 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],9,1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8,9],"emitSignatures":[8,9]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..85dde9550 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],9,1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8,9],"emitSignatures":[8,9]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..6668206e7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,47 @@ +assets by path common/ 1.7 KiB + asset common/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset common/index.js 164 bytes [compared for emit] + asset common/index.d.ts 42 bytes [compared for emit] +assets by path unreferenced/ 1.75 KiB + asset unreferenced/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset unreferenced/index.js 205 bytes [compared for emit] + asset unreferenced/index.d.ts 48 bytes [compared for emit] +assets by path unreferencedIndirect/ 1.79 KiB + asset unreferencedIndirect/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset unreferencedIndirect/index.js 245 bytes [compared for emit] + asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit] +asset bundle.js 3.79 KiB [emitted] (name: main) +asset indirectWithError/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] +asset lib/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] +./app.ts 223 bytes [built] [code generated] [2 errors] +./lib/index.ts 39 bytes [built] [code generated] [1 error] +./utils/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 2:4-17 +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in ./app.ts 2:4-17 +[tsl] ERROR in lib/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in ./utils/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 4:14-32 + +2 errors have detailed information that is not shown. +Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. + +webpack compiled with 4 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..7dfa05b34 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,78 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/fileWithError.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/fileWithError.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/fileWithError.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/fileWithError.js new file mode 100644 index 000000000..acefb7946 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.foo = void 0; +function foo() { + return "hello world"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5b4bd68cc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..1274bd796 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,28 @@ +assets by status 441 bytes [compared for emit] + assets by path lib/*.js 318 bytes + asset lib/fileWithError.js 163 bytes [compared for emit] + asset lib/index.js 155 bytes [compared for emit] + assets by path lib/*.ts 123 bytes + asset lib/index.d.ts 84 bytes [compared for emit] + asset lib/fileWithError.d.ts 39 bytes [compared for emit] +assets by status 5.16 KiB [emitted] + asset bundle.js 3.48 KiB [emitted] (name: main) + asset lib/tsconfig.tsbuildinfo 1.68 KiB [emitted] +./app.ts 223 bytes [built] [code generated] [1 error] +./lib/index.ts 155 bytes [built] [code generated] +./utils/index.ts 39 bytes [built] [1 error] + +ERROR in ./app.ts 2:4-17 +[tsl] ERROR in indirectWithError/fileWithError.ts(2,5) + TS2322: Type 'boolean' is not assignable to type 'string'. +ts-loader-default_8f3b13c212135902 + +ERROR in ./utils/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 4:14-32 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/fileWithError.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/fileWithError.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/fileWithError.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/fileWithError.js new file mode 100644 index 000000000..7adf62cda --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/fileWithError.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.foo = void 0; +function foo() { + return "hello i fixed this error"; +} +exports.foo = foo; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/indirectWithError/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/tsconfig.tsbuildinfo new file mode 100644 index 000000000..58eed16d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/indirectWithError/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..8546260d7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,20 @@ +assets by status 2.3 KiB [compared for emit] + assets by path indirectWithError/ 454 bytes + assets by path indirectWithError/*.js 331 bytes + asset indirectWithError/fileWithError.js 176 bytes [compared for emit] + asset indirectWithError/index.js 155 bytes [compared for emit] + assets by path indirectWithError/*.ts 123 bytes + asset indirectWithError/index.d.ts 84 bytes [compared for emit] + asset indirectWithError/fileWithError.d.ts 39 bytes [compared for emit] + assets by path utils/ 1.86 KiB + asset utils/tsconfig.tsbuildinfo 1.61 KiB [compared for emit] + asset utils/index.js 210 bytes [compared for emit] + asset utils/index.d.ts 39 bytes [compared for emit] +assets by status 5.33 KiB [emitted] + asset bundle.js 3.65 KiB [emitted] (name: main) + asset indirectWithError/tsconfig.tsbuildinfo 1.68 KiB [emitted] +cached modules 155 bytes [cached] 1 module +./app.ts 223 bytes [built] [code generated] +./utils/index.ts 210 bytes [built] [code generated] +./common/index.ts 164 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/patch1/utils/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/index.js new file mode 100644 index 000000000..c095cb7f6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..640b0cf76 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..0c9e82f21 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,11 @@ +assets by status 3.65 KiB [cached] 1 asset +asset unreferencedIndirect/tsconfig.tsbuildinfo 1.75 KiB [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] [1 error] + +ERROR in ./app.ts 2:2-50 +[tsl] ERROR in unreferencedIndirect/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..01043277a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch3/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c","signature":"2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":51,"length":48,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[[8,"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..6177c9021 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,6 @@ +assets by status 3.65 KiB [cached] 1 asset +asset unreferencedIndirect/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset unreferencedIndirect/index.js 261 bytes [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/unreferencedIndirect/index.js new file mode 100644 index 000000000..45a40ff3d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect now fixed error"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..67facd84b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch4/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/bundle.js new file mode 100644 index 000000000..b8eb6d6a5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./common/index.ts": +/*!*************************!*\ + !*** ./common/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }), + +/***/ "./utils/index.ts": +/*!************************!*\ + !*** ./utils/index.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..aed5ed46b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,11 @@ +assets by status 3.65 KiB [cached] 1 asset +asset unreferenced/tsconfig.tsbuildinfo 1.75 KiB [emitted] +cached modules 529 bytes [cached] 3 modules +./app.ts 223 bytes [built] [1 error] + +ERROR in ./app.ts 2:2-40 +[tsl] ERROR in unreferenced/index.ts(2,3) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f58661a20 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/patch5/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1","signature":"2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":43,"length":38,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[[8,"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferenced/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/index.js new file mode 100644 index 000000000..35713bd83 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferenced = void 0; +function unreferenced() { + return "i am unreferenced"; +} +exports.unreferenced = unreferenced; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/tsconfig.tsbuildinfo new file mode 100644 index 000000000..5bc4ba770 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferenced/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.9/unreferencedIndirect/index.d.ts rename to test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/index.js new file mode 100644 index 000000000..2ef1d436d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreferencedIndirect = void 0; +function unreferencedIndirect() { + return "i am unreferencedIndirect"; +} +exports.unreferencedIndirect = unreferencedIndirect; diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b263ffcfb --- /dev/null +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-5.0/unreferencedIndirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/app/bundle.js deleted file mode 100644 index cc8d9e5e1..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/index.js deleted file mode 100644 index c561b2cc0..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 30; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index 12c951626..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/tsconfig.tsbuildinfo deleted file mode 100644 index 95f214a65..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 95f214a65..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/output.txt deleted file mode 100644 index e1376c2e2..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -assets by path ../utils/ 1.48 KiB - asset ../utils/tsconfig.tsbuildinfo 1.27 KiB [compared for emit] - + 2 assets -assets by path ../common/ 1.32 KiB - asset ../common/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - + 2 assets -assets by path ../indirect/ 1.36 KiB - asset ../indirect/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset ../indirect/index.js 119 bytes [compared for emit] - asset ../indirect/index.d.ts 84 bytes [compared for emit] -assets by path ../lib/ 1.36 KiB - asset ../lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset ../lib/index.js 119 bytes [compared for emit] - asset ../lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.51 KiB [emitted] (name: main) -./app.ts 189 bytes [built] [code generated] -../lib/index.ts 119 bytes [built] [code generated] -../utils/index.ts 174 bytes [built] [code generated] -../common/index.ts 128 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/app/bundle.js deleted file mode 100644 index 29d4de62e..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/common/index.js deleted file mode 100644 index 4fafb1dd0..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 35; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/common/tsconfig.tsbuildinfo deleted file mode 100644 index 4b98eed1e..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 1d89d6e94..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -asset bundle.js 3.51 KiB [emitted] (name: main) -asset ../common/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset ../common/index.js 128 bytes [emitted] -cached modules 119 bytes [cached] 1 module -modules by path ../ 302 bytes - ../utils/index.ts 174 bytes [built] [code generated] - ../common/index.ts 128 bytes [built] [code generated] -./app.ts 189 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/app/bundle.js deleted file mode 100644 index 7ff78cc41..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 1bdf8c8c3..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -asset bundle.js 3.59 KiB [emitted] (name: main) -asset ../utils/tsconfig.tsbuildinfo 1.27 KiB [emitted] -asset ../utils/index.js 254 bytes [emitted] -asset ../utils/index.d.ts 81 bytes [emitted] -cached modules 247 bytes [cached] 2 modules -cacheable modules 443 bytes - ./app.ts 189 bytes [built] [code generated] - ../utils/index.ts 254 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/index.js deleted file mode 100644 index 967de2eee..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils2 = exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; -function utils2() { return "hello"; } -exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a780c6830..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch2/app/bundle.js deleted file mode 100644 index 783767b76..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch2/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index dbb03161f..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.62 KiB [emitted] (name: main) -cached modules 501 bytes [cached] 3 modules -./app.ts 212 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/app/bundle.js deleted file mode 100644 index 783767b76..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/common/tsconfig.tsbuildinfo deleted file mode 100644 index 897e42262..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c","signature":"233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":37,"length":10,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]],"emitSignatures":[[6,"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index cb577c40a..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,17 +0,0 @@ -asset bundle.js 3.62 KiB [emitted] (name: main) -asset ../common/tsconfig.tsbuildinfo 1.42 KiB [emitted] -cached modules 119 bytes [cached] 1 module -code generated modules 466 bytes [code generated] - ./app.ts 212 bytes [built] [code generated] - ../utils/index.ts 254 bytes [built] [code generated] -../common/index.ts 128 bytes [built] [1 error] - -ERROR in common/index.ts -../common/index.ts 2:2-12 -[tsl] ERROR in common/index.ts(2,3) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_b7d520153c6e6cf9 - @ ../utils/index.ts 4:15-35 - @ ./app.ts 4:14-33 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/app/bundle.js deleted file mode 100644 index 783767b76..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/common/index.js deleted file mode 100644 index 4fafb1dd0..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 35; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/common/tsconfig.tsbuildinfo deleted file mode 100644 index 4b98eed1e..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index b224dd3cf..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -asset bundle.js 3.62 KiB [emitted] (name: main) -asset ../common/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset ../common/index.js 128 bytes [emitted] -cached modules 119 bytes [cached] 1 module -code generated modules 466 bytes [code generated] - ./app.ts 212 bytes [built] [code generated] - ../utils/index.ts 254 bytes [built] [code generated] -../common/index.ts 128 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/app/bundle.js deleted file mode 100644 index 783767b76..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index 1a6eb478b..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 3.62 KiB [emitted] (name: main) -asset ../utils/tsconfig.tsbuildinfo 1.53 KiB [emitted] -cached modules 247 bytes [cached] 2 modules -cacheable modules 466 bytes - ./app.ts 212 bytes [built] [code generated] - ../utils/index.ts 254 bytes [built] [1 error] - -ERROR in utils/index.ts -../utils/index.ts 5:35-50 -[tsl] ERROR in utils/index.ts(5,36) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_b7d520153c6e6cf9 - @ ./app.ts 4:14-33 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/utils/tsconfig.tsbuildinfo deleted file mode 100644 index 594b2d151..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch5/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19","signature":"b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,[7,[{"file":"./index.ts","start":111,"length":15,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[7,1]],"emitSignatures":[[7,"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/app/bundle.js deleted file mode 100644 index 783767b76..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/output.txt deleted file mode 100644 index 5926d6f0a..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 3.62 KiB [emitted] (name: main) -asset ../utils/tsconfig.tsbuildinfo 1.27 KiB [emitted] -asset ../utils/index.js 254 bytes [emitted] -cached modules 247 bytes [cached] 2 modules -cacheable modules 466 bytes - ./app.ts 212 bytes [built] [code generated] - ../utils/index.ts 254 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/utils/index.js deleted file mode 100644 index 967de2eee..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/utils/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils2 = exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; -function utils2() { return "hello"; } -exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a780c6830..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch6/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/index.js deleted file mode 100644 index 126060be6..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a315f1456..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/app/bundle.js new file mode 100644 index 000000000..5f9fa0ce1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/common/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/index.js new file mode 100644 index 000000000..84f9ece58 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9a180cf3d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/indirect/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dba33edc7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/indirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dba33edc7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..d2797480d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/output.txt @@ -0,0 +1,20 @@ +assets by path ../utils/ 1.86 KiB + asset ../utils/tsconfig.tsbuildinfo 1.61 KiB [compared for emit] + + 2 assets +assets by path ../common/ 1.7 KiB + asset ../common/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + + 2 assets +assets by path ../indirect/ 1.73 KiB + asset ../indirect/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset ../indirect/index.js 155 bytes [compared for emit] + asset ../indirect/index.d.ts 84 bytes [compared for emit] +assets by path ../lib/ 1.73 KiB + asset ../lib/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset ../lib/index.js 155 bytes [compared for emit] + asset ../lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.67 KiB [emitted] (name: main) +./app.ts 225 bytes [built] [code generated] +../lib/index.ts 155 bytes [built] [code generated] +../utils/index.ts 210 bytes [built] [code generated] +../common/index.ts 164 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/app/bundle.js new file mode 100644 index 000000000..0d9a0580a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/common/index.js new file mode 100644 index 000000000..7e53d6463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a7db0148c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..9ef6e4811 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,9 @@ +asset bundle.js 3.67 KiB [emitted] (name: main) +asset ../common/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset ../common/index.js 164 bytes [emitted] +cached modules 155 bytes [cached] 1 module +modules by path ../ 374 bytes + ../utils/index.ts 210 bytes [built] [code generated] + ../common/index.ts 164 bytes [built] [code generated] +./app.ts 225 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/app/bundle.js new file mode 100644 index 000000000..9ae60d946 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..aea8c10c2 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,9 @@ +asset bundle.js 3.75 KiB [emitted] (name: main) +asset ../utils/tsconfig.tsbuildinfo 1.61 KiB [emitted] +asset ../utils/index.js 290 bytes [emitted] +asset ../utils/index.d.ts 81 bytes [emitted] +cached modules 319 bytes [cached] 2 modules +cacheable modules 515 bytes + ./app.ts 225 bytes [built] [code generated] + ../utils/index.ts 290 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/patch1/utils/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/index.js new file mode 100644 index 000000000..825463bf1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..54c93be43 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch2/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch2/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..cf1870ca8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.77 KiB [emitted] (name: main) +cached modules 609 bytes [cached] 3 modules +./app.ts 248 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d3267d08a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c","signature":"233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":37,"length":10,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[[8,"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..9bf00618b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,17 @@ +asset bundle.js 3.77 KiB [emitted] (name: main) +asset ../common/tsconfig.tsbuildinfo 1.75 KiB [emitted] +cached modules 155 bytes [cached] 1 module +code generated modules 538 bytes [code generated] + ./app.ts 248 bytes [built] [code generated] + ../utils/index.ts 290 bytes [built] [code generated] +../common/index.ts 164 bytes [built] [1 error] + +ERROR in common/index.ts +../common/index.ts 2:2-12 +[tsl] ERROR in common/index.ts(2,3) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_b7d520153c6e6cf9 + @ ../utils/index.ts 4:15-35 + @ ./app.ts 4:14-33 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/common/index.js new file mode 100644 index 000000000..7e53d6463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a7db0148c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..897c4ae4b --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,9 @@ +asset bundle.js 3.77 KiB [emitted] (name: main) +asset ../common/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset ../common/index.js 164 bytes [emitted] +cached modules 155 bytes [cached] 1 module +code generated modules 538 bytes [code generated] + ./app.ts 248 bytes [built] [code generated] + ../utils/index.ts 290 bytes [built] [code generated] +../common/index.ts 164 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..e8c794cf1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 3.77 KiB [emitted] (name: main) +asset ../utils/tsconfig.tsbuildinfo 1.87 KiB [emitted] +cached modules 319 bytes [cached] 2 modules +cacheable modules 538 bytes + ./app.ts 248 bytes [built] [code generated] + ../utils/index.ts 290 bytes [built] [1 error] + +ERROR in utils/index.ts +../utils/index.ts 5:35-50 +[tsl] ERROR in utils/index.ts(5,36) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_b7d520153c6e6cf9 + @ ./app.ts 4:14-33 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3abfa2b31 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch5/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19","signature":"b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,[9,[{"file":"./index.ts","start":111,"length":15,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[9],"emitSignatures":[[9,"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/output.txt new file mode 100644 index 000000000..ffdbc7fd5 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 3.77 KiB [emitted] (name: main) +asset ../utils/tsconfig.tsbuildinfo 1.61 KiB [emitted] +asset ../utils/index.js 290 bytes [emitted] +cached modules 319 bytes [cached] 2 modules +cacheable modules 538 bytes + ./app.ts 248 bytes [built] [code generated] + ../utils/index.ts 290 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/utils/index.js new file mode 100644 index 000000000..825463bf1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..54c93be43 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/patch6/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.9/utils/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/index.js new file mode 100644 index 000000000..c095cb7f6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..640b0cf76 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-5.0/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/app/bundle.js deleted file mode 100644 index 3e336d54a..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/index.js deleted file mode 100644 index c561b2cc0..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 30; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index 12c951626..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/tsconfig.tsbuildinfo deleted file mode 100644 index 95f214a65..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index b7785ef20..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 95f214a65..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 138757d6c..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -assets by path ../utils/ 1.48 KiB - asset ../utils/tsconfig.tsbuildinfo 1.27 KiB [compared for emit] - + 2 assets -assets by path ../common/ 1.32 KiB - asset ../common/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - + 2 assets -assets by path ../indirect/ 1.36 KiB - asset ../indirect/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset ../indirect/index.js 119 bytes [compared for emit] - asset ../indirect/index.d.ts 84 bytes [compared for emit] -assets by path ../lib/ 1.36 KiB - asset ../lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] - asset ../lib/index.js 119 bytes [compared for emit] - asset ../lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.55 KiB [emitted] (name: main) -./app.ts 225 bytes [built] [code generated] -../lib/index.ts 119 bytes [built] [code generated] -../utils/index.ts 174 bytes [built] [code generated] -../common/index.ts 128 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/app/bundle.js deleted file mode 100644 index 335007fa6..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/common/index.js deleted file mode 100644 index 4fafb1dd0..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 35; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/common/tsconfig.tsbuildinfo deleted file mode 100644 index 4b98eed1e..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 79388c529..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -asset bundle.js 3.55 KiB [emitted] (name: main) -asset ../common/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset ../common/index.js 128 bytes [emitted] -cached modules 119 bytes [cached] 1 module -modules by path ../ 302 bytes - ../utils/index.ts 174 bytes [built] - ../common/index.ts 128 bytes [built] [code generated] -./app.ts 225 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/app/bundle.js deleted file mode 100644 index 8fda6d36c..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 360984085..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -asset bundle.js 3.63 KiB [emitted] (name: main) -asset ../utils/tsconfig.tsbuildinfo 1.27 KiB [emitted] -asset ../utils/index.js 254 bytes [emitted] -asset ../utils/index.d.ts 81 bytes [emitted] -cached modules 247 bytes [cached] 2 modules -cacheable modules 479 bytes - ./app.ts 225 bytes [built] [code generated] - ../utils/index.ts 254 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/index.js deleted file mode 100644 index 967de2eee..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils2 = exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; -function utils2() { return "hello"; } -exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a780c6830..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch2/app/bundle.js deleted file mode 100644 index 54a44f6c9..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch2/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index 12871c486..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.66 KiB [emitted] (name: main) -cached modules 501 bytes [cached] 3 modules -./app.ts 248 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/app/bundle.js deleted file mode 100644 index 54a44f6c9..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/common/tsconfig.tsbuildinfo deleted file mode 100644 index 897e42262..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c","signature":"233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":37,"length":10,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]],"emitSignatures":[[6,"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index 788427847..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,14 +0,0 @@ -assets by status 3.66 KiB [cached] 1 asset -asset ../common/tsconfig.tsbuildinfo 1.42 KiB [emitted] -cached modules 119 bytes [cached] 1 module -modules by path ../ 382 bytes - ../utils/index.ts 254 bytes [built] - ../common/index.ts 128 bytes [built] -./app.ts 248 bytes [built] [1 error] - -ERROR in ./app.ts 2:2-12 -[tsl] ERROR in common/index.ts(2,3) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/app/bundle.js deleted file mode 100644 index 54a44f6c9..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/common/index.js deleted file mode 100644 index 4fafb1dd0..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/common/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.common = void 0; -function common() { - return 35; -} -exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/common/tsconfig.tsbuildinfo deleted file mode 100644 index 4b98eed1e..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index f503fff70..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -assets by status 3.66 KiB [cached] 1 asset -asset ../common/tsconfig.tsbuildinfo 1.16 KiB [emitted] -asset ../common/index.js 128 bytes [emitted] -cached modules 119 bytes [cached] 1 module -modules by path ../ 382 bytes - ../utils/index.ts 254 bytes [built] - ../common/index.ts 128 bytes [built] -./app.ts 248 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/app/bundle.js deleted file mode 100644 index 54a44f6c9..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index 65ea365ca..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by status 3.66 KiB [cached] 1 asset -asset ../utils/tsconfig.tsbuildinfo 1.53 KiB [emitted] -cached modules 247 bytes [cached] 2 modules -cacheable modules 502 bytes - ./app.ts 248 bytes [built] [1 error] - ../utils/index.ts 254 bytes [built] - -ERROR in ./app.ts 5:35-50 -[tsl] ERROR in utils/index.ts(5,36) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/utils/tsconfig.tsbuildinfo deleted file mode 100644 index 594b2d151..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch5/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19","signature":"b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,[7,[{"file":"./index.ts","start":111,"length":15,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[7,1]],"emitSignatures":[[7,"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/app/bundle.js deleted file mode 100644 index 54a44f6c9..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/app/bundle.js +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "../common/index.ts": -/*!**************************!*\ - !*** ../common/index.ts ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); - -/***/ }), - -/***/ "../lib/index.ts": -/*!***********************!*\ - !*** ../lib/index.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); - -/***/ }), - -/***/ "../utils/index.ts": -/*!*************************!*\ - !*** ../utils/index.ts ***! - \*************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/output.txt deleted file mode 100644 index 114a6c9f7..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -assets by status 3.66 KiB [cached] 1 asset -asset ../utils/tsconfig.tsbuildinfo 1.27 KiB [emitted] -asset ../utils/index.js 254 bytes [emitted] -cached modules 247 bytes [cached] 2 modules -cacheable modules 502 bytes - ./app.ts 248 bytes [built] - ../utils/index.ts 254 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/utils/index.js deleted file mode 100644 index 967de2eee..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/utils/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils2 = exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; -function utils2() { return "hello"; } -exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a780c6830..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch6/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/index.js deleted file mode 100644 index 126060be6..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/index.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.utils = void 0; -var common_1 = require("../common"); -function utils() { - (0, common_1.common)(); -} -exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/tsconfig.tsbuildinfo deleted file mode 100644 index a315f1456..000000000 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/app/bundle.js new file mode 100644 index 000000000..5f9fa0ce1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/common/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/index.js new file mode 100644 index 000000000..84f9ece58 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 30; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9a180cf3d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/indirect/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dba33edc7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/indirect/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..078c0819c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..dba33edc7 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..d2797480d --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,20 @@ +assets by path ../utils/ 1.86 KiB + asset ../utils/tsconfig.tsbuildinfo 1.61 KiB [compared for emit] + + 2 assets +assets by path ../common/ 1.7 KiB + asset ../common/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + + 2 assets +assets by path ../indirect/ 1.73 KiB + asset ../indirect/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset ../indirect/index.js 155 bytes [compared for emit] + asset ../indirect/index.d.ts 84 bytes [compared for emit] +assets by path ../lib/ 1.73 KiB + asset ../lib/tsconfig.tsbuildinfo 1.5 KiB [compared for emit] + asset ../lib/index.js 155 bytes [compared for emit] + asset ../lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.67 KiB [emitted] (name: main) +./app.ts 225 bytes [built] [code generated] +../lib/index.ts 155 bytes [built] [code generated] +../utils/index.ts 210 bytes [built] [code generated] +../common/index.ts 164 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/app/bundle.js new file mode 100644 index 000000000..0d9a0580a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/common/index.js new file mode 100644 index 000000000..7e53d6463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a7db0148c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..f38ac91ae --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,9 @@ +asset bundle.js 3.67 KiB [emitted] (name: main) +asset ../common/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset ../common/index.js 164 bytes [emitted] +cached modules 155 bytes [cached] 1 module +modules by path ../ 374 bytes + ../utils/index.ts 210 bytes [built] + ../common/index.ts 164 bytes [built] [code generated] +./app.ts 225 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/app/bundle.js new file mode 100644 index 000000000..9ae60d946 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..aea8c10c2 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,9 @@ +asset bundle.js 3.75 KiB [emitted] (name: main) +asset ../utils/tsconfig.tsbuildinfo 1.61 KiB [emitted] +asset ../utils/index.js 290 bytes [emitted] +asset ../utils/index.d.ts 81 bytes [emitted] +cached modules 319 bytes [cached] 2 modules +cacheable modules 515 bytes + ./app.ts 225 bytes [built] [code generated] + ../utils/index.ts 290 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/patch1/utils/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/index.js new file mode 100644 index 000000000..825463bf1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..54c93be43 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch1/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch2/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch2/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..cf1870ca8 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.77 KiB [emitted] (name: main) +cached modules 609 bytes [cached] 3 modules +./app.ts 248 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d3267d08a --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c","signature":"233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":37,"length":10,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[[8,"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..e01e5784e --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,14 @@ +assets by status 3.77 KiB [cached] 1 asset +asset ../common/tsconfig.tsbuildinfo 1.75 KiB [emitted] +cached modules 155 bytes [cached] 1 module +modules by path ../ 454 bytes + ../utils/index.ts 290 bytes [built] + ../common/index.ts 164 bytes [built] +./app.ts 248 bytes [built] [1 error] + +ERROR in ./app.ts 2:2-12 +[tsl] ERROR in common/index.ts(2,3) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/common/index.js new file mode 100644 index 000000000..7e53d6463 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/common/index.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.common = void 0; +function common() { + return 35; +} +exports.common = common; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..a7db0148c --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..fc997e2cc --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,9 @@ +assets by status 3.77 KiB [cached] 1 asset +asset ../common/tsconfig.tsbuildinfo 1.5 KiB [emitted] +asset ../common/index.js 164 bytes [emitted] +cached modules 155 bytes [cached] 1 module +modules by path ../ 454 bytes + ../utils/index.ts 290 bytes [built] + ../common/index.ts 164 bytes [built] +./app.ts 248 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..293ae30e0 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,13 @@ +assets by status 3.77 KiB [cached] 1 asset +asset ../utils/tsconfig.tsbuildinfo 1.87 KiB [emitted] +cached modules 319 bytes [cached] 2 modules +cacheable modules 538 bytes + ./app.ts 248 bytes [built] [1 error] + ../utils/index.ts 290 bytes [built] + +ERROR in ./app.ts 5:35-50 +[tsl] ERROR in utils/index.ts(5,36) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3abfa2b31 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch5/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19","signature":"b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,[9,[{"file":"./index.ts","start":111,"length":15,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[9],"emitSignatures":[[9,"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/app/bundle.js new file mode 100644 index 000000000..7e9ad7585 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/app/bundle.js @@ -0,0 +1,87 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "../common/index.ts": +/*!**************************!*\ + !*** ../common/index.ts ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?"); + +/***/ }), + +/***/ "../lib/index.ts": +/*!***********************!*\ + !*** ../lib/index.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?"); + +/***/ }), + +/***/ "../utils/index.ts": +/*!*************************!*\ + !*** ../utils/index.ts ***! + \*************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/output.txt new file mode 100644 index 000000000..9d61d7ac3 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/output.txt @@ -0,0 +1,8 @@ +assets by status 3.77 KiB [cached] 1 asset +asset ../utils/tsconfig.tsbuildinfo 1.61 KiB [emitted] +asset ../utils/index.js 290 bytes [emitted] +cached modules 319 bytes [cached] 2 modules +cacheable modules 538 bytes + ./app.ts 248 bytes [built] + ../utils/index.ts 290 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/utils/index.js new file mode 100644 index 000000000..825463bf1 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/utils/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils2 = exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; +function utils2() { return "hello"; } +exports.utils2 = utils2; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..54c93be43 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/patch6/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.9/utils/index.d.ts rename to test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/index.d.ts diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/index.js new file mode 100644 index 000000000..c095cb7f6 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/index.js @@ -0,0 +1,8 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.utils = void 0; +var common_1 = require("../common"); +function utils() { + (0, common_1.common)(); +} +exports.utils = utils; diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/tsconfig.tsbuildinfo new file mode 100644 index 000000000..640b0cf76 --- /dev/null +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-5.0/utils/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088","signature":"2c471583ee40dd55eed961a2de47a5014f6639fa90572027eec9139c40293e19"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/bundle.js deleted file mode 100644 index ad5d6a334..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/foo.js deleted file mode 100644 index 33e8d8400..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/foo.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.foo = void 0; -exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/index.js deleted file mode 100644 index 36ee96b86..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var foo_1 = require("./foo"); -exports.lib = { - one: 1, - two: 2, - three: 3, - foo: foo_1.foo -}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f934fb1d..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./foo.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759","signature":"4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520"},{"version":"582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8","signature":"822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/output.txt deleted file mode 100644 index 4d9a5ad03..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -assets by path lib/*.js 253 bytes - asset lib/index.js 169 bytes [compared for emit] - asset lib/foo.js 84 bytes [compared for emit] -assets by path lib/*.ts 135 bytes - asset lib/index.d.ts 101 bytes [compared for emit] - asset lib/foo.d.ts 34 bytes [compared for emit] -asset bundle.js 2.98 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.35 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 169 bytes [built] [code generated] -./lib/foo.ts 84 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..dd9465b96 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/foo.ts": +/*!********************!*\ + !*** ./lib/foo.ts ***! + \********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/foo.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/foo.d.ts rename to test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/foo.d.ts diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/foo.js new file mode 100644 index 000000000..626df26b6 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/foo.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.foo = void 0; +exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..aec9616f6 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var foo_1 = require("./foo"); +exports.lib = { + one: 1, + two: 2, + three: 3, + foo: foo_1.foo +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c1c16752a --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./foo.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759","signature":"4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520"},{"version":"582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8","signature":"822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..c733b3772 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-5.0/output.txt @@ -0,0 +1,12 @@ +assets by path lib/*.js 325 bytes + asset lib/index.js 205 bytes [compared for emit] + asset lib/foo.js 120 bytes [compared for emit] +assets by path lib/*.ts 135 bytes + asset lib/index.d.ts 101 bytes [compared for emit] + asset lib/foo.d.ts 34 bytes [compared for emit] +asset bundle.js 3.1 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.69 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 205 bytes [built] [code generated] +./lib/foo.ts 120 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index cf1353017..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/foo.ts": -/*!********************!*\ - !*** ./lib/foo.ts ***! - \********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/foo.js deleted file mode 100644 index 33e8d8400..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/foo.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.foo = void 0; -exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index 36ee96b86..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var foo_1 = require("./foo"); -exports.lib = { - one: 1, - two: 2, - three: 3, - foo: foo_1.foo -}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f934fb1d..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./foo.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759","signature":"4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520"},{"version":"582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8","signature":"822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 80dc7e19b..000000000 --- a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -assets by path lib/*.js 253 bytes - asset lib/index.js 169 bytes [compared for emit] - asset lib/foo.js 84 bytes [compared for emit] -assets by path lib/*.ts 135 bytes - asset lib/index.d.ts 101 bytes [compared for emit] - asset lib/foo.d.ts 34 bytes [compared for emit] -asset bundle.js 3.02 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.35 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 169 bytes [built] [code generated] -./lib/foo.ts 84 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..dd9465b96 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/foo.ts": +/*!********************!*\ + !*** ./lib/foo.ts ***! + \********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/foo.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/foo.d.ts rename to test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/foo.d.ts diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/foo.js new file mode 100644 index 000000000..626df26b6 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/foo.js @@ -0,0 +1,4 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.foo = void 0; +exports.foo = 'foo'; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..aec9616f6 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var foo_1 = require("./foo"); +exports.lib = { + one: 1, + two: 2, + three: 3, + foo: foo_1.foo +}; diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..c1c16752a --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./foo.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759","signature":"4c57bbad758e31eeba3abc8e95e00dbac67b9581c2e7d02884ffb14c672b1520"},{"version":"582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8","signature":"822618dba4b9d398326f33458039773f2c32dc8940c6134ce0b019b1ff20d068"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..c733b3772 --- /dev/null +++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,12 @@ +assets by path lib/*.js 325 bytes + asset lib/index.js 205 bytes [compared for emit] + asset lib/foo.js 120 bytes [compared for emit] +assets by path lib/*.ts 135 bytes + asset lib/index.d.ts 101 bytes [compared for emit] + asset lib/foo.d.ts 34 bytes [compared for emit] +asset bundle.js 3.1 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.69 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 205 bytes [built] [code generated] +./lib/foo.ts 120 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/output.txt deleted file mode 100644 index 1a4691f6b..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 97c7ba88d..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -assets by status 1.59 KiB [compared for emit] - asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] - asset lib/index.js.map 188 bytes [compared for emit] - asset lib/index.js 152 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -assets by status 3.41 KiB [emitted] - asset bundle.js 2.6 KiB [emitted] (name: main) - asset tsconfig.tsbuildinfo 816 bytes [emitted] - asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index 19dab4d88..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..86eb8bea4 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,12 @@ +assets by status 1.96 KiB [compared for emit] + asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] + asset lib/index.js 188 bytes [compared for emit] + asset lib/index.js.map 188 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +assets by status 3.72 KiB [emitted] + asset bundle.js 2.68 KiB [emitted] (name: main) + asset tsconfig.tsbuildinfo 1.03 KiB [emitted] + asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..07996b628 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/bundle.js deleted file mode 100644 index b17691e4a..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/output.txt deleted file mode 100644 index d802c3554..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 2.62 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 147 bytes [built] [code generated] [1 error] -./lib/index.ts 119 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:45-49 -[tsl] ERROR in app.ts(3,46) - TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..235e28fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..3b871be1a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 2.69 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 183 bytes [built] [code generated] [1 error] +./lib/index.ts 155 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:45-49 +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 9fe0e56bc..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index cca741028..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.65 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 183 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..235e28fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..84563ca00 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.69 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 183 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index b17691e4a..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 16da2c18a..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -assets by status 1.59 KiB [compared for emit] - asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] - asset lib/index.js.map 188 bytes [compared for emit] - asset lib/index.js 152 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -assets by status 3.42 KiB [emitted] - asset bundle.js 2.62 KiB [emitted] (name: main) - asset tsconfig.tsbuildinfo 816 bytes [emitted] - asset app.d.ts 11 bytes [emitted] -./app.ts 147 bytes [built] [code generated] [1 error] -./lib/index.ts 119 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:45-49 -[tsl] ERROR in app.ts(3,46) - TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. -ts-loader-default_16c1704dade3bd5f - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index 93f8361d7..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-18375343467","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..235e28fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..2fe5f4914 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,19 @@ +assets by status 1.96 KiB [compared for emit] + asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] + asset lib/index.js 188 bytes [compared for emit] + asset lib/index.js.map 188 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +assets by status 3.73 KiB [emitted] + asset bundle.js 2.69 KiB [emitted] (name: main) + asset tsconfig.tsbuildinfo 1.03 KiB [emitted] + asset app.d.ts 11 bytes [emitted] +./app.ts 183 bytes [built] [code generated] [1 error] +./lib/index.ts 155 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:45-49 +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. +ts-loader-default_16c1704dade3bd5f + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c60994ac --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"12503634626",{"version":"-18375343467","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 9fe0e56bc..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index cca741028..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.65 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 183 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..235e28fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..84563ca00 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.69 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 183 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index b17691e4a..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 6a01a2afe..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 2.62 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 147 bytes [built] [code generated] [1 error] -./lib/index.ts 119 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:45-49 -[tsl] ERROR in app.ts(3,46) - TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. -ts-loader-default_16c1704dade3bd5f - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..235e28fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..0b5f89d79 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 2.69 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 183 bytes [built] [code generated] [1 error] +./lib/index.ts 155 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:45-49 +[tsl] ERROR in app.ts(3,46) + TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. +ts-loader-default_16c1704dade3bd5f + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 9fe0e56bc..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index cca741028..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.65 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 183 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..235e28fd0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..84563ca00 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.69 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 183 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/bundle.js deleted file mode 100644 index 55495aded..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index c7815b074..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]],"emitSignatures":[6]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/output.txt deleted file mode 100644 index dab2653f1..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,21 +0,0 @@ -asset bundle.js 2.93 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.24 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_b7d520153c6e6cf9 - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..9a945acf3 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d74ab5946 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[8]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..0ab1b5b01 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-5.0/output.txt @@ -0,0 +1,21 @@ +asset bundle.js 3.01 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.58 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_b7d520153c6e6cf9 + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 2ea41e7d7..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index c7815b074..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]],"emitSignatures":[6]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 6bd0b105a..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -asset bundle.js 2.97 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.24 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] [1 error] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_8f3b13c212135902 - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..5a94384be --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d74ab5946 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[8]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..0b2600f75 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,19 @@ +asset bundle.js 3.02 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.58 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] [1 error] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_8f3b13c212135902 + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 6aff75e8a..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index c7815b074..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]],"emitSignatures":[6]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 0386221fb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,23 +0,0 @@ -asset bundle.js 2.94 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.24 KiB [compared for emit] -asset tsconfig.tsbuildinfo 758 bytes [emitted] -asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index e05d11c59..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..4628cddee --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d74ab5946 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[8]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..eeeaef51d --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,23 @@ +asset bundle.js 3.03 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.58 KiB [compared for emit] +asset tsconfig.tsbuildinfo 994 bytes [emitted] +asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2cf568110 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},{"version":"-14331559384","signature":"-3531856636"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 7e6b384c3..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index c7815b074..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]],"emitSignatures":[6]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index df1f1866c..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -asset bundle.js 2.99 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.24 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] [1 error] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_d3199d8b31480e4e - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..5bc981a13 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d74ab5946 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[8]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..92b0efcca --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,19 @@ +asset bundle.js 3.04 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.58 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] [1 error] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_d3199d8b31480e4e + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 3e5f72429..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index c7815b074..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]],"emitSignatures":[6]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index a4e56c481..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,21 +0,0 @@ -asset bundle.js 2.93 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.24 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..f55acf02a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d74ab5946 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[8]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..641f802a8 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,21 @@ +asset bundle.js 3.02 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.58 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index f8ebc234b..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index c7815b074..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]],"emitSignatures":[6]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index f6d2a8e20..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -asset bundle.js 2.98 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.24 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] [1 error] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 6:6-7 -[tsl] ERROR in lib/index.ts(6,7) - TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_d3199d8b31480e4e - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..49ad02245 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d74ab5946 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[8,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,6,7,3,2,5,4],"affectedFilesPendingEmit":[8],"emitSignatures":[8]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..e95a9e62b --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,19 @@ +asset bundle.js 3.03 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.58 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] [1 error] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 6:6-7 +[tsl] ERROR in lib/index.ts(6,7) + TS2322: Type 'number' is not assignable to type 'string'. +ts-loader-default_d3199d8b31480e4e + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/bundle.js deleted file mode 100644 index c9d01ce29..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 780e13698..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":[{"version":"2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60","signature":false},{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","signature":false,"affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","signature":false,"affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","signature":false,"affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[6,1,3,2,5,4]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/output.txt deleted file mode 100644 index 5508a602d..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,21 +0,0 @@ -asset bundle.js 2.92 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) - TS1136: Property assignment expected. -ts-loader-default_b7d520153c6e6cf9 - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..eff0f097a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..187f47e88 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","signature":false},{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","signature":false,"affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","signature":false,"affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","signature":false,"affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","signature":false,"affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","signature":false,"affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[8,1,6,7,3,2,5,4]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..2fc433265 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-5.0/output.txt @@ -0,0 +1,21 @@ +asset bundle.js 3.01 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. +ts-loader-default_b7d520153c6e6cf9 + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index bcf06fd0e..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 780e13698..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":[{"version":"2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60","signature":false},{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","signature":false,"affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","signature":false,"affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","signature":false,"affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[6,1,3,2,5,4]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index d2c3c51e4..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -asset bundle.js 2.97 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] [1 error] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) - TS1136: Property assignment expected. -ts-loader-default_8f3b13c212135902 - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..c3c29188e --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..187f47e88 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","signature":false},{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","signature":false,"affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","signature":false,"affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","signature":false,"affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","signature":false,"affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","signature":false,"affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[8,1,6,7,3,2,5,4]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..ff2edeae0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,19 @@ +asset bundle.js 3.02 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] [1 error] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. +ts-loader-default_8f3b13c212135902 + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 038925530..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 780e13698..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":[{"version":"2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60","signature":false},{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","signature":false,"affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","signature":false,"affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","signature":false,"affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[6,1,3,2,5,4]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 2a9efd06b..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,23 +0,0 @@ -asset bundle.js 2.94 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] -asset tsconfig.tsbuildinfo 758 bytes [emitted] -asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) - TS1136: Property assignment expected. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index e05d11c59..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..5f689c8b6 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..187f47e88 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","signature":false},{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","signature":false,"affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","signature":false,"affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","signature":false,"affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","signature":false,"affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","signature":false,"affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[8,1,6,7,3,2,5,4]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..03f42929e --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,23 @@ +asset bundle.js 3.02 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] +asset tsconfig.tsbuildinfo 994 bytes [emitted] +asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2cf568110 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},{"version":"-14331559384","signature":"-3531856636"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index f4a204218..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 780e13698..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":[{"version":"2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60","signature":false},{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","signature":false,"affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","signature":false,"affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","signature":false,"affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[6,1,3,2,5,4]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 3351d3609..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -asset bundle.js 2.99 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] [1 error] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) - TS1136: Property assignment expected. -ts-loader-default_d3199d8b31480e4e - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..9fd449141 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..187f47e88 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","signature":false},{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","signature":false,"affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","signature":false,"affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","signature":false,"affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","signature":false,"affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","signature":false,"affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[8,1,6,7,3,2,5,4]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..81e167f9a --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,19 @@ +asset bundle.js 3.03 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] [1 error] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. +ts-loader-default_d3199d8b31480e4e + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 6f340af11..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 780e13698..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":[{"version":"2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60","signature":false},{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","signature":false,"affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","signature":false,"affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","signature":false,"affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[6,1,3,2,5,4]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 3e6562dec..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,21 +0,0 @@ -asset bundle.js 2.93 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) - TS1136: Property assignment expected. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..c181e7dfb --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..187f47e88 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","signature":false},{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","signature":false,"affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","signature":false,"affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","signature":false,"affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","signature":false,"affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","signature":false,"affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[8,1,6,7,3,2,5,4]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..f69482938 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,21 @@ +asset bundle.js 3.01 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index badd14235..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 780e13698..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":[{"version":"2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60","signature":false},{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","signature":false,"affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","signature":false,"affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","signature":false,"affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[6,1,3,2,5,4]},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index d446ac266..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -asset bundle.js 2.98 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] [1 error] -./lib/index.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts 4:11-12 -[tsl] ERROR in lib/index.ts(4,12) - TS1136: Property assignment expected. -ts-loader-default_d3199d8b31480e4e - -ERROR in ./lib/index.ts -Module build failed (from ../../index.js): -Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist/index.js:52:18) - at successLoader (dist/index.js:39:5) - at Object.loader (dist/index.js:22:5) - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..44db080f0 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/home/john/code/github/ts-loader/dist/index.js:52:18)/n at successLoader (/home/john/code/github/ts-loader/dist/index.js:39:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..187f47e88 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","signature":false},{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","signature":false,"affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","signature":false,"affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","signature":false,"affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","signature":false,"affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","signature":false,"affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true},{"version":"aca78cf7a85704ce6925bea0c532dd5cee00ed1eb509c30f20c2b43b1c1f69de","signature":false}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"changeFileSet":[8,1,6,7,3,2,5,4]},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..d02955c4f --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,19 @@ +asset bundle.js 3.02 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] [1 error] +./lib/index.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts 4:11-12 +[tsl] ERROR in lib/index.ts(4,12) + TS1136: Property assignment expected. +ts-loader-default_d3199d8b31480e4e + +ERROR in ./lib/index.ts +Module build failed (from ../../index.js): +Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects. + at makeSourceMapAndFinish (dist/index.js:52:18) + at successLoader (dist/index.js:39:5) + at Object.loader (dist/index.js:22:5) + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 1a4691f6b..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 4bbb69d6d..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/output.txt deleted file mode 100644 index d99c4b303..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] -asset lib/out/index.js.map 191 bytes [compared for emit] -asset lib/out/index.js 152 bytes [compared for emit] -asset lib/out/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDir/expectedOutput-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2c62a441d --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..c273cbba3 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [compared for emit] +asset lib/out/index.js.map 191 bytes [compared for emit] +asset lib/out/index.js 188 bytes [compared for emit] +asset lib/out/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 4bbb69d6d..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index d2fb678e6..000000000 --- a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] -asset lib/out/index.js.map 191 bytes [compared for emit] -asset lib/out/index.js 152 bytes [compared for emit] -asset lib/out/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2c62a441d --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..c273cbba3 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [compared for emit] +asset lib/out/index.js.map 191 bytes [compared for emit] +asset lib/out/index.js 188 bytes [compared for emit] +asset lib/out/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/bundle.js deleted file mode 100644 index 8e2a2c604..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 4bbb69d6d..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/output.txt deleted file mode 100644 index b1c9b58b9..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.66 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] -asset lib/out/index.js.map 191 bytes [compared for emit] -asset lib/out/index.js 152 bytes [compared for emit] -asset lib/out/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/out/index.js 152 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 0524fed82..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 85ba45b3d..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index f7e7932e0..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.69 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [emitted] -asset lib/out/index.js.map 224 bytes [emitted] -asset lib/out/index.js 183 bytes [emitted] -asset lib/out/index.d.ts 102 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/out/index.js 183 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index fd4c4b7cc..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index a00d45fa8..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -./app.ts 169 bytes [built] [code generated] -./lib/out/index.js 183 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index fd4c4b7cc..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index e945b4146..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index c82623be7..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,18 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.22 KiB [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] - -ERROR in lib/index.ts -6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_b7d520153c6e6cf9 - -ERROR in lib/index.ts -7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/bundle.js deleted file mode 100644 index fd4c4b7cc..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 18b97bbc3..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index 36efaa756..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [emitted] -asset lib/out/index.js.map 231 bytes [emitted] -asset lib/out/index.js 178 bytes [emitted] -asset lib/out/index.d.ts 120 bytes [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch4/bundle.js deleted file mode 100644 index d70df97ec..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index 6329b63b6..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 2.74 KiB [emitted] (name: main) -./app.ts 186 bytes [built] [code generated] [1 error] -./lib/out/index.js 178 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:55-60 -[tsl] ERROR in app.ts(3,56) - TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch5/bundle.js deleted file mode 100644 index 471badf67..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index f1bc49458..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.74 KiB [emitted] (name: main) -cached modules 178 bytes [cached] 1 module -./app.ts 185 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..ed3d72888 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2c62a441d --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..1036386ec --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.73 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [compared for emit] +asset lib/out/index.js.map 191 bytes [compared for emit] +asset lib/out/index.js 188 bytes [compared for emit] +asset lib/out/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/out/index.js 188 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..683bec8c5 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch0/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3cdbe4bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..76db75778 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [emitted] +asset lib/out/index.js.map 224 bytes [emitted] +asset lib/out/index.js 219 bytes [emitted] +asset lib/out/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/out/index.js 219 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..f54cf9156 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +./app.ts 205 bytes [built] [code generated] +./lib/out/index.js 219 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d4c7fb4b9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..e0aa12a73 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,18 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.57 KiB [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] + +ERROR in lib/index.ts +6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_b7d520153c6e6cf9 + +ERROR in lib/index.ts +7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.9/patch3/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..912b98751 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..64ab2e55a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [emitted] +asset lib/out/index.js.map 231 bytes [emitted] +asset lib/out/index.js 215 bytes [emitted] +asset lib/out/index.d.ts 120 bytes [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch4/bundle.js new file mode 100644 index 000000000..a20a80272 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..86686bb88 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 2.82 KiB [emitted] (name: main) +./app.ts 222 bytes [built] [code generated] [1 error] +./lib/out/index.js 215 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:55-60 +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch5/bundle.js new file mode 100644 index 000000000..9c2fb496e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..a21f24cb8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +cached modules 215 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 9156c3012..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 4bbb69d6d..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 81643b6fa..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.69 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] -asset lib/out/index.js.map 191 bytes [compared for emit] -asset lib/out/index.js 152 bytes [compared for emit] -asset lib/out/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/out/index.js 152 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 0d278f48f..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 85ba45b3d..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index e59fcd5c5..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.73 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [emitted] -asset lib/out/index.js.map 224 bytes [emitted] -asset lib/out/index.js 183 bytes [emitted] -asset lib/out/index.d.ts 102 bytes [emitted] -./app.ts 167 bytes [built] -./lib/out/index.js 183 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 4c5b82ffe..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 8268e3160..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.76 KiB [emitted] (name: main) -./app.ts 205 bytes [built] [code generated] -./lib/out/index.js 183 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 4c5b82ffe..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index e945b4146..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index 2dc67eb1a..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by status 2.76 KiB [cached] 1 asset -asset lib/out/tsconfig.tsbuildinfo 1.22 KiB [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 205 bytes [built] [2 errors] - -ERROR in ./app.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_8f3b13c212135902 - -ERROR in ./app.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/bundle.js deleted file mode 100644 index 4c5b82ffe..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 18b97bbc3..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index 8ee44fdcd..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -assets by status 2.76 KiB [cached] 1 asset -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [emitted] -asset lib/out/index.js.map 231 bytes [emitted] -asset lib/out/index.js 178 bytes [emitted] -asset lib/out/index.d.ts 120 bytes [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 205 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch4/bundle.js deleted file mode 100644 index 358c15440..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index 6b941e246..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.78 KiB [emitted] (name: main) -./app.ts 222 bytes [built] [code generated] -./lib/out/index.js 178 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch5/bundle.js deleted file mode 100644 index fd1b48722..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index 6172a0c1a..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.77 KiB [emitted] (name: main) -cached modules 178 bytes [cached] 1 module -./app.ts 221 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..ed3d72888 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..2c62a441d --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..1036386ec --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.73 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [compared for emit] +asset lib/out/index.js.map 191 bytes [compared for emit] +asset lib/out/index.js 188 bytes [compared for emit] +asset lib/out/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/out/index.js 188 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..683bec8c5 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch0/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3cdbe4bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..c4be1960c --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [emitted] +asset lib/out/index.js.map 224 bytes [emitted] +asset lib/out/index.js 219 bytes [emitted] +asset lib/out/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] +./lib/out/index.js 219 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..f54cf9156 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +./app.ts 205 bytes [built] [code generated] +./lib/out/index.js 219 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d4c7fb4b9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..70c364b2a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,16 @@ +assets by status 2.8 KiB [cached] 1 asset +asset lib/out/tsconfig.tsbuildinfo 1.57 KiB [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] [2 errors] + +ERROR in ./app.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_8f3b13c212135902 + +ERROR in ./app.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.9/patch3/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..912b98751 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..7a19d756f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +assets by status 2.8 KiB [cached] 1 asset +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [emitted] +asset lib/out/index.js.map 231 bytes [emitted] +asset lib/out/index.js 215 bytes [emitted] +asset lib/out/index.d.ts 120 bytes [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch4/bundle.js new file mode 100644 index 000000000..a20a80272 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..0c6e26dc2 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.82 KiB [emitted] (name: main) +./app.ts 222 bytes [built] [code generated] +./lib/out/index.js 215 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch5/bundle.js new file mode 100644 index 000000000..9c2fb496e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..a21f24cb8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +cached modules 215 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/bundle.js deleted file mode 100644 index 8e2a2c604..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/output.txt deleted file mode 100644 index 40f89c6ce..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.66 KiB [emitted] (name: main) -./app.ts 131 bytes [built] [code generated] -./lib/out/index.js 152 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 8e2a2c604..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 85ba45b3d..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index d85296542..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.66 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] -asset lib/out/index.js.map 224 bytes [compared for emit] -asset lib/out/index.js 183 bytes [compared for emit] -asset lib/out/index.d.ts 102 bytes [compared for emit] -cached modules 152 bytes [cached] 1 module -./app.ts 131 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index fd4c4b7cc..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index cf3b645be..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -./app.ts 169 bytes [built] [code generated] -./lib/out/index.js 183 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index fd4c4b7cc..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index e945b4146..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index c82623be7..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,18 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.22 KiB [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] - -ERROR in lib/index.ts -6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_b7d520153c6e6cf9 - -ERROR in lib/index.ts -7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/bundle.js deleted file mode 100644 index fd4c4b7cc..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 18b97bbc3..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index 36efaa756..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [emitted] -asset lib/out/index.js.map 231 bytes [emitted] -asset lib/out/index.js 178 bytes [emitted] -asset lib/out/index.d.ts 120 bytes [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch4/bundle.js deleted file mode 100644 index d70df97ec..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index 6329b63b6..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 2.74 KiB [emitted] (name: main) -./app.ts 186 bytes [built] [code generated] [1 error] -./lib/out/index.js 178 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:55-60 -[tsl] ERROR in app.ts(3,56) - TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch5/bundle.js deleted file mode 100644 index 471badf67..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index f1bc49458..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.74 KiB [emitted] (name: main) -cached modules 178 bytes [cached] 1 module -./app.ts 185 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..ed3d72888 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..20ada0ee0 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.73 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/out/index.js 188 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..ed3d72888 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch0/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3cdbe4bd8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..c14e1e448 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.73 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [compared for emit] +asset lib/out/index.js.map 224 bytes [compared for emit] +asset lib/out/index.js 219 bytes [compared for emit] +asset lib/out/index.d.ts 102 bytes [compared for emit] +cached modules 188 bytes [cached] 1 module +./app.ts 167 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..4ec379bcd --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +./app.ts 205 bytes [built] [code generated] +./lib/out/index.js 219 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d4c7fb4b9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..e0aa12a73 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,18 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.57 KiB [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] + +ERROR in lib/index.ts +6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_b7d520153c6e6cf9 + +ERROR in lib/index.ts +7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.9/patch3/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..912b98751 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..64ab2e55a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [emitted] +asset lib/out/index.js.map 231 bytes [emitted] +asset lib/out/index.js 215 bytes [emitted] +asset lib/out/index.d.ts 120 bytes [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch4/bundle.js new file mode 100644 index 000000000..a20a80272 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..86686bb88 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 2.82 KiB [emitted] (name: main) +./app.ts 222 bytes [built] [code generated] [1 error] +./lib/out/index.js 215 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:55-60 +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch5/bundle.js new file mode 100644 index 000000000..9c2fb496e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..a21f24cb8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +cached modules 215 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 9156c3012..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index c9189f616..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.69 KiB [emitted] (name: main) -./app.ts 167 bytes [built] [code generated] -./lib/out/index.js 152 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 4c5b82ffe..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index b88a3c898..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.76 KiB [emitted] (name: main) -./app.ts 205 bytes [built] [code generated] -./lib/out/index.js 183 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 4c5b82ffe..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index e945b4146..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index 2dc67eb1a..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by status 2.76 KiB [cached] 1 asset -asset lib/out/tsconfig.tsbuildinfo 1.22 KiB [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 205 bytes [built] [2 errors] - -ERROR in ./app.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_8f3b13c212135902 - -ERROR in ./app.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/bundle.js deleted file mode 100644 index 4c5b82ffe..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/tsconfig.tsbuildinfo deleted file mode 100644 index 18b97bbc3..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index 8ee44fdcd..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -assets by status 2.76 KiB [cached] 1 asset -asset lib/out/tsconfig.tsbuildinfo 1.2 KiB [emitted] -asset lib/out/index.js.map 231 bytes [emitted] -asset lib/out/index.js 178 bytes [emitted] -asset lib/out/index.d.ts 120 bytes [emitted] -cached modules 183 bytes [cached] 1 module -./app.ts 205 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch4/bundle.js deleted file mode 100644 index 358c15440..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index 6b941e246..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.78 KiB [emitted] (name: main) -./app.ts 222 bytes [built] [code generated] -./lib/out/index.js 178 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch5/bundle.js deleted file mode 100644 index fd1b48722..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/out/index.js": -/*!**************************!*\ - !*** ./lib/out/index.js ***! - \**************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index 6172a0c1a..000000000 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.77 KiB [emitted] (name: main) -cached modules 178 bytes [cached] 1 module -./app.ts 221 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..ed3d72888 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..20ada0ee0 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.73 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/out/index.js 188 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..4ec379bcd --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.8 KiB [emitted] (name: main) +./app.ts 205 bytes [built] [code generated] +./lib/out/index.js 219 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d4c7fb4b9 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..70c364b2a --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,16 @@ +assets by status 2.8 KiB [cached] 1 asset +asset lib/out/tsconfig.tsbuildinfo 1.57 KiB [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] [2 errors] + +ERROR in ./app.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_8f3b13c212135902 + +ERROR in ./app.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/bundle.js new file mode 100644 index 000000000..4a0078b63 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.9/patch3/lib/out/index.js.map rename to test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/tsconfig.tsbuildinfo new file mode 100644 index 000000000..912b98751 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/lib/out/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..7a19d756f --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +assets by status 2.8 KiB [cached] 1 asset +asset lib/out/tsconfig.tsbuildinfo 1.55 KiB [emitted] +asset lib/out/index.js.map 231 bytes [emitted] +asset lib/out/index.js 215 bytes [emitted] +asset lib/out/index.d.ts 120 bytes [emitted] +cached modules 219 bytes [cached] 1 module +./app.ts 205 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch4/bundle.js new file mode 100644 index 000000000..a20a80272 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..0c6e26dc2 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.82 KiB [emitted] (name: main) +./app.ts 222 bytes [built] [code generated] +./lib/out/index.js 215 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch5/bundle.js new file mode 100644 index 000000000..9c2fb496e --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/out/index.js": +/*!**************************!*\ + !*** ./lib/out/index.js ***! + \**************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..a21f24cb8 --- /dev/null +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +cached modules 215 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index a6d37b27b..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[60,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,56,57,1,10,59,58,14,13],"latestChangedDtsFile":"./out/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/output.txt deleted file mode 100644 index 4d73aee0c..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -assets by path lib/out/ 380 bytes - asset lib/out/index.js.map 202 bytes [compared for emit] - asset lib/out/index.js 94 bytes [compared for emit] - asset lib/out/index.d.ts 84 bytes [compared for emit] -asset lib/tsconfig.tsbuildinfo 9.86 KiB [compared for emit] -asset bundle.js 4.2 KiB [emitted] (name: main) -runtime modules 670 bytes 3 modules -cacheable modules 142 bytes - ./app.ts 81 bytes [built] [code generated] - ./lib/src/index.ts 61 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/bundle.js rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/out/index.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/out/index.js rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/out/index.js diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3292e1cd2 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7823c8aa42d88e6cb454fe7dc56996c6fd174b28a9f050e9bdea1c25b7d114ea",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[65],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[65,62,63,12,13,17,16,2,18,19,20,21,22,23,24,25,3,4,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,10,1,11,64,61,15,14],"latestChangedDtsFile":"./out/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..5189683a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-5.0/output.txt @@ -0,0 +1,11 @@ +assets by path lib/out/ 380 bytes + asset lib/out/index.js.map 202 bytes [compared for emit] + asset lib/out/index.js 94 bytes [compared for emit] + asset lib/out/index.d.ts 84 bytes [compared for emit] +asset lib/tsconfig.tsbuildinfo 10.7 KiB [compared for emit] +asset bundle.js 4.2 KiB [emitted] (name: main) +runtime modules 670 bytes 3 modules +cacheable modules 142 bytes + ./app.ts 81 bytes [built] [code generated] + ./lib/src/index.ts 61 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index a6d37b27b..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[60,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,56,57,1,10,59,58,14,13],"latestChangedDtsFile":"./out/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 4d73aee0c..000000000 --- a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -assets by path lib/out/ 380 bytes - asset lib/out/index.js.map 202 bytes [compared for emit] - asset lib/out/index.js 94 bytes [compared for emit] - asset lib/out/index.d.ts 84 bytes [compared for emit] -asset lib/tsconfig.tsbuildinfo 9.86 KiB [compared for emit] -asset bundle.js 4.2 KiB [emitted] (name: main) -runtime modules 670 bytes 3 modules -cacheable modules 142 bytes - ./app.ts 81 bytes [built] [code generated] - ./lib/src/index.ts 61 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/out/index.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/out/index.js rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/out/index.js diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3292e1cd2 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7823c8aa42d88e6cb454fe7dc56996c6fd174b28a9f050e9bdea1c25b7d114ea",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[65],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[65,62,63,12,13,17,16,2,18,19,20,21,22,23,24,25,3,4,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,10,1,11,64,61,15,14],"latestChangedDtsFile":"./out/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..5189683a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,11 @@ +assets by path lib/out/ 380 bytes + asset lib/out/index.js.map 202 bytes [compared for emit] + asset lib/out/index.js 94 bytes [compared for emit] + asset lib/out/index.d.ts 84 bytes [compared for emit] +asset lib/tsconfig.tsbuildinfo 10.7 KiB [compared for emit] +asset bundle.js 4.2 KiB [emitted] (name: main) +runtime modules 670 bytes 3 modules +cacheable modules 142 bytes + ./app.ts 81 bytes [built] [code generated] + ./lib/src/index.ts 61 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index a6d37b27b..000000000 --- a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[60,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,56,57,1,10,59,58,14,13],"latestChangedDtsFile":"./out/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/output.txt deleted file mode 100644 index 4d73aee0c..000000000 --- a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -assets by path lib/out/ 380 bytes - asset lib/out/index.js.map 202 bytes [compared for emit] - asset lib/out/index.js 94 bytes [compared for emit] - asset lib/out/index.d.ts 84 bytes [compared for emit] -asset lib/tsconfig.tsbuildinfo 9.86 KiB [compared for emit] -asset bundle.js 4.2 KiB [emitted] (name: main) -runtime modules 670 bytes 3 modules -cacheable modules 142 bytes - ./app.ts 81 bytes [built] [code generated] - ./lib/src/index.ts 61 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/bundle.js rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/out/index.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/out/index.js rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/out/index.js diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3292e1cd2 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7823c8aa42d88e6cb454fe7dc56996c6fd174b28a9f050e9bdea1c25b7d114ea",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[65],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[65,62,63,12,13,17,16,2,18,19,20,21,22,23,24,25,3,4,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,10,1,11,64,61,15,14],"latestChangedDtsFile":"./out/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..5189683a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-5.0/output.txt @@ -0,0 +1,11 @@ +assets by path lib/out/ 380 bytes + asset lib/out/index.js.map 202 bytes [compared for emit] + asset lib/out/index.js 94 bytes [compared for emit] + asset lib/out/index.d.ts 84 bytes [compared for emit] +asset lib/tsconfig.tsbuildinfo 10.7 KiB [compared for emit] +asset bundle.js 4.2 KiB [emitted] (name: main) +runtime modules 670 bytes 3 modules +cacheable modules 142 bytes + ./app.ts 81 bytes [built] [code generated] + ./lib/src/index.ts 61 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index a6d37b27b..000000000 --- a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[60,11,12,16,15,2,17,18,19,20,21,22,23,24,3,4,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,56,57,1,10,59,58,14,13],"latestChangedDtsFile":"./out/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 4d73aee0c..000000000 --- a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -assets by path lib/out/ 380 bytes - asset lib/out/index.js.map 202 bytes [compared for emit] - asset lib/out/index.js 94 bytes [compared for emit] - asset lib/out/index.d.ts 84 bytes [compared for emit] -asset lib/tsconfig.tsbuildinfo 9.86 KiB [compared for emit] -asset bundle.js 4.2 KiB [emitted] (name: main) -runtime modules 670 bytes 3 modules -cacheable modules 142 bytes - ./app.ts 81 bytes [built] [code generated] - ./lib/src/index.ts 61 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/out/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/out/index.d.ts rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/out/index.d.ts diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/out/index.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/out/index.js rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/out/index.js diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/out/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.9/lib/out/index.js.map rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/out/index.js.map diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3292e1cd2 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7823c8aa42d88e6cb454fe7dc56996c6fd174b28a9f050e9bdea1c25b7d114ea",{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[65],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[65,62,63,12,13,17,16,2,18,19,20,21,22,23,24,25,3,4,29,26,27,28,30,31,32,5,33,34,35,36,6,40,37,38,39,41,7,42,47,48,43,44,45,46,8,52,49,50,51,53,9,54,55,56,59,57,58,60,10,1,11,64,61,15,14],"latestChangedDtsFile":"./out/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..5189683a1 --- /dev/null +++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,11 @@ +assets by path lib/out/ 380 bytes + asset lib/out/index.js.map 202 bytes [compared for emit] + asset lib/out/index.js 94 bytes [compared for emit] + asset lib/out/index.d.ts 84 bytes [compared for emit] +asset lib/tsconfig.tsbuildinfo 10.7 KiB [compared for emit] +asset bundle.js 4.2 KiB [emitted] (name: main) +runtime modules 670 bytes 3 modules +cacheable modules 142 bytes + ./app.ts 81 bytes [built] [code generated] + ./lib/src/index.ts 61 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/app/dist/index.js deleted file mode 100644 index 4f995f91c..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 293be0f17..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/output.txt deleted file mode 100644 index fbc0c3536..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.6 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.25 KiB [emitted] (name: main) -./src/index.ts 113 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/app/dist/index.js deleted file mode 100644 index aa179b2a2..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index f0acd80bb..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index ce13bb8c2..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.26 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [emitted] -./src/index.ts 113 bytes [built] [code generated] [1 error] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] - -ERROR in app/src/index.ts -./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) - TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0825b03eb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..f536d0143 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.98 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3995677fb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..ac06d2739 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,16 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] [1 error] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] + +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/app/dist/index.js deleted file mode 100644 index 0e6b03da8..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 293be0f17..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 6e4dcc261..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.6 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.29 KiB [emitted] (name: main) -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/app/dist/index.js deleted file mode 100644 index d6e7dd5c0..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index f0acd80bb..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index e7386263b..000000000 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.3 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [emitted] -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0825b03eb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..f536d0143 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.98 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3995677fb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..e15e577eb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,9 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/app/dist/index.js deleted file mode 100644 index 4f995f91c..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 779c2914c..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/output.txt deleted file mode 100644 index 91e1e6a87..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.62 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.25 KiB [emitted] (name: main) -./src/index.ts 113 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/app/dist/index.js deleted file mode 100644 index aa179b2a2..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3a9bc7fbb..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 3065504ba..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.26 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [emitted] -./src/index.ts 113 bytes [built] [code generated] [1 error] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] - -ERROR in app/src/index.ts -./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) - TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59b744c2a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..a6aad8e7e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.99 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d16e93257 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..7425909ee --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,16 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] [1 error] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] + +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/app/dist/index.js deleted file mode 100644 index 0e6b03da8..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 779c2914c..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ab24b61dd..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.62 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.29 KiB [emitted] (name: main) -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/app/dist/index.js deleted file mode 100644 index d6e7dd5c0..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3a9bc7fbb..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 00204bccf..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.3 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [emitted] -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59b744c2a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..a6aad8e7e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.99 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d16e93257 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..ab152dbb9 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,9 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/app/dist/index.js deleted file mode 100644 index 4f995f91c..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 779c2914c..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 91e1e6a87..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.62 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.25 KiB [emitted] (name: main) -./src/index.ts 113 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/app/dist/index.js deleted file mode 100644 index aa179b2a2..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3a9bc7fbb..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 0a3fbc40f..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.26 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [emitted] -./src/index.ts 113 bytes [built] [code generated] [1 error] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] - -ERROR in app/src/index.ts -./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) - TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_16c1704dade3bd5f - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59b744c2a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..a6aad8e7e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.99 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d16e93257 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..6921a46f2 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,16 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] [1 error] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] + +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_16c1704dade3bd5f + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/app/dist/index.js deleted file mode 100644 index 0e6b03da8..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 779c2914c..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ab24b61dd..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.62 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.29 KiB [emitted] (name: main) -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/app/dist/index.js deleted file mode 100644 index d6e7dd5c0..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3a9bc7fbb..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 00204bccf..000000000 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.3 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.33 KiB [emitted] -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..59b744c2a --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..a6aad8e7e --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.99 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d16e93257 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[9,8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..ab152dbb9 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,9 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.67 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/app/dist/index.js deleted file mode 100644 index 4f995f91c..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 293be0f17..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index fbc0c3536..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.6 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.25 KiB [emitted] (name: main) -./src/index.ts 113 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/app/dist/index.js deleted file mode 100644 index aa179b2a2..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index f0acd80bb..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 360a7aaac..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.26 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [emitted] -./src/index.ts 113 bytes [built] [code generated] [1 error] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] - -ERROR in app/src/index.ts -./src/index.ts 1:9-25 -[tsl] ERROR in app/src/index.ts(1,10) - TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_16c1704dade3bd5f - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0825b03eb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..f536d0143 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.98 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3995677fb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..8ab5ead9b --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,16 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] [1 error] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] + +ERROR in app/src/index.ts +./src/index.ts 1:9-25 +[tsl] ERROR in app/src/index.ts(1,10) + TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? +ts-loader-default_16c1704dade3bd5f + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/app/dist/index.js deleted file mode 100644 index 0e6b03da8..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/dist/index.js deleted file mode 100644 index 4a8b0cf63..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/dist/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife2 = void 0; -var getMeaningOfLife2 = function () { return 45; }; -exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo deleted file mode 100644 index e0aeabe0e..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.js deleted file mode 100644 index 0d848fba3..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife = void 0; -var common_1 = require("common"); -var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 293be0f17..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 6e4dcc261..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path ../../lib/ 1.6 KiB - asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [compared for emit] - asset ../../lib/dist/index.js 237 bytes [compared for emit] - asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] -assets by path ../../common/ 1.43 KiB - asset ../../common/tsconfig.tsbuildinfo 1.2 KiB [compared for emit] - asset ../../common/dist/index.js 176 bytes [compared for emit] - asset ../../common/dist/index.d.ts 54 bytes [compared for emit] -asset index.js 3.29 KiB [emitted] (name: main) -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 237 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/app/dist/index.js deleted file mode 100644 index d6e7dd5c0..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/app/dist/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/index.ts": -/*!**********************!*\ - !*** ./src/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); - -/***/ }), - -/***/ "../common/dist/index.js": -/*!*******************************!*\ - !*** ../common/dist/index.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); - -/***/ }), - -/***/ "../lib/dist/index.js": -/*!****************************!*\ - !*** ../lib/dist/index.js ***! - \****************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.js deleted file mode 100644 index 092e50ddf..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.getMeaningOfLife3 = void 0; -var common_1 = require("common"); -var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; -exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index f0acd80bb..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index e7386263b..000000000 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -assets by path ../../lib/dist/ 295 bytes - asset ../../lib/dist/index.js 241 bytes [emitted] - asset ../../lib/dist/index.d.ts 54 bytes [emitted] -asset index.js 3.3 KiB [emitted] (name: main) -asset ../../lib/tsconfig.tsbuildinfo 1.32 KiB [emitted] -./src/index.ts 149 bytes [built] [code generated] -../lib/dist/index.js 241 bytes [built] [code generated] -../common/dist/index.js 176 bytes [built] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/app/dist/index.js new file mode 100644 index 000000000..35e43ff88 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/common/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/dist/index.js new file mode 100644 index 000000000..186a18d01 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/dist/index.js @@ -0,0 +1,5 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife2 = void 0; +var getMeaningOfLife2 = function () { return 45; }; +exports.getMeaningOfLife2 = getMeaningOfLife2; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7e0757785 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/common/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9","signature":"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729"}],"root":[8],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.js new file mode 100644 index 000000000..3c3164c47 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife = void 0; +var common_1 = require("common"); +var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife = getMeaningOfLife; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0825b03eb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635","signature":"cb0c875cdccbe72f5bbcd75441105aaeeb7f2a8e425f0c4333fe810ec0259456"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..f536d0143 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,13 @@ +assets by path ../../lib/ 1.98 KiB + asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [compared for emit] + asset ../../lib/dist/index.js 273 bytes [compared for emit] + asset ../../lib/dist/index.d.ts 53 bytes [compared for emit] +assets by path ../../common/ 1.8 KiB + asset ../../common/tsconfig.tsbuildinfo 1.54 KiB [compared for emit] + asset ../../common/dist/index.js 212 bytes [compared for emit] + asset ../../common/dist/index.d.ts 54 bytes [compared for emit] +asset index.js 3.37 KiB [emitted] (name: main) +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 273 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/app/dist/index.js new file mode 100644 index 000000000..ddec6f861 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/app/dist/index.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/index.ts": +/*!**********************!*\ + !*** ./src/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?"); + +/***/ }), + +/***/ "../common/dist/index.js": +/*!*******************************!*\ + !*** ../common/dist/index.js ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?"); + +/***/ }), + +/***/ "../lib/dist/index.js": +/*!****************************!*\ + !*** ../lib/dist/index.js ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getMeaningOfLife3 = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife3 = getMeaningOfLife3;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.9/patch0/lib/dist/index.d.ts rename to test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.d.ts diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.js new file mode 100644 index 000000000..c214fb2d5 --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/dist/index.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getMeaningOfLife3 = void 0; +var common_1 = require("common"); +var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); }; +exports.getMeaningOfLife3 = getMeaningOfLife3; diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3995677fb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"root":[9],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..e15e577eb --- /dev/null +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,9 @@ +assets by path ../../lib/dist/ 331 bytes + asset ../../lib/dist/index.js 277 bytes [emitted] + asset ../../lib/dist/index.d.ts 54 bytes [emitted] +asset index.js 3.38 KiB [emitted] (name: main) +asset ../../lib/tsconfig.tsbuildinfo 1.66 KiB [emitted] +./src/index.ts 149 bytes [built] [code generated] +../lib/dist/index.js 277 bytes [built] [code generated] +../common/dist/index.js 212 bytes [built] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/output.txt deleted file mode 100644 index 1a4691f6b..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 5933866c1..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index b22808019..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 84acf09f6..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.63 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 221 bytes [emitted] -asset lib/index.js 183 bytes [emitted] -asset lib/index.d.ts 102 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 150 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 37918c4c3..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index a78598f4f..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -cached modules 150 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index 37918c4c3..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f26dcaac..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index bcc58fd93..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.19 KiB [emitted] -./app.ts 169 bytes [built] [code generated] -./lib/index.ts 150 bytes [built] [2 errors] - -ERROR in lib/index.ts -./lib/index.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_b7d520153c6e6cf9 - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_b7d520153c6e6cf9 - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/bundle.js deleted file mode 100644 index a79680487..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 4a9cf64c1..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index 685b47959..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.66 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 228 bytes [emitted] -asset lib/index.js 178 bytes [emitted] -asset lib/index.d.ts 120 bytes [emitted] -./app.ts 169 bytes [built] [code generated] -./lib/index.ts 145 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch4/bundle.js deleted file mode 100644 index 04524b042..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index 155dd19f1..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 2.68 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 186 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 3:55-60 -[tsl] ERROR in app.ts(3,56) - TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_b7d520153c6e6cf9 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch5/bundle.js deleted file mode 100644 index 1ed94b512..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index ae2f34874..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.68 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 185 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..9f001b632 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d954ee35 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..4cba2941d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.71 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 221 bytes [emitted] +asset lib/index.js 219 bytes [emitted] +asset lib/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 186 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..5b11e74aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +cached modules 186 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c1d62944 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..a76f079e2 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,20 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.53 KiB [emitted] +./app.ts 205 bytes [built] [code generated] +./lib/index.ts 186 bytes [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_b7d520153c6e6cf9 + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_b7d520153c6e6cf9 + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/bundle.js new file mode 100644 index 000000000..08ee44889 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-4.9/patch3/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93c406dcc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..8e5b66b10 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.74 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 228 bytes [emitted] +asset lib/index.js 215 bytes [emitted] +asset lib/index.d.ts 120 bytes [emitted] +./app.ts 205 bytes [built] [code generated] +./lib/index.ts 182 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch4/bundle.js new file mode 100644 index 000000000..815483991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..66575a42d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 222 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 3:55-60 +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? +ts-loader-default_b7d520153c6e6cf9 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch5/bundle.js new file mode 100644 index 000000000..9793a4b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..e9d50861a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 0d9c20170..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index b22808019..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index b62896d44..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 221 bytes [emitted] -asset lib/index.js 183 bytes [emitted] -asset lib/index.d.ts 102 bytes [emitted] -./app.ts 167 bytes [built] -./lib/index.ts 150 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 2a5f91e73..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 9187126da..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.71 KiB [emitted] (name: main) -cached modules 150 bytes [cached] 1 module -./app.ts 205 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 2a5f91e73..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f26dcaac..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index 7faeacf6d..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by status 2.71 KiB [cached] 1 asset -asset lib/tsconfig.tsbuildinfo 1.19 KiB [emitted] -./app.ts 205 bytes [built] [2 errors] -./lib/index.ts 150 bytes [built] - -ERROR in ./app.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_8f3b13c212135902 - -ERROR in ./app.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_8f3b13c212135902 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/bundle.js deleted file mode 100644 index 24c5db3e1..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 4a9cf64c1..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index a990678c4..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.7 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 228 bytes [emitted] -asset lib/index.js 178 bytes [emitted] -asset lib/index.d.ts 120 bytes [emitted] -./app.ts 205 bytes [built] -./lib/index.ts 145 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch4/bundle.js deleted file mode 100644 index 513a3cf30..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index dcfec6184..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 222 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch5/bundle.js deleted file mode 100644 index 3ce8fbfbd..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index fdbcdfde1..000000000 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 221 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..9f001b632 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d954ee35 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..9809e5d32 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.71 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 221 bytes [emitted] +asset lib/index.js 219 bytes [emitted] +asset lib/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] +./lib/index.ts 186 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..5b11e74aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +cached modules 186 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c1d62944 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..5a30a1fc0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,16 @@ +assets by status 2.75 KiB [cached] 1 asset +asset lib/tsconfig.tsbuildinfo 1.53 KiB [emitted] +./app.ts 205 bytes [built] [2 errors] +./lib/index.ts 186 bytes [built] + +ERROR in ./app.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_8f3b13c212135902 + +ERROR in ./app.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_8f3b13c212135902 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/bundle.js new file mode 100644 index 000000000..08ee44889 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.9/patch3/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93c406dcc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..a31811897 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.74 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 228 bytes [emitted] +asset lib/index.js 215 bytes [emitted] +asset lib/index.d.ts 120 bytes [emitted] +./app.ts 205 bytes [built] +./lib/index.ts 182 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch4/bundle.js new file mode 100644 index 000000000..815483991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..90bffbb3f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 222 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch5/bundle.js new file mode 100644 index 000000000..9793a4b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..e9d50861a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7c49a1d6a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 2b9eddea7..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/output.txt deleted file mode 100644 index 9fdb845a0..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 403 bytes - asset lib/index.js 244 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 422 bytes - asset lib/index.js.map 232 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 171 bytes - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.08 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 4b7bbfb47..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f0e68d8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 9dc5c0af5..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 244 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 232 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.1 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 221d5c76c..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 8aa013fbd..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.22 KiB [emitted] (name: main) -cached modules 349 bytes [cached] 2 modules -./app.ts 215 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b61d402a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..26fa17ed9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 475 bytes + asset lib/index.js 280 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 422 bytes + asset lib/index.js.map 232 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 171 bytes + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.2 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..da4884356 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4be3f9956 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..06e03e369 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 280 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 232 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..09c6a44bc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..2d1c54774 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.33 KiB [emitted] (name: main) +cached modules 421 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index b8208873b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 2b9eddea7..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index cdf9ba8d1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 403 bytes - asset lib/index.js 244 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 422 bytes - asset lib/index.js.map 232 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 171 bytes - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.12 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 67c436f8c..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f0e68d8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 504de4bc1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 244 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 232 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.14 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -cached modules 211 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index e06f05499..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index d103d4a6f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.26 KiB [emitted] (name: main) -cached modules 349 bytes [cached] 2 modules -./app.ts 251 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b61d402a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..26fa17ed9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 475 bytes + asset lib/index.js 280 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 422 bytes + asset lib/index.js.map 232 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 171 bytes + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.2 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..da4884356 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4be3f9956 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..ddd9b97c7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 280 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 232 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +cached modules 247 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..09c6a44bc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..2d1c54774 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.33 KiB [emitted] (name: main) +cached modules 421 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7c49a1d6a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/output.txt deleted file mode 100644 index 061bed2d0..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.08 KiB [emitted] (name: main) -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index bd3fafa73..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3e773b769..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 5d1ddc1c4..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 257 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 252 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 189 bytes - asset lib/index.d.ts 102 bytes [compared for emit] - asset lib/helper.d.ts 87 bytes [compared for emit] -asset bundle.js 3.1 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -cached modules 125 bytes [cached] 1 module -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 224 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 7b956553a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 62f4cb9b6..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index ccf650644..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 429 bytes - asset lib/index.js 257 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 462 bytes - asset lib/index.js.map 252 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.11 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 224 bytes [built] [code generated] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index 12759dcf1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index 11339ccac..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.23 KiB [emitted] (name: main) -cached modules 362 bytes [cached] 2 modules -./app.ts 215 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..dc7b13aaa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.2 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..26e3e45e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7a9158b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..9655b1e6e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 293 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 252 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 189 bytes + asset lib/index.d.ts 102 bytes [compared for emit] + asset lib/helper.d.ts 87 bytes [compared for emit] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +cached modules 161 bytes [cached] 1 module +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 260 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..c76649d60 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.9/patch1/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..feb86980f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..f09710f8d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 501 bytes + asset lib/index.js 293 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 462 bytes + asset lib/index.js.map 252 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.23 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 260 bytes [built] [code generated] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..d705ce05a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..a09128deb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.35 KiB [emitted] (name: main) +cached modules 434 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index b8208873b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index c094482c2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.12 KiB [emitted] (name: main) -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 9f118ab87..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3e773b769..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 2a56ad9b8..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 257 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 252 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 189 bytes - asset lib/index.d.ts 102 bytes [compared for emit] - asset lib/helper.d.ts 87 bytes [compared for emit] -asset bundle.js 3.14 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -cached modules 125 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/index.ts 224 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index b1b78979f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 62f4cb9b6..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 67f6700ce..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 429 bytes - asset lib/index.js 257 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 462 bytes - asset lib/index.js.map 252 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.15 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -cached modules 224 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 8a68429bf..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index cca0e5fd3..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.27 KiB [emitted] (name: main) -cached modules 362 bytes [cached] 2 modules -./app.ts 251 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..dc7b13aaa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.2 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..26e3e45e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7a9158b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..0fbfa926d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 293 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 252 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 189 bytes + asset lib/index.d.ts 102 bytes [compared for emit] + asset lib/helper.d.ts 87 bytes [compared for emit] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +cached modules 161 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/index.ts 260 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..c76649d60 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.9/patch1/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..feb86980f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..29c187420 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 501 bytes + asset lib/index.js 293 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 462 bytes + asset lib/index.js.map 252 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.23 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +cached modules 260 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..d705ce05a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..a09128deb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.35 KiB [emitted] (name: main) +cached modules 434 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7c49a1d6a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index b1e579a45..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,7 +0,0 @@ -asset bundle.js 3.08 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 816 bytes [emitted] -asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index bd3fafa73..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3e773b769..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index eeb261fcb..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,18 +0,0 @@ -assets by status 2.39 KiB [compared for emit] - assets by path lib/*.js 416 bytes - asset lib/index.js 257 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] - assets by path lib/*.map 442 bytes - asset lib/index.js.map 252 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] - assets by path lib/*.ts 189 bytes - asset lib/index.d.ts 102 bytes [compared for emit] - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -assets by status 3.9 KiB [emitted] - asset bundle.js 3.1 KiB [emitted] (name: main) - asset tsconfig.tsbuildinfo 816 bytes [emitted] -cached modules 125 bytes [cached] 1 module -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 224 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/tsconfig.tsbuildinfo deleted file mode 100644 index 6d726da8d..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 7b956553a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 62f4cb9b6..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 284a1fefb..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/ 2.34 KiB - assets by path lib/*.js 429 bytes - asset lib/index.js 257 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] - assets by path lib/*.map 462 bytes - asset lib/index.js.map 252 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] - asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] - asset lib/helper.d.ts 105 bytes [emitted] -asset bundle.js 3.11 KiB [emitted] (name: main) -asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 224 bytes [built] [code generated] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index 12759dcf1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index bf380bb5b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.23 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 851 bytes [emitted] -cached modules 362 bytes [cached] 2 modules -./app.ts 215 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/tsconfig.tsbuildinfo deleted file mode 100644 index f2fb003f4..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch2/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./lib/helper.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582","7897218607",{"version":"-12553192154","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6,7]],"referencedMap":[[8,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index 19dab4d88..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..8e51161e4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,7 @@ +asset bundle.js 3.2 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..26e3e45e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7a9158b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..8a7af8ac7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,18 @@ +assets by status 2.8 KiB [compared for emit] + assets by path lib/*.js 488 bytes + asset lib/index.js 293 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] + assets by path lib/*.map 442 bytes + asset lib/index.js.map 252 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] + assets by path lib/*.ts 189 bytes + asset lib/index.d.ts 102 bytes [compared for emit] + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +assets by status 4.24 KiB [emitted] + asset bundle.js 3.22 KiB [emitted] (name: main) + asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +cached modules 161 bytes [cached] 1 module +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 260 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f696af130 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11215156582",{"version":"-14331559384","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/app.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/app.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..c76649d60 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.9/patch1/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..feb86980f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..7b18d97bf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,15 @@ +assets by path lib/ 2.76 KiB + assets by path lib/*.js 501 bytes + asset lib/index.js 293 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] + assets by path lib/*.map 462 bytes + asset lib/index.js.map 252 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] + asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] + asset lib/helper.d.ts 105 bytes [emitted] +asset bundle.js 3.23 KiB [emitted] (name: main) +asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 260 bytes [built] [code generated] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..d705ce05a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..2dbc64c4d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.35 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.06 KiB [emitted] +cached modules 434 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/tsconfig.tsbuildinfo new file mode 100644 index 000000000..deaae2e0c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/patch2/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./lib/helper.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11215156582","7897218607",{"version":"-12553192154","signature":"-3531856636"}],"root":[10],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8,9]],"referencedMap":[[10,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..07996b628 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index b8208873b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index c094482c2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.12 KiB [emitted] (name: main) -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 9f118ab87..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3e773b769..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 2a56ad9b8..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 257 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 252 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 189 bytes - asset lib/index.d.ts 102 bytes [compared for emit] - asset lib/helper.d.ts 87 bytes [compared for emit] -asset bundle.js 3.14 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -cached modules 125 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/index.ts 224 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index b1b78979f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 62f4cb9b6..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 67f6700ce..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 429 bytes - asset lib/index.js 257 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 462 bytes - asset lib/index.js.map 252 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.15 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -cached modules 224 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 8a68429bf..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index cca0e5fd3..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.27 KiB [emitted] (name: main) -cached modules 362 bytes [cached] 2 modules -./app.ts 251 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..dc7b13aaa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.2 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..26e3e45e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7a9158b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..0fbfa926d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 293 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 252 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 189 bytes + asset lib/index.d.ts 102 bytes [compared for emit] + asset lib/helper.d.ts 87 bytes [compared for emit] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +cached modules 161 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/index.ts 260 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..c76649d60 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..feb86980f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..29c187420 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 501 bytes + asset lib/index.js 293 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 462 bytes + asset lib/index.js.map 252 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.23 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +cached modules 260 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..d705ce05a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..a09128deb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.35 KiB [emitted] (name: main) +cached modules 434 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7c49a1d6a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 061bed2d0..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.08 KiB [emitted] (name: main) -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index bd3fafa73..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3e773b769..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 5d1ddc1c4..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 257 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 252 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 189 bytes - asset lib/index.d.ts 102 bytes [compared for emit] - asset lib/helper.d.ts 87 bytes [compared for emit] -asset bundle.js 3.1 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -cached modules 125 bytes [cached] 1 module -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 224 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 7b956553a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 62f4cb9b6..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index ccf650644..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 429 bytes - asset lib/index.js 257 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 462 bytes - asset lib/index.js.map 252 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.11 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 224 bytes [built] [code generated] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index 12759dcf1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index 11339ccac..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.23 KiB [emitted] (name: main) -cached modules 362 bytes [cached] 2 modules -./app.ts 215 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..dc7b13aaa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.2 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..26e3e45e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7a9158b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..9655b1e6e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 293 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 252 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 189 bytes + asset lib/index.d.ts 102 bytes [compared for emit] + asset lib/helper.d.ts 87 bytes [compared for emit] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +cached modules 161 bytes [cached] 1 module +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 260 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..c76649d60 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.9/patch1/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..feb86980f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..f09710f8d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 501 bytes + asset lib/index.js 293 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 462 bytes + asset lib/index.js.map 252 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.23 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 260 bytes [built] [code generated] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..d705ce05a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..a09128deb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.35 KiB [emitted] (name: main) +cached modules 434 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index b8208873b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index c094482c2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.12 KiB [emitted] (name: main) -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 9f118ab87..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 3e773b769..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 2a56ad9b8..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 257 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 252 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 189 bytes - asset lib/index.d.ts 102 bytes [compared for emit] - asset lib/helper.d.ts 87 bytes [compared for emit] -asset bundle.js 3.14 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -cached modules 125 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/index.ts 224 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index b1b78979f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js deleted file mode 100644 index c526f1a8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three, - four: 4 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 62f4cb9b6..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 67f6700ce..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 429 bytes - asset lib/index.js 257 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 462 bytes - asset lib/index.js.map 252 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.15 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -cached modules 224 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 8a68429bf..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index cca0e5fd3..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.27 KiB [emitted] (name: main) -cached modules 362 bytes [cached] 2 modules -./app.ts 251 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..dc7b13aaa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.2 KiB [emitted] (name: main) +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..26e3e45e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..d7a9158b0 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..0fbfa926d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 293 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 252 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 189 bytes + asset lib/index.d.ts 102 bytes [compared for emit] + asset lib/helper.d.ts 87 bytes [compared for emit] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +cached modules 161 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/index.ts 260 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..c76649d60 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js new file mode 100644 index 000000000..59b8fae9e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three, + four: 4 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.9/patch1/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..feb86980f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..29c187420 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 501 bytes + asset lib/index.js 293 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 462 bytes + asset lib/index.js.map 252 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.23 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +cached modules 260 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..d705ce05a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..a09128deb --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.35 KiB [emitted] (name: main) +cached modules 434 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7c49a1d6a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 2b9eddea7..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index ce8b04858..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,19 +0,0 @@ -assets by status 2.34 KiB [compared for emit] - assets by path lib/*.js 403 bytes - asset lib/index.js 244 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] - assets by path lib/*.map 422 bytes - asset lib/index.js.map 232 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] - assets by path lib/*.ts 171 bytes - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] - asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -assets by status 3.89 KiB [emitted] - asset bundle.js 3.08 KiB [emitted] (name: main) - asset tsconfig.tsbuildinfo 816 bytes [emitted] - asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 4b7bbfb47..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f0e68d8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 0514e773f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/ 2.31 KiB - assets by path lib/*.js 416 bytes - asset lib/index.js 244 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] - assets by path lib/*.map 442 bytes - asset lib/index.js.map 232 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] - asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] - asset lib/helper.d.ts 105 bytes [emitted] -asset bundle.js 3.1 KiB [emitted] (name: main) -asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 221d5c76c..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index fa261fefe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 3.22 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 851 bytes [emitted] -cached modules 349 bytes [cached] 2 modules -./app.ts 215 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/tsconfig.tsbuildinfo deleted file mode 100644 index c2d633dfb..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch1/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./lib/helper.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626","7897218607",{"version":"-12553192154","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6,7]],"referencedMap":[[8,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index 19dab4d88..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b61d402a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..16442583c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,19 @@ +assets by status 2.75 KiB [compared for emit] + assets by path lib/*.js 475 bytes + asset lib/index.js 280 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] + assets by path lib/*.map 422 bytes + asset lib/index.js.map 232 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] + assets by path lib/*.ts 171 bytes + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] + asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +assets by status 4.24 KiB [emitted] + asset bundle.js 3.2 KiB [emitted] (name: main) + asset tsconfig.tsbuildinfo 1.03 KiB [emitted] + asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/app.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/app.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..da4884356 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4be3f9956 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..486c70adf --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/ 2.72 KiB + assets by path lib/*.js 488 bytes + asset lib/index.js 280 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] + assets by path lib/*.map 442 bytes + asset lib/index.js.map 232 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] + asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] + asset lib/helper.d.ts 105 bytes [emitted] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..09c6a44bc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..213507812 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 3.33 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.06 KiB [emitted] +cached modules 421 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b4397f9ee --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/patch1/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./lib/helper.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"12503634626","7897218607",{"version":"-12553192154","signature":"-3531856636"}],"root":[10],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8,9]],"referencedMap":[[10,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..07996b628 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index b8208873b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 2b9eddea7..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index cdf9ba8d1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 403 bytes - asset lib/index.js 244 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 422 bytes - asset lib/index.js.map 232 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 171 bytes - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.12 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 67c436f8c..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f0e68d8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 504de4bc1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 244 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 232 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.14 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -cached modules 211 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index e06f05499..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index d103d4a6f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.26 KiB [emitted] (name: main) -cached modules 349 bytes [cached] 2 modules -./app.ts 251 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b61d402a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..26fa17ed9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 475 bytes + asset lib/index.js 280 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 422 bytes + asset lib/index.js.map 232 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 171 bytes + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.2 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..da4884356 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4be3f9956 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..ddd9b97c7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 280 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 232 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +cached modules 247 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..09c6a44bc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..2d1c54774 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.33 KiB [emitted] (name: main) +cached modules 421 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7c49a1d6a..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 2b9eddea7..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 9fdb845a0..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 403 bytes - asset lib/index.js 244 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 422 bytes - asset lib/index.js.map 232 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 171 bytes - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.08 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 4b7bbfb47..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f0e68d8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 9dc5c0af5..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 244 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 232 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.1 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 221d5c76c..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 8aa013fbd..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.22 KiB [emitted] (name: main) -cached modules 349 bytes [cached] 2 modules -./app.ts 215 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b61d402a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..26fa17ed9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 475 bytes + asset lib/index.js 280 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 422 bytes + asset lib/index.js.map 232 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 171 bytes + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.2 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..da4884356 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4be3f9956 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..06e03e369 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 280 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 232 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..09c6a44bc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..2d1c54774 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.33 KiB [emitted] (name: main) +cached modules 421 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index b8208873b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.js deleted file mode 100644 index 1159a61fe..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 2b9eddea7..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index cdf9ba8d1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -assets by path lib/*.js 403 bytes - asset lib/index.js 244 bytes [compared for emit] - asset lib/helper.js 159 bytes [compared for emit] -assets by path lib/*.map 422 bytes - asset lib/index.js.map 232 bytes [compared for emit] - asset lib/helper.js.map 190 bytes [compared for emit] -assets by path lib/*.ts 171 bytes - asset lib/helper.d.ts 87 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -asset bundle.js 3.12 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 211 bytes [built] [code generated] -./lib/helper.ts 125 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 67c436f8c..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js deleted file mode 100644 index fd4291075..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.helper = void 0; -exports.helper = { - one: 1, - two: 2, - three: 3, - four: 4 -}; -//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index 2944247f2..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -var helper_1 = require("./helper"); -exports.lib = { - one: helper_1.helper.one, - two: helper_1.helper.two, - three: helper_1.helper.three -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f0e68d8b..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index 504de4bc1..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,13 +0,0 @@ -assets by path lib/*.js 416 bytes - asset lib/index.js 244 bytes [emitted] - asset lib/helper.js 172 bytes [emitted] -assets by path lib/*.map 442 bytes - asset lib/index.js.map 232 bytes [emitted] - asset lib/helper.js.map 210 bytes [emitted] -asset bundle.js 3.14 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.37 KiB [emitted] -asset lib/helper.d.ts 105 bytes [emitted] -cached modules 211 bytes [cached] 1 module -./app.ts 167 bytes [built] -./lib/helper.ts 138 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index e06f05499..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/helper.ts": -/*!***********************!*\ - !*** ./lib/helper.ts ***! - \***********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index d103d4a6f..000000000 --- a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 3.26 KiB [emitted] (name: main) -cached modules 349 bytes [cached] 2 modules -./app.ts 251 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..e04306e08 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.js new file mode 100644 index 000000000..61b0c8980 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b61d402a7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","signature":"9547233658a31639485353eb30596a0329b38600ed28a2ce8d70e7f88b5a1d8c"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..26fa17ed9 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,15 @@ +assets by path lib/*.js 475 bytes + asset lib/index.js 280 bytes [compared for emit] + asset lib/helper.js 195 bytes [compared for emit] +assets by path lib/*.map 422 bytes + asset lib/index.js.map 232 bytes [compared for emit] + asset lib/helper.js.map 190 bytes [compared for emit] +assets by path lib/*.ts 171 bytes + asset lib/helper.d.ts 87 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +asset bundle.js 3.2 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 247 bytes [built] [code generated] +./lib/helper.ts 161 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..da4884356 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.d.ts rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.d.ts diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js new file mode 100644 index 000000000..9524fad2e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.helper = void 0; +exports.helper = { + one: 1, + two: 2, + three: 3, + four: 4 +}; +//# sourceMappingURL=helper.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/helper.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/helper.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..93829e984 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +var helper_1 = require("./helper"); +exports.lib = { + one: helper_1.helper.one, + two: helper_1.helper.two, + three: helper_1.helper.three +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..4be3f9956 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./helper.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8,9],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,9,1,6,7,3,2,5,4],"latestChangedDtsFile":"./helper.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..ddd9b97c7 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,13 @@ +assets by path lib/*.js 488 bytes + asset lib/index.js 280 bytes [emitted] + asset lib/helper.js 208 bytes [emitted] +assets by path lib/*.map 442 bytes + asset lib/index.js.map 232 bytes [emitted] + asset lib/helper.js.map 210 bytes [emitted] +asset bundle.js 3.22 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.71 KiB [emitted] +asset lib/helper.d.ts 105 bytes [emitted] +cached modules 247 bytes [cached] 1 module +./app.ts 167 bytes [built] +./lib/helper.ts 174 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..09c6a44bc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/helper.ts": +/*!***********************!*\ + !*** ./lib/helper.ts ***! + \***********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..2d1c54774 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 3.33 KiB [emitted] (name: main) +cached modules 421 bytes [cached] 2 modules +./app.ts 251 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 97c7ba88d..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -assets by status 1.59 KiB [compared for emit] - asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] - asset lib/index.js.map 188 bytes [compared for emit] - asset lib/index.js 152 bytes [compared for emit] - asset lib/index.d.ts 84 bytes [compared for emit] -assets by status 3.41 KiB [emitted] - asset bundle.js 2.6 KiB [emitted] (name: main) - asset tsconfig.tsbuildinfo 816 bytes [emitted] - asset app.d.ts 11 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 5933866c1..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index b22808019..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index e7d320ab0..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -assets by path lib/ 1.67 KiB - asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] - asset lib/index.js.map 221 bytes [emitted] - asset lib/index.js 183 bytes [emitted] - asset lib/index.d.ts 102 bytes [emitted] -asset bundle.js 2.63 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 816 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 150 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/tsconfig.tsbuildinfo deleted file mode 100644 index 6d726da8d..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 37918c4c3..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 3f7b7dc6f..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 816 bytes [emitted] -cached modules 150 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/tsconfig.tsbuildinfo deleted file mode 100644 index 3f17f35fd..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch1/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582",{"version":"-16299197056","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index 37918c4c3..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f26dcaac..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index 56a3f55ec..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,21 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.19 KiB [emitted] -asset app.d.ts 11 bytes [emitted] -./app.ts 169 bytes [built] [code generated] -./lib/index.ts 150 bytes [built] [2 errors] - -ERROR in lib/index.ts -./lib/index.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/bundle.js deleted file mode 100644 index a79680487..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 4a9cf64c1..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index 28a49ea36..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,10 +0,0 @@ -assets by path lib/ 1.69 KiB - asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] - asset lib/index.js.map 228 bytes [emitted] - asset lib/index.js 178 bytes [emitted] - asset lib/index.d.ts 120 bytes [emitted] -asset bundle.js 2.66 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 816 bytes [emitted] -./app.ts 169 bytes [built] [code generated] -./lib/index.ts 145 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/tsconfig.tsbuildinfo deleted file mode 100644 index 79a08d7cf..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11496633944",{"version":"-16299197056","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/bundle.js deleted file mode 100644 index 04524b042..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index 9b6e18ec3..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -asset bundle.js 2.68 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 816 bytes [emitted] -cached modules 145 bytes [cached] 1 module -./app.ts 186 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 3:55-60 -[tsl] ERROR in app.ts(3,56) - TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_16c1704dade3bd5f - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/tsconfig.tsbuildinfo deleted file mode 100644 index d336232ba..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch4/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11496633944",{"version":"-26657554079","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/bundle.js deleted file mode 100644 index 1ed94b512..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index 6825a5418..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.68 KiB [emitted] (name: main) -asset tsconfig.tsbuildinfo 816 bytes [emitted] -cached modules 145 bytes [cached] 1 module -./app.ts 185 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/tsconfig.tsbuildinfo deleted file mode 100644 index 459dcd329..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch5/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11496633944",{"version":"-21839530949","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo deleted file mode 100644 index 19dab4d88..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"283963714490","affectsGlobalScope":true},{"version":"-63757733770","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..86eb8bea4 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,12 @@ +assets by status 1.96 KiB [compared for emit] + asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] + asset lib/index.js 188 bytes [compared for emit] + asset lib/index.js.map 188 bytes [compared for emit] + asset lib/index.d.ts 84 bytes [compared for emit] +assets by status 3.72 KiB [emitted] + asset bundle.js 2.68 KiB [emitted] (name: main) + asset tsconfig.tsbuildinfo 1.03 KiB [emitted] + asset app.d.ts 11 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..9f001b632 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d954ee35 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..9e0c23e78 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,10 @@ +assets by path lib/ 2.04 KiB + asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] + asset lib/index.js.map 221 bytes [emitted] + asset lib/index.js 219 bytes [emitted] + asset lib/index.d.ts 102 bytes [emitted] +asset bundle.js 2.71 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 186 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..f696af130 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11215156582",{"version":"-14331559384","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..ca5116f3f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +cached modules 186 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/tsconfig.tsbuildinfo new file mode 100644 index 000000000..7f7ac63e3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch1/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11215156582",{"version":"-16299197056","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/app.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch2/app.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/app.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c1d62944 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..7bd57e81f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,21 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.53 KiB [emitted] +asset app.d.ts 11 bytes [emitted] +./app.ts 205 bytes [built] [code generated] +./lib/index.ts 186 bytes [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/bundle.js new file mode 100644 index 000000000..08ee44889 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.9/patch3/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93c406dcc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..a1b8a080c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,10 @@ +assets by path lib/ 2.07 KiB + asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] + asset lib/index.js.map 228 bytes [emitted] + asset lib/index.js 215 bytes [emitted] + asset lib/index.d.ts 120 bytes [emitted] +asset bundle.js 2.74 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +./app.ts 205 bytes [built] [code generated] +./lib/index.ts 182 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/tsconfig.tsbuildinfo new file mode 100644 index 000000000..89fe06c97 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch3/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11496633944",{"version":"-16299197056","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/bundle.js new file mode 100644 index 000000000..815483991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..89bb37673 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,12 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +cached modules 182 bytes [cached] 1 module +./app.ts 222 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 3:55-60 +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? +ts-loader-default_16c1704dade3bd5f + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/tsconfig.tsbuildinfo new file mode 100644 index 000000000..b27a1c19a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch4/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11496633944",{"version":"-26657554079","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/bundle.js new file mode 100644 index 000000000..9793a4b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..e49fd2130 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +asset tsconfig.tsbuildinfo 1.03 KiB [emitted] +cached modules 182 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/tsconfig.tsbuildinfo new file mode 100644 index 000000000..3627404cd --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/patch5/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"11496633944",{"version":"-21839530949","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo new file mode 100644 index 000000000..07996b628 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-5.0/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-1366010380",{"version":"464130172670","affectsGlobalScope":true},{"version":"-2962054569398","affectsGlobalScope":true},{"version":"10301814652","affectsGlobalScope":true},{"version":"152204419641","affectsGlobalScope":true},{"version":"-63980009373","affectsGlobalScope":true},{"version":"-36036997222","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"root":[9],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[8]],"referencedMap":[[9,1]],"exportedModulesMap":[],"latestChangedDtsFile":"./app.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 0d9c20170..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index b22808019..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index b62896d44..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 221 bytes [emitted] -asset lib/index.js 183 bytes [emitted] -asset lib/index.d.ts 102 bytes [emitted] -./app.ts 167 bytes [built] -./lib/index.ts 150 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 2a5f91e73..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 9187126da..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.71 KiB [emitted] (name: main) -cached modules 150 bytes [cached] 1 module -./app.ts 205 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 2a5f91e73..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f26dcaac..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index c3f952e49..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by status 2.71 KiB [cached] 1 asset -asset lib/tsconfig.tsbuildinfo 1.19 KiB [emitted] -./app.ts 205 bytes [built] [2 errors] -./lib/index.ts 150 bytes [built] - -ERROR in ./app.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_d3199d8b31480e4e - -ERROR in ./app.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_d3199d8b31480e4e - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/bundle.js deleted file mode 100644 index 24c5db3e1..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 4a9cf64c1..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index a990678c4..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.7 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 228 bytes [emitted] -asset lib/index.js 178 bytes [emitted] -asset lib/index.d.ts 120 bytes [emitted] -./app.ts 205 bytes [built] -./lib/index.ts 145 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch4/bundle.js deleted file mode 100644 index 513a3cf30..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index dcfec6184..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 222 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch5/bundle.js deleted file mode 100644 index 3ce8fbfbd..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index fdbcdfde1..000000000 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 221 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..9f001b632 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d954ee35 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..9809e5d32 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.71 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 221 bytes [emitted] +asset lib/index.js 219 bytes [emitted] +asset lib/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] +./lib/index.ts 186 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..5b11e74aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +cached modules 186 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c1d62944 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..736c342f8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,16 @@ +assets by status 2.75 KiB [cached] 1 asset +asset lib/tsconfig.tsbuildinfo 1.53 KiB [emitted] +./app.ts 205 bytes [built] [2 errors] +./lib/index.ts 186 bytes [built] + +ERROR in ./app.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_d3199d8b31480e4e + +ERROR in ./app.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_d3199d8b31480e4e + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/bundle.js new file mode 100644 index 000000000..08ee44889 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93c406dcc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..a31811897 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.74 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 228 bytes [emitted] +asset lib/index.js 215 bytes [emitted] +asset lib/index.d.ts 120 bytes [emitted] +./app.ts 205 bytes [built] +./lib/index.ts 182 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch4/bundle.js new file mode 100644 index 000000000..815483991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..90bffbb3f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 222 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch5/bundle.js new file mode 100644 index 000000000..9793a4b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..e9d50861a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7a5247318..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/output.txt deleted file mode 100644 index 1a4691f6b..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index 5933866c1..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index b22808019..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 84acf09f6..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.63 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 221 bytes [emitted] -asset lib/index.js 183 bytes [emitted] -asset lib/index.d.ts 102 bytes [emitted] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 150 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index 37918c4c3..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index a78598f4f..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -cached modules 150 bytes [cached] 1 module -./app.ts 169 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/bundle.js deleted file mode 100644 index 37918c4c3..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f26dcaac..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/output.txt deleted file mode 100644 index cf4590d2f..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch2/output.txt +++ /dev/null @@ -1,20 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.19 KiB [emitted] -./app.ts 169 bytes [built] [code generated] -./lib/index.ts 150 bytes [built] [2 errors] - -ERROR in lib/index.ts -./lib/index.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -ERROR in lib/index.ts -./lib/index.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_16c1704dade3bd5f - @ ./app.ts 3:12-28 - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/bundle.js deleted file mode 100644 index a79680487..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 4a9cf64c1..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/output.txt deleted file mode 100644 index 685b47959..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.66 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 228 bytes [emitted] -asset lib/index.js 178 bytes [emitted] -asset lib/index.d.ts 120 bytes [emitted] -./app.ts 169 bytes [built] [code generated] -./lib/index.ts 145 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch4/bundle.js deleted file mode 100644 index 04524b042..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch4/output.txt deleted file mode 100644 index 7eeb11e02..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch4/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 2.68 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 186 bytes [built] [code generated] [1 error] - -ERROR in app.ts -./app.ts 3:55-60 -[tsl] ERROR in app.ts(3,56) - TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_16c1704dade3bd5f - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch5/bundle.js deleted file mode 100644 index 1ed94b512..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch5/output.txt deleted file mode 100644 index ae2f34874..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.68 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 185 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/bundle.js new file mode 100644 index 000000000..9f001b632 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d954ee35 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..4cba2941d --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.71 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 221 bytes [emitted] +asset lib/index.js 219 bytes [emitted] +asset lib/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 186 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch1/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..5b11e74aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +cached modules 186 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c1d62944 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/output.txt new file mode 100644 index 000000000..b7e6ee855 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch2/output.txt @@ -0,0 +1,20 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.53 KiB [emitted] +./app.ts 205 bytes [built] [code generated] +./lib/index.ts 186 bytes [built] [2 errors] + +ERROR in lib/index.ts +./lib/index.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +ERROR in lib/index.ts +./lib/index.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_16c1704dade3bd5f + @ ./app.ts 3:12-28 + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/bundle.js new file mode 100644 index 000000000..08ee44889 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.9/patch3/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93c406dcc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/output.txt new file mode 100644 index 000000000..8e5b66b10 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.74 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 228 bytes [emitted] +asset lib/index.js 215 bytes [emitted] +asset lib/index.d.ts 120 bytes [emitted] +./app.ts 205 bytes [built] [code generated] +./lib/index.ts 182 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch4/bundle.js new file mode 100644 index 000000000..815483991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch4/output.txt new file mode 100644 index 000000000..aedb1b5d3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch4/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 222 bytes [built] [code generated] [1 error] + +ERROR in app.ts +./app.ts 3:55-60 +[tsl] ERROR in app.ts(3,56) + TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? +ts-loader-default_16c1704dade3bd5f + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch5/bundle.js new file mode 100644 index 000000000..9793a4b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch5/output.txt new file mode 100644 index 000000000..e9d50861a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index a3a6f5bb0..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index e352a1efb..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index e1336bda8..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js deleted file mode 100644 index 0d9c20170..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js deleted file mode 100644 index 8826dde5f..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4 // Add new number -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo deleted file mode 100644 index b22808019..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt deleted file mode 100644 index b62896d44..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.67 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 221 bytes [emitted] -asset lib/index.js 183 bytes [emitted] -asset lib/index.d.ts 102 bytes [emitted] -./app.ts 167 bytes [built] -./lib/index.ts 150 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js deleted file mode 100644 index 2a5f91e73..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch1/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt deleted file mode 100644 index 9187126da..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch1/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.71 KiB [emitted] (name: main) -cached modules 150 bytes [cached] 1 module -./app.ts 205 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js deleted file mode 100644 index 2a5f91e73..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 7f26dcaac..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,3,2,5,4],"changeFileSet":[6],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt deleted file mode 100644 index c3f952e49..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch2/output.txt +++ /dev/null @@ -1,16 +0,0 @@ -assets by status 2.71 KiB [cached] 1 asset -asset lib/tsconfig.tsbuildinfo 1.19 KiB [emitted] -./app.ts 205 bytes [built] [2 errors] -./lib/index.ts 150 bytes [built] - -ERROR in ./app.ts 6:2-3 -[tsl] ERROR in lib/index.ts(6,3) - TS1136: Property assignment expected. -ts-loader-default_d3199d8b31480e4e - -ERROR in ./app.ts 7:0-1 -[tsl] ERROR in lib/index.ts(7,1) - TS1128: Declaration or statement expected. -ts-loader-default_d3199d8b31480e4e - -webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/bundle.js deleted file mode 100644 index 24c5db3e1..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js deleted file mode 100644 index 2a51bc571..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -exports.lib = { - one: 1, - two: 2, - three: 3, - four: 4, - five: 5 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 4a9cf64c1..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/output.txt deleted file mode 100644 index a990678c4..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.7 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [emitted] -asset lib/index.js.map 228 bytes [emitted] -asset lib/index.js 178 bytes [emitted] -asset lib/index.d.ts 120 bytes [emitted] -./app.ts 205 bytes [built] -./lib/index.ts 145 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch4/bundle.js deleted file mode 100644 index 513a3cf30..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch4/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch4/output.txt deleted file mode 100644 index dcfec6184..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch4/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 222 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch5/bundle.js deleted file mode 100644 index 3ce8fbfbd..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch5/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch5/output.txt deleted file mode 100644 index fdbcdfde1..000000000 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch5/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.72 KiB [emitted] (name: main) -cached modules 145 bytes [cached] 1 module -./app.ts 221 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..04cba5122 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..47cdcf3aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..e3d374fea --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..15e0d7112 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.68 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit] +asset lib/index.js 188 bytes [compared for emit] +asset lib/index.js.map 188 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 167 bytes [built] [code generated] +./lib/index.ts 155 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..9f001b632 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js new file mode 100644 index 000000000..64328947e --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4 // Add new number +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch0/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0d954ee35 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt new file mode 100644 index 000000000..9809e5d32 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.71 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 221 bytes [emitted] +asset lib/index.js 219 bytes [emitted] +asset lib/index.d.ts 102 bytes [emitted] +./app.ts 167 bytes [built] +./lib/index.ts 186 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt new file mode 100644 index 000000000..5b11e74aa --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch1/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.75 KiB [emitted] (name: main) +cached modules 186 bytes [cached] 1 module +./app.ts 205 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js new file mode 100644 index 000000000..e63cab10c --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..0c1d62944 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"23d9f9198eb0838fea3c992f317d990ea5a1ece7525595371d76fa7537ed6c96","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,6,7,3,2,5,4],"changeFileSet":[8],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt new file mode 100644 index 000000000..736c342f8 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch2/output.txt @@ -0,0 +1,16 @@ +assets by status 2.75 KiB [cached] 1 asset +asset lib/tsconfig.tsbuildinfo 1.53 KiB [emitted] +./app.ts 205 bytes [built] [2 errors] +./lib/index.ts 186 bytes [built] + +ERROR in ./app.ts 6:2-3 +[tsl] ERROR in lib/index.ts(6,3) + TS1136: Property assignment expected. +ts-loader-default_d3199d8b31480e4e + +ERROR in ./app.ts 7:0-1 +[tsl] ERROR in lib/index.ts(7,1) + TS1128: Declaration or statement expected. +ts-loader-default_d3199d8b31480e4e + +webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/bundle.js new file mode 100644 index 000000000..08ee44889 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.d.ts rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js new file mode 100644 index 000000000..f64e64792 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +exports.lib = { + one: 1, + two: 2, + three: 3, + four: 4, + five: 5, +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.9/patch3/lib/index.js.map rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..93c406dcc --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/output.txt new file mode 100644 index 000000000..a31811897 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch3/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.74 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.52 KiB [emitted] +asset lib/index.js.map 228 bytes [emitted] +asset lib/index.js 215 bytes [emitted] +asset lib/index.d.ts 120 bytes [emitted] +./app.ts 205 bytes [built] +./lib/index.ts 182 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch4/bundle.js new file mode 100644 index 000000000..815483991 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch4/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch4/output.txt new file mode 100644 index 000000000..90bffbb3f --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch4/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 222 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch5/bundle.js new file mode 100644 index 000000000..9793a4b77 --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch5/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5,\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch5/output.txt new file mode 100644 index 000000000..e9d50861a --- /dev/null +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-5.0/patch5/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.76 KiB [emitted] (name: main) +cached modules 182 bytes [cached] 1 module +./app.ts 221 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/bundle.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/bundle.js deleted file mode 100644 index 6f0ea2105..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\n/*transform was here*/ console.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\n/*transform was here*/ exports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.js deleted file mode 100644 index 957115451..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -/*transform was here*/ exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 5b31b81b5..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"emitSignatures":[[6,"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/output.txt b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/output.txt deleted file mode 100644 index 1a4691f6b..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.6 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 131 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/bundle.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..4e0893438 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\n/*transform was here*/ console.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\n/*transform was here*/ exports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.js new file mode 100644 index 000000000..a22d608f3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +/*transform was here*/ exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9db83c163 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"emitSignatures":[[8,"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/output.txt b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..462d06d04 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.72 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.51 KiB [compared for emit] +asset lib/index.js 211 bytes [compared for emit] +asset lib/index.js.map 189 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 190 bytes [built] [code generated] +./lib/index.ts 178 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 463668167..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\n/*transform was here*/ console.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./lib/index.ts": -/*!**********************!*\ - !*** ./lib/index.ts ***! - \**********************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.lib = void 0;\n/*transform was here*/ exports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.js deleted file mode 100644 index 957115451..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -exports.__esModule = true; -exports.lib = void 0; -/*transform was here*/ exports.lib = { - one: 1, - two: 2, - three: 3 -}; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo deleted file mode 100644 index 5b31b81b5..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4],"emitSignatures":[[6,"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.3"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index ee9c14339..000000000 --- a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,8 +0,0 @@ -asset bundle.js 2.64 KiB [emitted] (name: main) -asset lib/tsconfig.tsbuildinfo 1.17 KiB [compared for emit] -asset lib/index.js.map 188 bytes [compared for emit] -asset lib/index.js 152 bytes [compared for emit] -asset lib/index.d.ts 84 bytes [compared for emit] -./app.ts 167 bytes [built] [code generated] -./lib/index.ts 119 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..4e0893438 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\n/*transform was here*/ console.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./lib/index.ts": +/*!**********************!*\ + !*** ./lib/index.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.lib = void 0;\n/*transform was here*/ exports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.d.ts b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.d.ts similarity index 100% rename from test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.d.ts rename to test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.d.ts diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.js b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.js new file mode 100644 index 000000000..a22d608f3 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.js @@ -0,0 +1,9 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.lib = void 0; +/*transform was here*/ exports.lib = { + one: 1, + two: 2, + three: 3 +}; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.js.map b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.js.map similarity index 100% rename from test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-4.9/lib/index.js.map rename to test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/index.js.map diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo new file mode 100644 index 000000000..9db83c163 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/lib/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./index.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[8,1,6,7,3,2,5,4],"emitSignatures":[[8,"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"]],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"} \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..462d06d04 --- /dev/null +++ b/test/comparison-tests/projectReferencesWithCustomTransformer/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,8 @@ +asset bundle.js 2.72 KiB [emitted] (name: main) +asset lib/tsconfig.tsbuildinfo 1.51 KiB [compared for emit] +asset lib/index.js 211 bytes [compared for emit] +asset lib/index.js.map 189 bytes [compared for emit] +asset lib/index.d.ts 84 bytes [compared for emit] +./app.ts 190 bytes [built] [code generated] +./lib/index.ts 178 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-4.9/bundle.js b/test/comparison-tests/replacement/expectedOutput-4.9/bundle.js deleted file mode 100644 index e85bddd79..000000000 --- a/test/comparison-tests/replacement/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./sub/a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./sub/a.ts": -/*!******************!*\ - !*** ./sub/a.ts ***! - \******************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/a.ts?"); - -/***/ }), - -/***/ "./sub/dep.ts": -/*!********************!*\ - !*** ./sub/dep.ts ***! - \********************/ -/***/ ((module) => { - -eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-4.9/output.txt b/test/comparison-tests/replacement/expectedOutput-4.9/output.txt deleted file mode 100644 index a024dbeac..000000000 --- a/test/comparison-tests/replacement/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.75 KiB [emitted] (name: main) -./app.ts 81 bytes [built] [code generated] -./sub/a.ts 64 bytes [built] [code generated] -./sub/dep.ts 61 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/replacement/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/replacement/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/replacement/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/replacement/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/replacement/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/replacement/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/replacement/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..1e720d6c6 --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! ./a */ \"./sub/a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./sub/a.ts": +/*!******************!*\ + !*** ./sub/a.ts ***! + \******************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/a.ts?"); + +/***/ }), + +/***/ "./sub/dep.ts": +/*!********************!*\ + !*** ./sub/dep.ts ***! + \********************/ +/***/ ((module) => { + +eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/replacement/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..dcf348fdf --- /dev/null +++ b/test/comparison-tests/replacement/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.79 KiB [emitted] (name: main) +./app.ts 117 bytes [built] [code generated] +./sub/a.ts 64 bytes [built] [code generated] +./sub/dep.ts 61 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.9/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-4.9/bundle.js deleted file mode 100644 index dc8e70ca9..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./skip.ts": -/*!*****************!*\ - !*** ./skip.ts ***! - \*****************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\nexports.__esModule = true;\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.9/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.9/output.txt deleted file mode 100644 index ad78f6222..000000000 --- a/test/comparison-tests/reportFiles/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 2.5 KiB [emitted] (name: main) -./app.ts 98 bytes [built] [code generated] [1 error] -./skip.ts 79 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:0-1 -[tsl] ERROR in app.ts(3,1) - TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_caeb77cc684552b3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/reportFiles/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/reportFiles/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/reportFiles/expectedOutput-5.0/output.txt b/test/comparison-tests/reportFiles/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..95f498252 --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-5.0/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 2.57 KiB [emitted] (name: main) +./app.ts 134 bytes [built] [code generated] [1 error] +./skip.ts 115 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:0-1 +[tsl] ERROR in app.ts(3,1) + TS2322: Type 'string' is not assignable to type 'number'. +ts-loader-default_caeb77cc684552b3 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..43170d4ba --- /dev/null +++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./skip.ts": +/*!*****************!*\ + !*** ./skip.ts ***! + \*****************/ +/***/ ((__unused_webpack_module, exports) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/reportFiles/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/reportFiles/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/reportFiles/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.9/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-4.9/output.txt deleted file mode 100644 index b43441d80..000000000 --- a/test/comparison-tests/resolveJsonModule/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,11 +0,0 @@ -asset bundle.js 213 bytes [emitted] [minimized] (name: main) -asset app.d.ts 11 bytes [emitted] -./app.ts 99 bytes [built] [code generated] -./file.json 23 bytes [built] [code generated] - -WARNING in configuration -The 'mode' option has not been set, webpack will fallback to 'production' for this value. -Set 'mode' option to 'development' or 'production' to enable defaults for each environment. -You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ - -webpack compiled with 1 warning \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.9/app.d.ts b/test/comparison-tests/resolveJsonModule/expectedOutput-5.0/app.d.ts similarity index 100% rename from test/comparison-tests/resolveJsonModule/expectedOutput-4.9/app.d.ts rename to test/comparison-tests/resolveJsonModule/expectedOutput-5.0/app.d.ts diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.9/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/resolveJsonModule/expectedOutput-4.9/bundle.js rename to test/comparison-tests/resolveJsonModule/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-5.0/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..7b73bd001 --- /dev/null +++ b/test/comparison-tests/resolveJsonModule/expectedOutput-5.0/output.txt @@ -0,0 +1,11 @@ +asset bundle.js 213 bytes [emitted] [minimized] (name: main) +asset app.d.ts 11 bytes [emitted] +./app.ts 135 bytes [built] [code generated] +./file.json 23 bytes [built] [code generated] + +WARNING in configuration +The 'mode' option has not been set, webpack will fallback to 'production' for this value. +Set 'mode' option to 'development' or 'production' to enable defaults for each environment. +You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/ + +webpack compiled with 1 warning \ No newline at end of file diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/resolveJsonModule/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/resolveJsonModule/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.9/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.9/bundle.js deleted file mode 100644 index e6ffa4164..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.9/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.9/output.txt deleted file mode 100644 index 956ea5790..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.77 KiB [emitted] (name: main) -./app.ts 78 bytes [built] [code generated] -./dep.ts 70 bytes [built] [code generated] -./deeperDep.ts 76 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch0/bundle.js deleted file mode 100644 index e6ffa4164..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch0/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch0/output.txt deleted file mode 100644 index 3cd46efb6..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch0/output.txt +++ /dev/null @@ -1,12 +0,0 @@ -asset bundle.js 2.77 KiB [emitted] (name: main) -cached modules 78 bytes [cached] 1 module -./dep.ts 70 bytes [built] [code generated] -./deeperDep.ts 76 bytes [built] [code generated] - -ERROR in app.ts -./app.ts 3:4-6 -[tsl] ERROR in app.ts(3,5) - TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_609318b4f68865d3 - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch1/bundle.js deleted file mode 100644 index e6ffa4164..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch1/bundle.js +++ /dev/null @@ -1,77 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }), - -/***/ "./deeperDep.ts": -/*!**********************!*\ - !*** ./deeperDep.ts ***! - \**********************/ -/***/ ((module) => { - -eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); - -/***/ }), - -/***/ "./dep.ts": -/*!****************!*\ - !*** ./dep.ts ***! - \****************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch1/output.txt deleted file mode 100644 index 8607ed293..000000000 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.9/patch1/output.txt +++ /dev/null @@ -1,5 +0,0 @@ -asset bundle.js 2.77 KiB [emitted] (name: main) -cached modules 78 bytes [cached] 1 module -./dep.ts 70 bytes [built] [code generated] -./deeperDep.ts 76 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/simpleDependency/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/simpleDependency/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/simpleDependency/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch0/output.txt new file mode 100644 index 000000000..e65d2e7a5 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch0/output.txt @@ -0,0 +1,12 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +cached modules 114 bytes [cached] 1 module +./dep.ts 70 bytes [built] [code generated] +./deeperDep.ts 76 bytes [built] [code generated] + +ERROR in app.ts +./app.ts 3:4-6 +[tsl] ERROR in app.ts(3,5) + TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. +ts-loader-default_609318b4f68865d3 + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/simpleDependency/expectedOutput-5.0/patch1/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch1/output.txt new file mode 100644 index 000000000..ead4ace82 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-5.0/patch1/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +cached modules 114 bytes [cached] 1 module +./dep.ts 70 bytes [built] [code generated] +./deeperDep.ts 76 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..7fbe5bd78 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..f2cae3727 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,5 @@ +asset bundle.js 2.81 KiB [emitted] (name: main) +./app.ts 114 bytes [built] [code generated] +./dep.ts 70 bytes [built] [code generated] +./deeperDep.ts 76 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch0/bundle.js new file mode 100644 index 000000000..7fbe5bd78 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch0/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch1/bundle.js new file mode 100644 index 000000000..7fbe5bd78 --- /dev/null +++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch1/bundle.js @@ -0,0 +1,77 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./deeperDep.ts": +/*!**********************!*\ + !*** ./deeperDep.ts ***! + \**********************/ +/***/ ((module) => { + +eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?"); + +/***/ }), + +/***/ "./dep.ts": +/*!****************!*\ + !*** ./dep.ts ***! + \****************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-5.0/patch1/output.txt diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.9/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-4.9/bundle.js rename to test/comparison-tests/sourceMaps/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.9/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-5.0/bundle.js.map similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-4.9/bundle.js.map rename to test/comparison-tests/sourceMaps/expectedOutput-5.0/bundle.js.map diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.9/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-4.9/output.txt rename to test/comparison-tests/sourceMaps/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/sourceMaps/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.9/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-transpile-5.0/bundle.js.map similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-transpile-4.9/bundle.js.map rename to test/comparison-tests/sourceMaps/expectedOutput-transpile-5.0/bundle.js.map diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/sourceMaps/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/sourceMaps/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/stub-new-version.js b/test/comparison-tests/stub-new-version.js index 5ae64190e..103bb74f0 100644 --- a/test/comparison-tests/stub-new-version.js +++ b/test/comparison-tests/stub-new-version.js @@ -5,11 +5,11 @@ const mkdirp = require('mkdirp'); const copySync = require('./copySync'); // BASH script to delete old test output -// find ./test/comparison-tests -type d -name '*expectedOutput*4.7' -print0 | xargs -0 -I {} /bin/rm -rf "{}" +// find ./test/comparison-tests -type d -name '*expectedOutput*4.9' -print0 | xargs -0 -I {} /bin/rm -rf "{}" // update this manually when a new version comes out -const OLD_VERSION = '4.8'; -const NEW_VERSION = '4.9'; +const OLD_VERSION = '4.9'; +const NEW_VERSION = '5.0'; fs.readdirSync(__dirname).forEach(function(test) { const testPath = path.join(__dirname, test); diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.9/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.9/bundle.js deleted file mode 100644 index 83ba5e0f2..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.9/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.9/output.txt deleted file mode 100644 index 2e1a98088..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,22 +0,0 @@ -asset bundle.js 1.35 KiB [emitted] (name: main) -./app.ts 39 bytes [built] [code generated] [3 errors] - -ERROR in tsconfig.json -./app.ts tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -./app.ts tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'. - -ERROR in ./app.ts -Module build failed (from ../../index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist/index.js:17:18) - -2 errors have detailed information that is not shown. -Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. - -webpack compiled with 3 errors \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-5.0/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..a5b7e4b6a --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-5.0/bundle.js @@ -0,0 +1,32 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-5.0/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..bbc2c3b18 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-5.0/output.txt @@ -0,0 +1,22 @@ +asset bundle.js 1.36 KiB [emitted] (name: main) +./app.ts 39 bytes [built] [code generated] [3 errors] + +ERROR in tsconfig.json +./app.ts tsconfig.json +[tsl] ERROR + TS5024: Compiler option 'sourceMap' requires a value of type boolean. + +ERROR in tsconfig.json +./app.ts tsconfig.json +[tsl] ERROR + TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'. + +ERROR in ./app.ts +Module build failed (from ../../index.js): +Error: error while parsing tsconfig.json + at Object.loader (dist/index.js:17:18) + +2 errors have detailed information that is not shown. +Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. + +webpack compiled with 3 errors \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 83ba5e0f2..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index 2e1a98088..000000000 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,22 +0,0 @@ -asset bundle.js 1.35 KiB [emitted] (name: main) -./app.ts 39 bytes [built] [code generated] [3 errors] - -ERROR in tsconfig.json -./app.ts tsconfig.json -[tsl] ERROR - TS5024: Compiler option 'sourceMap' requires a value of type boolean. - -ERROR in tsconfig.json -./app.ts tsconfig.json -[tsl] ERROR - TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'. - -ERROR in ./app.ts -Module build failed (from ../../index.js): -Error: error while parsing tsconfig.json - at Object.loader (dist/index.js:17:18) - -2 errors have detailed information that is not shown. -Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. - -webpack compiled with 3 errors \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..a5b7e4b6a --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,32 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..bbc2c3b18 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,22 @@ +asset bundle.js 1.36 KiB [emitted] (name: main) +./app.ts 39 bytes [built] [code generated] [3 errors] + +ERROR in tsconfig.json +./app.ts tsconfig.json +[tsl] ERROR + TS5024: Compiler option 'sourceMap' requires a value of type boolean. + +ERROR in tsconfig.json +./app.ts tsconfig.json +[tsl] ERROR + TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'esnext'. + +ERROR in ./app.ts +Module build failed (from ../../index.js): +Error: error while parsing tsconfig.json + at Object.loader (dist/index.js:17:18) + +2 errors have detailed information that is not shown. +Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it. + +webpack compiled with 3 errors \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.9/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.9/bundle.js deleted file mode 100644 index 5eef8848d..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.9/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.9/output.txt deleted file mode 100644 index 8145d9246..000000000 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,9 +0,0 @@ -asset bundle.js 1.45 KiB [emitted] (name: main) -./app.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts -Module build failed (from ../../index.js): -Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts - at Object.loader (dist/index.js:17:18) - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-5.0/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..7d287acd5 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-5.0/bundle.js @@ -0,0 +1,32 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-5.0/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..ea90fda7a --- /dev/null +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-5.0/output.txt @@ -0,0 +1,9 @@ +asset bundle.js 1.47 KiB [emitted] (name: main) +./app.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts +Module build failed (from ../../index.js): +Error: A file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts + at Object.loader (dist/index.js:17:18) + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-4.9/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-4.9/bundle.js deleted file mode 100644 index da7c506ab..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./src/app.ts": -/*!********************!*\ - !*** ./src/app.ts ***! - \********************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); - -/***/ }), - -/***/ "./lib/externalLib.js": -/*!****************************!*\ - !*** ./lib/externalLib.js ***! - \****************************/ -/***/ ((module) => { - -eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./src/app.ts"); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-4.9/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-4.9/output.txt deleted file mode 100644 index 43b982046..000000000 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,4 +0,0 @@ -asset bundle.js 2.55 KiB [emitted] (name: main) -./src/app.ts 112 bytes [built] [code generated] -./lib/externalLib.js 55 bytes [built] [code generated] -webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/tsconfigSearch/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/tsconfigSearch/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..2d04b17df --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,67 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./src/app.ts": +/*!********************!*\ + !*** ./src/app.ts ***! + \********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?"); + +/***/ }), + +/***/ "./lib/externalLib.js": +/*!****************************!*\ + !*** ./lib/externalLib.js ***! + \****************************/ +/***/ ((module) => { + +eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./src/app.ts"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..187df947a --- /dev/null +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,4 @@ +asset bundle.js 2.59 KiB [emitted] (name: main) +./src/app.ts 148 bytes [built] [code generated] +./lib/externalLib.js 55 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.9/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-5.0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-4.9/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-5.0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.9/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-5.0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-4.9/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-5.0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch0/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch0/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch1/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch1/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-4.9/patch1/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-5.0/patch1/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch0/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch0/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch1/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch1/bundle.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch1/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch1/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.9/patch1/output.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-5.0/patch1/output.txt diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.9/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.9/bundle.js deleted file mode 100644 index 7051d6d1c..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: 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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:145:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:102:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:14:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.9/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.9/output.txt deleted file mode 100644 index a0256a332..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 2.04 KiB [emitted] (name: main) -./app.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts -Module build failed (from ../../index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames - - at validateLoaderOptions (dist/index.js:145:19) - at getLoaderOptions (dist/index.js:102:5) - at Object.loader (dist/index.js:14:21) - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-5.0/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-5.0/bundle.js new file mode 100644 index 000000000..b48fdbc29 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-5.0/bundle.js @@ -0,0 +1,32 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: 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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/home/john/code/github/ts-loader/dist/index.js:145:19)/n at getLoaderOptions (/home/john/code/github/ts-loader/dist/index.js:102:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:14:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-5.0/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-5.0/output.txt new file mode 100644 index 000000000..d923e01d7 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-5.0/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 2.07 KiB [emitted] (name: main) +./app.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts +Module build failed (from ../../index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames + + at validateLoaderOptions (dist/index.js:145:19) + at getLoaderOptions (dist/index.js:102:5) + at Object.loader (dist/index.js:14:21) + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.9/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.9/bundle.js deleted file mode 100644 index 7051d6d1c..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.9/bundle.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./app.ts": -/*!****************!*\ - !*** ./app.ts ***! - \****************/ -/***/ (() => { - -eval("throw new Error(\"Module build failed (from ../../index.js):/nError: 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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:145:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:102:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:14:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./app.ts"](); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.9/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.9/output.txt deleted file mode 100644 index a0256a332..000000000 --- a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.9/output.txt +++ /dev/null @@ -1,15 +0,0 @@ -asset bundle.js 2.04 KiB [emitted] (name: main) -./app.ts 39 bytes [built] [code generated] [1 error] - -ERROR in ./app.ts -Module build failed (from ../../index.js): -Error: ts-loader was supplied with an unexpected loader option: notRealOption - -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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames - - at validateLoaderOptions (dist/index.js:145:19) - at getLoaderOptions (dist/index.js:102:5) - at Object.loader (dist/index.js:14:21) - -webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-5.0/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-5.0/bundle.js new file mode 100644 index 000000000..b48fdbc29 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-5.0/bundle.js @@ -0,0 +1,32 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/***/ (() => { + +eval("throw new Error(\"Module build failed (from ../../index.js):/nError: 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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/home/john/code/github/ts-loader/dist/index.js:145:19)/n at getLoaderOptions (/home/john/code/github/ts-loader/dist/index.js:102:5)/n at Object.loader (/home/john/code/github/ts-loader/dist/index.js:14:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined +/******/ var __webpack_exports__ = {}; +/******/ __webpack_modules__["./app.ts"](); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-5.0/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-5.0/output.txt new file mode 100644 index 000000000..d923e01d7 --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-5.0/output.txt @@ -0,0 +1,15 @@ +asset bundle.js 2.07 KiB [emitted] (name: main) +./app.ts 39 bytes [built] [code generated] [1 error] + +ERROR in ./app.ts +Module build failed (from ../../index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +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 / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective / useCaseSensitiveFileNames + + at validateLoaderOptions (dist/index.js:145:19) + at getLoaderOptions (dist/index.js:102:5) + at Object.loader (dist/index.js:14:21) + +webpack compiled with 1 error \ No newline at end of file diff --git a/test/execution-tests/pnpm/karma.conf.js b/test/execution-tests/pnpm/karma.conf.js new file mode 100644 index 000000000..a38a197f0 --- /dev/null +++ b/test/execution-tests/pnpm/karma.conf.js @@ -0,0 +1,17 @@ +/* eslint-disable no-var, strict */ +'use strict'; +var webpackConfig = require('./webpack.config.js'); +var makeKarmaConfig = require('../../karmaConfig'); + +module.exports = function(config) { + config.set( + makeKarmaConfig({ + config, + webpackConfig, + files: [ + // This ensures we have the es6 shims in place from babel and then loads all the tests + 'main.js' + ] + }) + ); +}; diff --git a/test/execution-tests/pnpm/main.js b/test/execution-tests/pnpm/main.js new file mode 100644 index 000000000..118f90112 --- /dev/null +++ b/test/execution-tests/pnpm/main.js @@ -0,0 +1,2 @@ +const testsContext = require.context('./', true, /\.tests\.ts(x?)$/); +testsContext.keys().forEach(testsContext); diff --git a/test/execution-tests/pnpm/package.json b/test/execution-tests/pnpm/package.json index d8bd3b147..a8df49d32 100644 --- a/test/execution-tests/pnpm/package.json +++ b/test/execution-tests/pnpm/package.json @@ -4,7 +4,8 @@ "dependencies": { "@types/react": "16.3.12", "@types/react-dom": "16.0.5", - "office-ui-fabric-react": "5.88.0", + "@types/jasmine": "^2.5.35", + "jasmine-core": "^2.3.4", "react": "16.3.2", "react-dom": "16.3.2" } diff --git a/test/execution-tests/pnpm/pnpm-lock.yaml b/test/execution-tests/pnpm/pnpm-lock.yaml index 72e6d3315..280b2fa3f 100644 --- a/test/execution-tests/pnpm/pnpm-lock.yaml +++ b/test/execution-tests/pnpm/pnpm-lock.yaml @@ -1,370 +1,178 @@ +lockfileVersion: '6.0' + dependencies: - '@types/react': registry.npmjs.org/@types/react/16.3.12 - '@types/react-dom': registry.npmjs.org/@types/react-dom/16.0.5 - office-ui-fabric-react: registry.npmjs.org/office-ui-fabric-react/5.88.0_e988b2cc8bc9683402b3bc67ea579787 - react: registry.npmjs.org/react/16.3.2 - react-dom: registry.npmjs.org/react-dom/16.3.2_react@16.3.2 -lockfileVersion: 5.1 + '@types/jasmine': + specifier: ^2.5.35 + version: 2.5.35 + '@types/react': + specifier: 16.3.12 + version: 16.3.12 + '@types/react-dom': + specifier: 16.0.5 + version: 16.0.5 + jasmine-core: + specifier: ^2.3.4 + version: 2.3.4 + react: + specifier: 16.3.2 + version: 16.3.2 + react-dom: + specifier: 16.3.2 + version: 16.3.2(react@16.3.2) + packages: - registry.npmjs.org/@microsoft/load-themed-styles/1.10.65: + + /@types/jasmine@2.5.35: + resolution: {integrity: sha512-DBseBO+tTFQY3yAC7QZNpH59TtwS7u93g6moA1NYWkGBGF1loOYA5uZ5R6wnA7nH6vj0kN1k1RcLo8uAGL5VfA==} dev: false - name: '@microsoft/load-themed-styles' - resolution: - integrity: sha512-4sLbMM9aywtSMRHebh912/6n4/lC/go6QlTbbQfIBBtfy0oQJdDOW1KtfZfSGPggoPiNEzA7xnVsFCFyMnZyEg== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@microsoft/load-themed-styles/-/load-themed-styles-1.10.65.tgz' - version: 1.10.65 - registry.npmjs.org/@types/node/14.0.22: + + /@types/node@18.15.11: + resolution: {integrity: sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==} dev: false - name: '@types/node' - resolution: - integrity: sha512-emeGcJvdiZ4Z3ohbmw93E/64jRzUHAItSHt8nF7M4TGgQTiWqFVGB8KNpLGFmUHmHLvjvBgFwVlqNcq+VuGv9g== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@types/node/-/node-14.0.22.tgz' - version: 14.0.22 - registry.npmjs.org/@types/react-dom/16.0.5: + + /@types/react-dom@16.0.5: + resolution: {integrity: sha512-ony2hEYlGXCLWNAWWgbsHR7qVvDbeMRFc5b43+7dhj3n+zXzxz81HV9Yjpc3JD8vLCiwYoSLqFCI6bD0+0zG2Q==} dependencies: - '@types/node': registry.npmjs.org/@types/node/14.0.22 - '@types/react': registry.npmjs.org/@types/react/16.3.12 + '@types/node': 18.15.11 + '@types/react': 16.3.12 dev: false - name: '@types/react-dom' - resolution: - integrity: sha512-ony2hEYlGXCLWNAWWgbsHR7qVvDbeMRFc5b43+7dhj3n+zXzxz81HV9Yjpc3JD8vLCiwYoSLqFCI6bD0+0zG2Q== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@types/react-dom/-/react-dom-16.0.5.tgz' - version: 16.0.5 - registry.npmjs.org/@types/react/16.3.12: + + /@types/react@16.3.12: + resolution: {integrity: sha512-FfBhLC3QeXXEtjoGGLixS7cB305vzBOM1dZKtbUuXeTfjY0quzRRMxpqylC4QyUaLqdhNLdER0ZdHUGAVlGSCA==} dependencies: - csstype: registry.npmjs.org/csstype/2.6.11 + csstype: 2.6.21 dev: false - name: '@types/react' - resolution: - integrity: sha512-FfBhLC3QeXXEtjoGGLixS7cB305vzBOM1dZKtbUuXeTfjY0quzRRMxpqylC4QyUaLqdhNLdER0ZdHUGAVlGSCA== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@types/react/-/react-16.3.12.tgz' - version: 16.3.12 - registry.npmjs.org/@uifabric/icons/5.8.0_e988b2cc8bc9683402b3bc67ea579787: - dependencies: - '@uifabric/styling': registry.npmjs.org/@uifabric/styling/5.37.0_e988b2cc8bc9683402b3bc67ea579787 - tslib: registry.npmjs.org/tslib/1.13.0 + + /asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} dev: false - id: registry.npmjs.org/@uifabric/icons/5.8.0 - name: '@uifabric/icons' - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: '*' - react-dom: '*' - resolution: - integrity: sha512-EUhKxYlIPJshg4fQvCNTYSk0p7RhzEWeEAJBV4sao1SKmN0/pZBnkLbDqWjU5VUfdwZZYiIdaLRpM+pyzhniZw== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@uifabric/icons/-/icons-5.8.0.tgz' - version: 5.8.0 - registry.npmjs.org/@uifabric/merge-styles/5.17.1: - dependencies: - tslib: registry.npmjs.org/tslib/1.13.0 + + /core-js@1.2.7: + resolution: {integrity: sha512-ZiPp9pZlgxpWRu0M+YWbm6+aQ84XEfH1JRXvfOc/fILWI0VKhLC2LX13X1NYq4fULzLMq7Hfh43CSo2/aIaUPA==} + deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. dev: false - name: '@uifabric/merge-styles' - resolution: - integrity: sha512-4/EtO6Ns7kNtKxC+6InShwVQeNQEDT5H8Ex7m/i4OrT9i7csje4YwBQPkkpm31qJwEZEyD7bbAwyLezI63sLhg== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@uifabric/merge-styles/-/merge-styles-5.17.1.tgz' - version: 5.17.1 - registry.npmjs.org/@uifabric/styling/5.37.0_e988b2cc8bc9683402b3bc67ea579787: - dependencies: - '@microsoft/load-themed-styles': registry.npmjs.org/@microsoft/load-themed-styles/1.10.65 - '@uifabric/merge-styles': registry.npmjs.org/@uifabric/merge-styles/5.17.1 - '@uifabric/utilities': registry.npmjs.org/@uifabric/utilities/5.34.3_e988b2cc8bc9683402b3bc67ea579787 - tslib: registry.npmjs.org/tslib/1.13.0 + + /csstype@2.6.21: + resolution: {integrity: sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==} dev: false - id: registry.npmjs.org/@uifabric/styling/5.37.0 - name: '@uifabric/styling' - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: '*' - react-dom: '*' - resolution: - integrity: sha512-3hC0itW/hWSD5J4uANzUKk8XVGWUNkU+VLjEjWsQ6i5lvwFGaanR6Qy0bTkZdFGqFWMXe91CkBHV7HnvEx7tCA== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@uifabric/styling/-/styling-5.37.0.tgz' - version: 5.37.0 - registry.npmjs.org/@uifabric/utilities/5.34.3_e988b2cc8bc9683402b3bc67ea579787: + + /encoding@0.1.13: + resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} dependencies: - '@types/react': registry.npmjs.org/@types/react/16.3.12 - '@types/react-dom': registry.npmjs.org/@types/react-dom/16.0.5 - '@uifabric/merge-styles': registry.npmjs.org/@uifabric/merge-styles/5.17.1 - prop-types: registry.npmjs.org/prop-types/15.7.2 - react: registry.npmjs.org/react/16.3.2 - react-dom: registry.npmjs.org/react-dom/16.3.2_react@16.3.2 - tslib: registry.npmjs.org/tslib/1.13.0 - dev: false - id: registry.npmjs.org/@uifabric/utilities/5.34.3 - name: '@uifabric/utilities' - peerDependencies: - '@types/react': ^0.14.x || ^15.x || ^16.x - '@types/react-dom': ^0.14.x || ^15.x || ^16.x - react: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - react-dom: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - resolution: - integrity: sha512-6dERFkNNCUrPUuNG1nxlDDvt7DN5hxb41zp9AmKhK5cXZTYCblmlLBvb/qyielCnicfoagoA+lqH9NgnSE8u/A== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/@uifabric/utilities/-/utilities-5.34.3.tgz' - version: 5.34.3 - registry.npmjs.org/asap/2.0.6: - dev: false - name: asap - resolution: - integrity: sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/asap/-/asap-2.0.6.tgz' - version: 2.0.6 - registry.npmjs.org/core-js/1.2.7: - deprecated: 'core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.' - dev: false - name: core-js - resolution: - integrity: sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz' - version: 1.2.7 - registry.npmjs.org/csstype/2.6.11: + iconv-lite: 0.6.3 dev: false - name: csstype - resolution: - integrity: sha512-l8YyEC9NBkSm783PFTvh0FmJy7s5pFKrDp49ZL7zBGX3fWkO+N4EEyan1qqp8cwPLDcD0OSdyY6hAMoxp34JFw== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/csstype/-/csstype-2.6.11.tgz' - version: 2.6.11 - registry.npmjs.org/encoding/0.1.13: + + /fbjs@0.8.18: + resolution: {integrity: sha512-EQaWFK+fEPSoibjNy8IxUtaFOMXcWsY0JaVrQoZR9zC8N2Ygf9iDITPWjUTVIax95b6I742JFLqASHfsag/vKA==} dependencies: - iconv-lite: registry.npmjs.org/iconv-lite/0.6.2 + core-js: 1.2.7 + isomorphic-fetch: 2.2.1 + loose-envify: 1.4.0 + object-assign: 4.1.1 + promise: 7.3.1 + setimmediate: 1.0.5 + ua-parser-js: 0.7.35 dev: false - name: encoding - resolution: - integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz' - version: 0.1.13 - registry.npmjs.org/fbjs/0.8.17: + + /iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} dependencies: - core-js: registry.npmjs.org/core-js/1.2.7 - isomorphic-fetch: registry.npmjs.org/isomorphic-fetch/2.2.1 - loose-envify: registry.npmjs.org/loose-envify/1.4.0 - object-assign: registry.npmjs.org/object-assign/4.1.1 - promise: registry.npmjs.org/promise/7.3.1 - setimmediate: registry.npmjs.org/setimmediate/1.0.5 - ua-parser-js: registry.npmjs.org/ua-parser-js/0.7.21 + safer-buffer: 2.1.2 dev: false - name: fbjs - resolution: - integrity: sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz' - version: 0.8.17 - registry.npmjs.org/iconv-lite/0.6.2: - dependencies: - safer-buffer: registry.npmjs.org/safer-buffer/2.1.2 - dev: false - engines: - node: '>=0.10.0' - name: iconv-lite - resolution: - integrity: sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz' - version: 0.6.2 - registry.npmjs.org/is-stream/1.1.0: + + /is-stream@1.1.0: + resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} + engines: {node: '>=0.10.0'} dev: false - engines: - node: '>=0.10.0' - name: is-stream - resolution: - integrity: sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz' - version: 1.1.0 - registry.npmjs.org/isomorphic-fetch/2.2.1: + + /isomorphic-fetch@2.2.1: + resolution: {integrity: sha512-9c4TNAKYXM5PRyVcwUZrF3W09nQ+sO7+jydgs4ZGW9dhsLG2VOlISJABombdQqQRXCwuYG3sYV/puGf5rp0qmA==} dependencies: - node-fetch: registry.npmjs.org/node-fetch/1.7.3 - whatwg-fetch: registry.npmjs.org/whatwg-fetch/3.2.0 + node-fetch: 1.7.3 + whatwg-fetch: 3.6.2 dev: false - name: isomorphic-fetch - resolution: - integrity: sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz' - version: 2.2.1 - registry.npmjs.org/js-tokens/4.0.0: + + /jasmine-core@2.3.4: + resolution: {integrity: sha512-aYZdnbyg7AZ5aqxyVn2fR8OAtm2SbnnQKOVIcQFowT3MpB5DiNsPLXHSzQMBOEL2+a9CvPp1/yY2Z4s4eg5YBw==} dev: false - name: js-tokens - resolution: - integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz' - version: 4.0.0 - registry.npmjs.org/loose-envify/1.4.0: - dependencies: - js-tokens: registry.npmjs.org/js-tokens/4.0.0 + + /js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: false + + /loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true - name: loose-envify - resolution: - integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz' - version: 1.4.0 - registry.npmjs.org/node-fetch/1.7.3: dependencies: - encoding: registry.npmjs.org/encoding/0.1.13 - is-stream: registry.npmjs.org/is-stream/1.1.0 - dev: false - name: node-fetch - resolution: - integrity: sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz' - version: 1.7.3 - registry.npmjs.org/object-assign/4.1.1: + js-tokens: 4.0.0 dev: false - engines: - node: '>=0.10.0' - name: object-assign - resolution: - integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz' - version: 4.1.1 - registry.npmjs.org/office-ui-fabric-react/5.88.0_e988b2cc8bc9683402b3bc67ea579787: + + /node-fetch@1.7.3: + resolution: {integrity: sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==} dependencies: - '@microsoft/load-themed-styles': registry.npmjs.org/@microsoft/load-themed-styles/1.10.65 - '@uifabric/icons': registry.npmjs.org/@uifabric/icons/5.8.0_e988b2cc8bc9683402b3bc67ea579787 - '@uifabric/merge-styles': registry.npmjs.org/@uifabric/merge-styles/5.17.1 - '@uifabric/styling': registry.npmjs.org/@uifabric/styling/5.37.0_e988b2cc8bc9683402b3bc67ea579787 - '@uifabric/utilities': registry.npmjs.org/@uifabric/utilities/5.34.3_e988b2cc8bc9683402b3bc67ea579787 - prop-types: registry.npmjs.org/prop-types/15.7.2 - react: registry.npmjs.org/react/16.3.2 - react-dom: registry.npmjs.org/react-dom/16.3.2_react@16.3.2 - tslib: registry.npmjs.org/tslib/1.13.0 + encoding: 0.1.13 + is-stream: 1.1.0 dev: false - id: registry.npmjs.org/office-ui-fabric-react/5.88.0 - name: office-ui-fabric-react - peerDependencies: - '@types/react': '*' - '@types/react-dom': '*' - react: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - react-dom: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - resolution: - integrity: sha512-Rz6q7wlIYwVurNqDusWX9YbvXjDsIS2qbRsam1Dg6iuNTefrZHFGrYV2c7T3NOBMEAA7Nc9muThqogHOF6lxQw== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-5.88.0.tgz' - version: 5.88.0 - registry.npmjs.org/promise/7.3.1: - dependencies: - asap: registry.npmjs.org/asap/2.0.6 + + /object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} dev: false - name: promise - resolution: - integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/promise/-/promise-7.3.1.tgz' - version: 7.3.1 - registry.npmjs.org/prop-types/15.7.2: + + /promise@7.3.1: + resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} dependencies: - loose-envify: registry.npmjs.org/loose-envify/1.4.0 - object-assign: registry.npmjs.org/object-assign/4.1.1 - react-is: registry.npmjs.org/react-is/16.13.1 + asap: 2.0.6 dev: false - name: prop-types - resolution: - integrity: sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz' - version: 15.7.2 - registry.npmjs.org/react-dom/16.3.2_react@16.3.2: + + /prop-types@15.8.1: + resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} dependencies: - fbjs: registry.npmjs.org/fbjs/0.8.17 - loose-envify: registry.npmjs.org/loose-envify/1.4.0 - object-assign: registry.npmjs.org/object-assign/4.1.1 - prop-types: registry.npmjs.org/prop-types/15.7.2 - react: registry.npmjs.org/react/16.3.2 - deprecated: 'This version of react-dom/server contains a minor vulnerability. Please update react-dom to 16.3.3 or 16.4.2+. Learn more: https://fb.me/cve-2018-6341' + loose-envify: 1.4.0 + object-assign: 4.1.1 + react-is: 16.13.1 dev: false - id: registry.npmjs.org/react-dom/16.3.2 - name: react-dom + + /react-dom@16.3.2(react@16.3.2): + resolution: {integrity: sha512-MMPko3zYncNrz/7gG17wJWUREZDvskZHXOwbttzl0F0L3wDmToyuETuo/r8Y5yvDejwYcRyWI1lvVBjLJWFwKA==} + deprecated: 'This version of react-dom/server contains a minor vulnerability. Please update react-dom to 16.3.3 or 16.4.2+. Learn more: https://fb.me/cve-2018-6341' peerDependencies: react: ^16.0.0 - resolution: - integrity: sha512-MMPko3zYncNrz/7gG17wJWUREZDvskZHXOwbttzl0F0L3wDmToyuETuo/r8Y5yvDejwYcRyWI1lvVBjLJWFwKA== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/react-dom/-/react-dom-16.3.2.tgz' - version: 16.3.2 - registry.npmjs.org/react-is/16.13.1: - dev: false - name: react-is - resolution: - integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz' - version: 16.13.1 - registry.npmjs.org/react/16.3.2: dependencies: - fbjs: registry.npmjs.org/fbjs/0.8.17 - loose-envify: registry.npmjs.org/loose-envify/1.4.0 - object-assign: registry.npmjs.org/object-assign/4.1.1 - prop-types: registry.npmjs.org/prop-types/15.7.2 + fbjs: 0.8.18 + loose-envify: 1.4.0 + object-assign: 4.1.1 + prop-types: 15.8.1 + react: 16.3.2 dev: false - engines: - node: '>=0.10.0' - name: react - resolution: - integrity: sha512-o5GPdkhciQ3cEph6qgvYB7LTOHw/GB0qRI6ZFNugj49qJCFfgHwVNjZ5u+b7nif4vOeMIOuYj3CeYe2IBD74lg== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/react/-/react-16.3.2.tgz' - version: 16.3.2 - registry.npmjs.org/safer-buffer/2.1.2: + + /react-is@16.13.1: + resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} + dev: false + + /react@16.3.2: + resolution: {integrity: sha512-o5GPdkhciQ3cEph6qgvYB7LTOHw/GB0qRI6ZFNugj49qJCFfgHwVNjZ5u+b7nif4vOeMIOuYj3CeYe2IBD74lg==} + engines: {node: '>=0.10.0'} + dependencies: + fbjs: 0.8.18 + loose-envify: 1.4.0 + object-assign: 4.1.1 + prop-types: 15.8.1 dev: false - name: safer-buffer - resolution: - integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz' - version: 2.1.2 - registry.npmjs.org/setimmediate/1.0.5: + + /safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} dev: false - name: setimmediate - resolution: - integrity: sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz' - version: 1.0.5 - registry.npmjs.org/tslib/1.13.0: + + /setimmediate@1.0.5: + resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} dev: false - name: tslib - resolution: - integrity: sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz' - version: 1.13.0 - registry.npmjs.org/ua-parser-js/0.7.21: + + /ua-parser-js@0.7.35: + resolution: {integrity: sha512-veRf7dawaj9xaWEu9HoTVn5Pggtc/qj+kqTOFvNiN1l0YdxwC1kvel57UCjThjGa3BHBihE8/UJAHI+uQHmd/g==} dev: false - name: ua-parser-js - resolution: - integrity: sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.21.tgz' - version: 0.7.21 - registry.npmjs.org/whatwg-fetch/3.2.0: + + /whatwg-fetch@3.6.2: + resolution: {integrity: sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==} dev: false - name: whatwg-fetch - resolution: - integrity: sha512-SdGPoQMMnzVYThUbSrEvqTlkvC1Ux27NehaJ/GUHBfNrh5Mjg+1/uRyFMwVnxO2MrikMWvWAqUGgQOfVU4hT7w== - registry: 'https://registry.yarnpkg.com/' - tarball: 'https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.2.0.tgz' - version: 3.2.0 -specifiers: - '@types/react': 16.3.12 - '@types/react-dom': 16.0.5 - office-ui-fabric-react: 5.88.0 - react: 16.3.2 - react-dom: 16.3.2 diff --git a/test/execution-tests/pnpm/shrinkwrap.yaml b/test/execution-tests/pnpm/shrinkwrap.yaml deleted file mode 100644 index f23fe5a99..000000000 --- a/test/execution-tests/pnpm/shrinkwrap.yaml +++ /dev/null @@ -1,216 +0,0 @@ -dependencies: - '@types/react': 16.3.12 - '@types/react-dom': 16.0.5 - office-ui-fabric-react: 5.88.0 - react: 16.3.2 - react-dom: 16.3.2 -packages: - /@microsoft/load-themed-styles/1.7.56: - dev: false - resolution: - integrity: sha1-/fyQ+yS9QnMx1xuDzLjtJ69/4pM= - /@types/node/10.0.4: - dev: false - resolution: - integrity: sha512-RisaZmcmCLjRipAY7nVi3fmkIk4Z0JMn8YHdGF6qYMsIDpD0dfzz+3yy2dL5Q5aHWOnqPx51IRxkA44myknJvw== - /@types/react-dom/16.0.5: - dependencies: - '@types/node': 10.0.4 - '@types/react': 16.3.12 - dev: false - resolution: - integrity: sha512-ony2hEYlGXCLWNAWWgbsHR7qVvDbeMRFc5b43+7dhj3n+zXzxz81HV9Yjpc3JD8vLCiwYoSLqFCI6bD0+0zG2Q== - /@types/react/16.3.12: - dependencies: - csstype: 2.4.2 - dev: false - resolution: - integrity: sha512-FfBhLC3QeXXEtjoGGLixS7cB305vzBOM1dZKtbUuXeTfjY0quzRRMxpqylC4QyUaLqdhNLdER0ZdHUGAVlGSCA== - /@uifabric/icons/5.7.1: - dependencies: - '@uifabric/styling': 5.30.1 - tslib: 1.9.0 - dev: false - resolution: - integrity: sha512-UwfDU6A0bj/QAdTsO20g9mrKXo3zxvumkBWx0F0sEHn1DF/IQDiq4zYVBjRZ3NikQe2o7koWe3Gb0NR84Qr2Sg== - /@uifabric/merge-styles/5.17.0: - dependencies: - tslib: 1.9.0 - dev: false - resolution: - integrity: sha512-xA4sbfKgOAx42gD56/ch8hWI6b7Gp70JM0kMnTIyF0oPWd12Lkvm5IVy1QZWxPE9YENIj5fn/mFWV2qkWKnJxQ== - /@uifabric/styling/5.30.1: - dependencies: - '@microsoft/load-themed-styles': 1.7.56 - '@uifabric/merge-styles': 5.17.0 - '@uifabric/utilities': 5.30.1 - tslib: 1.9.0 - dev: false - resolution: - integrity: sha512-FIPfljABxmhOp7f2ppR3/07D055dtAygtk5MIVhTzrJsyJuVFU560k7EyxJzXoMFptRaA3TH4obROP6qe8jQgA== - /@uifabric/utilities/5.30.1: - dependencies: - '@uifabric/merge-styles': 5.17.0 - prop-types: 15.6.1 - tslib: 1.9.0 - dev: false - peerDependencies: - react: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - react-dom: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - resolution: - integrity: sha512-IbLhsCjkubLv/yAx+OxIQjXhGXxy5J7WpZMzsV9lPM6/CLXdfSkU5eX9C0FsvnGGzdaG2TzVqUFks1Z3VrqZFA== - /asap/2.0.6: - dev: false - resolution: - integrity: sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= - /core-js/1.2.7: - dev: false - resolution: - integrity: sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY= - /csstype/2.4.2: - dev: false - resolution: - integrity: sha512-1TnkyZwDy0oUl//6685j2bTMNe61SzntWntijNdmmEzvpYbGmVMZkj204gv4glcQp6z/ypg+YRziT91XVFmOyg== - /encoding/0.1.12: - dependencies: - iconv-lite: 0.4.21 - dev: false - resolution: - integrity: sha1-U4tm8+5izRq1HsMjgp0flIDHS+s= - /fbjs/0.8.16: - dependencies: - core-js: 1.2.7 - isomorphic-fetch: 2.2.1 - loose-envify: 1.3.1 - object-assign: 4.1.1 - promise: 7.3.1 - setimmediate: 1.0.5 - ua-parser-js: 0.7.18 - dev: false - resolution: - integrity: sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s= - /iconv-lite/0.4.21: - dependencies: - safer-buffer: 2.1.2 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha512-En5V9za5mBt2oUA03WGD3TwDv0MKAruqsuxstbMUZaj9W9k/m1CV/9py3l0L5kw9Bln8fdHQmzHSYtvpvTLpKw== - /is-stream/1.1.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-EtSj3U5o4Lec6428hBc66A2RykQ= - /isomorphic-fetch/2.2.1: - dependencies: - node-fetch: 1.7.3 - whatwg-fetch: 2.0.4 - dev: false - resolution: - integrity: sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk= - /js-tokens/3.0.2: - dev: false - resolution: - integrity: sha1-mGbfOVECEw449/mWvOtlRDIJwls= - /loose-envify/1.3.1: - dependencies: - js-tokens: 3.0.2 - dev: false - hasBin: true - resolution: - integrity: sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg= - /node-fetch/1.7.3: - dependencies: - encoding: 0.1.12 - is-stream: 1.1.0 - dev: false - resolution: - integrity: sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ== - /object-assign/4.1.1: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - /office-ui-fabric-react/5.88.0: - dependencies: - '@microsoft/load-themed-styles': 1.7.56 - '@uifabric/icons': 5.7.1 - '@uifabric/merge-styles': 5.17.0 - '@uifabric/styling': 5.30.1 - '@uifabric/utilities': 5.30.1 - prop-types: 15.6.1 - tslib: 1.9.0 - dev: false - peerDependencies: - react: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - react-dom: ^0.14.9 || ^15.0.1-0 || ^16.0.0-0 - resolution: - integrity: sha512-Rz6q7wlIYwVurNqDusWX9YbvXjDsIS2qbRsam1Dg6iuNTefrZHFGrYV2c7T3NOBMEAA7Nc9muThqogHOF6lxQw== - /promise/7.3.1: - dependencies: - asap: 2.0.6 - dev: false - resolution: - integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== - /prop-types/15.6.1: - dependencies: - fbjs: 0.8.16 - loose-envify: 1.3.1 - object-assign: 4.1.1 - dev: false - resolution: - integrity: sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ== - /react-dom/16.3.2: - dependencies: - fbjs: 0.8.16 - loose-envify: 1.3.1 - object-assign: 4.1.1 - prop-types: 15.6.1 - dev: false - peerDependencies: - react: ^16.0.0 - resolution: - integrity: sha512-MMPko3zYncNrz/7gG17wJWUREZDvskZHXOwbttzl0F0L3wDmToyuETuo/r8Y5yvDejwYcRyWI1lvVBjLJWFwKA== - /react/16.3.2: - dependencies: - fbjs: 0.8.16 - loose-envify: 1.3.1 - object-assign: 4.1.1 - prop-types: 15.6.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha512-o5GPdkhciQ3cEph6qgvYB7LTOHw/GB0qRI6ZFNugj49qJCFfgHwVNjZ5u+b7nif4vOeMIOuYj3CeYe2IBD74lg== - /safer-buffer/2.1.2: - dev: false - resolution: - integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - /setimmediate/1.0.5: - dev: false - resolution: - integrity: sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= - /tslib/1.9.0: - dev: false - resolution: - integrity: sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ== - /ua-parser-js/0.7.18: - dev: false - resolution: - integrity: sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA== - /whatwg-fetch/2.0.4: - dev: false - resolution: - integrity: sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng== -registry: 'https://registry.npmjs.org/' -shrinkwrapMinorVersion: 9 -shrinkwrapVersion: 3 -specifiers: - '@types/react': 16.3.12 - '@types/react-dom': 16.0.5 - office-ui-fabric-react: 5.88.0 - react: 16.3.2 - react-dom: 16.3.2 diff --git a/test/execution-tests/pnpm/src/index.ts b/test/execution-tests/pnpm/src/index.ts index 56fe67bbc..056327134 100644 --- a/test/execution-tests/pnpm/src/index.ts +++ b/test/execution-tests/pnpm/src/index.ts @@ -1,3 +1,4 @@ -import { mergeStyles } from 'office-ui-fabric-react/lib/Styling'; +import { version } from 'react'; -mergeStyles({}); \ No newline at end of file +export const reactVersion = version; +console.log('reactVersion', reactVersion); \ No newline at end of file diff --git a/test/execution-tests/pnpm/test/index.tests.ts b/test/execution-tests/pnpm/test/index.tests.ts new file mode 100644 index 000000000..123f8d1ea --- /dev/null +++ b/test/execution-tests/pnpm/test/index.tests.ts @@ -0,0 +1,7 @@ +import { reactVersion } from '../src/index'; + +describe("index", () => { + it("reactVersion can be called and returns the expected value", () => { + expect(reactVersion).toBe("16.3.2"); + }); +}); diff --git a/test/execution-tests/run-tests.js b/test/execution-tests/run-tests.js index 8972fc6a2..2f3808554 100644 --- a/test/execution-tests/run-tests.js +++ b/test/execution-tests/run-tests.js @@ -129,9 +129,10 @@ function runTests(testName) { var karmaConfPath = path.join(testPath, 'karma.conf.js'); var debug = process.argv.indexOf('--debug') > -1; - if (pathExists(path.join(testPath, 'shrinkwrap.yaml'))) { - console.log('npx pnpm install into ' + testPath); - execSync('npx pnpm install --force', { cwd: testPath, stdio: 'inherit' }); + if (pathExists(path.join(testPath, 'pnpm-lock.yaml'))) { + console.log('npm install -g pnpm into ' + testPath); + execSync('npm install -g pnpm', { cwd: testPath, stdio: 'inherit' }); + execSync('pnpm install', { cwd: testPath, stdio: 'inherit' }); } else if (pathExists(path.join(testPath, 'package.json'))) { console.log('yarn install into ' + testPath); execSync('yarn install', { cwd: testPath, stdio: 'inherit' }); diff --git a/yarn.lock b/yarn.lock index 59f989cbb..74d89bf9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14,7 +14,7 @@ "@eslint/eslintrc@^2.0.0": version "2.0.0" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.0.tgz#943309d8697c52fc82c076e90c1c74fbbe69dbff" + resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz" integrity sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A== dependencies: ajv "^6.12.4" @@ -29,12 +29,12 @@ "@eslint/js@8.35.0": version "8.35.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.35.0.tgz#b7569632b0b788a0ca0e438235154e45d42813a7" + resolved "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz" integrity sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw== "@humanwhocodes/config-array@^0.11.8": version "0.11.8" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" + resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz" integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== dependencies: "@humanwhocodes/object-schema" "^1.2.1" @@ -43,12 +43,12 @@ "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + resolved "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== "@humanwhocodes/object-schema@^1.2.1": version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" + resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== "@jridgewell/gen-mapping@^0.3.0": @@ -100,7 +100,7 @@ "@nodelib/fs.scandir@2.1.5": version "2.1.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: "@nodelib/fs.stat" "2.0.5" @@ -112,7 +112,7 @@ "@nodelib/fs.stat@2.0.5": version "2.0.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== "@nodelib/fs.walk@^1.2.3": @@ -124,7 +124,7 @@ "@nodelib/fs.walk@^1.2.8": version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: "@nodelib/fs.scandir" "2.1.5" @@ -182,7 +182,7 @@ "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== "@types/micromatch@^4.0.0": @@ -197,7 +197,7 @@ "@types/semver@^7.3.12": version "7.3.13" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" + resolved "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz" integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== "@types/semver@^7.3.4": @@ -206,7 +206,7 @@ "@typescript-eslint/eslint-plugin@^5.0.0": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.54.1.tgz#0c5091289ce28372e38ab8d28e861d2dbe1ab29e" + resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.54.1.tgz" integrity sha512-a2RQAkosH3d3ZIV08s3DcL/mcGc2M/UC528VkPULFxR9VnVPT8pBu0IyBAJJmVsCmhVfwQX1v6q+QGnmSe1bew== dependencies: "@typescript-eslint/scope-manager" "5.54.1" @@ -222,7 +222,7 @@ "@typescript-eslint/parser@^5.0.0": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.54.1.tgz#05761d7f777ef1c37c971d3af6631715099b084c" + resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.54.1.tgz" integrity sha512-8zaIXJp/nG9Ff9vQNh7TI+C3nA6q6iIsGJ4B4L6MhZ7mHnTMR4YP5vp2xydmFXIy8rpyIVbNAG44871LMt6ujg== dependencies: "@typescript-eslint/scope-manager" "5.54.1" @@ -232,7 +232,7 @@ "@typescript-eslint/scope-manager@5.54.1": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.54.1.tgz#6d864b4915741c608a58ce9912edf5a02bb58735" + resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.1.tgz" integrity sha512-zWKuGliXxvuxyM71UA/EcPxaviw39dB2504LqAmFDjmkpO8qNLHcmzlh6pbHs1h/7YQ9bnsO8CCcYCSA8sykUg== dependencies: "@typescript-eslint/types" "5.54.1" @@ -240,7 +240,7 @@ "@typescript-eslint/type-utils@5.54.1": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.54.1.tgz#4825918ec27e55da8bb99cd07ec2a8e5f50ab748" + resolved "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.54.1.tgz" integrity sha512-WREHsTz0GqVYLIbzIZYbmUUr95DKEKIXZNH57W3s+4bVnuF1TKe2jH8ZNH8rO1CeMY3U4j4UQeqPNkHMiGem3g== dependencies: "@typescript-eslint/typescript-estree" "5.54.1" @@ -250,12 +250,12 @@ "@typescript-eslint/types@5.54.1": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.54.1.tgz#29fbac29a716d0f08c62fe5de70c9b6735de215c" + resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.1.tgz" integrity sha512-G9+1vVazrfAfbtmCapJX8jRo2E4MDXxgm/IMOF4oGh3kq7XuK3JRkOg6y2Qu1VsTRmWETyTkWt1wxy7X7/yLkw== "@typescript-eslint/typescript-estree@5.54.1": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.1.tgz#df7b6ae05fd8fef724a87afa7e2f57fa4a599be1" + resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.1.tgz" integrity sha512-bjK5t+S6ffHnVwA0qRPTZrxKSaFYocwFIkZx5k7pvWfsB1I57pO/0M0Skatzzw1sCkjJ83AfGTL0oFIFiDX3bg== dependencies: "@typescript-eslint/types" "5.54.1" @@ -268,7 +268,7 @@ "@typescript-eslint/utils@5.54.1": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.54.1.tgz#7a3ee47409285387b9d4609ea7e1020d1797ec34" + resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.54.1.tgz" integrity sha512-IY5dyQM8XD1zfDe5X8jegX6r2EVU5o/WJnLu/znLPWCBF7KNGC+adacXnt5jEYS9JixDcoccI6CvE4RCjHMzCQ== dependencies: "@types/json-schema" "^7.0.9" @@ -282,7 +282,7 @@ "@typescript-eslint/visitor-keys@5.54.1": version "5.54.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.1.tgz#d7a8a0f7181d6ac748f4d47b2306e0513b98bf8b" + resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.1.tgz" integrity sha512-q8iSoHTgwCfgcRJ2l2x+xCbu8nBlRAlsQ33k24Adj8eoVBE0f8dUeI+bAa8F84Mv05UGbAx57g2zrRsYIooqQg== dependencies: "@typescript-eslint/types" "5.54.1" @@ -448,7 +448,7 @@ acorn-import-assertions@^1.7.6: acorn-jsx@^5.3.2: version "5.3.2" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn@^8.5.0, acorn@^8.7.1: @@ -458,7 +458,7 @@ acorn@^8.5.0, acorn@^8.7.1: acorn@^8.8.0: version "8.8.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz" integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== ajv-keywords@^3.5.2: @@ -506,7 +506,7 @@ ansi-regex@^5.0.0: ansi-regex@^5.0.1: version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-styles@^2.2.1: @@ -548,7 +548,7 @@ argparse@^1.0.10, argparse@^1.0.7: argparse@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== arr-diff@^4.0.0: @@ -1566,7 +1566,7 @@ debug@^4.0.1, debug@^4.1.1, debug@~4.3.1: debug@^4.3.2, debug@^4.3.4, debug@~4.3.2: version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" @@ -1790,7 +1790,7 @@ escape-string-regexp@^2.0.0: escape-string-regexp@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== eslint-config-prettier@^8.0.0: @@ -1817,14 +1817,14 @@ eslint-plugin-node@^11.1.0: eslint-plugin-prettier@^4.0.0: version "4.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" + resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz" integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== dependencies: prettier-linter-helpers "^1.0.0" eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== dependencies: esrecurse "^4.3.0" @@ -1832,7 +1832,7 @@ eslint-scope@5.1.1, eslint-scope@^5.1.1: eslint-scope@^7.1.1: version "7.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz" integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== dependencies: esrecurse "^4.3.0" @@ -1846,7 +1846,7 @@ eslint-utils@^2.0.0: eslint-utils@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" + resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz" integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== dependencies: eslint-visitor-keys "^2.0.0" @@ -1861,12 +1861,12 @@ eslint-visitor-keys@^2.0.0: eslint-visitor-keys@^3.3.0: version "3.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== eslint@^8.0.0: version "8.35.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.35.0.tgz#fffad7c7e326bae606f0e8f436a6158566d42323" + resolved "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz" integrity sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw== dependencies: "@eslint/eslintrc" "^2.0.0" @@ -1912,7 +1912,7 @@ eslint@^8.0.0: espree@^9.4.0: version "9.4.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd" + resolved "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz" integrity sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg== dependencies: acorn "^8.8.0" @@ -1925,7 +1925,7 @@ esprima@^4.0.0: esquery@^1.4.2: version "1.5.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + resolved "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz" integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== dependencies: estraverse "^5.1.0" @@ -2038,7 +2038,7 @@ fast-diff@^1.1.2: fast-glob@^3.2.9: version "3.2.12" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz" integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== dependencies: "@nodelib/fs.stat" "^2.0.2" @@ -2154,7 +2154,7 @@ find-up@^4.0.0: find-up@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== dependencies: locate-path "^6.0.0" @@ -2215,7 +2215,7 @@ fs-extra@^10.1.0: fs-extra@^11.0.0: version "11.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.0.tgz#5784b102104433bb0e090f48bfc4a30742c357ed" + resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz" integrity sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw== dependencies: graceful-fs "^4.2.0" @@ -2271,14 +2271,14 @@ get-value@^2.0.3, get-value@^2.0.6: glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== dependencies: is-glob "^4.0.1" glob-parent@^6.0.2: version "6.0.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== dependencies: is-glob "^4.0.3" @@ -2311,7 +2311,7 @@ glob@^7.0.3, glob@^7.1.1, glob@^7.1.3, glob@^7.1.7: globals@^13.19.0: version "13.20.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" + resolved "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz" integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== dependencies: type-fest "^0.20.2" @@ -2322,7 +2322,7 @@ globals@^9.18.0: globby@^11.1.0: version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== dependencies: array-union "^2.1.0" @@ -2348,7 +2348,7 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.10, grapheme-splitter@^1.0.4: version "1.0.4" - resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== gray-matter@^2.1.0: @@ -2461,7 +2461,7 @@ http-proxy@^1.18.1: husky@^8.0.0: version "8.0.3" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" + resolved "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz" integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== iconv-lite@0.4.24: @@ -2476,7 +2476,7 @@ ignore@^5.1.1: ignore@^5.2.0: version "5.2.4" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== import-fresh@^2.0.0: @@ -2655,7 +2655,7 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: is-glob@^4.0.3: version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" @@ -2708,7 +2708,7 @@ is-path-inside@^1.0.0: is-path-inside@^3.0.3: version "3.0.3" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== is-plain-object@^2.0.3, is-plain-object@^2.0.4: @@ -2771,7 +2771,7 @@ jasmine-core@^3.6.0: jasmine-core@^4.0.0: version "4.5.0" - resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-4.5.0.tgz#1a6bd0bde3f60996164311c88a0995d67ceda7c3" + resolved "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.5.0.tgz" integrity sha512-9PMzyvhtocxb3aXJVOPqBDswdgyAeSB81QnLop4npOpbqnheaTEwPc9ZloQeVswugPManznQBjD8kWDTjlnHuw== jest-worker@^27.4.5: @@ -2785,7 +2785,7 @@ jest-worker@^27.4.5: js-sdsl@^4.1.4: version "4.3.0" - resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711" + resolved "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz" integrity sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ== js-tokens@^3.0.0, js-tokens@^3.0.2: @@ -2801,7 +2801,7 @@ js-yaml@3.13.1, js-yaml@^3.8.1, js-yaml@^3.9.0: js-yaml@^4.1.0: version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== dependencies: argparse "^2.0.1" @@ -2871,7 +2871,7 @@ karma-mocha-reporter@^2.0.0: karma-sourcemap-loader@^0.4.0: version "0.4.0" - resolved "https://registry.yarnpkg.com/karma-sourcemap-loader/-/karma-sourcemap-loader-0.4.0.tgz#b01d73f8f688f533bcc8f5d273d43458e13b5488" + resolved "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.4.0.tgz" integrity sha512-xCRL3/pmhAYF3I6qOrcn0uhbQevitc2DERMPH82FMnG+4WReoGcGFZb1pURf2a5apyrOHRdvD+O6K7NljqKHyA== dependencies: graceful-fs "^4.2.10" @@ -3065,7 +3065,7 @@ locate-path@^5.0.0: locate-path@^6.0.0: version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== dependencies: p-locate "^5.0.0" @@ -3076,7 +3076,7 @@ lodash._reinterpolate@^3.0.0: lodash.merge@^4.6.2: version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== lodash.template@^4.4.0: @@ -3209,7 +3209,7 @@ merge-stream@^2.0.0: merge2@^1.3.0, merge2@^1.4.1: version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== micromatch@^3.1.8: @@ -3239,7 +3239,7 @@ micromatch@^4.0.0: micromatch@^4.0.4: version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== dependencies: braces "^3.0.2" @@ -3388,7 +3388,7 @@ nanomatch@^1.2.9: natural-compare-lite@^1.4.0: version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + resolved "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz" integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== natural-compare@^1.4.0: @@ -3579,7 +3579,7 @@ p-limit@^2.2.0: p-limit@^3.0.2: version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: yocto-queue "^0.1.0" @@ -3604,7 +3604,7 @@ p-locate@^4.1.0: p-locate@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== dependencies: p-limit "^3.0.2" @@ -3688,7 +3688,7 @@ picomatch@^2.0.5, picomatch@^2.2.1: picomatch@^2.3.1: version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== pify@^2.0.0: @@ -3868,7 +3868,7 @@ regexpp@^3.0.0: regexpp@^3.2.0: version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" + resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== regexpu-core@^2.0.0: @@ -4055,7 +4055,7 @@ semver@^7.3.4: semver@^7.3.7: version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz" integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" @@ -4332,7 +4332,7 @@ strip-ansi@^6.0.0: strip-ansi@^6.0.1: version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" @@ -4486,7 +4486,7 @@ tslib@^1.8.1, tslib@^1.9.0: tsutils@^3.21.0: version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== dependencies: tslib "^1.8.1" @@ -4512,10 +4512,10 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" -typescript@^4.9.3: - version "4.9.3" - resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz" - integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA== +typescript@^5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz" + integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== ua-parser-js@^0.7.30: version "0.7.31" @@ -4804,7 +4804,7 @@ yargs@^16.1.1: yocto-queue@^0.1.0: version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== yup@^0.27.0: