@pact-foundation/pact 11.0.2 → 12.0.0
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 +12 -0
- package/MIGRATION.md +8 -6
- package/package.json +3 -3
- package/scripts/ci/build-and-test.sh +11 -50
- package/scripts/ci/test-examples.sh +64 -0
- package/scripts/install-plugins.sh +4 -0
- package/src/common/net.spec.js +3 -1
- package/src/common/net.spec.js.map +1 -1
- package/src/pact.integration.spec.js +2 -0
- package/src/pact.integration.spec.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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
|
+
## [12.0.0](https://github.com/pact-foundation/pact-js/compare/v11.0.2...v12.0.0) (2023-07-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* set node engines min version to 16
|
|
11
|
+
|
|
12
|
+
### Fixes and Improvements
|
|
13
|
+
|
|
14
|
+
* set node engines min version to 16 ([85df5b7](https://github.com/pact-foundation/pact-js/commit/85df5b7c4696a51671d1c8a678ece0fe531c88e2))
|
|
15
|
+
* update to latest pact-core 13.14.0 ([a3085d6](https://github.com/pact-foundation/pact-js/commit/a3085d6901a94ae4a9d9dab5451dab000b9b8456))
|
|
16
|
+
|
|
5
17
|
### [11.0.2](https://github.com/pact-foundation/pact-js/compare/v11.0.1...v11.0.2) (2023-03-09)
|
|
6
18
|
|
|
7
19
|
|
package/MIGRATION.md
CHANGED
|
@@ -8,11 +8,13 @@ There is just one single [breaking change](https://github.com/pact-foundation/pa
|
|
|
8
8
|
|
|
9
9
|
See the [9.x.x -> 10.x.x](/docs/migrations/9-10.md) migration guide.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
For changes on the intermediate beta versions, see below:
|
|
12
|
+
|
|
13
|
+
## 10.0.0-beta.62
|
|
12
14
|
|
|
13
15
|
Removed the default export for v3 in the root package in preparation for a release.
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
## 10.0.0-beta.61
|
|
16
18
|
|
|
17
19
|
* new `addInteraction` method on PactV3 to support previous JSON-style interactions
|
|
18
20
|
* remove `VerifierV3` as many beta versions have passed with this deprecation notice and won't be in final release
|
|
@@ -27,7 +29,7 @@ Removed the default export for v3 in the root package in preparation for a relea
|
|
|
27
29
|
* the `mockService` property on the `Pact` class is no longer an actual `MockService`, but supports the `baseUrl` property.
|
|
28
30
|
* Manually controlling the state of the mock server - such as removing interactions - has been removed.
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
## 10.0.0-beta.56
|
|
31
33
|
|
|
32
34
|
Migrates to a new handle based verifier. This adds several layers of improvement, including better error handling/response output (which will be added in later versions).
|
|
33
35
|
|
|
@@ -35,7 +37,7 @@ Migrates to a new handle based verifier. This adds several layers of improvement
|
|
|
35
37
|
* Handle based verifier doesn't support environment variables (i.e. `PACT_BROKER_*`)
|
|
36
38
|
|
|
37
39
|
This guide is for migrating to a new version of pact-js.
|
|
38
|
-
|
|
40
|
+
## 10.0.0-beta.52
|
|
39
41
|
|
|
40
42
|
The following matchers now must have an explicit example provided:
|
|
41
43
|
|
|
@@ -43,13 +45,13 @@ The following matchers now must have an explicit example provided:
|
|
|
43
45
|
* `timestamp`
|
|
44
46
|
* `time`
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
## 10.0.0-beta.47
|
|
47
49
|
|
|
48
50
|
Change uses of `RFC3339_TIMESTAMP_FORMAT` or `Matchers.rfc1123Timestamp()` to
|
|
49
51
|
`RFC1123_TIMESTAMP_FORMAT` and `rfc1123Timestamp` respectively (this matcher
|
|
50
52
|
has always been RFC1123, not RFC3339).
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
## 10.0.0-beta.44 to beta.45
|
|
53
55
|
|
|
54
56
|
You no longer need to use `VerifierV3`. You may now do:
|
|
55
57
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pact-foundation/pact",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Pact for all things Javascript",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"url": "git+https://github.com/pact-foundation/pact-js.git"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=16"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
31
|
"pact",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@pact-foundation/pact-core": "^
|
|
98
|
+
"@pact-foundation/pact-core": "^14.0.1",
|
|
99
99
|
"@types/express": "^4.17.11",
|
|
100
100
|
"axios": "^0.27.2",
|
|
101
101
|
"body-parser": "^1.20.0",
|
|
@@ -6,8 +6,7 @@ set -x
|
|
|
6
6
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)" # Figure out where the script is running
|
|
7
7
|
. "$SCRIPT_DIR"/lib/robust-bash.sh
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
npm ci
|
|
9
|
+
npm ci --ignore-scripts
|
|
11
10
|
|
|
12
11
|
npm run dist
|
|
13
12
|
cp package.json ./dist
|
|
@@ -19,54 +18,16 @@ export PACT_BROKER_PASSWORD="O5AIZWxelWbLvqMd8PkAVycBJh2Psyg1"
|
|
|
19
18
|
|
|
20
19
|
"${SCRIPT_DIR}"/lib/prepare-release.sh
|
|
21
20
|
|
|
22
|
-
cp package-lock.json dist
|
|
23
|
-
cp -r scripts dist
|
|
24
|
-
echo "This will be version '$(npx absolute-version)'"
|
|
25
|
-
|
|
26
|
-
# Link the build so that the examples are always testing the
|
|
27
|
-
# current build, in it's properly exported format
|
|
28
|
-
(cd dist && npm ci)
|
|
29
|
-
|
|
30
|
-
echo "Running e2e examples build for node version $(node --version)"
|
|
31
|
-
for i in examples/*; do
|
|
32
|
-
[ -d "$i" ] || continue # prevent failure if not a directory
|
|
33
|
-
[ -e "$i" ] || continue # prevent failure if there are no examples
|
|
34
|
-
echo "--> running tests for: $i"
|
|
35
|
-
pushd "$i"
|
|
36
|
-
# replace pact dependency with locally build version
|
|
37
|
-
contents="$(jq '.devDependencies."@pact-foundation/pact" = "file:../../dist"' package.json)" && \
|
|
38
|
-
echo "${contents}" > package.json
|
|
39
|
-
# npm ci does not work because we have just changed the package.json file
|
|
40
|
-
npm install
|
|
41
|
-
npm test
|
|
42
|
-
popd
|
|
43
|
-
done
|
|
44
|
-
|
|
45
21
|
echo "--> Running coverage checks"
|
|
46
22
|
npm run coverage
|
|
47
23
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
for i in examples/v*/*; do
|
|
59
|
-
[ -d "$i" ] || continue # prevent failure if not a directory
|
|
60
|
-
[ -e "$i" ] || continue # prevent failure if there are no examples
|
|
61
|
-
echo "------------------------------------------------"
|
|
62
|
-
echo "------------> continuing to test V3/v$ example project: $i"
|
|
63
|
-
node --version
|
|
64
|
-
pushd "$i"
|
|
65
|
-
# replace pact dependency with locally build version
|
|
66
|
-
contents="$(jq '.devDependencies."@pact-foundation/pact" = "file:../../../dist"' package.json)" && \
|
|
67
|
-
echo "${contents}" > package.json
|
|
68
|
-
# npm ci does not work because we have just changed the package.json file
|
|
69
|
-
npm install
|
|
70
|
-
npm test
|
|
71
|
-
popd
|
|
72
|
-
done
|
|
24
|
+
cp package-lock.json dist
|
|
25
|
+
cp -r scripts dist
|
|
26
|
+
echo "This will be version '$(npx --yes absolute-version)'"
|
|
27
|
+
|
|
28
|
+
if [ x"${SKIP_EXAMPLES:-}" == "x" ]; then
|
|
29
|
+
echo "running all examples as SKIP_EXAMPLES not set"
|
|
30
|
+
"${SCRIPT_DIR}"/test-examples.sh
|
|
31
|
+
else
|
|
32
|
+
echo "skipping examples as SKIP_EXAMPLES set"
|
|
33
|
+
fi
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
#!/bin/bash -eu
|
|
2
|
+
set -e
|
|
3
|
+
set -u
|
|
4
|
+
set -x
|
|
5
|
+
|
|
6
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)" # Figure out where the script is running
|
|
7
|
+
. "$SCRIPT_DIR"/lib/robust-bash.sh
|
|
8
|
+
|
|
9
|
+
# Link the build so that the examples are always testing the
|
|
10
|
+
# current build, in it's properly exported format
|
|
11
|
+
(cd dist && npm ci --ignore-scripts)
|
|
12
|
+
|
|
13
|
+
echo "Running e2e examples build for node version $(node --version)"
|
|
14
|
+
for i in examples/*; do
|
|
15
|
+
[ -d "$i" ] || continue # prevent failure if not a directory
|
|
16
|
+
[ -e "$i" ] || continue # prevent failure if there are no examples
|
|
17
|
+
echo "--> running tests for: $i"
|
|
18
|
+
pushd "$i"
|
|
19
|
+
# replace pact dependency with locally build version
|
|
20
|
+
contents="$(jq '.devDependencies."@pact-foundation/pact" = "file:../../dist"' package.json)" && \
|
|
21
|
+
echo "${contents}" > package.json
|
|
22
|
+
|
|
23
|
+
if [ x"${SETUP_DIST_ONLY:-}" == "x" ]; then
|
|
24
|
+
echo "running all examples as SETUP_DIST_ONLY not set"
|
|
25
|
+
# npm ci does not work because we have just changed the package.json file
|
|
26
|
+
npm install --ignore-scripts
|
|
27
|
+
npm test
|
|
28
|
+
else
|
|
29
|
+
echo "skipping testing of examples as SETUP_DIST_ONLY set"
|
|
30
|
+
fi
|
|
31
|
+
popd
|
|
32
|
+
done
|
|
33
|
+
|
|
34
|
+
echo "Running Vx examples build"
|
|
35
|
+
|
|
36
|
+
# Commented because:
|
|
37
|
+
# 1. We can't run the broker on windows CI
|
|
38
|
+
# 2. We use the live broker in the v3 examples now anyway
|
|
39
|
+
# docker pull pactfoundation/pact-broker
|
|
40
|
+
# BROKER_ID=$(docker run -e PACT_BROKER_DATABASE_ADAPTER=sqlite -d -p 9292:9292 pactfoundation/pact-broker)
|
|
41
|
+
|
|
42
|
+
# trap "docker kill $BROKER_ID" EXIT
|
|
43
|
+
|
|
44
|
+
for i in examples/v*/*; do
|
|
45
|
+
[ -d "$i" ] || continue # prevent failure if not a directory
|
|
46
|
+
[ -e "$i" ] || continue # prevent failure if there are no examples
|
|
47
|
+
echo "------------------------------------------------"
|
|
48
|
+
echo "------------> continuing to test V3/v$ example project: $i"
|
|
49
|
+
node --version
|
|
50
|
+
pushd "$i"
|
|
51
|
+
# replace pact dependency with locally build version
|
|
52
|
+
contents="$(jq '.devDependencies."@pact-foundation/pact" = "file:../../../dist"' package.json)" && \
|
|
53
|
+
echo "${contents}" > package.json
|
|
54
|
+
# npm ci does not work because we have just changed the package.json file
|
|
55
|
+
if [ x"${SETUP_DIST_ONLY:-}" == "x" ]; then
|
|
56
|
+
echo "running all examples as SETUP_DIST_ONLY not set"
|
|
57
|
+
# npm ci does not work because we have just changed the package.json file
|
|
58
|
+
npm install --ignore-scripts
|
|
59
|
+
npm test
|
|
60
|
+
else
|
|
61
|
+
echo "skipping testing of examples as SETUP_DIST_ONLY set"
|
|
62
|
+
fi
|
|
63
|
+
popd
|
|
64
|
+
done
|
package/src/common/net.spec.js
CHANGED
|
@@ -26,7 +26,9 @@ describe('Net', function () {
|
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
(process.platform === 'linux' && process.arch === 'arm64'
|
|
30
|
+
? describe.skip
|
|
31
|
+
: describe)('#isPortAvailable', function () {
|
|
30
32
|
context('when the port is not allowed to be bound', function () {
|
|
31
33
|
it('returns a rejected promise', function () {
|
|
32
34
|
return expect((0, net_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AO,GAAG,UAAC,EAAO,IAAK,OAAA,EAAE,EAAE,EAAJ,CAAI,CAAC;YAEhC,EAAE,CAAC,6BAA6B,EAAE;gBAChC,iCAAiC;gBACjC,OAAA,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,UAAC,MAAwB;oBACtD,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;oBACpC,mDAAmD;oBACnD,OAAO,MAAM,CAAC,IAAA,qBAAe,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE;yBAC/D,SAAS,CAAC;gBACf,CAAC,CAAC;YALF,CAKE,CAAC,CAAC;YAEN,0EAA0E;YAC1E,SAAS,CAAC,UAAC,IAAI;gBACb,OAAO,CAAC,IAAI,CAAC,CAAC;YAChB,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -45,6 +45,8 @@ var chai_as_promised_1 = __importDefault(require("chai-as-promised"));
|
|
|
45
45
|
var sinon_chai_1 = __importDefault(require("sinon-chai"));
|
|
46
46
|
var axios_1 = __importDefault(require("axios"));
|
|
47
47
|
var net = require("net");
|
|
48
|
+
process.env.ENABLE_FEATURE_V4 = 'true';
|
|
49
|
+
// eslint-disable-next-line import/first
|
|
48
50
|
var v4_1 = require("./v4");
|
|
49
51
|
var expect = chai_1.default.expect;
|
|
50
52
|
chai_1.default.use(sinon_chai_1.default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pact.integration.spec.js","sourceRoot":"","sources":["../../src/pact.integration.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAkD;AAClD,8CAAwB;AACxB,sEAA8C;AAC9C,0DAAmC;AACnC,gDAA0B;AAC1B,yBAA4B;
|
|
1
|
+
{"version":3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