Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

prebuild

Package Overview
Dependencies
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prebuild - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

bin.js

@@ -47,3 +47,5 @@ #!/usr/bin/env node

if (err) return cb(err)
cb(null, parse(a) || parse(b))
var abi = parse(a) || parse(b)
if (!abi) return cb(new Error('Could not detect abi for ' + version))
cb(null, abi)
})

@@ -60,3 +62,3 @@ })

function parse (file) {
var res = file.match(/#define\s+NODE_MODULE_VERSION\s+(\d+)/)
var res = file.match(/#define\s+NODE_MODULE_VERSION\s+\(?(\d+)/)
return res && res[1]

@@ -120,3 +122,3 @@ }

function pack (filename, abi) {
var name = pkg.name + '-' + pkg.version + '-node-v' + abi + '-' + rc.platform + '-' + rc.arch + '.tar.gz'
var name = pkg.name + '-v' + pkg.version + '-node-v' + abi + '-' + rc.platform + '-' + rc.arch + '.tar.gz'
var tarPath = path.join('prebuilds', name)

@@ -123,0 +125,0 @@ fs.mkdir('prebuilds', function () {

{
"name": "prebuild",
"version": "1.1.0",
"version": "1.1.1",
"description": "A command line tool for easily doing prebuilds for multiple version of node/iojs on a specific platform",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc