
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
minijasminenodewrap
Advanced tools
Wraps minijasminenode to allow globbing from options and the CLI
A simple wrapper around minijasminenode2.
npm install minijasminenodewrap --save-dev
Minijasminenodewrap looks for a jasmine-config.js
file within the current working directory.
The jasmine-config.js
file should return an object
of options
matching the ones provided to
miniJasmineLib.executeSpecs()
.
module.exports = {
// An array of filename globs, relative to current dir.
specs: ['spec/**/*.js'],
// A function to call on completion.
// function(passed)
onComplete: function(passed) { console.log('done!'); },
// If true, display suite and spec names.
isVerbose: false,
// If true, print colors to the terminal.
showColors: true,
// If true, include stack traces in failures.
includeStackTrace: true,
// Time to wait in milliseconds before a test automatically fails
defaultTimeoutInterval: 5000
};
minijasminenodewrap
allows options.specs
to be an array of globs instead of just file paths.
The globs will be expanded before running the tests.
You can also invoke minjjasminenodewrap
with arguments representing spec globs.
If you do this, the globs will replace anything currently listed in options.specs
$ ./node_modules/.bin/minijasminenodewrap 'spec/**/*.js' 'more/specs/**/*.js'
In addition to wrapping jasmine, this module wraps istanbul and allows you to easily generate code coverage for your project.
$ ./node_modules/.bin/cover
Producing JUnit reports is simple. Simply make sure you pass the --reportType=junit argument. Example:
./node_modules/minijasminenodewrap/bin/mjnw --reportType=junit --savePath=$HOME/test_reports --filePrefix=junit-results.xml
FAQs
Wraps minijasminenode to allow globbing from options and the CLI
The npm package minijasminenodewrap receives a total of 0 weekly downloads. As such, minijasminenodewrap popularity was classified as not popular.
We found that minijasminenodewrap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.