@pact-foundation/pact 10.2.0 → 10.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [10.2.2](https://github.com/pact-foundation/pact-js/compare/v10.2.1...v10.2.2) (2022-11-14)
6
+
7
+
8
+ ### Fixes and Improvements
9
+
10
+ * remove all remaining absolute imports ([1d16a76](https://github.com/pact-foundation/pact-js/commit/1d16a76462bb86c64ba0ffeb0120cb4037ce13a8))
11
+
12
+ ### [10.2.1](https://github.com/pact-foundation/pact-js/compare/v10.2.0...v10.2.1) (2022-11-14)
13
+
14
+
15
+ ### Fixes and Improvements
16
+
17
+ * remove absolute import paths in types. Fixes [#974](https://github.com/pact-foundation/pact-js/issues/974) ([a20ad80](https://github.com/pact-foundation/pact-js/commit/a20ad8038dc560168da20d4a22cd65381d93af26))
18
+
5
19
  ## [10.2.0](https://github.com/pact-foundation/pact-js/compare/v10.1.4...v10.2.0) (2022-11-10)
6
20
 
7
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pact-foundation/pact",
3
- "version": "10.2.0",
3
+ "version": "10.2.2",
4
4
  "description": "Pact for all things Javascript",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  import * as express from 'express';
2
2
  import { LogLevel } from '../../options';
3
3
  import { JsonMap, AnyJson } from '../../../common/jsonTypes';
4
- import { MessageProviders } from 'dsl/message';
4
+ import { MessageProviders } from '../../message';
5
5
  export declare type Hook = () => Promise<unknown>;
6
6
  /**
7
7
  * State handlers map a state description to a function
@@ -1,5 +1,5 @@
1
1
  import { VerifierOptions as PactCoreVerifierOptions } from '@pact-foundation/pact-core';
2
- import { MessageProviderOptions } from 'dsl/options';
2
+ import { MessageProviderOptions } from '../options';
3
3
  import { ProxyOptions } from './proxy/types';
4
4
  declare type ExcludedPactNodeVerifierKeys = Exclude<keyof PactCoreVerifierOptions, 'providerBaseUrl'>;
5
5
  export declare type PactNodeVerificationExcludedOptions = Pick<PactCoreVerifierOptions, ExcludedPactNodeVerifierKeys>;
@@ -1,6 +1,6 @@
1
1
  import { ConsumerInteraction } from '@pact-foundation/pact-core/src/consumer/index';
2
2
  import { RequestOptions, ResponseOptions, Headers, Query } from '../dsl/interaction';
3
- import { AnyTemplate } from 'v3/matchers';
3
+ import { AnyTemplate } from '../v3/matchers';
4
4
  declare enum INTERACTION_PART {
5
5
  REQUEST = 1,
6
6
  RESPONSE = 2
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { JsonMap } from '../../common/jsonTypes';
3
- import { Path, SpecificationVersion, TemplateHeaders, TemplateQuery, V3MockServer, V3ProviderState, V3Request, V3Response } from 'v3';
3
+ import { Path, SpecificationVersion, TemplateHeaders, TemplateQuery, V3MockServer, V3ProviderState, V3Request, V3Response } from '../../v3';
4
4
  import { AnyTemplate } from '../../v3/matchers';
5
5
  export declare type V4ProviderState = V3ProviderState;
6
6
  export declare type V4MockServer = V3MockServer;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
- import { Metadata } from 'dsl/message';
3
- import { AnyTemplate } from 'v3/matchers';
4
2
  import { AnyJson, JsonMap } from '../../common/jsonTypes';
3
+ import { Metadata } from '../../dsl/message';
4
+ import { AnyTemplate } from '../../v3/matchers';
5
5
  export interface MessageContents {
6
6
  }
7
7
  export interface SynchronousMessage {