
Security News
GitHub to Block pull_request_target Workflows by Default Starting December 2
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.
pStack is an incredibly useful way to create sync and async queues, and get your callback executed once the queue has been processed.
npm install pstack
var pstack = require('pstack');
var stack = new pstack();
stack.add(function(done) {
// do something...
// then execute the callback when the task is done
done();
});
stack.add(function(done) {
// do something else...
// then execute the callback when the task is done
done();
});
// Start the queue
stack.start(function() {
console.log("The queue has finished processing");
});
// Async: All the items in the queue will execute in parallel
var stack = new pstack({
async: true // default to false
});
// Show a progress bar in the console
var stack = new pstack({
progress: 'Processing the queue... '
});
// In the console, you'll see a progress bar:
// Processing the queue... [============== ] 80% [8/10] 0.6s
var pstack = require('pstack');
var stack = new pstack({
progress: 'Processing the queue... '
});
// Add 100 taks, and each will simulate a completing in 200ms
for (var i=0;i<100;i++) {
stack.add(function(done) {
setTimeout(function() {
done();
}, 200);
});
}
// Start the queue
stack.start(function() {
console.log("The queue has finished processing");
});
FAQs
pstack
We found that pstack 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.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.

Security News
/Application Security
A practical guide to securing GitHub Actions against supply chain attacks, covering malicious pull requests, credential theft, dependency risks, and release pipelines.

Security News
Composer 2.11 adds dependency cooldowns, joining package managers that delay new releases to reduce supply chain risks while allowing urgent security updates.