Socket
Socket
Sign inDemoInstall

node-gyp

Package Overview
Dependencies
Maintainers
4
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gyp - npm Package Compare versions

Comparing version 7.1.0 to 7.1.1

.github/workflows/tests.yml

28

gyp/CHANGELOG.md

@@ -9,2 +9,25 @@ # Changelog

## [0.6.1] - 2020-10-14
### Fixed
- Correctly rename object files for absolute paths in MSVS generator.
## [0.6.0] - 2020-10-13
### Added
- The Makefile generator will now output shared libraries directly to the product
directory on all platforms (previously only macOS).
## [0.5.0] - 2020-09-30
### Added
- Extended compile_commands_json generator to consider more file extensions than
just `c` and `cc`. `cpp` and `cxx` are now supported.
- Source files with duplicate basenames are now supported.
### Removed
- The `--no-duplicate-basename-check` option was removed.
- The `msvs_enable_marmasm` configuration option was removed in favor of
auto-inclusion of the "marmasm" sections for Windows on ARM.
## [0.4.0] - 2020-07-14

@@ -38,3 +61,6 @@

[Unreleased]: https://github.com/nodejs/gyp-next/compare/v0.4.0...HEAD
[Unreleased]: https://github.com/nodejs/gyp-next/compare/v0.6.1...HEAD
[0.6.1]: https://github.com/nodejs/gyp-next/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/nodejs/gyp-next/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/nodejs/gyp-next/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/nodejs/gyp-next/compare/v0.3.0...v0.4.0

@@ -41,0 +67,0 @@ [0.3.0]: https://github.com/nodejs/gyp-next/compare/v0.2.1...v0.3.0

@@ -5,1 +5,4 @@ GYP can Generate Your Projects.

Documents are available at [gyp.gsrc.io](https://gyp.gsrc.io), or you can check out ```md-pages``` branch to read those documents offline.
__gyp-next__ is [released](https://github.com/nodejs/gyp-next/releases) to the [__Python Packaging Index__](https://pypi.org/project/gyp-next) (PyPI) and can be installed with the command:
* `python3 -m pip install gyp-next`

2

lib/find-visualstudio.js

@@ -154,3 +154,3 @@ 'use strict'

this.addLog(
'could not use PowerShell to find Visual Studio 2017 or newer')
'could not use PowerShell to find Visual Studio 2017 or newer, try re-running with \'--loglevel silly\' for more details')
cb(null)

@@ -157,0 +157,0 @@ }

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

],
"version": "7.1.0",
"version": "7.1.1",
"installVersion": 9,

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

"graceful-fs": "^4.2.3",
"nopt": "^4.0.3",
"nopt": "^5.0.0",
"npmlog": "^4.1.2",
"request": "^2.88.2",
"rimraf": "^2.6.3",
"rimraf": "^3.0.2",
"semver": "^7.3.2",
"tar": "^6.0.1",
"tar": "^6.0.2",
"which": "^2.0.2"

@@ -43,3 +43,3 @@ },

"bindings": "^1.5.0",
"nan": "^2.14.1",
"nan": "^2.14.2",
"require-inject": "^1.4.4",

@@ -46,0 +46,0 @@ "standard": "^14.3.4",

# `node-gyp` - Node.js native addon build tool
[![Travis CI](https://travis-ci.com/nodejs/node-gyp.svg?branch=master)](https://travis-ci.com/nodejs/node-gyp)
[![Build Status](https://github.com/nodejs/node-gyp/workflows/Python_tests/badge.svg)](https://github.com/nodejs/node-gyp/actions?workflow=Python_tests)
[![Build Status](https://github.com/nodejs/node-gyp/workflows/Tests/badge.svg?branch=master)](https://github.com/nodejs/node-gyp/actions?query=workflow%3ATests+branch%3Amaster)

@@ -52,3 +51,3 @@ `node-gyp` is a cross-platform command-line tool written in Node.js for

Install all the required tools and configurations using Microsoft's [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) using `npm install --global --production windows-build-tools` from an elevated PowerShell or CMD.exe (run as Administrator).
Install all the required tools and configurations using Microsoft's [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) using `npm install --global windows-build-tools` from an elevated PowerShell or CMD.exe (run as Administrator).

@@ -55,0 +54,0 @@ #### Option 2

@@ -6,3 +6,3 @@ 'use strict'

test('options in environment', function (t) {
test('options in environment', (t) => {
t.plan(1)

@@ -12,5 +12,11 @@

Object.keys(process.env)
.filter(function (key) { return /^npm_config_/.test(key) })
.forEach(function (key) { delete process.env[key] })
.filter((key) => /^npm_config_/.test(key))
.forEach((key) => { delete process.env[key] })
// in some platforms, certain keys are stubborn and cannot be removed
const keys = Object.keys(process.env)
.filter((key) => /^npm_config_/.test(key))
.map((key) => key.substring('npm_config_'.length))
.concat('argv', 'x')
// Zero-length keys should get filtered out.

@@ -23,6 +29,6 @@ process.env.npm_config_ = '42'

var g = gyp()
const g = gyp()
g.parseArgv(['rebuild']) // Also sets opts.argv.
t.deepEqual(Object.keys(g.opts).sort(), ['argv', 'x'])
t.deepEqual(Object.keys(g.opts).sort(), keys.sort())
})

Sorry, the diff of this file is too big to display

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc