
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
grunt-jasmine-firefoxaddon
Advanced tools
Run jasmine specs in a Firefox Addon
This plugin requires Grunt ~0.4.0
If you haven't used Grunt before, be sure to check out the Getting Started guide, which explains how to create your grunt file. Once you're familiar with the process, this plugin can be installed as:
npm install grunt-jasmine-firefoxaddon --save-dev
Once the plugin has been installed, it may be enabled with this line of JavaScript:
grunt.loadNpmTasks('grunt-jasmine-firefoxaddon');
Run this task with the grunt jasmine_firefoxaddon
command.
Automatically builds and maintains the spec runner and reports results back to
the grunt console. Uses jpm provided by mozilla to run a dynamically constructed
firefox addon that runs jasmine specs by using browserify. Allows for copying
and loading of custom .jsm
files. The addon is built in the .buildff/
path,
and is not deleted after running so you can inspect manually (though you
probably want to add it to your .gitignore).
Note that if your addon needs to access other resources, you will need to make
the files available (e.g. with
grunt-contrib-copy) under
the path .buildff/data/...
and then access them in your addon with the path
jid1-mkagayemb0e5nq-at-jetpack/data/...
(you can also use self.data.url(...)
if
the self API
is available to you). This is due to the structure of Firefox addons - future
iterations of this tool may be able to make the process smoother.
Use your own files in the app to customize your tests.
Type: String|Array
The spec files you want to run.
Type: String|Array
Custom JavaScript module (.jsm
) files you wish you load into your addon during
test.
Type: Number
Default: 10000
How many milliseconds to wait for the browser to start up before failing.
FAQs
Grunt task to run jasmine tests in a firefox addon
The npm package grunt-jasmine-firefoxaddon receives a total of 2 weekly downloads. As such, grunt-jasmine-firefoxaddon popularity was classified as not popular.
We found that grunt-jasmine-firefoxaddon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.