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

@web/test-runner-chrome

Package Overview
Dependencies
Maintainers
7
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/test-runner-chrome - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

3

dist/ChromeLauncher.js

@@ -44,4 +44,4 @@ "use strict";

launchBrowser(options = {}) {
const mergedOptions = Object.assign(Object.assign({ headless: 'new' }, this.launchOptions), options);
if (this.customPuppeteer) {
const mergedOptions = Object.assign(Object.assign({}, this.launchOptions), options);
// launch using a custom puppeteer instance

@@ -58,3 +58,2 @@ return this.customPuppeteer.launch(mergedOptions).catch(error => {

// launch using puppeteer-core, connecting to an installed browser
const mergedOptions = Object.assign(Object.assign({}, this.launchOptions), options);
// add a default executable path if the user did not provide any

@@ -61,0 +60,0 @@ if (!mergedOptions.executablePath) {

{
"name": "@web/test-runner-chrome",
"version": "0.13.1",
"version": "0.13.2",
"publishConfig": {

@@ -48,3 +48,3 @@ "access": "public"

"dependencies": {
"@web/test-runner-core": "^0.11.0",
"@web/test-runner-core": "^0.11.2",
"@web/test-runner-coverage-v8": "^0.7.0",

@@ -51,0 +51,0 @@ "chrome-launcher": "^0.15.0",

@@ -82,4 +82,8 @@ import * as puppeteerCore from 'puppeteer-core';

launchBrowser(options: PuppeteerNodeLaunchOptions = {}) {
const mergedOptions: PuppeteerNodeLaunchOptions = {
headless: 'new',
...this.launchOptions,
...options,
};
if (this.customPuppeteer) {
const mergedOptions = { ...this.launchOptions, ...options };
// launch using a custom puppeteer instance

@@ -99,4 +103,2 @@ return this.customPuppeteer.launch(mergedOptions).catch(error => {

// launch using puppeteer-core, connecting to an installed browser
const mergedOptions = { ...this.launchOptions, ...options };
// add a default executable path if the user did not provide any

@@ -103,0 +105,0 @@ if (!mergedOptions.executablePath) {

Sorry, the diff of this file is not supported yet

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