node-oom-heapdump 3.7.0 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -8
- package/README.md +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,55 +1,83 @@
|
|
|
1
|
-
|
|
1
|
+
19-11-2025 Paul Rütter
|
|
2
|
+
|
|
3
|
+
- 3.7.2
|
|
4
|
+
- Fix for https://github.com/blueconic/node-oom-heapdump/security/dependabot/14 by updating dependencies
|
|
5
|
+
|
|
6
|
+
03-07-2025 Paul Rütter
|
|
7
|
+
|
|
8
|
+
- 3.7.1
|
|
9
|
+
- Fix for https://github.com/blueconic/node-oom-heapdump/security/dependabot/12 by updating dependencies
|
|
10
|
+
|
|
11
|
+
04-06-2025 Paul Rütter
|
|
12
|
+
|
|
13
|
+
- 3.7.0
|
|
14
|
+
- Node 24 binaries
|
|
15
|
+
|
|
16
|
+
12-05-2025 Paul Rütter
|
|
17
|
+
|
|
2
18
|
- 3.6.0
|
|
3
19
|
- Upgrade dependencies
|
|
4
20
|
|
|
5
21
|
11-12-2024 Paul Rütter
|
|
22
|
+
|
|
6
23
|
- 3.4.0
|
|
7
24
|
- Upgrade dependencies due to https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
|
|
8
25
|
|
|
9
26
|
18-06-2024 Paul Rütter
|
|
27
|
+
|
|
10
28
|
- 3.3.1
|
|
11
29
|
- Upgrade dependencies due to https://security.snyk.io/vuln/SNYK-JS-WS-7266574
|
|
12
30
|
|
|
13
31
|
10-06-2024 Paul Rütter
|
|
32
|
+
|
|
14
33
|
- 3.3.0
|
|
15
34
|
- Add prebuilt binaries for Alpine, https://github.com/blueconic/node-oom-heapdump/pull/16
|
|
16
35
|
|
|
17
36
|
16-05-2024 Paul Rütter
|
|
37
|
+
|
|
18
38
|
- 3.2.3
|
|
19
39
|
- Release to fix prebuilt binaries for node 22.x
|
|
20
40
|
|
|
21
41
|
25-04-2024 Paul Rütter
|
|
42
|
+
|
|
22
43
|
- 3.2.2
|
|
23
44
|
- Release to update dependencies
|
|
24
45
|
|
|
25
46
|
27-10-2023 Paul Rütter
|
|
47
|
+
|
|
26
48
|
- 3.2.0
|
|
27
49
|
- https://github.com/blueconic/node-oom-heapdump/issues/31: Node20 support
|
|
28
50
|
- Change native code to use different method signature for Node20 and above, remain compatible for Node18 and below.
|
|
29
51
|
|
|
30
52
|
26-10-2023 Paul Rütter
|
|
53
|
+
|
|
31
54
|
- 3.1.0
|
|
32
55
|
- https://github.com/blueconic/node-oom-heapdump/issues/28: only build prebuilt binaries for > 16.x, as Github Actions no longer supports older versions.
|
|
33
56
|
|
|
34
57
|
19-10-2023 Paul Rütter
|
|
58
|
+
|
|
35
59
|
- 3.0.4
|
|
36
60
|
- Update dependencies
|
|
37
61
|
|
|
38
62
|
04-08-2023 Paul Rütter
|
|
63
|
+
|
|
39
64
|
- 3.0.3
|
|
40
65
|
- Prefer IPv4 (https://github.com/blueconic/node-oom-heapdump/pull/29)
|
|
41
66
|
- Update dependencies
|
|
42
67
|
|
|
43
68
|
24-07-2022 Paul Rütter
|
|
69
|
+
|
|
44
70
|
- 3.0.2
|
|
45
71
|
- Add Node18, as it's LTS now
|
|
46
72
|
- Upgrade dependencies
|
|
47
73
|
|
|
48
74
|
10-02-2022 Paul Rütter
|
|
75
|
+
|
|
49
76
|
- 3.0.1
|
|
50
77
|
- Fixed building native artifacts on Windows, thanks spmiller! https://github.com/blueconic/node-oom-heapdump/issues/22
|
|
51
78
|
|
|
52
79
|
10-02-2022 Paul Rütter
|
|
80
|
+
|
|
53
81
|
- 3.0.0
|
|
54
82
|
- Added Node 16 support (by merging https://github.com/blueconic/node-oom-heapdump/pull/20, Thanks Simon Abbott!).
|
|
55
83
|
This fixes a recursion issue.
|
|
@@ -57,98 +85,123 @@
|
|
|
57
85
|
- Updated `node-pre-gyp` to `@mapbox/node-pre-gyp` so security issues are mitigated
|
|
58
86
|
|
|
59
87
|
12-10-2020 Paul Rütter
|
|
88
|
+
|
|
60
89
|
- 2.1.0
|
|
61
90
|
- Added Node 14 support
|
|
62
91
|
|
|
63
|
-
12-10-2020
|
|
92
|
+
12-10-2020 Paul Rütter
|
|
93
|
+
|
|
64
94
|
- 2.0.2
|
|
65
95
|
- Fix latest published version, was replaced with beta.
|
|
66
96
|
|
|
67
|
-
02-08-2020
|
|
97
|
+
02-08-2020 Paul Rütter
|
|
98
|
+
|
|
68
99
|
- 2.0.1
|
|
69
100
|
- Fixed prebuilt binaries path.
|
|
70
101
|
|
|
71
|
-
20-07-2020
|
|
102
|
+
20-07-2020 Paul Rütter
|
|
103
|
+
|
|
72
104
|
- 2.0
|
|
73
105
|
- Added prebuilt binaries again, in a new major version. To "solve" https://github.com/blueconic/node-oom-heapdump/issues/13.
|
|
74
106
|
|
|
75
|
-
20-07-2020
|
|
107
|
+
20-07-2020 Paul Rütter
|
|
108
|
+
|
|
76
109
|
- 1.3.1
|
|
77
110
|
- Revert prebuilt binaries, since it's a breaking change.
|
|
78
111
|
|
|
79
112
|
24-06-2020 Stuart Miller / Paul Rütter
|
|
113
|
+
|
|
80
114
|
- 1.3.0
|
|
81
115
|
- Stuart Miller added support for having prebuilt binaries for all supported Node.js versions.
|
|
82
116
|
|
|
83
117
|
16-10-2019 Paul Rütter
|
|
118
|
+
|
|
84
119
|
- 1.2.0
|
|
85
120
|
- Node 12 support.
|
|
86
121
|
- Still some deprecated API's are used, which should be avoided.
|
|
87
|
-
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
|
|
122
|
+
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
|
|
88
123
|
- Adjusted test script a bit, by removing some flags which seem to complicate nodejs 12 support.
|
|
89
124
|
|
|
90
125
|
02-09-2019 Paul Rütter
|
|
126
|
+
|
|
91
127
|
- 1.2.0-beta.0
|
|
92
128
|
- Updated dependencies (nan update is needed for nodejs 12)
|
|
93
129
|
- Add nodejs 12 to travis
|
|
94
130
|
- Add experimental node 12 support. Still some deprecated API's are used, which should be avoided.
|
|
95
|
-
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
|
|
131
|
+
See https://github.com/joyeecheung/node/blob/v8-maybe-doc/CPP_STYLE_GUIDE.md#use-maybe-version-of-v8-apis
|
|
96
132
|
|
|
97
133
|
02-01-2019 Paul Rütter
|
|
134
|
+
|
|
98
135
|
- 1.1.4
|
|
99
136
|
- Updated dependencies
|
|
100
137
|
- Add travis file to trigger a build. Just run a dummy script which does nothing; the default "npm install" will check if the native module compiles.
|
|
101
138
|
|
|
102
139
|
09-06-2018 Paul Rütter
|
|
140
|
+
|
|
103
141
|
- 1.1.3 - Updated dependencies, to mitigate security issues.
|
|
104
142
|
|
|
105
143
|
02-20-2018 Paul Rütter
|
|
144
|
+
|
|
106
145
|
- 1.1.2 - Fixed heapdump generation on Unix machines.
|
|
107
146
|
- Added option to use the "old" implementation (GCmonitoring), as the new implementatuion is more prone to run in with the OoM killer when in memory restricted environments (like Docker). The old implementation was less impacted by this, because the "threshold" parameter can be used to create the heapdump earlier.
|
|
108
|
-
You can specify which OoM implementation to use, either: "NATIVE_HOOK" (default) or "GC_MONITORING" (old implementation).
|
|
147
|
+
You can specify which OoM implementation to use, either: "NATIVE_HOOK" (default) or "GC_MONITORING" (old implementation).
|
|
109
148
|
|
|
110
149
|
02-19-2018 Paul Rütter
|
|
150
|
+
|
|
111
151
|
- 1.1.0 - Changed the way the "out of memory" heapdump is created, based on the work of 'trevnorris' (https://github.com/trevnorris/node-ofe/blob/master/ofe.cc). Using V8 engine isolate.SetOOMErrorHandler() to hook in on the out of memory event.
|
|
112
152
|
- Updated readme and removed deprecated 'limit' and 'threshold' parameters.
|
|
113
153
|
- Removed 'gc-stats' module, as we no longer need it with the native C++ add-on.
|
|
114
154
|
|
|
115
155
|
02-13-2018 - Paul Rütter
|
|
156
|
+
|
|
116
157
|
- 1.0.12 - Use 'require-main-filename' instead of require.main.filename, to resolve 'https://github.com/blueconic/node-oom-heapdump/issues/3'.
|
|
117
158
|
- Upgrade dependencies
|
|
118
159
|
|
|
119
160
|
11-21-2017 - Paul Rütter
|
|
161
|
+
|
|
120
162
|
- 1.0.11 - Added port verification; when the module is loaded, the configured WebSocket port is verified. If the websocket responds with ECONNREFUSED, the process might have been started without the --inspect flag.
|
|
121
163
|
|
|
122
164
|
11-17-2017 - Paul Rütter
|
|
165
|
+
|
|
123
166
|
- 1.0.10 - Use gc-stats to calculate when to make a OoM heapdumo instead of process.memoryUsage() as this memory information (heapTotal) is growing over time, which is not expected.
|
|
124
167
|
- Stringify gc-stats output, so it runs over only 1 line.
|
|
125
168
|
|
|
126
169
|
06-10-2017 - Paul Rütter
|
|
170
|
+
|
|
127
171
|
- 1.0.9 - Handle exit codes better and reject promise if so.
|
|
128
172
|
|
|
129
173
|
05-10-2017 - Paul Rütter
|
|
174
|
+
|
|
130
175
|
- 1.0.8 - Add CPU profile functionality.
|
|
131
176
|
|
|
132
177
|
04-10-2017 - Paul Rütter
|
|
178
|
+
|
|
133
179
|
- 1.0.7 - Add addTimestamp option.
|
|
134
180
|
|
|
135
181
|
04-10-2017 - Paul Rütter
|
|
182
|
+
|
|
136
183
|
- 1.0.6 - Add limit option.
|
|
137
184
|
|
|
138
185
|
03-10-2017 - Paul Rütter
|
|
186
|
+
|
|
139
187
|
- 1.0.5 - Change heap calculation.
|
|
140
188
|
|
|
141
189
|
03-10-2017 - Paul Rütter
|
|
190
|
+
|
|
142
191
|
- 1.0.4 - Add error handler in case the calling process is not running anymore. Also, block execution a while to allow heapdump to be created.
|
|
143
192
|
|
|
144
193
|
01-10-2017 - Paul Rütter
|
|
194
|
+
|
|
145
195
|
- 1.0.3 - Minor doc changes.
|
|
146
196
|
|
|
147
197
|
01-10-2017 - Paul Rütter
|
|
198
|
+
|
|
148
199
|
- 1.0.2 - Refactored code; split up API and implementation. Also added API for creating heapdumps on the fly. Documentation updated.
|
|
149
200
|
|
|
150
201
|
29-09-2017 - Paul Rütter
|
|
202
|
+
|
|
151
203
|
- 1.0.1 - minor changed
|
|
152
204
|
|
|
153
205
|
29-09-2017 - Paul Rütter
|
|
206
|
+
|
|
154
207
|
- 1.0.1 - initial version
|
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ No support for Node.js < 10.x at the moment in version 3.0.0, use version 2.2.0
|
|
|
11
11
|
Also comes with prebuilt binaries (hosted on Github releases), thanks to Stuart Miller (https://github.com/spmiller).
|
|
12
12
|
From 3.1.0, prebuilt binaries are only shipped for Node.js 16.x and upwards.
|
|
13
13
|
From 3.2.3, prebuilt binaries are only shipped for Node.js 18.x and upwards.
|
|
14
|
+
In 3.7.0, prebuilt binaries for node 24.x were added.
|
|
14
15
|
|
|
15
16
|
## Node 22.x
|
|
16
17
|
Since node 22.x, there is a new CLI flag for generating heapdumps. This one is supplied by V8 (not Node.js) and is more reliant and efficient in creating the heapdumps than Node.js' `--heapsnapshot-near-heap-limit`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-oom-heapdump",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.2",
|
|
4
4
|
"description": "Create a V8 heap snapshot when an \"Out of Memory\" error occurs, or create a heap snapshot or CPU profile on request.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@mapbox/node-pre-gyp": "2.0.0",
|
|
45
45
|
"bindings": "^1.5.0",
|
|
46
46
|
"chrome-remote-interface": "^0.33.3",
|
|
47
|
-
"nan": "^2.
|
|
47
|
+
"nan": "^2.23.1",
|
|
48
48
|
"require-main-filename": "^2.0.0",
|
|
49
|
-
"ws": "^8.18.
|
|
49
|
+
"ws": "^8.18.3"
|
|
50
50
|
}
|
|
51
51
|
}
|