playwright-core
Advanced tools
Comparing version 1.46.0-beta-1722257607000 to 1.46.0-beta-1722264334000
@@ -75,3 +75,3 @@ "use strict"; | ||
async fetch(params, metadata) { | ||
var _params$method; | ||
var _params$method, _defaults$clientCerti; | ||
const defaults = this._defaultOptions(); | ||
@@ -107,3 +107,6 @@ const headers = { | ||
let agent; | ||
if (proxy && proxy.server !== 'per-context' && !shouldBypassProxy(requestUrl, proxy.bypass)) { | ||
// When `clientCertificates` is present, we set the `proxy` property to our own socks proxy | ||
// for the browser to use. However, we don't need it here, because we already respect | ||
// `clientCertificates` when fetching from Node.js. | ||
if (proxy && !((_defaults$clientCerti = defaults.clientCertificates) !== null && _defaults$clientCerti !== void 0 && _defaults$clientCerti.length) && proxy.server !== 'per-context' && !shouldBypassProxy(requestUrl, proxy.bypass)) { | ||
var _proxyOpts$protocol; | ||
@@ -110,0 +113,0 @@ const proxyOpts = _url.default.parse(proxy.server); |
{ | ||
"name": "playwright-core", | ||
"version": "1.46.0-beta-1722257607000", | ||
"version": "1.46.0-beta-1722264334000", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7285581
102136