prebuild-install
Advanced tools
Comparing version 7.1.1 to 7.1.2
# Changelog | ||
## [7.1.2] - 2024-02-29 | ||
### Changed | ||
- Support environments where MD5 is prohibited ([#191](https://github.com/prebuild/prebuild-install/issues/191)) ([`9140468`](https://github.com/prebuild/prebuild-install/commit/9140468)) (Tomasz Szuba) | ||
## [7.1.1] - 2022-06-07 | ||
@@ -94,2 +100,4 @@ | ||
[7.1.2]: https://github.com/prebuild/prebuild-install/releases/tag/v7.1.2 | ||
[7.1.1]: https://github.com/prebuild/prebuild-install/releases/tag/v7.1.1 | ||
@@ -96,0 +104,0 @@ |
{ | ||
"name": "prebuild-install", | ||
"version": "7.1.1", | ||
"version": "7.1.2", | ||
"description": "A command line tool to easily install prebuilt binaries for multiple version of node/iojs on a specific platform", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -77,3 +77,3 @@ const path = require('path') | ||
function cachedPrebuild (url) { | ||
const digest = crypto.createHash('md5').update(url).digest('hex').slice(0, 6) | ||
const digest = crypto.createHash('sha512').update(url).digest('hex').slice(0, 6) | ||
return path.join(prebuildCache(), digest + '-' + path.basename(url).replace(/[^a-zA-Z0-9.]+/g, '-')) | ||
@@ -80,0 +80,0 @@ } |
33884