commit typescript for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package typescript for openSUSE:Factory checked in at 2024-07-04 16:24:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/typescript (Old) and /work/SRC/openSUSE:Factory/.typescript.new.2080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "typescript" Thu Jul 4 16:24:12 2024 rev:26 rq:1185074 version:5.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/typescript/typescript.changes 2024-06-24 20:55:33.861284041 +0200 +++ /work/SRC/openSUSE:Factory/.typescript.new.2080/typescript.changes 2024-07-04 16:25:27.832308329 +0200 @@ -1,0 +2,11 @@ +Wed Jul 3 08:21:30 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com> + +- Update to version 5.5.3 + * fixed #59032 JavaScript and TypeScript language service has been disabled + after crashing repeatedly + * fixed #58955 @import JSDoc tag doesn't seem to account for resolution-mode + import attribute in TS v5.5.2 + +For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/ + +------------------------------------------------------------------- Old: ---- typescript-5.5.2.tgz New: ---- typescript-5.5.3.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ typescript.spec ++++++ --- /var/tmp/diff_new_pack.Dy4lTy/_old 2024-07-04 16:25:28.348327174 +0200 +++ /var/tmp/diff_new_pack.Dy4lTy/_new 2024-07-04 16:25:28.352327320 +0200 @@ -17,7 +17,7 @@ Name: typescript -Version: 5.5.2 +Version: 5.5.3 Release: 0 Summary: A language for application scale JavaScript development License: Apache-2.0 ++++++ typescript-5.5.2.tgz -> typescript-5.5.3.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/lib/tsc.js new/package/lib/tsc.js --- old/package/lib/tsc.js 1985-10-26 09:15:00.000000000 +0100 +++ new/package/lib/tsc.js 1985-10-26 09:15:00.000000000 +0100 @@ -18,7 +18,7 @@ // src/compiler/corePublic.ts var versionMajorMinor = "5.5"; -var version = "5.5.2"; +var version = "5.5.3"; // src/compiler/core.ts var emptyArray = []; @@ -48048,7 +48048,7 @@ } if (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */) { const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration); - const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l)); + const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l)); if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) { if (findAncestor(location, isImportEqualsDeclaration)) { error(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference); @@ -118604,7 +118604,7 @@ } function getModeForUsageLocationWorker(file, usage, compilerOptions) { var _a; - if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent)) { + if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent) || isJSDocImportTag(usage.parent)) { const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent); if (isTypeOnly) { const override = getResolutionModeOverride(usage.parent.attributes); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/lib/typescript.js new/package/lib/typescript.js --- old/package/lib/typescript.js 1985-10-26 09:15:00.000000000 +0100 +++ new/package/lib/typescript.js 1985-10-26 09:15:00.000000000 +0100 @@ -2366,7 +2366,7 @@ // src/compiler/corePublic.ts var versionMajorMinor = "5.5"; -var version = "5.5.2"; +var version = "5.5.3"; var Comparison = /* @__PURE__ */ ((Comparison3) => { Comparison3[Comparison3["LessThan"] = -1] = "LessThan"; Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo"; @@ -52812,7 +52812,7 @@ } if (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */) { const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration); - const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l)); + const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l)); if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) { if (findAncestor(location, isImportEqualsDeclaration)) { error2(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference); @@ -123600,7 +123600,7 @@ } function getModeForUsageLocationWorker(file, usage, compilerOptions) { var _a; - if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent)) { + if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent) || isJSDocImportTag(usage.parent)) { const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent); if (isTypeOnly) { const override = getResolutionModeOverride(usage.parent.attributes); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json --- old/package/package.json 1985-10-26 09:15:00.000000000 +0100 +++ new/package/package.json 1985-10-26 09:15:00.000000000 +0100 @@ -2,7 +2,7 @@ "name": "typescript", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "5.5.2", + "version": "5.5.3", "license": "Apache-2.0", "description": "TypeScript is a language for application scale JavaScript development", "keywords": [ @@ -112,5 +112,5 @@ "node": "20.1.0", "npm": "8.19.4" }, - "gitHead": "ce2e60e4ea15a65992e54a9e8877d16be9d42abb" + "gitHead": "f0e992167440686f948965e5441a918b34251886" }
participants (1)
-
Source-Sync