Socket
Socket
Sign inDemoInstall

spectron

Package Overview
Dependencies
Maintainers
5
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spectron - npm Package Compare versions

Comparing version 3.6.3 to 3.6.4

6

lib/application.js

@@ -25,2 +25,3 @@ var Accessibility = require('./accessibility')

this.args = options.args || []
this.chromeDriverArgs = options.chromeDriverArgs || []
this.env = options.env || {}

@@ -104,2 +105,3 @@ this.workingDirectory = options.cwd || process.cwd()

args: this.args,
chromeDriverArgs: this.chromeDriverArgs,
env: this.env,

@@ -149,2 +151,6 @@ workingDirectory: this.workingDirectory,

self.chromeDriverArgs.forEach(function (arg) {
args.push(arg)
})
var launcherPath = null

@@ -151,0 +157,0 @@ if (process.platform === 'win32') {

8

lib/spectron.d.ts

@@ -103,7 +103,11 @@ // Type definitions for spectron v3.6.0

/**
* Array of arguments to pass to the executable.
* Array of arguments to pass to the Electron application.
*/
args?:string[],
/**
* Array of arguments to pass to ChromeDriver.
* See here (https://sites.google.com/a/chromium.org/chromedriver/capabilities) for details
* on the Chrome arguments.
*/
args?:string[],
chromeDriverArgs?:string[],
/**

@@ -110,0 +114,0 @@ * Object of additional environment variables to set in the launched application.

{
"name": "spectron",
"version": "3.6.3",
"version": "3.6.4",
"description": "Easily test your Electron apps using ChromeDriver and WebdriverIO.",

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

@@ -77,5 +77,5 @@ # <img src="https://cloud.githubusercontent.com/assets/378023/15063284/cf544f2c-1383-11e6-9336-e13bd64b1694.png" width="60px" align="center" alt="Spectron icon"> Spectron

array.
* `args` - Array of arguments to pass to the executable.
See [here](https://sites.google.com/a/chromium.org/chromedriver/capabilities)
for details on the Chrome arguments.
* `args` - Array of arguments to pass to the Electron application.
* `chromeDriverArgs` - Array of arguments to pass to ChromeDriver.
See [here](https://sites.google.com/a/chromium.org/chromedriver/capabilities) for details on the Chrome arguments.
* `cwd`- String path to the working directory to use for the launched

@@ -82,0 +82,0 @@ application. Defaults to `process.cwd()`.

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