
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
spawn-task-experiment-2
Advanced tools
Tests how fast it is to run gulp tasks in child processes
Tests how fast it is to run gulp tasks in child processes
This is a fork of Spawn task experiment to allow to pass some information into child process. I sent a pullRequest but never got an answer, so I'm posting this so I can use it in npm.
Run task in child process:
var makeItFaster = require('spawn-task-experiment').spawn;
gulp.task('whatever', makeItFaster(function() {
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var concat = require('gulp-concat');
return gulp.src(['app/index.js', 'app/**/*.js'])
.pipe(sourcemaps.init())
.pipe(concat('all.js'))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('.build/scripts'));
}));
Run task in worker pool:
var makeItFaster = require('spawn-task-experiment').workerPool();
gulp.task('whatever', makeItFaster(function() {
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var concat = require('gulp-concat');
return gulp.src(['app/index.js', 'app/**/*.js'])
.pipe(sourcemaps.init())
.pipe(concat('all.js'))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('.build/scripts'));
}));
Notes:
cpus().length
)FAQs
Tests how fast it is to run gulp tasks in child processes
We found that spawn-task-experiment-2 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.