Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
docpad-plugin-cpuprofiler
Advanced tools
Create a cpu snapshots for specified start and stop events in docpad, viewable in the chrome profiler
Generates cpu snapshots using v8-profiler during specified docpad events that can be loaded in to the chrome profiler. Snapshot files are generated in the root of docpad under 'snapshots' folder by default
plugins:
cpuprofiler:
# default output path relative to the docpad root path
snapshotPath: "snapshots"
# events that this plugin can start and stop recording from (change to suit your docpad instance)
# default settings
events: [
{
start: 'generateBefore', # event to start recording
stop:'generateAfter', # event to stop recording
recordSamples: false # passes the record_samples boolean flag to the profiler, default is false
}
]
plugins:
cpuprofiler:
# default output path relative to the docpad root path
snapshotPath: "snapshots"
<<<<<<< HEAD
# events that this plugin can start and stop recording from (change to suit your docpad instance)
events: [
{start: 'generateBefore', stop:'generateAfter'},
{start: 'parseBefore', stop:'parseAfter'},
{start: 'populateCollectionsBefore', stop:'populateCollections'},
{start: 'contextualizeBefore', stop:'contextualizeAfter'},
{start: 'renderBefore', stop:'renderAfter'},
{start: 'renderCollectionBefore', stop:'renderCollectionAfter'},
{start: 'writeBefore', stop:'writeAfter'},
{start: 'serverBefore', stop:'serverAfter'}
]
=======
events: [
{start: 'generateBefore', stop:'generateAfter'},
{start: 'parseBefore', stop:'parseAfter'},
{start: 'populateCollectionsBefore', stop:'populateCollections'},
{start: 'contextualizeBefore', stop:'contextualizeAfter'},
{start: 'renderBefore', stop:'renderAfter'},
{start: 'renderCollectionBefore', stop:'renderCollectionAfter'},
{start: 'writeBefore', stop:'writeAfter'},
{start: 'serverBefore', stop:'serverAfter'}
]
>>>>>>> origin/master
plugins:
cpuprofiler:
# default output path relative to the docpad root path
snapshotPath: "snapshots"
events: [
{start: 'generateBefore', stop:'writeAfter'}
]
Some of the events that can be specified
'generateBefore'
'generateAfter'
'parseBefore'
'parseAfter'
'populateCollectionsBefore'
'populateCollections'
'contextualizeBefore'
'contextualizeAfter'
'renderBefore'
'renderAfter'
'renderCollectionBefore'
'renderCollectionAfter'
'writeBefore'
'writeAfter' # (default)
'serverBefore'
'serverAfter'
Good advice here:
You can discover the history inside the History.md
file
You can discover the contributing instructions inside the Contributing.md
file
Licensed under the incredibly permissive MIT License
Copyright © 2015+ Stringz Solutions Ltd
Copyright © 2015+ Peter Flannery
FAQs
Creates cpu snapshots for specified start and stop events in docpad, viewable in the chrome profiler
The npm package docpad-plugin-cpuprofiler receives a total of 1 weekly downloads. As such, docpad-plugin-cpuprofiler popularity was classified as not popular.
We found that docpad-plugin-cpuprofiler 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.