Socket
Socket
Sign inDemoInstall

node-gyp

Package Overview
Dependencies
100
Maintainers
4
Versions
144
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 6.0.1

macOS_Catalina.md

18

CHANGELOG.md

@@ -0,1 +1,19 @@

v6.0.1 2019-11-01
=================
* [[`8ec2e681d5`](https://github.com/nodejs/node-gyp/commit/8ec2e681d5)] - **doc**: add macOS\_Catalina.md document (cclauss) [#1940](https://github.com/nodejs/node-gyp/pull/1940)
* [[`1b11be63cc`](https://github.com/nodejs/node-gyp/commit/1b11be63cc)] - **gyp**: python3 fixes: utf8 decode, use of 'None' in eval (Wilfried Goesgens) [#1925](https://github.com/nodejs/node-gyp/pull/1925)
* [[`c0282daa48`](https://github.com/nodejs/node-gyp/commit/c0282daa48)] - **gyp**: iteritems() -\> items() in compile\_commands\_json.py (cclauss) [#1947](https://github.com/nodejs/node-gyp/pull/1947)
* [[`d8e09a1b6a`](https://github.com/nodejs/node-gyp/commit/d8e09a1b6a)] - **gyp**: make cmake python3 compatible (gengjiawen) [#1944](https://github.com/nodejs/node-gyp/pull/1944)
* [[`9c0f3404f0`](https://github.com/nodejs/node-gyp/commit/9c0f3404f0)] - **gyp**: fix TypeError in XcodeVersion() (Christian Clauss) [#1939](https://github.com/nodejs/node-gyp/pull/1939)
* [[`bb2eb72a3f`](https://github.com/nodejs/node-gyp/commit/bb2eb72a3f)] - **gyp**: finish decode stdout on Python 3 (Christian Clauss) [#1937](https://github.com/nodejs/node-gyp/pull/1937)
* [[`f0693413d9`](https://github.com/nodejs/node-gyp/commit/f0693413d9)] - **src,win**: allow 403 errors for arm64 node.lib (Richard Lau) [#1934](https://github.com/nodejs/node-gyp/pull/1934)
* [[`c60c22de58`](https://github.com/nodejs/node-gyp/commit/c60c22de58)] - **deps**: update deps to roughly match current npm@6 (Rod Vagg) [#1920](https://github.com/nodejs/node-gyp/pull/1920)
* [[`b91718eefc`](https://github.com/nodejs/node-gyp/commit/b91718eefc)] - **test**: upgrade Linux Travis CI to Python 3.8 (Christian Clauss) [#1923](https://github.com/nodejs/node-gyp/pull/1923)
* [[`3538a317b6`](https://github.com/nodejs/node-gyp/commit/3538a317b6)] - **doc**: adjustments to the README.md for new users (Dan Pike) [#1919](https://github.com/nodejs/node-gyp/pull/1919)
* [[`4fff8458c0`](https://github.com/nodejs/node-gyp/commit/4fff8458c0)] - **travis**: ignore failed `brew upgrade npm`, update xcode (Christian Clauss) [#1932](https://github.com/nodejs/node-gyp/pull/1932)
* [[`60e4488f08`](https://github.com/nodejs/node-gyp/commit/60e4488f08)] - **build**: avoid bare exceptions in xcode\_emulation.py (Christian Clauss) [#1932](https://github.com/nodejs/node-gyp/pull/1932)
* [[`032db2a2d0`](https://github.com/nodejs/node-gyp/commit/032db2a2d0)] - **lib,install**: always download SHA sums on Windows (Sam Hughes) [#1926](https://github.com/nodejs/node-gyp/pull/1926)
* [[`5a83630c33`](https://github.com/nodejs/node-gyp/commit/5a83630c33)] - **travis**: add Windows + Python 3.8 to the mix (Rod Vagg) [#1921](https://github.com/nodejs/node-gyp/pull/1921)
v6.0.0 2019-10-04

@@ -2,0 +20,0 @@ =================

6

lib/install.js

@@ -227,4 +227,4 @@ 'use strict'

// Only download SHASUMS.txt if not using tarPath override
if (!tarPath) {
// Only download SHASUMS.txt if we downloaded something in need of SHA verification
if (!tarPath || win) {
// download SHASUMS.txt

@@ -327,3 +327,3 @@ async++

req.on('response', function (res) {
if (res.statusCode === 404) {
if (res.statusCode === 403 || res.statusCode === 404) {
if (arch === 'arm64') {

@@ -330,0 +330,0 @@ // Arm64 is a newer platform on Windows and not all node distributions provide it.

@@ -14,3 +14,3 @@ {

],
"version": "6.0.0",
"version": "6.0.1",
"installVersion": 9,

@@ -26,13 +26,13 @@ "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)",

"dependencies": {
"env-paths": "^1.0.0",
"glob": "^7.0.3",
"graceful-fs": "^4.1.2",
"mkdirp": "^0.5.0",
"nopt": "2 || 3",
"npmlog": "0 || 1 || 2 || 3 || 4",
"request": "^2.87.0",
"rimraf": "2",
"semver": "~5.3.0",
"env-paths": "^2.2.0",
"glob": "^7.1.4",
"graceful-fs": "^4.2.2",
"mkdirp": "^0.5.1",
"nopt": "^4.0.1",
"npmlog": "^4.1.2",
"request": "^2.88.0",
"rimraf": "^2.6.3",
"semver": "^5.7.1",
"tar": "^4.4.12",
"which": "1"
"which": "^1.3.1"
},

@@ -43,6 +43,6 @@ "engines": {

"devDependencies": {
"bindings": "~1.2.1",
"nan": "^2.0.0",
"require-inject": "~1.3.0",
"standard": "~14.3.1",
"bindings": "^1.5.0",
"nan": "^2.14.0",
"require-inject": "^1.4.4",
"standard": "^14.3.1",
"tap": "~12.7.0"

@@ -49,0 +49,0 @@ },

@@ -6,4 +6,3 @@ # `node-gyp` - Node.js native addon build tool

[gyp](https://gyp.gsrc.io) project that was previously used by the Chromium
team and takes away the pain of dealing with the various differences in build
platforms.
team, extended to support the development of Node.js native addons.

@@ -18,9 +17,8 @@ Note that `node-gyp` is _not_ used to build Node.js itself.

* Easy to use, consistent interface
* Same commands to build your module on every platform
* Supports multiple target versions of Node.js
* The same build commands work on any of the supported platforms
* Supports the targetting of different versions of Node.js
## Installation
You can install with `npm`:
You can install `node-gyp` using `npm`:

@@ -31,8 +29,4 @@ ``` bash

You will also need to install:
Depending on your operating system, you will need to install:
NOTE: node-gyp is compatible with Python v2.7, v3.5, v3.6, or v3.7. If the
Python to use is not explicitly configured (see "Configuring Python Dependency"
below) it will attempt to find a compatible Python executable.
### On Unix

@@ -49,2 +43,3 @@

* You also need to install the `XCode Command Line Tools` by running `xcode-select --install`. Alternatively, if you already have the full Xcode installed, you can find them under the menu `Xcode -> Open Developer Tool -> More Developer Tools...`. This step will install `clang`, `clang++`, and `make`.
* If your Mac has been _upgraded_ to macOS Catalina (10.15), please read [macOS_Catalina.md](macOS_Catalina.md).

@@ -73,5 +68,8 @@ ### On Windows

If you have multiple Python versions installed, you can identify which Python
version `node-gyp` uses by setting the `--python` variable:
`node-gyp` requires that you have installed a compatible version of Python, one of: v2.7, v3.5, v3.6,
or v3.7. If you have multiple Python versions installed, you can identify which Python
version `node-gyp` should use in one of the following ways:
1. by setting the `--python` command-line option, e.g.:
``` bash

@@ -81,3 +79,3 @@ $ node-gyp <command> --python /path/to/executable/python

If `node-gyp` is called by way of `npm`, *and* you have multiple versions of
2. If `node-gyp` is called by way of `npm`, *and* you have multiple versions of
Python installed, then you can set `npm`'s 'python' config key to the appropriate

@@ -90,8 +88,8 @@ value:

If the `PYTHON` environment variable is set to the path of a Python executable,
it will be used if it is a compatible Python.
3. If the `PYTHON` environment variable is set to the path of a Python executable,
then that version will be used, if it is a compatible version.
If the `NODE_GYP_FORCE_PYTHON` environment variable is set to the path of a
4. If the `NODE_GYP_FORCE_PYTHON` environment variable is set to the path of a
Python executable, it will be used instead of any of the other configured or
builtin Python search paths. If its not a compatible Python, no further
builtin Python search paths. If it's not a compatible version, no further
searching will be done.

@@ -156,4 +154,6 @@

Some additional resources for addons and writing `gyp` files:
## Further reading
Some additional resources for Node.js native addons and writing `gyp` configuration files:
* ["Going Native" a nodeschool.io tutorial](http://nodeschool.io/#goingnative)

@@ -165,3 +165,2 @@ * ["Hello World" node addon example](https://github.com/nodejs/node/tree/master/test/addons/hello-world)

## Commands

@@ -168,0 +167,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc