Skip to content

Commit 4aa0331

Browse files
authored
[api-extractor] Upgrade bundled TypeScript to 5.8 (#5151)
* [api-extractor] Upgrade bundled TypeScript to 5.8 * rush change --------- Co-authored-by: Espen Hovlandsdal <[email protected]>
1 parent b87ae89 commit 4aa0331

File tree

8 files changed

+31
-9
lines changed

8 files changed

+31
-9
lines changed

apps/api-extractor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"resolve": "~1.22.1",
5050
"semver": "~7.5.4",
5151
"source-map": "~0.6.1",
52-
"typescript": "5.7.3"
52+
"typescript": "5.8.2"
5353
},
5454
"devDependencies": {
5555
"@rushstack/heft-node-rig": "2.7.0",

apps/api-extractor/src/analyzer/TypeScriptInternals.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class TypeScriptInternals {
106106
compilerOptions: ts.CompilerOptions
107107
): ts.ModuleKind.CommonJS | ts.ModuleKind.ESNext | undefined {
108108
// Compiler internal:
109-
// https://github.com/microsoft/TypeScript/blob/v5.7.2/src/compiler/program.ts#L940
109+
// https://github.com/microsoft/TypeScript/blob/v5.8.2/src/compiler/program.ts#L931
110110

111111
return ts.getModeForUsageLocation?.(file, usage, compilerOptions);
112112
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/api-extractor",
5+
"comment": "Upgrade the bundled compiler engine to TypeScript 5.8.2",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@microsoft/api-extractor"
10+
}

common/config/subspaces/build-tests-subspace/pnpm-lock.yaml

+7-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "e5d80b8cf111a9c4f3ae1e122504d8a8a8a10212",
3+
"pnpmShrinkwrapHash": "effebb9032dc4d68bae34724735623fc48ee0062",
44
"preferredVersionsHash": "7aee53abbca2f0cefac5a2a8c72ca7703b10dff2",
5-
"packageJsonInjectedDependenciesHash": "891f1ac2c4f24e651950979dc6efc58d0f65a9fa"
5+
"packageJsonInjectedDependenciesHash": "2d41c3cdbec0377eb577311c98b3201348c78054"
66
}

common/config/subspaces/default/common-versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"~4.9.5",
101101

102102
// API Extractor bundles a specific TypeScript version because it calls internal APIs
103-
"5.7.3"
103+
"5.8.2"
104104
],
105105
"source-map": [
106106
"~0.6.1" // API Extractor is using an older version of source-map because newer versions are async

common/config/subspaces/default/pnpm-lock.yaml

+8-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "da2722a86fe993181338c895b736309f15a7b6dd",
3+
"pnpmShrinkwrapHash": "979e9e8b131852775c6357b477fcdf3f82e638f6",
44
"preferredVersionsHash": "7aee53abbca2f0cefac5a2a8c72ca7703b10dff2"
55
}

0 commit comments

Comments
 (0)