@pact-foundation/pact-core 13.13.5 → 13.13.6

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,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.13.6](https://github.com/pact-foundation/pact-js-core/compare/v13.13.5...v13.13.6) (2023-03-14)
6
+
7
+
8
+ ### Fixes and Improvements
9
+
10
+ * Use synchronous logging to allow usage with Jest ([a4899f4](https://github.com/pact-foundation/pact-js-core/commit/a4899f45e3ca8ee3f1754dd88bbb15ee8039b3ba))
11
+
5
12
  ### [13.13.5](https://github.com/pact-foundation/pact-js-core/compare/v13.13.4...v13.13.5) (2023-03-08)
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/16.19.1/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/16.19.1" "-Dnode_gyp_dir=/opt/hostedtoolcache/node/16.19.1/x64/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/runner/.cache/node-gyp/16.19.1/<(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/16.19.1/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/runner/.cache/node-gyp/16.19.1/include/node/common.gypi "--toplevel-dir=." binding.gyp
322
- Makefile: $(srcdir)/../../../.cache/node-gyp/16.19.1/include/node/common.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../opt/hostedtoolcache/node/16.19.1/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi
322
+ Makefile: $(srcdir)/../../../../../opt/hostedtoolcache/node/16.19.1/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp $(srcdir)/../../../.cache/node-gyp/16.19.1/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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pact-foundation/pact-core",
3
- "version": "13.13.5",
3
+ "version": "13.13.6",
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",
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.createLogger = void 0;
4
7
  const pino_1 = require("pino");
8
+ const pino_pretty_1 = __importDefault(require("pino-pretty"));
5
9
  const createLogger = (level) => (0, pino_1.pino)({
6
10
  level: level.toLowerCase(),
7
- transport: {
8
- target: 'pino-pretty',
9
- },
10
- });
11
+ }, (0, pino_pretty_1.default)({ sync: true }));
11
12
  exports.createLogger = createLogger;
12
13
  //# sourceMappingURL=pino.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pino.js","sourceRoot":"","sources":["pino.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAGrB,MAAM,YAAY,GAAG,CAAC,KAAe,EAAe,EAAE,CAC3D,IAAA,WAAI,EAAC;IACH,KAAK,EAAE,KAAK,CAAC,WAAW,EAAE;IAC1B,SAAS,EAAE;QACT,MAAM,EAAE,aAAa;KACtB;CACF,CAAC,CAAC;AANQ,QAAA,YAAY,gBAMpB"}
1
+ {"version":3,"file":"pino.js","sourceRoot":"","sources":["pino.ts"],"names":[],"mappings":";;;;;;AAAA,+BAA4B;AAC5B,8DAAiC;AAG1B,MAAM,YAAY,GAAG,CAAC,KAAe,EAAe,EAAE,CAC3D,IAAA,WAAI,EACF;IACE,KAAK,EAAE,KAAK,CAAC,WAAW,EAAE;CAC3B,EACD,IAAA,qBAAM,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CACvB,CAAC;AANS,QAAA,YAAY,gBAMrB"}