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

fireprox

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireprox - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

bin/fireprox

6

fireprox.js

@@ -17,3 +17,3 @@ // Generated by LiveScript 1.2.0

PORT = 8080;
Args.version(PJson.version).option('-p, --port [port]', "fireprox listening port (default:" + PORT + ")", PORT).option('--mozrepl-host [host]', "mozrepl hostname or ip-address (default:" + MOZREPLHOST + ")", MOZREPLHOST).option('--mozrepl-port [port]', "mozrepl port (default:" + MOZREPLPORT + ")", MOZREPLPORT).parse(process.argv);
Args.version(PJson.version).option('-p, --port [port]', "fireprox listening port (default:" + PORT + ")", PORT).option('-m, --mozrepl-host [host]', "mozrepl hostname or ip-address (default:" + MOZREPLHOST + ")", MOZREPLHOST).option('-q, --mozrepl-port [port]', "mozrepl port (default:" + MOZREPLPORT + ")", MOZREPLPORT).parse(process.argv);
function allowCrossDomain(req, res, next){

@@ -80,3 +80,5 @@ res.set('Access-Control-Allow-Credentials', true);

client.removeListener('data', skipWelcome);
return sendAndReply();
return _.delay(function(){
return sendAndReply();
}, 250);
}

@@ -83,0 +85,0 @@ return skipWelcome;

{
"name": "fireprox",
"version": "1.1.0",
"description": "A simple proxy for MozRepl over HTTP GET using express/node.js to control Firefox",
"version": "1.0.4",
"author": "dizzib",
"license": "MIT",
"keywords": [

@@ -18,2 +16,5 @@ "control",

],
"license": "MIT",
"author": "dizzib",
"bin": "./bin/fireprox",
"repository": {

@@ -20,0 +21,0 @@ "type": "git",

@@ -14,5 +14,4 @@ ## fireprox

$ npm install fireprox
$ cd node_modules/fireprox
$ node fireprox
$ npm install -g fireprox # might need to prefix with sudo
$ fireprox

@@ -26,7 +25,7 @@ ## options

-h, --help output usage information
-V, --version output the version number
-p, --port [port] fireprox listening port (default:8080)
--mozrepl-host [host] mozrepl hostname or ip-address (default:localhost)
--mozrepl-port [port] mozrepl port (default:4242)
-h, --help output usage information
-V, --version output the version number
-p, --port [port] fireprox listening port (default:8080)
-m, --mozrepl-host [host] mozrepl hostname or ip-address (default:localhost)
-q, --mozrepl-port [port] mozrepl port (default:4242)

@@ -52,10 +51,10 @@ ## usage

$ npm install -g livescript # ensure livescript is installed globally
$ git clone git@github.com:dizzib/fireprox.git
$ npm install -g livescript # ensure livescript is installed globally
$ cd fireprox
$ ./task/bootstrap # compile the task runner and install dependencies
$ node dist/task/repl # launch the task runner
fireprox > b.fc # compile everything
$ node _build/task/repl # launch the task runner
fireprox > b.c # build compile
$ node dist/site/server # run it!
$ ./_build/site/bin/fireprox # run it!

@@ -62,0 +61,0 @@ ## credits

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