Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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(
Expand All @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}