Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 16, 18, 20]
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: node --version
# Upgrade npm to newest supported version so it understands lockfile v3
- run: npm install -g npm@9.9.3
if: matrix.node == 14
- run: npm install
- run: npm test
- name: coverage
Expand All @@ -32,8 +29,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
# Upgrade npm to newest supported version so it understands lockfile v3
- run: npm install -g npm@9.9.3
node-version: 20
- run: npm install
- run: npm run lint
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@
[pprof][pprof-url] support for Node.js.

## Prerequisites
1. Your application will need to be using Node.js 14 or greater. This package is tested against
[current versions of Node.js][node-versions]: 14, 16, 18, and 20.

2. The `pprof` module has a native component that is used to collect profiles
with v8's CPU and Heap profilers. You may need to install additional
dependencies to build this module.
The module [`node-gyp`](https://www.npmjs.com/package/node-gyp) is used to
build the native component. See `node-gyp`'s
[documentation](https://github.com/nodejs/node-gyp#installation)
for information on dependencies required to build binaries with `node-gyp`.
1. Your application will need to be using Node.js 18 or greater. This package is tested against
[current versions of Node.js][node-versions]: 18, 20, and 22.

2. The `pprof` module has a native component that is compiled on installation using
[`node-gyp`](https://www.npmjs.com/package/node-gyp). You will need to install the build
dependencies for `node-gyp`. See `node-gyp`'s
[documentation](https://github.com/nodejs/node-gyp#installation) for details on
the dependencies required for your platform.

3. The [`pprof`][pprof-url] CLI can be used to view profiles collected with
this module. Instructions for installing the `pprof` CLI can be found
Expand Down
8 changes: 8 additions & 0 deletions js-green-licenses.json

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allowlist configurations in js-green-licenses.json were added because the tool flags valid, permissive licenses like BlueOak-1.0.0 (used by minipass) as failures due to its hardcoded default list. These are existing transitive dev dependencies (e.g., from glob), not new ones.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"packageAllowlist": [
"tar",
"minipass",
"chownr",
"yallist"
]
}
Loading
Loading