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

fx-runner

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fx-runner - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

lib/run.js

@@ -43,2 +43,5 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

}
if (options["binary-args"]) {
args.unshift( options["binary-args"] );
}

@@ -45,0 +48,0 @@ return normalizeBinary(options.binary).then(function(binary) {

2

package.json
{
"name": "fx-runner",
"version": "0.0.5",
"version": "0.0.6",
"description": "A node cli to control Firefox",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -49,2 +49,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

it("--binary-args <CMDARGS>", function (done) {
var proc = exec("start -v -b " + fakeBinary + " --binary-args \"-test\" ./", {}, function (err, stdout, stderr) {
expect(err).to.not.be.ok;
expect(stderr).to.not.be.ok;
expect(stdout).to.contain("-test");
expect(stdout).to.not.contain("--binary-args");
expect(stdout).to.not.contain("--profile");
expect(stdout).to.not.contain("--P");
expect(stdout).to.not.contain("-foreground");
expect(stdout).to.not.contain("-no-remote");
expect(stdout).to.not.contain("-new-instance");
done();
});
});
it("--foreground", function (done) {

@@ -51,0 +66,0 @@ var proc = exec("start -v -b " + fakeBinary + " --foreground", {}, function (err, stdout, stderr) {

Sorry, the diff of this file is not supported yet

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