Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
cordova-simulate
Advanced tools
A browser based plugin simulation tool to aid development and testing of Cordova applications.
A browser based plugin simulation tool to aid development and testing of Cordova applications.
Note that this is currently a work in progress / prototype! It still lacks a bunch of functionality, and may be quite buggy.
It is somewhat based on Apache Ripple™, but aims to improve it in the following ways:
npm install -g cordova-simulate
From the command line anywhere within a Cordova project, enter the following:
simulate [<platform>] [--target=<browser>]
Where:
browser
.chrome
, chromium
, edge
, firefox
, ie
, opera
, safari
. Defaults to chrome
.You can also require('cordova-simulate')
and launch a simulation via the API:
var simulate = require('cordova-simulate');
simulate(opts);
Where opts is an object with the following properties (all optional):
browser
.chrome
, chromium
, edge
, firefox
, ie
, opera
, safari
. Defaults to chrome
.8000
.Cordova simulate will launch your app in the browser, and open a second browser window displaying UI that allows you to control how plugins in your application work.
This preview version currently includes built-in support for the following Cordova plugins:
It also allows for plugins to define their own UI. To add simulation support to a plugin, follow these steps:
cordova-simulate
git repository (git clone https://github.com/TimBarham/cordova-simulate.git
), as it contains useful example code (see src/plugins
).src/simulation
. Follow the file naming conventions seen in the built-in plugins.FAQs
Simulates your Cordova application in the browser.
The npm package cordova-simulate receives a total of 89 weekly downloads. As such, cordova-simulate popularity was classified as not popular.
We found that cordova-simulate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.