From 4881e79fa32d69bd553ab1ffd3b7be2fbd0558d56d1704f03b8fd59510dad980 Mon Sep 17 00:00:00 2001 From: Andrea Manzini Date: Sun, 10 Mar 2024 09:08:32 +0000 Subject: [PATCH] Accepting request 1156599 from home:amanzini:branches:devel:languages:nodejs - Update to version 5.4: * Preserved Narrowing in Closures Following Last Assignments * The NoInfer Utility Type * Object.groupBy and Map.groupBy * Support for require() calls in --moduleResolution bundler and --module preserve * Checked Import Attributes and Assertions * Quick Fix for Adding Missing Parameters * Auto-Import Support for Subpath Imports * Upcoming 5.5 Deprecations: + TypeScript 5.0 deprecated the following options and behaviors: charset target: ES3 importsNotUsedAsValues noImplicitUseStrict noStrictGenericChecks keyofStringsOnly suppressExcessPropertyErrors suppressImplicitAnyIndexErrors out preserveValueImports prepend in project references implicitly OS-specific newLine To continue using them, developers using TypeScript 5.0 and other more recent versions have had to specify a new option called ignoreDeprecations with the value "5.0". However, TypScript 5.4 will be the last version in which these will continue to function as normal. By TypeScript 5.5 (likely June 2024), these will become hard errors, and code using them will need to be migrated away. * Notable Behavioral Changes: see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/#notable-behavioral-changes For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/ OBS-URL: https://build.opensuse.org/request/show/1156599 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=41 --- typescript-5.3.3.tgz | 3 --- typescript-5.4.2.tgz | 3 +++ typescript.changes | 35 +++++++++++++++++++++++++++++++++++ typescript.spec | 4 ++-- 4 files changed, 40 insertions(+), 5 deletions(-) delete mode 100644 typescript-5.3.3.tgz create mode 100644 typescript-5.4.2.tgz diff --git a/typescript-5.3.3.tgz b/typescript-5.3.3.tgz deleted file mode 100644 index 4ae23ed..0000000 --- a/typescript-5.3.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e5335c28f1e86b747bcca820e8445f6f9421bc8ba16a9c3547064ead8fb81c56 -size 5761919 diff --git a/typescript-5.4.2.tgz b/typescript-5.4.2.tgz new file mode 100644 index 0000000..efdcf53 --- /dev/null +++ b/typescript-5.4.2.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4b5b42332259a8eae3e8262ab60e4b8f441b761cdd8f3c61c5bc6c1926bd08b +size 5824544 diff --git a/typescript.changes b/typescript.changes index 4487850..b661722 100644 --- a/typescript.changes +++ b/typescript.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Sat Mar 9 09:05:35 UTC 2024 - Andrea Manzini + +- Update to version 5.4: + * Preserved Narrowing in Closures Following Last Assignments + * The NoInfer Utility Type + * Object.groupBy and Map.groupBy + * Support for require() calls in --moduleResolution bundler and --module preserve + * Checked Import Attributes and Assertions + * Quick Fix for Adding Missing Parameters + * Auto-Import Support for Subpath Imports + * Upcoming 5.5 Deprecations: + + TypeScript 5.0 deprecated the following options and behaviors: + charset + target: ES3 + importsNotUsedAsValues + noImplicitUseStrict + noStrictGenericChecks + keyofStringsOnly + suppressExcessPropertyErrors + suppressImplicitAnyIndexErrors + out + preserveValueImports + prepend in project references + implicitly OS-specific newLine + To continue using them, developers using TypeScript 5.0 and other more recent versions + have had to specify a new option called ignoreDeprecations with the value "5.0". + However, TypScript 5.4 will be the last version in which these will continue to function as normal. + By TypeScript 5.5 (likely June 2024), these will become hard errors, + and code using them will need to be migrated away. + * Notable Behavioral Changes: + see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/#notable-behavioral-changes + +For the full changelog see https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/ + ------------------------------------------------------------------- Sun Dec 10 17:41:41 UTC 2023 - Andrea Manzini diff --git a/typescript.spec b/typescript.spec index 0f3b838..9bf0bb3 100644 --- a/typescript.spec +++ b/typescript.spec @@ -1,7 +1,7 @@ # # spec file for package typescript # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: typescript -Version: 5.3.3 +Version: 5.4.2 Release: 0 Summary: A language for application scale JavaScript development License: Apache-2.0