Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
gulp-casperjs-local
Advanced tools
Fork of gulp-casperjs, but uses the local installation of casper (i.e. the one in your node_modules).
npm install --save-dev gulp-casperjs-local casperjs phantomjs
A gulp plugin for running CasperJS scripts
import casperJs from 'gulp-casperjs-local';
// or
const casperJs = require('gulp-casperjs-local').default;
gulp.task('test', function () {
gulp.src('Globs of test files')
.pipe(casperJs()); // run casperjs test
});
To change the command (default: test
) use parameter command
:
import casperJs from 'gulp-casperjs-local';
gulp.task('casperCmd', function () {
gulp.src('test.js')
.pipe(casperJs({ command: '', envArgs { TZ: 'UTC' } })); // run casperjs test.js
});
Command can be array
or string
.
If command has value which cast to false
, this parameter will be ignored.
envArgs is an object of environment variables that will be passed to casper.
The MIT License (MIT)
FAQs
Gulp plugin for running CasperJS scripts
The npm package gulp-casperjs-local receives a total of 1 weekly downloads. As such, gulp-casperjs-local popularity was classified as not popular.
We found that gulp-casperjs-local 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.