Skip to content

Commit

Permalink
AU: 2 updated - nodejs nodejs.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jul 21, 2023
1 parent c0ab66c commit 9c38366
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions automatic/nodejs.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer has been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://nodejs.org/dist/v18.17.0/node-v18.17.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v18.17.0/node-v18.17.0-x64.msi>
32-Bit: <https://nodejs.org/dist/v20.5.0/node-v20.5.0-x86.msi>
64-Bit: <https://nodejs.org/dist/v20.5.0/node-v20.5.0-x64.msi>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: 724C4258AA878FD6286A41DC62A1128A10A918B5B3028DE8D276126F3D1C5B1D
checksum64: DABDC4E683F0D0A835952EA5DF61139FA6B679E25121D1941A2AE77D29E989F4
checksum32: E20E399932AE744705414F35430993BA74FF48BAE7BA195C3393ACE72236BFAC
checksum64: D895B18C6F69CB8789A0D19A925B07A80715AAC62343200DAB90FDBA745DB2CE

File 'LICENSE.txt' is obtained from <https://github.com/nodejs/node/blob/03023fa7ae060c082a014f792d5d1f481a599460/LICENSE>
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"17": "17.9.1",
"18": "18.17.0",
"19": "19.9.0",
"20": "20.4.0"
"20": "20.5.0"
}
2 changes: 1 addition & 1 deletion automatic/nodejs.install/nodejs.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs.install</id>
<title>Node JS (Install)</title>
<version>18.17.0</version>
<version>20.5.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey-community, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand Down
4 changes: 2 additions & 2 deletions automatic/nodejs.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

$filePath32 = "$toolsPath\node-v18.17.0-x86.msi"
$filePath64 = "$toolsPath\node-v18.17.0-x64.msi"
$filePath32 = "$toolsPath\node-v20.5.0-x86.msi"
$filePath64 = "$toolsPath\node-v20.5.0-x64.msi"
$installFile = if ((Get-OSArchitectureWidth 64) -and $env:chocolateyForceX86 -ne 'true') {
Write-Host "Installing 64 bit version"; $filePath64 }
else { Write-Host "Installing 32 bit version"; $filePath32 }
Expand Down
2 changes: 1 addition & 1 deletion automatic/nodejs/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"17": "17.9.1",
"18": "18.17.0",
"19": "19.9.0",
"20": "20.4.0"
"20": "20.5.0"
}
4 changes: 2 additions & 2 deletions automatic/nodejs/nodejs.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>nodejs</id>
<title>Node JS</title>
<version>18.17.0</version>
<version>20.5.0</version>
<authors>Node.js Foundation</authors>
<owners>chocolatey-community, Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
Expand All @@ -30,7 +30,7 @@ This package runs the official Node JS installer, resulting in Node.exe and NPM
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@ba5adf020e09cd0e51107206ef3ec390035a6e90/icons/nodejs.png</iconUrl>
<dependencies>
<dependency id="nodejs.install" version="[18.17.0]" />
<dependency id="nodejs.install" version="[20.5.0]" />
</dependencies>
</metadata>
<files>
Expand Down

0 comments on commit 9c38366

Please sign in to comment.