Skip to content

Commit 95110c6

Browse files
authored
Ts 55 (#1651)
* feat: 5.5.3 * feat: stub 5.5 tests * feat: ts 5.5 output
1 parent 7d8b38e commit 95110c6

File tree

1,369 files changed

+1907
-1935
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,369 files changed

+1907
-1935
lines changed

.github/workflows/push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
matrix:
5151
node: [18, 20]
52-
ts: [4.4.2, 4.5.2, 4.6.2, 4.7.3, 4.8.2, 4.9.3, 5.0.4, 5.1.3, 5.2.2, 5.3.3, 5.4.2, next]
52+
ts: [4.4.2, 4.5.2, 4.6.2, 4.7.3, 4.8.2, 4.9.3, 5.0.4, 5.1.3, 5.2.2, 5.3.3, 5.4.2, 5.5.3, next]
5353
runs-on: ubuntu-latest
5454
steps:
5555
- uses: actions/checkout@v3
@@ -76,7 +76,7 @@ jobs:
7676
strategy:
7777
matrix:
7878
node: [18, 20]
79-
ts: [4.4.2, 4.5.2, 4.6.2, 4.7.3, 4.8.2, 4.9.3, 5.0.4, 5.1.3, 5.2.2, 5.3.3, 5.4.2, next]
79+
ts: [4.4.2, 4.5.2, 4.6.2, 4.7.3, 4.8.2, 4.9.3, 5.0.4, 5.1.3, 5.2.2, 5.3.3, 5.4.2, 5.5.3, next]
8080
runs-on: windows-latest
8181
steps:
8282
- uses: actions/checkout@v3

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"mocha": "^6.0.0",
9595
"prettier": "^2.0.5",
9696
"rimraf": "^2.6.2",
97-
"typescript": "^5.4.2",
97+
"typescript": "^5.5.3",
9898
"webpack": "^5.74.0",
9999
"webpack-cli": "^4.10.0"
100100
},

test/comparison-tests/appendSuffixTo/expectedOutput-5.4/bundle.js renamed to test/comparison-tests/appendSuffixTo/expectedOutput-5.5/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
2626
\*******************/
2727
/***/ ((__unused_webpack_module, exports) => {
2828

29-
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?");
29+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.myMethod = myMethod;\nfunction myMethod() {\n console.log('from helper!');\n}\n\n\n//# sourceURL=webpack:///./helper.ts?");
3030

3131
/***/ }),
3232

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
asset bundle.js 3.38 KiB [emitted] (name: main)
1+
asset bundle.js 3.36 KiB [emitted] (name: main)
22
./index.vue 382 bytes [built] [code generated]
33
./component.vue 187 bytes [built] [code generated]
4-
./helper.ts 190 bytes [built] [code generated]
4+
./helper.ts 163 bytes [built] [code generated]
55
webpack compiled successfully

test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.4/bundle.js renamed to test/comparison-tests/appendSuffixTo/expectedOutput-transpile-5.5/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
2626
\*******************/
2727
/***/ ((__unused_webpack_module, exports) => {
2828

29-
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?");
29+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.myMethod = myMethod;\nfunction myMethod() {\n console.log('from helper!');\n}\n\n\n//# sourceURL=webpack:///./helper.ts?");
3030

3131
/***/ }),
3232

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
asset bundle.js 3.38 KiB [emitted] (name: main)
1+
asset bundle.js 3.36 KiB [emitted] (name: main)
22
./index.vue 382 bytes [built] [code generated]
33
./component.vue 187 bytes [built] [code generated]
4-
./helper.ts 190 bytes [built] [code generated]
4+
./helper.ts 163 bytes [built] [code generated]
55
webpack compiled successfully

test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.4/bundle.js renamed to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.5/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar
2626
\*****************/
2727
/***/ ((__unused_webpack_module, exports) => {
2828

29-
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?");
29+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sayHello = sayHello;\nfunction sayHello(name) {\n return \"Hello, \".concat(name, \"!\");\n}\n\n\n//# sourceURL=webpack:///./fake.ts?");
3030

3131
/***/ })
3232

test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.4/output.txt renamed to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-5.5/output.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
asset bundle.js 2.67 KiB [emitted] (name: main)
1+
asset bundle.js 2.64 KiB [emitted] (name: main)
22
./app.ts 137 bytes [built] [code generated] [1 error]
3-
./fake.ts 201 bytes [built] [code generated]
3+
./fake.ts 174 bytes [built] [code generated]
44

55
ERROR in app.ts
66
./app.ts 1:29-34

test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.4/output.txt

-4
This file was deleted.

test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.4/bundle.js renamed to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-5.5/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar
2626
\*****************/
2727
/***/ ((__unused_webpack_module, exports) => {
2828

29-
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?");
29+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sayHello = sayHello;\nfunction sayHello(name) {\n return \"Hello, \".concat(name, \"!\");\n}\n\n\n//# sourceURL=webpack:///./fake.ts?");
3030

3131
/***/ })
3232

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
asset bundle.js 2.64 KiB [emitted] (name: main)
2+
./app.ts 137 bytes [built] [code generated]
3+
./fake.ts 174 bytes [built] [code generated]
4+
webpack compiled successfully

test/comparison-tests/projectReferences/expectedOutput-5.4/lib/tsconfig.tsbuildinfo

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","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.4.2"}
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":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"latestChangedDtsFile":"./index.d.ts"},"version":"5.5.3"}

test/comparison-tests/projectReferences/expectedOutput-5.4/output.txt renamed to test/comparison-tests/projectReferences/expectedOutput-5.5/output.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
asset bundle.js 2.68 KiB [emitted] (name: main)
2-
asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit]
2+
asset lib/tsconfig.tsbuildinfo 1.43 KiB [compared for emit]
33
asset lib/index.js 188 bytes [compared for emit]
44
asset lib/index.js.map 188 bytes [compared for emit]
55
asset lib/index.d.ts 84 bytes [compared for emit]

test/comparison-tests/projectReferences/expectedOutput-transpile-5.4/lib/tsconfig.tsbuildinfo

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","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.4.2"}
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":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"root":[8],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"latestChangedDtsFile":"./index.d.ts"},"version":"5.5.3"}

test/comparison-tests/projectReferencesNotBuilt/expectedOutput-5.4/output.txt renamed to test/comparison-tests/projectReferences/expectedOutput-transpile-5.5/output.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
asset bundle.js 2.68 KiB [emitted] (name: main)
2-
asset lib/tsconfig.tsbuildinfo 1.52 KiB [compared for emit]
2+
asset lib/tsconfig.tsbuildinfo 1.43 KiB [compared for emit]
33
asset lib/index.js 188 bytes [compared for emit]
44
asset lib/index.js.map 188 bytes [compared for emit]
55
asset lib/index.d.ts 84 bytes [compared for emit]

test/comparison-tests/projectReferencesMultiple/expectedOutput-5.4/patch1/output.txt

-20
This file was deleted.

test/comparison-tests/projectReferencesMultiple/expectedOutput-5.4/patch2/output.txt

-6
This file was deleted.

test/comparison-tests/projectReferencesMultiple/expectedOutput-5.4/patch4/output.txt

-6
This file was deleted.

0 commit comments

Comments
 (0)