@pact-foundation/pact-core 14.3.4 → 14.3.5

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 [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [14.3.5](https://github.com/pact-foundation/pact-js-core/compare/v14.3.4...v14.3.5) (2024-05-08)
6
+
7
+
8
+ ### Fixes and Improvements
9
+
10
+ * node doesn't run .bat files on windows ([#504](https://github.com/pact-foundation/pact-js-core/issues/504)) ([4f125b3](https://github.com/pact-foundation/pact-js-core/commit/4f125b32bc3bdfc5e9bfbbef4e0302073783dcf1))
11
+
5
12
  ## [14.3.4](https://github.com/pact-foundation/pact-js-core/compare/v14.3.3...v14.3.4) (2024-04-23)
6
13
 
7
14
 
@@ -6,8 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.brokerFullPath, process.argv.slice(2), {
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.brokerFullPath, process.argv.slice(2), {
10
10
  stdio: 'inherit',
11
+ shell: true,
11
12
  });
13
+ if (error)
14
+ throw error;
12
15
  process.exit(status);
13
16
  //# sourceMappingURL=pact-broker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pact-broker.js","sourceRoot":"","sources":["pact-broker.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,cAAc,EAC7B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;CACjB,CACF,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pact-broker.js","sourceRoot":"","sources":["pact-broker.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,cAAc,EAC7B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
@@ -6,8 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.messageFullPath, process.argv.slice(2), {
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.messageFullPath, process.argv.slice(2), {
10
10
  stdio: 'inherit',
11
+ shell: true,
11
12
  });
13
+ if (error)
14
+ throw error;
12
15
  process.exit(status);
13
16
  //# sourceMappingURL=pact-message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pact-message.js","sourceRoot":"","sources":["pact-message.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,eAAe,EAC9B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;CACjB,CACF,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pact-message.js","sourceRoot":"","sources":["pact-message.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,eAAe,EAC9B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
@@ -6,6 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.mockServiceFullPath, process.argv.slice(2), { stdio: 'inherit' });
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.mockServiceFullPath, process.argv.slice(2), {
10
+ stdio: 'inherit',
11
+ shell: true,
12
+ });
13
+ if (error)
14
+ throw error;
10
15
  process.exit(status);
11
16
  //# sourceMappingURL=pact-mock-service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pact-mock-service.js","sourceRoot":"","sources":["pact-mock-service.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,mBAAmB,EAClC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB,EAAE,KAAK,EAAE,SAAS,EAAE,CACrB,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pact-mock-service.js","sourceRoot":"","sources":["pact-mock-service.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,mBAAmB,EAClC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
@@ -6,8 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.verifierFullPath, process.argv.slice(2), {
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.verifierFullPath, process.argv.slice(2), {
10
10
  stdio: 'inherit',
11
+ shell: true,
11
12
  });
13
+ if (error)
14
+ throw error;
12
15
  process.exit(status);
13
16
  //# sourceMappingURL=pact-provider-verifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pact-provider-verifier.js","sourceRoot":"","sources":["pact-provider-verifier.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,gBAAgB,EAC/B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;CACjB,CACF,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pact-provider-verifier.js","sourceRoot":"","sources":["pact-provider-verifier.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,gBAAgB,EAC/B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
@@ -6,8 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.stubFullPath, process.argv.slice(2), {
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.stubFullPath, process.argv.slice(2), {
10
10
  stdio: 'inherit',
11
+ shell: true,
11
12
  });
13
+ if (error)
14
+ throw error;
12
15
  process.exit(status);
13
16
  //# sourceMappingURL=pact-stub-service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pact-stub-service.js","sourceRoot":"","sources":["pact-stub-service.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,YAAY,EAC3B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;CACjB,CACF,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pact-stub-service.js","sourceRoot":"","sources":["pact-stub-service.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,YAAY,EAC3B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
package/bin/pact.js CHANGED
@@ -6,8 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.pactFullPath, process.argv.slice(2), {
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.pactFullPath, process.argv.slice(2), {
10
10
  stdio: 'inherit',
11
+ shell: true,
11
12
  });
13
+ if (error)
14
+ throw error;
12
15
  process.exit(status);
13
16
  //# sourceMappingURL=pact.js.map
package/bin/pact.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pact.js","sourceRoot":"","sources":["pact.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,YAAY,EAC3B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;CACjB,CACF,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pact.js","sourceRoot":"","sources":["pact.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,YAAY,EAC3B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
package/bin/pactflow.js CHANGED
@@ -6,8 +6,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  const childProcess = require("child_process");
8
8
  const pact_standalone_1 = __importDefault(require("../src/pact-standalone"));
9
- const { status } = childProcess.spawnSync(pact_standalone_1.default.pactflowFullPath, process.argv.slice(2), {
9
+ const { error, status } = childProcess.spawnSync(pact_standalone_1.default.pactflowFullPath, process.argv.slice(2), {
10
10
  stdio: 'inherit',
11
+ shell: true,
11
12
  });
13
+ if (error)
14
+ throw error;
12
15
  process.exit(status);
13
16
  //# sourceMappingURL=pactflow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pactflow.js","sourceRoot":"","sources":["pactflow.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CACvC,yBAAc,CAAC,gBAAgB,EAC/B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;CACjB,CACF,CAAC;AACF,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"pactflow.js","sourceRoot":"","sources":["pactflow.ts"],"names":[],"mappings":";;;;;;AAEA,8CAA+C;AAC/C,6EAAoD;AAEpD,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,CAC9C,yBAAc,CAAC,gBAAgB,EAC/B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EACrB;IACE,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,IAAI;CACZ,CACF,CAAC;AACF,IAAI,KAAK;IAAE,MAAM,KAAK,CAAC;AACvB,OAAO,CAAC,IAAI,CAAC,MAAgB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pact-foundation/pact-core",
3
- "version": "14.3.4",
3
+ "version": "14.3.5",
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",
Binary file
Binary file