Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
hornet-js-gc-monitor
Advanced tools
Adds garbage collector statistics object into the javascript process object
Nodejs v8 garbage collector monitoring
This package is tested only with Node versions 0.10, 0.12 and 4.x
Note: This module currently works only on Linux operating systems.
This module collects GC statistics and put them into a Javascript Object : Here is the list of data the module reports periodically:
{
"total": {
"count": 10,
"time": 47.908777
},
"scavenge": {
"count": 8,
"time": 41.046463,
"maxtime": 7.650448
},
"marksweep": {
"count": 2,
"time": 6.862314,
"maxtime": 6.859382
}
}
The object is stored into the "process" object with a customizable key (default: "gcMonitor").
With npm do:
npm install hornet-gc-monitor
var hornetGcMonitor = require("hornet-gc-monitor");
// start without argument > statistics available at : process.gcMonitor
hornetGcMonitor.start();
var gcStatistics = process.gcMonitor;
// or start with argument. ex: statistics available at process.customKey
hornetGcMonitor.start("customKey");
var gcStatistics = process.customKey;
FAQs
Adds garbage collector statistics object into the javascript process object
The npm package hornet-js-gc-monitor receives a total of 2 weekly downloads. As such, hornet-js-gc-monitor popularity was classified as not popular.
We found that hornet-js-gc-monitor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.