Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
b2g-scripts
Advanced tools
Contains a single cli script - b2g-scripts
with a growing number of subcommands.
In general it is assumed you have a working b2g emulator/desktop/phone with marionette turned on and listening on port 2828.
Commands like reload-app are not going to be useful if your not in DEBUG mode (everything is in offline cache).
# notice the -g option for global
npm install b2g-scripts -g
cd $GAIA_DIR
make DEBUG=1
Run b2g-scripts
with no arguments to see the list of current commands.
Each command has sub options as well and all respond to the --help option.
b2g-scripts watch --help
Watches a directory for web dev changes js/css/html/properties files. Executes a cli command. You can use this to chain other sub commands.
# I use this all the time to reload app when I am making rapid
# html/css changes
b2g-scripts watch "b2g-scripts reload-app"
Runs any of the marionette commands with n number of arguments
b2g-scripts cmd goUrl http://google.com
Reloads currently running app.
WARNING this is bound to the current implementation of gaia and will break if that implementation changes.
b2g-scripts reload-app
Output hostfile definition to add to /etc/hosts
b2g-scripts hosts --gaia $GAIA_DIR --ip 127.0.0.1
Starts http server. Faster then HTTPD but designed for use with the emulator/phone.
b2g-scripts server --gaia $GAIA_DIR --port 8081
FAQs
B2G/Gaia Helper Scripts
The npm package b2g-scripts receives a total of 15 weekly downloads. As such, b2g-scripts popularity was classified as not popular.
We found that b2g-scripts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.