Socket
Socket
Sign inDemoInstall

playwright

Package Overview
Dependencies
2
Maintainers
4
Versions
4361
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.43.0 to 1.43.1-beta-1712942342000

26

lib/isomorphic/teleReceiver.js

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

constructor(reporter, options) {
this.isListing = false;
this._rootSuite = void 0;

@@ -38,7 +39,2 @@ this._options = void 0;

}
reset() {
this._rootSuite.suites = [];
this._rootSuite.tests = [];
this._tests.clear();
}
dispatch(message) {

@@ -104,2 +100,22 @@ const {

this._mergeSuitesInto(project.suites, projectSuite);
// Remove deleted tests when listing. Empty suites will be auto-filtered
// in the UI layer.
if (this.isListing) {
const testIds = new Set();
const collectIds = suite => {
suite.tests.map(t => t.testId).forEach(testId => testIds.add(testId));
suite.suites.forEach(collectIds);
};
project.suites.forEach(collectIds);
const filterTests = suite => {
suite.tests = suite.tests.filter(t => {
if (testIds.has(t.id)) return true;
this._tests.delete(t.id);
return false;
});
suite.suites.forEach(filterTests);
};
filterTests(projectSuite);
}
}

@@ -106,0 +122,0 @@ _onBegin() {

4

package.json
{
"name": "playwright",
"version": "1.43.0",
"version": "1.43.1-beta-1712942342000",
"description": "A high-level API to automate web browsers",

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

"dependencies": {
"playwright-core": "1.43.0"
"playwright-core": "1.43.1-beta-1712942342000"
},

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

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