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.
qunit-phantomjs-runner
Advanced tools
A PhantomJS-powered headless test runner, providing basic console output for QUnit tests.
The runner requires PhantomJS. If you don't want to deal with installing PhantomJS or using Grunt to run your tests, try node-qunit-phantomjs.
$ npm install qunit-phantomjs-runner
$ phantomjs path/to/runner.js [url-of-your-qunit-testsuite]
With options:
$ phantomjs [phantom arguments] path/to/runner.js [url-of-your-qunit-testsuite] [timeout-in-seconds] [page-properties]
Show test cases:
$ phantomjs path/to/runner-list.js [url-of-your-qunit-testsuite]
Example setting the viewport size:
$ phantomjs path/to/runner-list.js [url-of-your-qunit-testsuite] 5 '{"viewportSize":{"width":1000,"height":1000}}'
In v2.0
, a default timeout of 5 seconds was added. The timeout was optional before. This could cause tests to break, which is the reason for the major version bump.
The MIT License
Copyright (c) 2014, Jonathan Kemp
FAQs
A PhantomJS-powered headless test runner for QUnit
The npm package qunit-phantomjs-runner receives a total of 10,102 weekly downloads. As such, qunit-phantomjs-runner popularity was classified as popular.
We found that qunit-phantomjs-runner 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.