Socket
Socket
Sign inDemoInstall

karma-chrome-launcher

Package Overview
Dependencies
4
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.2.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="2.2.0"></a>
# [2.2.0](https://github.com/karma-runner/karma-chrome-launcher/compare/v2.1.1...v2.2.0) (2017-06-23)
### Features
* add ChromiumHeadless ([7a12021](https://github.com/karma-runner/karma-chrome-launcher/commit/7a12021))
<a name="2.1.1"></a>

@@ -2,0 +12,0 @@ ## [2.1.1](https://github.com/karma-runner/karma-chrome-launcher/compare/v2.1.0...v2.1.1) (2017-05-05)

25

index.js

@@ -184,4 +184,2 @@ var fsAccess = require('fs-access')

DEFAULT_CMD: {
// Try chromium-browser before chromium to avoid conflict with the legacy
// chromium-bsu package previously known as 'chromium' in Debian and Ubuntu.
linux: getBin(['google-chrome', 'google-chrome-stable']),

@@ -270,2 +268,24 @@ darwin: getChromeDarwin('/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'),

var ChromiumHeadlessBrowser = function (baseBrowserDecorator, args) {
ChromiumBrowser.apply(this, arguments)
var parentOptions = this._getOptions
this._getOptions = function (url) {
return headlessGetOptions.call(this, url, args, parentOptions)
}
}
ChromiumHeadlessBrowser.prototype = {
name: 'ChromiumHeadless',
DEFAULT_CMD: {
// Try chromium-browser before chromium to avoid conflict with the legacy
// chromium-bsu package previously known as 'chromium' in Debian and Ubuntu.
linux: getBin(['chromium-browser', 'chromium']),
darwin: '/Applications/Chromium.app/Contents/MacOS/Chromium',
win32: getChromiumExe()
},
ENV_CMD: 'CHROMIUM_BIN'
}
var DartiumBrowser = function () {

@@ -298,2 +318,3 @@ ChromeBrowser.apply(this, arguments)

'launcher:Chromium': ['type', ChromiumBrowser],
'launcher:ChromiumHeadless': ['type', ChromiumHeadlessBrowser],
'launcher:Dartium': ['type', DartiumBrowser]

@@ -300,0 +321,0 @@ }

17

package.json
{
"name": "karma-chrome-launcher",
"version": "2.1.1",
"version": "2.2.0",
"description": "A Karma plugin. Launcher for Chrome and Chrome Canary.",

@@ -52,13 +52,14 @@ "main": "index.js",

"Friedel Ziegelmayer <friedel.ziegelmayer@gmail.com>",
"rogeriopvl <rogeriopvl@gmail.com>",
"Andrey Taranov <andrey.taranov@nordea.com>",
"Aymeric Beaumet <aymeric@beaumet.me>",
"Filipe Guerra <alias.mac@gmail.com>",
"Andrey Taranov <andrey.taranov@nordea.com>",
"Julien Sanchez <julien.sanchez@lim.eu>",
"Jeff Cross <middlefloor@gmail.com>",
"Michał Gołębiowski <m.goleb@gmail.com>",
"rogeriopvl <rogeriopvl@gmail.com>",
"Joe Doyle <valdain@gmail.com>",
"Marko Vuksanovic <markovuksanovic@gmail.com>",
"Michał Gołębiowski <m.goleb@gmail.com>",
"Michał Gołębiowski <m.goleb@gmail.com>",
"Darryl Pogue <dvpdiner2@gmail.com>",
"Parashuram N <code@r.nparashuram.com>",
"Hai Feng Kao <haifeng@cocoaspice.in>",
"Tatsuyuki Ishi <ishitatsuyuki@gmail.com>",
"Timo Tijhof <krinklemail@gmail.com>",

@@ -70,5 +71,5 @@ "Vincent Voyer <vincent.voyer@algolia.com>",

"David <davidsu@wix.com>",
"Darryl Pogue <dvpdiner2@gmail.com>",
"Joe Doyle <valdain@gmail.com>"
"Julien Sanchez <julien.sanchez@lim.eu>",
"Jeff Cross <middlefloor@gmail.com>"
]
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc