@pact-foundation/pact-core 13.7.7 → 13.7.8
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 +7 -0
- package/build/Makefile +1 -1
- package/ffi/libpact_ffi.dylib +0 -0
- package/ffi/libpact_ffi.so +0 -0
- package/ffi/libpact_ffi.so.gz +0 -0
- package/ffi/osxaarch64/libpact_ffi.dylib +0 -0
- package/ffi/pact-cpp.h +13 -0
- package/ffi/pact.h +14 -0
- package/ffi/pact_ffi.dll +0 -0
- package/ffi/pact_ffi.dll.lib +0 -0
- package/package.json +1 -1
- package/src/ffi/index.d.ts +1 -1
- package/src/ffi/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
### [13.7.8](https://github.com/pact-foundation/pact-js-core/compare/v13.7.7...v13.7.8) (2022-08-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Fixes and Improvements
|
|
9
|
+
|
|
10
|
+
* correct binary matching behaviour ([5794c74](https://github.com/pact-foundation/pact-js-core/commit/5794c74366ea57b101f6bfa4fd21c843b36b69cb))
|
|
11
|
+
|
|
5
12
|
### [13.7.7](https://github.com/pact-foundation/pact-js-core/compare/v13.7.6...v13.7.7) (2022-08-14)
|
|
6
13
|
|
|
7
14
|
|
package/build/Makefile
CHANGED
|
@@ -319,7 +319,7 @@ endif
|
|
|
319
319
|
|
|
320
320
|
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
|
321
321
|
cmd_regen_makefile = cd $(srcdir); /opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/runner/.cache/node-gyp/12.22.12" "-Dnode_gyp_dir=/opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/runner/.cache/node-gyp/12.22.12/<(target_arch)/node.lib" "-Dmodule_root_dir=/home/runner/work/pact-js-core/pact-js-core" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/home/runner/work/pact-js-core/pact-js-core/build/config.gypi -I/opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/runner/.cache/node-gyp/12.22.12/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
|
322
|
-
Makefile: $(srcdir)/binding.gyp $(srcdir)
|
|
322
|
+
Makefile: $(srcdir)/binding.gyp $(srcdir)/../../../../../opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/../../../.cache/node-gyp/12.22.12/include/node/common.gypi $(srcdir)/build/config.gypi
|
|
323
323
|
$(call do_cmd,regen_makefile)
|
|
324
324
|
|
|
325
325
|
# "all" is a concatenation of the "all" targets from all the included
|
package/ffi/libpact_ffi.dylib
CHANGED
|
Binary file
|
package/ffi/libpact_ffi.so
CHANGED
|
Binary file
|
package/ffi/libpact_ffi.so.gz
CHANGED
|
Binary file
|
|
Binary file
|
package/ffi/pact-cpp.h
CHANGED
|
@@ -2694,6 +2694,19 @@ int pactffi_verifier_set_verification_options(VerifierHandle *handle,
|
|
|
2694
2694
|
unsigned char disable_ssl_verification,
|
|
2695
2695
|
unsigned long request_timeout);
|
|
2696
2696
|
|
|
2697
|
+
/**
|
|
2698
|
+
* Enables or disables coloured output using ANSI escape codes in the verifier output. By default,
|
|
2699
|
+
* coloured output is enabled.
|
|
2700
|
+
*
|
|
2701
|
+
* `coloured_output` is a boolean value. Set it to greater than zero to turn the option on.
|
|
2702
|
+
*
|
|
2703
|
+
* # Safety
|
|
2704
|
+
*
|
|
2705
|
+
* This function is safe as long as the handle pointer points to a valid handle.
|
|
2706
|
+
*
|
|
2707
|
+
*/
|
|
2708
|
+
int pactffi_verifier_set_coloured_output(VerifierHandle *handle, unsigned char coloured_output);
|
|
2709
|
+
|
|
2697
2710
|
/**
|
|
2698
2711
|
* Set the options used when publishing verification results to the Pact Broker
|
|
2699
2712
|
*
|
package/ffi/pact.h
CHANGED
|
@@ -2692,6 +2692,20 @@ int pactffi_verifier_set_verification_options(struct VerifierHandle *handle,
|
|
|
2692
2692
|
unsigned char disable_ssl_verification,
|
|
2693
2693
|
unsigned long request_timeout);
|
|
2694
2694
|
|
|
2695
|
+
/**
|
|
2696
|
+
* Enables or disables coloured output using ANSI escape codes in the verifier output. By default,
|
|
2697
|
+
* coloured output is enabled.
|
|
2698
|
+
*
|
|
2699
|
+
* `coloured_output` is a boolean value. Set it to greater than zero to turn the option on.
|
|
2700
|
+
*
|
|
2701
|
+
* # Safety
|
|
2702
|
+
*
|
|
2703
|
+
* This function is safe as long as the handle pointer points to a valid handle.
|
|
2704
|
+
*
|
|
2705
|
+
*/
|
|
2706
|
+
int pactffi_verifier_set_coloured_output(struct VerifierHandle *handle,
|
|
2707
|
+
unsigned char coloured_output);
|
|
2708
|
+
|
|
2695
2709
|
/**
|
|
2696
2710
|
* Set the options used when publishing verification results to the Pact Broker
|
|
2697
2711
|
*
|
package/ffi/pact_ffi.dll
CHANGED
|
Binary file
|
package/ffi/pact_ffi.dll.lib
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pact-foundation/pact-core",
|
|
3
|
-
"version": "13.7.
|
|
3
|
+
"version": "13.7.8",
|
|
4
4
|
"description": "Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"homepage": "https://github.com/pact-foundation/pact-js-core#readme",
|
package/src/ffi/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LogLevel } from '../logger/types';
|
|
2
2
|
import { Ffi } from './types';
|
|
3
3
|
declare const ffiLib: Ffi;
|
|
4
|
-
export declare const PACT_FFI_VERSION = "0.3.
|
|
4
|
+
export declare const PACT_FFI_VERSION = "0.3.8";
|
|
5
5
|
declare let ffi: typeof ffiLib;
|
|
6
6
|
export declare const getFfiLib: (logLevel?: LogLevel) => typeof ffi;
|
|
7
7
|
export {};
|
package/src/ffi/index.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.getFfiLib = exports.PACT_FFI_VERSION = void 0;
|
|
|
23
23
|
const logger_1 = __importStar(require("../logger"));
|
|
24
24
|
const bindings = require("bindings");
|
|
25
25
|
const ffiLib = bindings('pact.node');
|
|
26
|
-
exports.PACT_FFI_VERSION = '0.3.
|
|
26
|
+
exports.PACT_FFI_VERSION = '0.3.8';
|
|
27
27
|
let ffi;
|
|
28
28
|
let ffiLogLevel;
|
|
29
29
|
const initialiseFfi = (logLevel) => {
|