Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@appcominteractive/cordova-plugin-hot-reload
Advanced tools
This plugin enables you to develop cordova apps with hot-reloading in your app in your development environment.
It creates two hooks that modify your config.xml and point the content to the local development server when you serve the app and point to the index.html
file when you build your app.
cordova plugin add @appcominteractive/cordova-plugin-hot-reload
The files are served via symlinks from your public folder and pointing to the correct platform files.
Remember to keep your symlinks out of git and add them to your .gitignore
file.
npm i concurrently wait-on cross-env
To serve your frontend files you could start your app like so
"serve:android": "cross-env PORT=8080 concurrently \"npm run serve\" \"wait-on http://localhost:8080 && cordova run android\""
you have to set the PORT
environment, so the plugin can point to the correct port.
You can add variables to the plugin by adding the following to your config.xml
in the widget
tag:
<plugin name="@appcominteractive/cordova-plugin-hot-reload">
<variable name="publicPath" value="www"/>
</plugin>
Now all symlinks get set to your folder named www
. The path must be relative to your config.xml
FAQs
Cordova Hot-Reload Plugin
The npm package @appcominteractive/cordova-plugin-hot-reload receives a total of 59 weekly downloads. As such, @appcominteractive/cordova-plugin-hot-reload popularity was classified as not popular.
We found that @appcominteractive/cordova-plugin-hot-reload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.