node-oom-heapdump
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -1,2 +0,12 @@ | ||
10-02-2022 Paul Rütter | ||
04-08-2023 Paul Rütter | ||
- 3.0.3 | ||
- Prefer IPv4 (https://github.com/blueconic/node-oom-heapdump/pull/29) | ||
- Update dependencies | ||
24-07-2022 Paul Rütter | ||
- 3.0.2 | ||
- Add Node18, as it's LTS now | ||
- Upgrade dependencies | ||
10-02-2022 Paul Rütter | ||
- 3.0.1 | ||
@@ -3,0 +13,0 @@ - Fixed building native artifacts on Windows, thanks spmiller! https://github.com/blueconic/node-oom-heapdump/issues/22 |
let fs = require('fs'); | ||
let dns = require("dns"); | ||
@@ -21,2 +22,8 @@ // set global variables based on args passed on to this CPU profile worker | ||
try { | ||
dns.setDefaultResultOrder('ipv4first'); | ||
} catch (e) { | ||
// ignore, method not available before node16 | ||
} | ||
CDP({ | ||
@@ -23,0 +30,0 @@ host: 'localhost', |
let fs = require('fs'); | ||
let dns = require("dns"); | ||
@@ -21,2 +22,8 @@ // set global variables based on args passed on to this heapdump worker | ||
try { | ||
dns.setDefaultResultOrder('ipv4first'); | ||
} catch (e) { | ||
// ignore, method not available before node16 | ||
} | ||
CDP({ | ||
@@ -50,2 +57,2 @@ host: 'localhost', | ||
handleError(err); | ||
}); | ||
}); |
{ | ||
"name": "node-oom-heapdump", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Create a V8 heap snapshot when an \"Out of Memory\" error occurs, or create a heap snapshot or CPU profile on request.", | ||
@@ -45,3 +45,3 @@ "main": "index.js", | ||
"bindings": "^1.5.0", | ||
"chrome-remote-interface": "^0.32.2", | ||
"chrome-remote-interface": "^0.33.0", | ||
"nan": "^2.17.0", | ||
@@ -51,2 +51,2 @@ "require-main-filename": "^2.0.0", | ||
} | ||
} | ||
} |
@@ -8,3 +8,3 @@ [![Build status](https://github.com/blueconic/node-oom-heapdump/actions/workflows/publish-native-assets-to-github-releases.yml/badge.svg)](https://github.com/blueconic/node-oom-heapdump/actions/workflows/publish-native-assets-to-github-releases.yml) | ||
Tested on Node.js 10.x, 11.x, 12.x, 13.x, 14.x, 15.x and 16.x. | ||
Tested on Node.js 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x and 18.x. | ||
No support for Node.js < 10.x at the moment in version 3.0.0, use version 2.2.0 for if needed. | ||
@@ -11,0 +11,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
49687
466
5
+ Addedchrome-remote-interface@0.33.0(transitive)
- Removedchrome-remote-interface@0.32.2(transitive)