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.1.1 to 1.2.0

12

CHANGELOG.md

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

## [1.2.0](https://github.com/pactflow/pact-msw-adapter/compare/v1.1.1...v1.2.0) (2022-06-01)
### Features
* add query to request in the pact file ([1473315](https://github.com/pactflow/pact-msw-adapter/commit/147331570aa37d4b70c06e12dac3039cfdccc4b1))
### Bug Fixes
* change type ([1cfd279](https://github.com/pactflow/pact-msw-adapter/commit/1cfd27921fd770a5e098255724d015eccad5b70b))
### [1.1.1](https://github.com/pactflow/pact-msw-adapter/compare/v1.1.0...v1.1.1) (2022-05-21)

@@ -7,0 +19,0 @@

9

dist/convertMswMatchToPact.js

@@ -9,5 +9,5 @@ "use strict";

provider: { name: provider },
interactions: matches.map((match) => {
interactions: matches.map(match => {
var _a;
return {
return ({
description: match.request.id,

@@ -21,3 +21,4 @@ providerState: '',

: match.request.headers['_headers'],
body: match.request.body || undefined
body: match.request.body || undefined,
query: match.request.url.search ? match.request.url.search.split('?')[1] : undefined
},

@@ -35,3 +36,3 @@ response: {

}
};
});
}),

@@ -38,0 +39,0 @@ metadata: {

@@ -52,2 +52,3 @@ /// <reference types="node" />

body: DefaultRequestBody;
query?: string;
};

@@ -54,0 +55,0 @@ response: {

{
"name": "@pactflow/pact-msw-adapter",
"version": "1.1.1",
"version": "1.2.0",
"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