Socket
Socket
Sign inDemoInstall

playwright-core

Package Overview
Dependencies
0
Maintainers
4
Versions
4384
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.45.0-alpha-2024-05-20 to 1.45.0-alpha-2024-05-21

7

lib/client/network.js

@@ -57,3 +57,2 @@ "use strict";

this._provisionalHeaders = new RawHeaders(initializer.headers);
this._fallbackOverrides.postDataBuffer = initializer.postData;
this._timing = {

@@ -81,7 +80,7 @@ startTime: 0,

postData() {
var _this$_fallbackOverri;
return ((_this$_fallbackOverri = this._fallbackOverrides.postDataBuffer) === null || _this$_fallbackOverri === void 0 ? void 0 : _this$_fallbackOverri.toString('utf-8')) || null;
var _ref;
return ((_ref = this._fallbackOverrides.postDataBuffer || this._initializer.postData) === null || _ref === void 0 ? void 0 : _ref.toString('utf-8')) || null;
}
postDataBuffer() {
return this._fallbackOverrides.postDataBuffer || null;
return this._fallbackOverrides.postDataBuffer || this._initializer.postData || null;
}

@@ -88,0 +87,0 @@ postDataJSON() {

@@ -99,3 +99,3 @@ "use strict";

for (const reporter of options.reporter || []) params.append('reporter', reporter);
const urlPath = `/trace/${options.webApp || 'index.html'}?${params.toString()}`;
const urlPath = `./trace/${options.webApp || 'index.html'}?${params.toString()}`;
server.routePath('/', (_, response) => {

@@ -102,0 +102,0 @@ response.statusCode = 302;

{
"name": "playwright-core",
"version": "1.45.0-alpha-2024-05-20",
"version": "1.45.0-alpha-2024-05-21",
"description": "A high-level API to automate web browsers",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc