Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@sematext/gc-stats
Advanced tools
This is a fork of dainis/node-gcstats. I did not write the code nor claim I have. I'm only maintaining the dependencies that are required for my own open-source projects. Repos I maintain that need gc-stats to work:
To install this package run:
npm install @sematext/gc-stats
Create a new instance of the module and subscribe to stats
-events from that:
var gc = (require('@sematext/gc-stats'))();
gc.on('stats', function (stats) {
console.log('GC happened', stats);
});
This will print blobs like this whenever a GC happened:
GC happened {
startTime: 9426055813976,
endTime: 9426057735390,
pause: 1921414,
pauseMS: 1,
gctype: 1,
before: {
totalHeapSize: 11354112,
totalHeapExecutableSize: 3670016,
usedHeapSize: 7457184,
heapSizeLimit: 1501560832,
totalPhysicalSize: 9725880,
totalAvailableSize: 1488434544,
mallocedMemory: 8192,
peakMallocedMemory: 1186040
},
after: {
totalHeapSize: 12402688,
totalHeapExecutableSize: 3670016,
usedHeapSize: 6485792,
heapSizeLimit: 1501560832,
totalPhysicalSize: 10166144,
totalAvailableSize: 1489388528,
mallocedMemory: 8192,
peakMallocedMemory: 1186040
},
diff: {
totalHeapSize: 1048576,
totalHeapExecutableSize: 0,
usedHeapSize: -971392,
heapSizeLimit: 0,
totalPhysicalSize: 440264,
totalAvailableSize: 953984,
mallocedMemory: 0,
peakMallocedMemory: 0
}
}
npm install gc-stats
node-gcstats depends on C++ extensions which are compiled when the gc-stats module is installed. Prebuilt binaries are available on github.
FAQs
Exposes node v8 garbage collection stats
We found that @sematext/gc-stats 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.