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

@pactflow/pact-msw-adapter

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pactflow/pact-msw-adapter - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

7

CHANGELOG.md

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

### [1.2.1](https://github.com/pactflow/pact-msw-adapter/compare/v1.2.0...v1.2.1) (2022-07-15)
### Bug Fixes
* include headers on interactions requests ([c5a0cea](https://github.com/pactflow/pact-msw-adapter/commit/c5a0ceaf854d97ac6dfaf62b2c8d40231617a653))
## [1.2.0](https://github.com/pactflow/pact-msw-adapter/compare/v1.1.1...v1.2.0) (2022-06-01)

@@ -7,0 +14,0 @@

4

dist/convertMswMatchToPact.js

@@ -18,4 +18,4 @@ "use strict";

headers: (headers === null || headers === void 0 ? void 0 : headers.excludeHeaders)
? (0, lodash_1.omit)(match.request.headers['_headers'], headers.excludeHeaders)
: match.request.headers['_headers'],
? (0, lodash_1.omit)(Object.fromEntries(match.request.headers.entries()), headers.excludeHeaders)
: Object.fromEntries(match.request.headers.entries()),
body: match.request.body || undefined,

@@ -22,0 +22,0 @@ query: match.request.url.search ? match.request.url.search.split('?')[1] : undefined

{
"name": "@pactflow/pact-msw-adapter",
"version": "1.2.0",
"version": "1.2.1",
"main": "./dist/pactMswAdapter.js",

@@ -5,0 +5,0 @@ "keywords": [

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