Skip to content

Commit

Permalink
update known information for Node.js to version 22.11.0
Browse files Browse the repository at this point in the history
This marks the transition of Node.js 22.x into Long Term Support
(LTS) with the codename 'Jod'. The 22.x release line has moved
into "Active LTS".
  • Loading branch information
striezel committed Nov 10, 2024
1 parent 36c4e07 commit 8dd4413
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Reason for that change is that Microsoft will end support for .NET 6 on
maintenance or security fixes, so this application is switching to .NET 8, the
current Long Term Support release of .NET.

__[changes]__

* Node.js updates will now track Node.js 22.x, because Node.js 22.x has moved
into active Long Term Support (LTS).

__[maintenance]__

* Update certificate information for WinMerge installers.
Expand Down
8 changes: 4 additions & 4 deletions updater/software/NodeJS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public NodeJS(bool autoGetNewer)
/// details about the software.</returns>
public override AvailableSoftware knownInfo()
{
const string version = "20.18.0";
const string version = "22.11.0";
var signature = new Signature(publisherX509, certificateExpiration);
return new AvailableSoftware(
"Node.js",
Expand All @@ -73,13 +73,13 @@ public override AvailableSoftware knownInfo()
new InstallInfoMsi(
"https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x86.msi",
HashAlgorithm.SHA256,
"9ae3aaeced931fbd874c6488cc4960611691baa9c11e0b84c0ed9226ccc2d0cb",
"ab19f02c4b0d9f578928b67d2a652496aa31729a8cc9771ffc9cc6d3b8afe7e3",
signature,
"/qn /norestart"),
new InstallInfoMsi(
"https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x64.msi",
HashAlgorithm.SHA256,
"93d1d30341d7d38b7a8f3ab0fa3be1f9e6436b90338b2bd8b8af4e80d00bd036",
"9eea480bd30c98ae11a97cb89a9278235cbbbd03c171ee5e5198bd86b7965b4b",
signature,
"/qn /norestart")
);
Expand Down Expand Up @@ -121,7 +121,7 @@ public override AvailableSoftware searchForNewer()
try
{
// Note: Changes this URL as soon as the next version enters LTS state.
var task = client.GetStringAsync("https://nodejs.org/dist/latest-v20.x/");
var task = client.GetStringAsync("https://nodejs.org/dist/latest-v22.x/");
task.Wait();
htmlCode = task.Result;
}
Expand Down

0 comments on commit 8dd4413

Please sign in to comment.