Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

b2g-scripts

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b2g-scripts - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

3

HISTORY.md

@@ -0,1 +1,4 @@

# 0.2.1
* server's port option can now handle :7777 as a port.
# 0.2.0

@@ -2,0 +5,0 @@

2

package.json
{
"name": "b2g-scripts",
"version": "0.2.0",
"version": "0.2.1",
"author": "James Lal <jlal@mozilla.com>",

@@ -5,0 +5,0 @@ "description": "B2G/Gaia Helper Scripts",

@@ -23,3 +23,4 @@ var Server = require('../lib/script')({

fsPath = require('path'),
fs = require('fs');
fs = require('fs'),
port = parseInt(argv.port.toString().replace(/[^0-9]/g, ''));

@@ -31,2 +32,4 @@ if (!fsPath.existsSync(argv.gaia)) {

console.log(port);
var apps = fs.readdirSync(fsPath.join(argv.gaia, 'apps'));

@@ -49,3 +52,3 @@ var file = new(static.Server)(argv.gaia);

});
}).listen(argv.port);
}).listen(port);

@@ -52,0 +55,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc