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.
npm install -g cordova-simulator
From the command line anywhere within a Cordova project, enter the following:
simulate [<platform>] [--target=<browser>]
Where:
chrome
, chromium
,
firefox
, ie
, opera
, safari
.Cordova simulator 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 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-simulator
git repository (git clone https://github.com/TimBarham/cordova-simulator.git
), as it contains useful example code (see src/plugins
).src/simulation
. There must be a file called sim-host-controls.html
, which defines the UI to display in the simulation window, and there can also be supporting js, css and image files which it references.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.