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

@pact-foundation/pact

Package Overview
Dependencies
Maintainers
6
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.51

Diff

Changelog

Source

10.0.0-beta.51 (2021-09-22)

Fixes and Improvements

  • Bump version of pact-core to obtain fix for a regression in VerifierOptions where the option was set to undefined (b424136)
pact-foundation
published 10.0.0-beta.50 •

Changelog

Source

10.0.0-beta.50 (2021-09-21)

Fixes and Improvements

  • Don't generate random numbers when the example given to V3 integer or decimal matchers is 0 (#742) (e5a443c)
pact-foundation
published 10.0.0-beta.49 •

Changelog

Source

10.0.0-beta.49 (2021-09-15)

Fixes and Improvements

  • give up on node 16 musl until we can remove neon (c8e5275)
  • update or remove all packages that caused dependency warnings (e1bb6ec)
pact-foundation
published 10.0.0-beta.48 •

Changelog

Source

10.0.0-beta.48 (2021-09-15)

Fixes and Improvements

  • upgrade neon to (finally) support Node 16 (hopefully) (6734a52)
pact-foundation
published 10.0.0-beta.47 •

Changelog

Source

10.0.0-beta.47 (2021-09-15)

⚠ BREAKING CHANGES

  • matchers: Matchers.rfc3339Timestamp() has been renamed to Matchers.rfc1123Timestamp(). The behaviour is unchanged - it was always RFC1123, and never did match RFC3339 timestamps.

Features

  • support node 16 with native build (5c5753e)

Fixes and Improvements

  • add support for request-mismatch error types (fa63933)
  • Bump version of pact-core to obtain fix for Verifier not accepting broker token correctly (#738) (79d9930)
  • matchers: Rename rfc3339Timestamp to rfc1123Timestamp (#451) (8e9c378)
pact-foundation
published 10.0.0-beta.46 •

Changelog

Source

10.0.0-beta.46 (2021-09-13)

Features

  • Support node 16 with native build (79d43ff)
pact-foundation
published 10.0.0-beta.45 •

Changelog

Source

10.0.0-beta.45 (2021-09-10)

⚠ BREAKING CHANGES

  • There are several changes to the VerifierOptions. To migrate:

    • Replace verbose with logLevel: "DEBUG" (logLevels of DEBUG and below now imply verbose where appropriate)
    • Replace consumerVersionTag with the consumerVersionTags array
    • Replace providerVersionTag with the providerVersionTags array
    • Replace tags with consumerVersionTags or providerVersionTags as appropriate.
  • Some VerifierOptions have been removed entirely:

    • customProviderHeaders has been removed. If you need this functionality, set an appropriate request filter with the requestFilters option instead.
    • All logging and reporting is now on standard out (this was the default before). This means logDir / format / out have all been removed. If your ecosystem needs the ability to customise logging and reporting, please let us know by opening an issue.
    • The undocumented option monkeypatch has been removed. The use cases for this feature are mostly covered by other options.
  • logging: 'fatal' log level has been removed. Nothing was logged at fatal, and the underlying core doesn't support it.

Features

  • Actually send message metadata during verification (c373144)

  • Add ability to specify metadata in provider tests with (824e49b)

  • State handlers respect promises for all pact file formats (72bfc0b)

  • logging: Improve trace logging and use clearer types (060daa9)

  • update verifier options (6df54b0)

Fixes and Improvements

  • correct VerfierV3Options so that it doesn't clobber VeriferOptions (5796fde)
  • You no longer need to import the verifier from /v3, it can be imported directly from @pact-foundation/pact (c268497)
pact-foundation
published 9.16.1 •

Changelog

Source

10.0.0-beta.45 (2021-09-10)

⚠ BREAKING CHANGES

  • There are several changes to the VerifierOptions. To migrate:

    • Replace verbose with logLevel: "DEBUG" (logLevels of DEBUG and below now imply verbose where appropriate)
    • Replace consumerVersionTag with the consumerVersionTags array
    • Replace providerVersionTag with the providerVersionTags array
    • Replace tags with consumerVersionTags or providerVersionTags as appropriate.
  • Some VerifierOptions have been removed entirely:

    • customProviderHeaders has been removed. If you need this functionality, set an appropriate request filter with the requestFilters option instead.
    • All logging and reporting is now on standard out (this was the default before). This means logDir / format / out have all been removed. If your ecosystem needs the ability to customise logging and reporting, please let us know by opening an issue.
    • The undocumented option monkeypatch has been removed. The use cases for this feature are mostly covered by other options.
  • logging: 'fatal' log level has been removed. Nothing was logged at fatal, and the underlying core doesn't support it.

Features

  • Actually send message metadata during verification (c373144)

  • Add ability to specify metadata in provider tests with (824e49b)

  • State handlers respect promises for all pact file formats (72bfc0b)

  • logging: Improve trace logging and use clearer types (060daa9)

  • update verifier options (6df54b0)

Fixes and Improvements

  • correct VerfierV3Options so that it doesn't clobber VeriferOptions (5796fde)
  • You no longer need to import the verifier from /v3, it can be imported directly from @pact-foundation/pact (c268497)
pact-foundation
published 10.0.0-beta.44 •

Changelog

Source

10.0.0-beta.44 (2021-07-22)

Fixes and Improvements

  • broken pact provider test not consistent with types (29af342)
  • consumerVersionTags were overwritten with empty array (#714) (838d1cb)
  • using relative import. fixes problems with intellisense in vscode (35de1c5)
pact-foundation
published 10.0.0-beta.43 •

Changelog

Source

10.0.0-beta.43 (2021-07-18)

Fixes and Improvements

  • return correct data type in fromProviderState (#710) (ec9192f), closes #633
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