Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.