Skip to content

Commit 08d7eff

Browse files
authored
chore: update nodejs tested versions to active releases (14, 16, 18, 19) (#229)
1 parent 1f7a00e commit 08d7eff

File tree

10 files changed

+7635
-92
lines changed

10 files changed

+7635
-92
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node: [ 12, 14, 16, 17, 18 ]
13+
node: [ 14, 16, 18, 19 ]
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-node@v3

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,14 @@
77
[pprof][pprof-url] support for Node.js.
88

99
## Prerequisites
10-
1. Your application will need to be using Node.js 10.4.1 or greater, or any
11-
version of Node 12 or 14.
12-
13-
The profiler should not be enabled when using earlier versions of Node 10,
14-
since versions of Node.js 10 prior to 10.4.1 are impacted by
15-
[this](https://bugs.chromium.org/p/chromium/issues/detail?id=847863) issue,
16-
which can cause garbage collection to take several minutes when heap profiling
17-
is enabled.
10+
1. Your application will need to be using Node.js 14 or greater. This package is tested against
11+
[current versions of Node.js][node-versions]: 14, 16, 18, and 19.
1812

1913
2. The `pprof` module has a native component that is used to collect profiles
2014
with v8's CPU and Heap profilers. You may need to install additional
2115
dependencies to build this module.
2216
* For Linux: `pprof` has prebuilt binaries available for Linux and Alpine
23-
Linux for Node 10, 12 and 14. No additional dependencies are required.
17+
Linux for Node 14 and 16. No additional dependencies are required.
2418
* For other environments: when using `@google-cloud/profiler` on environments
2519
that `pprof` does not have prebuilt binaries for, the module
2620
[`node-gyp`](https://www.npmjs.com/package/node-gyp) will be used to
@@ -111,9 +105,10 @@ Install [`pprof`][npm-url] with `npm` or add to your `package.json`.
111105
[circle-image]: https://circleci.com/gh/google/pprof-nodejs.svg?style=svg
112106
[circle-url]: https://circleci.com/gh/google/pprof-nodejs
113107
[coveralls-image]: https://coveralls.io/repos/google/pprof-nodejs/badge.svg?branch=main&service=github
108+
[node-versions]: https://github.com/nodejs/Release#release-schedule
114109
[npm-image]: https://badge.fury.io/js/pprof.svg
115110
[npm-url]: https://npmjs.org/package/pprof
116-
[pprof-url]: https://github.com/google/pprof
117111
[pprof-install-url]: https://github.com/google/pprof#building-pprof
112+
[pprof-url]: https://github.com/google/pprof
118113
[snyk-image]: https://snyk.io/test/github/google/pprof-nodejs/badge.svg
119114
[snyk-url]: https://snyk.io/test/github/google/pprof-nodejs

0 commit comments

Comments
 (0)