Skip to content

Commit

Permalink
update known information for Node.js to version 20.9.0
Browse files Browse the repository at this point in the history
This marks the transition of Node.js 20.x into Long Term Support
(LTS) with the codename 'Iron'. The 20.x release line has moved
into "Active LTS".
  • Loading branch information
striezel committed Oct 31, 2023
1 parent 3240bbb commit 396c130
Showing 1 changed file with 4 additions and 4 deletions.
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 = "18.18.2";
const string version = "20.9.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,
"77684d746d977404ee1832505ae64fb4cb8355eb12e4bf37c3036f7cf3b84e5b",
"808d504dfd367b72260b378a5a5ee1812751a43512ab48d70d9d945f22c71af8",
signature,
"/qn /norestart"),
new InstallInfoMsi(
"https://nodejs.org/download/release/v" + version + "/node-v" + version + "-x64.msi",
HashAlgorithm.SHA256,
"221f2a904f13105122a108fb735a8f89615864c7bcba3842fa1ef684f136abe3",
"b2decdfc3dd4bb43965be46302e1198b1a3a95da0be5c7dc7eb221c185a3c5fd",
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-v18.x/");
var task = client.GetStringAsync("https://nodejs.org/dist/latest-v20.x/");
task.Wait();
htmlCode = task.Result;
}
Expand Down

0 comments on commit 396c130

Please sign in to comment.