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

@pact-foundation/pact

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pact-foundation/pact - npm Package Versions

1
20

10.0.0-beta.42

Diff

Changelog

Source

10.0.0-beta.42 (2021-06-29)

Features

  • reset consumer test state to enable re-use of PactV3 class (0134ea8)
pact-foundation
published 10.0.0-beta.41 •

Changelog

Source

10.0.0-beta.41 (2021-06-26)

⚠ BREAKING CHANGES

  • the signature of state handlers has been updated to accept either a single function with parameters, or an object that can specify optional teardown and setup functions that run on the different state phases.
  • callbackTimeout is now timeout

Features

  • support promises in filters + state handlers (456567c)

Fixes and Improvements

  • Make request tracer log in debug instead of trace (24742e4)
pact-foundation
published 10.0.0-beta.40 •

Changelog

Source

10.0.0-beta.40 (2021-06-24)

Fixes and Improvements

  • make fromProviderState Matcher compatible (b608094)
pact-foundation
published 10.0.0-beta.39 •

Changelog

Source

10.0.0-beta.39 (2021-06-23)

Fixes and Improvements

  • fromProviderState should accept any valid JSON. Fixes #696 (1b03b2d)
pact-foundation
published 9.16.0 •

Changelog

Source

10.0.0-beta.39 (2021-06-23)

Fixes and Improvements

  • fromProviderState should accept any valid JSON. Fixes #696 (1b03b2d)
pact-foundation
published 10.0.0-beta.38 •

Changelog

Source

10.0.0-beta.38 (2021-06-21)

Fixes and Improvements

  • Add InterfaceToTemplate<> generic type to address compile errors if users are using interfaces with matchers (982c4d2)
  • verifier: added StateHandler type and improved JSDocs (4cad265)
pact-foundation
published 10.0.0-beta.37 •

Changelog

Source

10.0.0-beta.37 (2021-06-06)

Features

  • add consumer version selectors to v3 pact verifier (3fe65ad)

Fixes and Improvements

pact-foundation
published 10.0.0-beta.36 •

Changelog

Source

10.0.0-beta.36 (2021-05-31)

Features

  • filter verification by description & state (2eb529a)

Fixes and Improvements

  • build: restore to files from git before build (dfb9b08)
  • Error message with no pactBrokerUrl and no pactUrls (3f6b036)
  • internal error in Neon module: called Option::unwrap() on a None value (7cb6822)
  • linting (3b1d394)
  • process body intermediate format when the content type is not JSON #633 (2683224)
  • rename pact-node to pact-core (553c525)
  • windows tests (c56db1b)
  • windows tests (1ef2f7c)
  • XMLBuilder needs to return intermediate format (002d6bc)
pact-foundation
published 10.0.0-beta.35 •

Changelog

Source

10.0.0-beta.35 (2021-05-21)

⚠ BREAKING CHANGES

  • Pact-js no longer officially supports node less than 10 (10 is only supported by nodejs for another few months anyway, so I doubt this will affect many users)

  • Since some of the interface of pact-core is exposed, there are some breaking changes:

    • In VerifierOptions: replace use of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags option.
    • The type for consumer version selectors in the verifier options has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields pacticipant, all or version. These fields never worked, and now will no longer compile in typescript. The correct type is:
    ConsumerVersionSelector {
      tag?: string;
      latest?: boolean;
      consumer?: string;
      fallbackTag?: string;
    }
    
  • Drop support for node < 10 (328de85)

  • Update pact-core to v11. (9e5a67d)

pact-foundation
published 9.15.5 •

Changelog

Source

10.0.0-beta.35 (2021-05-21)

⚠ BREAKING CHANGES

  • Pact-js no longer officially supports node less than 10 (10 is only supported by nodejs for another few months anyway, so I doubt this will affect many users)

  • Since some of the interface of pact-core is exposed, there are some breaking changes:

    • In VerifierOptions: replace use of tags, consumerVersionTag and providerVersionTag with the appropriate consumerVersionTags or providerVersionTags option.
    • The type for consumer version selectors in the verifier options has been corrected. This will affect typescript users who were using consumerVersionSelectors with the fields pacticipant, all or version. These fields never worked, and now will no longer compile in typescript. The correct type is:
    ConsumerVersionSelector {
      tag?: string;
      latest?: boolean;
      consumer?: string;
      fallbackTag?: string;
    }
    
  • Drop support for node < 10 (328de85)

  • Update pact-core to v11. (9e5a67d)

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