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 22, 2024 via pnpm

node-gyp 7.1.0

Node.js native addon build tool
Package summary
Share
5
issues
3
high severity
meta
3
2
moderate severity
vulnerability
2
7
licenses
58
MIT
33
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
12 Aug 2020
Maintainers
3
Total deps
103
Direct deps
10
License
MIT

Issues

5

3 high severity issues

high
via: request@2.88.2
via: request@2.88.2
via: request@2.88.2
Collapse
Expand

2 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
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
58 Packages, Including:
ajv@6.12.6
ansi-regex@2.1.1
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
delayed-stream@1.0.0
delegates@1.0.0
ecc-jsbn@0.1.2
env-paths@2.2.1
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
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
minizlib@2.1.2
mkdirp@1.0.4
node-gyp@7.1.0
number-is-nan@1.0.1
object-assign@4.1.1
os-homedir@1.0.2
os-tmpdir@1.0.2
path-is-absolute@1.0.1
performance-now@2.1.0
process-nextick-args@2.0.1
psl@1.9.0
punycode@2.3.1
readable-stream@2.3.8
safe-buffer@5.1.2
safe-buffer@5.2.1

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
33 Packages, Including:
abbrev@1.1.1
aproba@1.2.0
are-we-there-yet@1.1.7
chownr@2.0.0
console-control-strings@1.1.0
fs-minipass@2.1.0
fs.realpath@1.0.0
gauge@2.7.4
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
lru-cache@6.0.0
minimatch@3.1.2
minipass@3.3.6
minipass@5.0.0
nopt@4.0.3
npmlog@4.1.2
once@1.4.0
osenv@0.1.5
rimraf@2.7.1
semver@7.6.0
set-blocking@2.0.0
signal-exit@3.0.7
tar@6.2.1
which@2.0.2
wide-align@1.1.5
wrappy@1.0.2
yallist@4.0.0

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

10
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
env-paths2.2.13.33 kBMIT
prod
glob7.2.315.08 kBISC
prod
graceful-fs4.2.119.57 kBISC
prod
nopt4.0.39.11 kBISC
prod
npmlog4.1.26.36 kBISC
prod
request2.88.257.83 kBApache-2.0
prod
3
2
rimraf2.7.15.53 kBISC
prod
semver7.6.026.57 kBISC
prod
tar6.2.1162.71 kBISC
prod
which2.0.24.39 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.