Socket
Socket
Sign inDemoInstall

playwright-core

Package Overview
Dependencies
Maintainers
2
Versions
4548
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-core - npm Package Compare versions

Comparing version 0.13.0-post-next.1587002771852 to 0.13.0-post-next.1587006981701

5

lib/chromium/crBrowser.js

@@ -365,2 +365,7 @@ "use strict";

}
async unroute(url, handler) {
this._routes = this._routes.filter(route => route.url !== url || (handler && route.handler !== handler));
for (const page of this.pages())
await page._delegate.updateRequestInterception();
}
async close() {

@@ -367,0 +372,0 @@ if (this._closed)

@@ -273,2 +273,7 @@ "use strict";

}
async unroute(url, handler) {
this._routes = this._routes.filter(route => route.url !== url || (handler && route.handler !== handler));
if (this._routes.length === 0)
await this._browser._connection.send('Browser.setRequestInterception', { browserContextId: this._browserContextId || undefined, enabled: false });
}
async close() {

@@ -275,0 +280,0 @@ if (this._closed)

4

lib/page.js

@@ -260,2 +260,6 @@ "use strict";

}
async unroute(url, handler) {
this._routes = this._routes.filter(route => route.url !== url || (handler && route.handler !== handler));
await this._delegate.updateRequestInterception();
}
_requestStarted(request) {

@@ -262,0 +266,0 @@ this.emit(events_1.Events.Page.Request, request);

@@ -269,2 +269,7 @@ "use strict";

}
async unroute(url, handler) {
this._routes = this._routes.filter(route => route.url !== url || (handler && route.handler !== handler));
for (const page of this.pages())
await page._delegate.updateRequestInterception();
}
async close() {

@@ -271,0 +276,0 @@ if (this._closed)

4

package.json
{
"name": "playwright-core",
"version": "0.13.0-post-next.1587002771852",
"version": "0.13.0-post-next.1587006981701",
"description": "A high-level API to automate web browsers",

@@ -12,3 +12,3 @@ "repository": "github:Microsoft/playwright",

"chromium_revision": "754895",
"firefox_revision": "1081",
"firefox_revision": "1082",
"webkit_revision": "1193"

@@ -15,0 +15,0 @@ },

Sorry, the diff of this file is too big to display

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