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

playwright

Package Overview
Dependencies
Maintainers
4
Versions
4714
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright - npm Package Compare versions

Comparing version 1.50.0-alpha-2024-12-13 to 1.50.0-alpha-2024-12-14

11

lib/reporters/html.js

@@ -572,13 +572,6 @@ "use strict";

function stdioAttachment(chunk, type) {
if (typeof chunk === 'string') {
return {
name: type,
contentType: 'text/plain',
body: chunk
};
}
return {
name: type,
contentType: 'application/octet-stream',
body: chunk
contentType: 'text/plain',
body: typeof chunk === 'string' ? chunk : chunk.toString('utf-8')
};

@@ -585,0 +578,0 @@ }

2

lib/runner/testServer.js

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

function chunkToPayload(type, chunk) {
if (chunk instanceof Buffer) return {
if (chunk instanceof Uint8Array) return {
type,

@@ -534,0 +534,0 @@ buffer: chunk.toString('base64')

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

async setup(testInfo, runnable) {
var _this$registration$cu;
this.runner.instanceForId.set(this.registration.id, this);

@@ -72,3 +73,3 @@ if (typeof this.registration.fn !== 'function') {

await testInfo._runAsStage({
title: `fixture: ${this.registration.name}`,
title: `fixture: ${(_this$registration$cu = this.registration.customTitle) !== null && _this$registration$cu !== void 0 ? _this$registration$cu : this.registration.name}`,
runnable: {

@@ -140,4 +141,5 @@ ...runnable,

if (!testInfo._timeoutManager.isTimeExhaustedFor(fixtureRunnable)) {
var _this$registration$cu2;
await testInfo._runAsStage({
title: `fixture: ${this.registration.name}`,
title: `fixture: ${(_this$registration$cu2 = this.registration.customTitle) !== null && _this$registration$cu2 !== void 0 ? _this$registration$cu2 : this.registration.name}`,
runnable: fixtureRunnable,

@@ -144,0 +146,0 @@ stepInfo: this._stepInfo

{
"name": "playwright",
"version": "1.50.0-alpha-2024-12-13",
"version": "1.50.0-alpha-2024-12-14",
"description": "A high-level API to automate web browsers",

@@ -59,3 +59,3 @@ "repository": {

"dependencies": {
"playwright-core": "1.50.0-alpha-2024-12-13"
"playwright-core": "1.50.0-alpha-2024-12-14"
},

@@ -62,0 +62,0 @@ "optionalDependencies": {

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