mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-15 18:13:38 +08:00
build: update all remaining places to TypeScript 5.6
Updates a few leftover places to the TypeScript 5.6 final version.
This commit is contained in:
parent
7981dd275b
commit
8f051a49e6
@ -15,7 +15,7 @@
|
||||
"dependencies": {
|
||||
"@angular-devkit/core": "^<%= coreVersion %>",
|
||||
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
|
||||
"typescript": "~5.5.2"
|
||||
"typescript": "~5.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.18.0",
|
||||
|
@ -15,7 +15,7 @@
|
||||
"dependencies": {
|
||||
"@angular-devkit/core": "^<%= coreVersion %>",
|
||||
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
|
||||
"typescript": "~5.5.2"
|
||||
"typescript": "~5.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.18.0",
|
||||
|
@ -1,11 +1,11 @@
|
||||
load("//tools:defaults.bzl", "ts_library")
|
||||
|
||||
# files fetched on 2024-09-29 from
|
||||
# https://github.com/microsoft/TypeScript/releases/tag/v5.6-rc
|
||||
# files fetched on 2024-09-10 from
|
||||
# https://github.com/microsoft/TypeScript/releases/tag/v5.6.2
|
||||
|
||||
# Commands to download:
|
||||
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.6-rc/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
|
||||
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.6-rc/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
|
||||
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.6.2/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
|
||||
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v5.6.2/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
|
||||
|
||||
licenses(["notice"]) # Apache 2.0
|
||||
|
||||
|
@ -2263,7 +2263,7 @@ module.exports = __toCommonJS(typescript_exports);
|
||||
|
||||
// src/compiler/corePublic.ts
|
||||
var versionMajorMinor = "5.6";
|
||||
var version = "5.6.1-rc";
|
||||
var version = "5.6.2";
|
||||
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
||||
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
||||
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
||||
@ -49088,7 +49088,7 @@ function getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions
|
||||
cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, result.kind, modulePaths, result.moduleSpecifiers);
|
||||
return result;
|
||||
}
|
||||
function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName, compilerOptions, host, options = {}) {
|
||||
function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName, compilerOptions, host, preferences, options = {}) {
|
||||
const info = getInfo(importingFile.fileName, host);
|
||||
const importMode = options.overrideImportMode ?? importingFile.impliedNodeFormat;
|
||||
return getLocalModuleSpecifier(
|
||||
@ -49097,7 +49097,7 @@ function getLocalModuleSpecifierBetweenFileNames(importingFile, targetFileName,
|
||||
compilerOptions,
|
||||
host,
|
||||
importMode,
|
||||
getModuleSpecifierPreferences({}, host, compilerOptions, importingFile)
|
||||
getModuleSpecifierPreferences(preferences, host, compilerOptions, importingFile)
|
||||
);
|
||||
}
|
||||
function computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}, forAutoImport) {
|
||||
@ -82667,6 +82667,7 @@ function createTypeChecker(host) {
|
||||
case 214 /* NewExpression */:
|
||||
case 211 /* PropertyAccessExpression */:
|
||||
case 229 /* YieldExpression */:
|
||||
case 110 /* ThisKeyword */:
|
||||
return 3 /* Sometimes */;
|
||||
case 226 /* BinaryExpression */:
|
||||
switch (node.operatorToken.kind) {
|
||||
@ -155274,7 +155275,8 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre
|
||||
sourceFile,
|
||||
exportingFileName,
|
||||
compilerOptions,
|
||||
createModuleSpecifierResolutionHost(program, host)
|
||||
createModuleSpecifierResolutionHost(program, host),
|
||||
preferences
|
||||
);
|
||||
const importKind = getImportKind(futureExportingSourceFile, exportKind, program);
|
||||
const addAsTypeOnly = getAddAsTypeOnly(
|
||||
|
@ -23,7 +23,7 @@
|
||||
"rxjs": "~7.8.0",
|
||||
"tslib": "^2.3.0",
|
||||
"ts-node": "~10.9.0",
|
||||
"typescript": "~5.5.2",
|
||||
"typescript": "~5.6.2",
|
||||
"zone.js": "~0.15.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user