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

prebuild

Package Overview
Dependencies
Maintainers
3
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 7.2.2 to 7.3.0

appveyor.yml

3

gyp.js

@@ -7,3 +7,4 @@ var assert = require('assert')

'node-gyp': require('node-gyp')(),
'node-ninja': require('node-ninja')()
'node-ninja': require('node-ninja')(),
'nw-gyp': require('nw-gyp')()
}

@@ -10,0 +11,0 @@

@@ -28,2 +28,4 @@ var gyp = require('./gyp')

args.push('--dist-url=https://atom.io/download/electron')
} else if (opts.runtime === 'node-webkit') {
args.push('--runtime=node-webkit')
}

@@ -30,0 +32,0 @@ if (opts.debug) args.push('--debug')

prebuild [options]
--target -t version (version to build or install for)
--runtime -r runtime (Node runtime [node or electron] to build or install for, default is node)
--runtime -r runtime (Node runtime [node, electron or node-webkit] to build or install for, default is node)
--all (prebuild for all known abi versions)

@@ -6,0 +6,0 @@ --upload -u [gh-token] (upload prebuilds to github)

{
"name": "prebuild",
"version": "7.2.2",
"description": "A command line tool for easily doing prebuilds for multiple versions of node/iojs or electron on a specific platform",
"version": "7.3.0",
"description": "A command line tool for easily making prebuilt binaries for multiple versions of node, electron or node-webkit on a specific platform",
"scripts": {
"test": "tape test && npm run audit && npm run lint",
"test": "tape test && npm run lint",
"audit": "nsp check",

@@ -20,3 +20,4 @@ "lint": "standard"

"devops",
"electron"
"electron",
"node-webkit"
],

@@ -31,3 +32,3 @@ "dependencies": {

"mkdirp": "^0.5.1",
"node-abi": "^2.0.0",
"node-abi": "^2.2.0",
"node-gyp": "^3.0.3",

@@ -37,2 +38,3 @@ "node-ninja": "^1.0.1",

"npmlog": "^4.0.1",
"nw-gyp": "^3.6.3",
"osenv": "^0.1.4",

@@ -39,0 +41,0 @@ "rc": "^1.0.3",

@@ -16,2 +16,6 @@ var fs = require('fs')

if (opts.runtime === 'node-webkit') {
opts.backend = 'nw-gyp'
}
var buildLogMessage = 'Preparing to prebuild ' + pkg.name + '@' + pkg.version + ' for ' + runtime + ' ' + target + ' on ' + opts.platform + '-' + opts.arch + ' using ' + opts.backend

@@ -18,0 +22,0 @@ if (opts.libc && opts.libc.length > 0) buildLogMessage += 'using libc ' + opts.libc

# prebuild
> A command line tool for easily doing prebuilds for multiple versions of [Node.js](https://nodejs.org/en/), [io.js](https://iojs.org/en/) and [Electron](http://electron.atom.io/) on a specific platform.
> A command line tool for easily making prebuilt binaries for multiple versions of [Node.js](https://nodejs.org/en/), [Electron](http://electron.atom.io/) and [NW.js](https://nwjs.io/) on a specific platform.

@@ -10,2 +10,3 @@ ```

[![build status](http://img.shields.io/travis/prebuild/prebuild.svg?style=flat)](http://travis-ci.org/prebuild/prebuild)
[![Build status](https://ci.appveyor.com/api/projects/status/oy1kk4fpy51net0v/branch/master?svg=true)](https://ci.appveyor.com/project/mathiask88/prebuild)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

@@ -15,3 +16,3 @@

* Builds native modules for any version of Node.js, io.js or Electron, without having to switch between different versions to do so. This works by only downloading the correct headers and telling `node-gyp` to use those instead of the ones installed on your system.
* Builds native modules for any version of Node.js, Electron or NW.js, without having to switch between different versions to do so. This works by only downloading the correct headers and telling `node-gyp` to use those instead of the ones installed on your system.
* Upload (`--upload`) prebuilt binaries to GitHub.

@@ -28,2 +29,3 @@ * Support for stripping (`--strip`) debug information. Strip command defaults to `strip` but can be overridden by the `STRIP` environment variable.

```
*Supported* ABI versions may change over time without a new prebuild release.

@@ -43,2 +45,8 @@

To build against NW.js headers, do:
```
prebuild -t 0.26.6 -r node-webkit
```
See [`allTargets`](https://github.com/lgeiger/node-abi#usage) for all available versions.

@@ -106,3 +114,3 @@

--target -t version (version to build or install for)
--runtime -r runtime (Node runtime [node or electron] to build or install for, default is node)
--runtime -r runtime (Node runtime [node, electron or node-webkit] to build or install for, default is node)
--all (prebuild for all known abi versions)

@@ -135,3 +143,3 @@ --upload -u [gh-token] (upload prebuilds to github)

- `.gyp` Provide a custom `node-gyp` instance (optional)
- `.backend` Provide a custom `node-gyp` instance via string. Alternatives are `'node-gyp'` and `'node-ninja'` (optional, defaults to `'node-gyp'`)
- `.backend` Provide a custom `node-gyp` instance via string. Alternatives are `'node-gyp'`, `'node-ninja'` and `'nw-gyp'` (optional, defaults to `'node-gyp'`)
- `.args` Additional command line arguments to `node-gyp` (optional)

@@ -138,0 +146,0 @@ - `.debug` Pass in `--debug` on command line to gyp backend (optional)

Sorry, the diff of this file is not supported yet

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