New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

playwright-msw

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playwright-msw - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Changelog

## [1.0.3](https://github.com/valendres/playwright-msw/compare/playwright-msw@1.0.2...playwright-msw@1.0.3) "playwright-msw" (2022-10-28)<a name="1.0.3"></a>
### Bug Fixes
* trying to get headers after page is closed (#27) ([d222fbb](https://github.com/valendres/playwright-msw/commits/d222fbb))
* cookies not being sent for webkit ([26d3902](https://github.com/valendres/playwright-msw/commits/26d3902))
## [1.0.2](https://github.com/valendres/playwright-msw/compare/playwright-msw@1.0.1...playwright-msw@1.0.2) "playwright-msw" (2022-10-04)<a name="1.0.2"></a>

@@ -7,0 +17,0 @@

7

lib/server.js

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

headers,
credentials: "omit",
body: postData ? Buffer.from(postData) : undefined,

@@ -55,5 +54,5 @@ });

let cachedHandlers = originalHandlers;
yield page.route("**/*", (route) => {
yield page.route("**/*", (route) => __awaiter(void 0, void 0, void 0, function* () {
try {
void handleRoute(route, cachedHandlers);
yield handleRoute(route, cachedHandlers);
}

@@ -66,3 +65,3 @@ catch (error) {

}
});
}));
return {

@@ -69,0 +68,0 @@ use: (...customHandlers) => __awaiter(void 0, void 0, void 0, function* () {

{
"name": "playwright-msw",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Mock Service Worker API for Playwright.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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