Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 23, 2024 via pnpm

node-gyp 3.4.0

Node.js native addon build tool
Package summary
Share
10
issues
7
high severity
vulnerability
2
meta
5
3
moderate severity
vulnerability
3
7
licenses
64
MIT
36
ISC
6
Apache-2.0
6
other licenses
BSD-3-Clause
3
(AFL-2.1 OR BSD-3-Clause)
1
Unlicense
1
BSD-2-Clause
1
Package created
5 Feb 2012
Version published
28 Jun 2016
Maintainers
3
Total deps
112
Direct deps
14
License
MIT

Issues

10

7 high severity issues

high
Recommendation: Upgrade to version 3.2.2 or later
via: tar@2.2.2
Recommendation: Upgrade to version 4.4.18 or later
via: tar@2.2.2
via: path-array@1.0.1
via: request@2.88.2
via: request@2.88.2
via: tar@2.2.2
via: request@2.88.2
Collapse
Expand

3 moderate severity issues

moderate
Recommendation: Upgrade to version 4.1.3 or later
via: request@2.88.2
Recommendation: None
via: request@2.88.2
Recommendation: Upgrade to version 6.2.1 or later
via: tar@2.2.2
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
64 Packages, Including:
ajv@6.12.6
ansi-regex@2.1.1
array-index@1.0.0
asn1@0.2.6
assert-plus@1.0.0
asynckit@0.4.0
aws4@1.12.0
balanced-match@1.0.2
brace-expansion@1.1.11
code-point-at@1.1.0
combined-stream@1.0.8
concat-map@0.0.1
core-util-is@1.0.2
core-util-is@1.0.3
dashdash@1.14.1
debug@2.6.9
delayed-stream@1.0.0
delegates@1.0.0
ecc-jsbn@0.1.2
es6-iterator@2.0.3
event-emitter@0.3.5
extend@3.0.2
extsprintf@1.3.0
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
form-data@2.3.3
getpass@0.1.7
har-validator@5.1.5
has-color@0.1.7
http-signature@1.2.0
is-fullwidth-code-point@1.0.0
is-typedarray@1.0.0
isarray@1.0.0
isstream@0.1.2
jsbn@0.1.1
json-schema-traverse@0.4.1
jsprim@1.4.2
mime-db@1.52.0
mime-types@2.1.35
minimist@1.2.8
mkdirp@0.5.6
ms@2.0.0
node-gyp@3.4.0
number-is-nan@1.0.1
object-assign@4.1.1
os-homedir@1.0.2
os-tmpdir@1.0.2
path-array@1.0.1
path-is-absolute@1.0.1
performance-now@2.1.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
36 Packages, Including:
abbrev@1.1.1
aproba@1.2.0
are-we-there-yet@1.1.7
block-stream@0.0.9
console-control-strings@1.1.0
d@1.0.2
es5-ext@0.10.64
es6-symbol@3.1.4
esniff@2.0.1
ext@1.7.0
fs.realpath@1.0.0
fstream@1.0.12
gauge@2.6.0
glob@7.2.3
graceful-fs@4.2.11
har-schema@2.0.0
has-unicode@2.0.1
inflight@1.0.6
inherits@2.0.4
isexe@2.0.0
json-stringify-safe@5.0.1
minimatch@3.1.2
next-tick@1.1.0
nopt@3.0.6
npmlog@3.1.2
once@1.4.0
osenv@0.1.5
rimraf@2.7.1
semver@5.7.2
set-blocking@2.0.0
signal-exit@3.0.7
tar@2.2.2
type@2.7.2
which@1.3.1
wide-align@1.1.5
wrappy@1.0.2

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
6 Packages, Including:
aws-sign2@0.7.0
caseless@0.12.0
forever-agent@0.6.1
oauth-sign@0.9.0
request@2.88.2
tunnel-agent@0.6.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
bcrypt-pbkdf@1.0.2
qs@6.5.3
tough-cookie@2.5.0

(AFL-2.1 OR BSD-3-Clause)

Permissive
1 Packages, Including:
json-schema@0.4.0

The Unlicense

Public Domain
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
private-use
modify
Cannot
include-copyright
hold-liable
Must
1 Packages, Including:
tweetnacl@0.14.5

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
uri-js@4.4.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

14
All Dependencies CSV
β“˜ This is a list of node-gyp 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
fstream1.0.1216.61 kBISC
prod
glob7.2.315.08 kBISC
prod
graceful-fs4.2.119.57 kBISC
prod
minimatch3.1.211.66 kBISC
prod
mkdirp0.5.62.95 kBMIT
prod
nopt3.0.610.07 kBISC
prod
npmlog3.1.26.08 kBISC
prod
osenv0.1.52.25 kBISC
prod
path-array1.0.13.9 kBMIT
prod
1
request2.88.257.83 kBApache-2.0
prod
3
2
rimraf2.7.15.53 kBISC
prod
semver5.7.217.45 kBISC
prod
tar2.2.2211.58 kBISC
prod
3
1
which1.3.14.08 kBISC
prod

Visualizations

Frequently Asked Questions

What does node-gyp do?

Node-gyp is a cross-platform command-line tool created with Node.js that is used for compiling native addon modules for Node.js. It's designed to work on multiple target versions of Node.js, irrespective of which version of Node.js is installed on your system. Node-gyp achieves this by downloading the required development files or headers for the targeted version. It's important to note that while node-gyp aids in the development of Node.js native addons, it is not utilized for building Node.js itself.

How do you use node-gyp?

Utilizing node-gyp requires a few steps. First, you need to install it through npm by running npm install -g node-gyp in your terminal. Node-gyp has dependencies on Python, make and a C/C++ compiler toolchain like GCC on Unix, Python and XCode Command Line Tools on macOS, and Python and Visual C++ Build Environment on Windows, so ensure these are correctly installed on your system.

Once installed and dependencies are resolved, using node-gyp involves generating project build files and then invoking the build command. Here's a simple usage example for your native addon:

cd my_node_addon
node-gyp configure
node-gyp build

In this example, you first navigate to the root directory of your native addon, generate the necessary project build files for your platform using the configure command, and then build your native addon with the build command. The compiled bindings will be found in build/Debug/ or build/Release/ depending on your build mode.

Where are the node-gyp docs?

You can access the detailed and extensive node-gyp documentation in the docs directory on the package's GitHub repository link: node-gyp Github repository. This documentation provides additional information on specific node-gyp topics which can come in handy when installing or building addons using node-gyp. It also has the command and configuration options for finer control over your builds.