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
This commit is contained in:
Andrea Manzini 2024-03-10 09:08:32 +00:00 committed by Git OBS Bridge
parent 2cf58660ef
commit 4881e79fa3
4 changed files with 40 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5335c28f1e86b747bcca820e8445f6f9421bc8ba16a9c3547064ead8fb81c56
size 5761919

3
typescript-5.4.2.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4b5b42332259a8eae3e8262ab60e4b8f441b761cdd8f3c61c5bc6c1926bd08b
size 5824544

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sat Mar 9 09:05:35 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- 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 <andrea.manzini@suse.com>

View File

@ -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