Socket
Socket
Sign inDemoInstall

prebuild-install

Package Overview
Dependencies
12
Maintainers
6
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.1.1 to 7.1.2

8

CHANGELOG.md
# 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 @@

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc