@contract-case/case-connector 0.30.0 → 0.30.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 +43 -0
- package/dist/cjs/src/connectors/case-boundary/internals/BoundaryPluginLoader.cjs +71 -24
- package/dist/cjs/src/connectors/case-boundary/internals/BoundaryPluginLoader.d.ts.map +1 -1
- package/dist/cjs/src/connectors/case-boundary/internals/BoundaryPluginLoader.js.map +1 -1
- package/dist/cjs/src/connectors/case-boundary/internals/boundary/config.types.d.cts +1 -1
- package/dist/cjs/src/connectors/case-boundary/internals/index.cjs +1 -0
- package/dist/cjs/src/connectors/case-boundary/internals/index.d.cts +1 -0
- package/dist/cjs/src/connectors/case-boundary/internals/index.d.ts.map +1 -1
- package/dist/cjs/src/connectors/case-boundary/internals/index.js.map +1 -1
- package/dist/cjs/src/entities/versionString.cjs +1 -1
- package/dist/cjs/src/entities/versionString.d.cts +1 -1
- package/dist/cjs/tsconfig.c8e48e29.tsbuildinfo +1 -0
- package/dist/src/connectors/case-boundary/internals/BoundaryPluginLoader.d.ts.map +1 -1
- package/dist/src/connectors/case-boundary/internals/BoundaryPluginLoader.js +67 -20
- package/dist/src/connectors/case-boundary/internals/BoundaryPluginLoader.js.map +1 -1
- package/dist/src/connectors/case-boundary/internals/boundary/config.types.d.ts +1 -1
- package/dist/src/connectors/case-boundary/internals/index.d.ts +1 -0
- package/dist/src/connectors/case-boundary/internals/index.d.ts.map +1 -1
- package/dist/src/connectors/case-boundary/internals/index.js +1 -0
- package/dist/src/connectors/case-boundary/internals/index.js.map +1 -1
- package/dist/src/entities/versionString.d.ts +1 -1
- package/dist/src/entities/versionString.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/eslint.config.mjs +2 -2
- package/package/case-connector.js +2 -2
- package/package/case-connector.js.LICENSE.txt +15 -25
- package/package/case-connector.js.map +1 -1
- package/package.json +8 -7
- package/test-fixtures/contract-case-test-plugin/default-export.js +9 -0
- package/test-fixtures/contract-case-test-plugin/esm-default.mjs +7 -0
- package/test-fixtures/contract-case-test-plugin/makePlugin.js +23 -0
- package/test-fixtures/contract-case-test-plugin/module-exports.js +7 -0
- package/test-fixtures/contract-case-test-plugin/named-exports.js +12 -0
- package/test-fixtures/contract-case-test-plugin/not-a-plugin.js +5 -0
- package/test-fixtures/contract-case-test-plugin/package.json +15 -0
- package/dist/cjs/tsconfig.56c70853.tsbuildinfo +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.30.2](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-v0.30.1...@contract-case/case-connector-v0.30.2) (2026-08-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Make the DSL generator runnable by plugin authors ([#1387](https://github.com/case-contract-testing/contract-case/issues/1387)) ([7576a42](https://github.com/case-contract-testing/contract-case/commit/7576a4207b3c1fa4d8b58d6db233634f9e791c4c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **plugins:** Make plugin loading work end to end ([#1386](https://github.com/case-contract-testing/contract-case/issues/1386)) ([8d79bb4](https://github.com/case-contract-testing/contract-case/commit/8d79bb4ee7d4f2d78363913f261ef5173a742f96))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* The following workspace dependencies were updated
|
|
19
|
+
* dependencies
|
|
20
|
+
* @contract-case/case-connector-proto bumped from 0.30.1 to 0.30.2
|
|
21
|
+
* @contract-case/case-core bumped from 0.30.1 to 0.30.2
|
|
22
|
+
* @contract-case/case-entities-internal bumped from 0.30.1 to 0.30.2
|
|
23
|
+
* devDependencies
|
|
24
|
+
* @contract-case/case-maintainer-config bumped from 0.30.1 to 0.30.2
|
|
25
|
+
* @contract-case/eslint-config-case-maintainer bumped from 0.30.1 to 0.30.2
|
|
26
|
+
|
|
27
|
+
## [0.30.1](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-v0.30.0...@contract-case/case-connector-v0.30.1) (2026-07-18)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Miscellaneous Chores
|
|
31
|
+
|
|
32
|
+
* **@contract-case/case-connector:** Synchronize ContractCase versions
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Dependencies
|
|
36
|
+
|
|
37
|
+
* The following workspace dependencies were updated
|
|
38
|
+
* dependencies
|
|
39
|
+
* @contract-case/case-connector-proto bumped from 0.30.0 to 0.30.1
|
|
40
|
+
* @contract-case/case-core bumped from 0.30.0 to 0.30.1
|
|
41
|
+
* @contract-case/case-entities-internal bumped from 0.30.0 to 0.30.1
|
|
42
|
+
* devDependencies
|
|
43
|
+
* @contract-case/case-maintainer-config bumped from 0.30.0 to 0.30.1
|
|
44
|
+
* @contract-case/eslint-config-case-maintainer bumped from 0.30.0 to 0.30.1
|
|
45
|
+
|
|
3
46
|
## [0.30.0](https://github.com/case-contract-testing/contract-case/compare/@contract-case/case-connector-v0.29.1...@contract-case/case-connector-v0.30.0) (2026-07-05)
|
|
4
47
|
|
|
5
48
|
|
|
@@ -1,10 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BoundaryPluginLoader = void 0;
|
|
4
|
+
const node_module_1 = require("node:module");
|
|
5
|
+
const node_path_1 = require("node:path");
|
|
6
|
+
const node_url_1 = require("node:url");
|
|
4
7
|
const case_core_1 = require("@contract-case/case-core");
|
|
8
|
+
const index_js_1 = require("./boundary/index.cjs");
|
|
5
9
|
const versionString_js_1 = require("../../../entities/versionString.cjs");
|
|
6
|
-
const
|
|
7
|
-
|
|
10
|
+
const index_js_2 = require("./mappers/index.cjs");
|
|
11
|
+
/**
|
|
12
|
+
* Resolves a plugin module name against the user's project (ie, the current
|
|
13
|
+
* working directory), falling back to normal resolution relative to this
|
|
14
|
+
* file.
|
|
15
|
+
*
|
|
16
|
+
* The cwd resolution step exists because this code doesn't always run from
|
|
17
|
+
* the user's project: when ContractCase is called from a host language like
|
|
18
|
+
* Java, the connector runs from a temporary directory, so resolving relative
|
|
19
|
+
* to this file would never find plugins the user installed in their project's
|
|
20
|
+
* node_modules.
|
|
21
|
+
*
|
|
22
|
+
* @param moduleName - a previously validated bare module name
|
|
23
|
+
* @returns the resolved path to the module, or null if it couldn't be
|
|
24
|
+
* resolved from the working directory (in which case the caller should fall
|
|
25
|
+
* back to normal resolution, so that this continues to work if the module is
|
|
26
|
+
* resolvable from this file but not from the working directory).
|
|
27
|
+
*/
|
|
28
|
+
const resolveFromWorkingDirectory = (moduleName) => {
|
|
29
|
+
try {
|
|
30
|
+
return (0, node_module_1.createRequire)((0, node_path_1.join)(process.cwd(), 'noop.js')).resolve(moduleName);
|
|
31
|
+
}
|
|
32
|
+
catch {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const importSinglePlugin = (moduleName) => Promise.resolve()
|
|
37
|
+
.then(() => {
|
|
38
|
+
if (
|
|
39
|
+
// Forbid URIs
|
|
40
|
+
moduleName.includes(':') ||
|
|
41
|
+
// Forbid strings that start with '.', as they may be hidden files or path traversal
|
|
42
|
+
moduleName.startsWith('.') ||
|
|
43
|
+
// Forbid strings that start with / , as only local packages are supported
|
|
44
|
+
moduleName.startsWith('/') ||
|
|
45
|
+
// Forbid strings that don't look like node module names
|
|
46
|
+
!/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*(?:\/[a-z0-9][a-z0-9._-]*)*$/i.test(moduleName)) {
|
|
47
|
+
throw new case_core_1.CaseConfigurationError(`Unsafe plugin module specifier. Plugin names must be a valid local nodejs package name, and may not be remote or inline URIs. Provided name was: '${moduleName}'`, 'DONT_ADD_LOCATION', 'INVALID_PLUGIN_NAME');
|
|
48
|
+
}
|
|
49
|
+
const resolvedPath = resolveFromWorkingDirectory(moduleName);
|
|
50
|
+
// webpack ignore is needed here so that the final bundle for host
|
|
51
|
+
// languages is able to import arbitrary libs, without webpack failing
|
|
52
|
+
return import(
|
|
53
|
+
/* webpackIgnore: true */ resolvedPath != null
|
|
54
|
+
? (0, node_url_1.pathToFileURL)(resolvedPath).href
|
|
55
|
+
: moduleName)
|
|
56
|
+
.catch((e) => {
|
|
57
|
+
// Some test environments can't do a dynamic import() at all (eg
|
|
58
|
+
// Jest without --experimental-vm-modules). In those environments,
|
|
59
|
+
// fall back to loading the plugin with require() instead.
|
|
60
|
+
if (e != null &&
|
|
61
|
+
(e.code === 'ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING' ||
|
|
62
|
+
`${e.message}`.includes('--experimental-vm-modules'))) {
|
|
63
|
+
return (0, node_module_1.createRequire)((0, node_path_1.join)(process.cwd(), 'noop.js'))(resolvedPath != null ? resolvedPath : moduleName);
|
|
64
|
+
}
|
|
65
|
+
throw e;
|
|
66
|
+
})
|
|
67
|
+
.catch((e) => {
|
|
68
|
+
throw new case_core_1.CaseConfigurationError(`Unable to load plugin '${moduleName}': ${e.message}\n\nPlease check that the plugin's package is installed (for example, with \`npm install --save-dev ${moduleName}\`) in the project the tests are running from.`, 'DONT_ADD_LOCATION', 'UNDOCUMENTED');
|
|
69
|
+
});
|
|
70
|
+
})
|
|
71
|
+
.then((moduleContents) => (0, case_core_1.mustResolvePlugin)(moduleContents, moduleName));
|
|
8
72
|
/**
|
|
9
73
|
* A BoundaryPluginLoader allows loading plugins into the core
|
|
10
74
|
*
|
|
@@ -42,38 +106,21 @@ class BoundaryPluginLoader {
|
|
|
42
106
|
}
|
|
43
107
|
initialiseLoader() {
|
|
44
108
|
if (this.loader === undefined) {
|
|
45
|
-
const { config } = (0,
|
|
46
|
-
this.loader = new case_core_1.PluginLoader(config, (0,
|
|
109
|
+
const { config } = (0, index_js_2.convertConfig)(this.constructorConfig);
|
|
110
|
+
this.loader = new case_core_1.PluginLoader(config, (0, index_js_2.wrapLogPrinter)(this.logPrinter, this.resultPrinter), [...this.parentVersions]);
|
|
47
111
|
}
|
|
48
112
|
}
|
|
49
113
|
async loadPlugins(moduleNames) {
|
|
50
114
|
this.initialiseLoader();
|
|
51
|
-
return Promise.all(moduleNames.map((moduleName) =>
|
|
52
|
-
if (
|
|
53
|
-
// Forbid URIs
|
|
54
|
-
moduleName.includes(':') ||
|
|
55
|
-
// Forbid strings that start with '.', as they may be hidden files or path traversal
|
|
56
|
-
moduleName.startsWith('.') ||
|
|
57
|
-
// Forbid strings that start with / , as only local packages are supported
|
|
58
|
-
moduleName.startsWith('/') ||
|
|
59
|
-
// Forbid strings that don't look like node module names
|
|
60
|
-
!/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*(?:\/[a-z0-9][a-z0-9._-]*)*$/i.test(moduleName)) {
|
|
61
|
-
throw new case_core_1.CaseConfigurationError(`Unsafe plugin module specifier. Plugin names must be a valid local nodejs package name, and may not be remote or inline URIs. Provided name was: '${moduleName}'`, 'DONT_ADD_LOCATION', 'INVALID_PLUGIN_NAME');
|
|
62
|
-
}
|
|
63
|
-
// webpack ignore is needed here so that the final bundle for host
|
|
64
|
-
// languages is able to import arbitrary libs, without webpack failing
|
|
65
|
-
return import(/* webpackIgnore: true */ moduleName);
|
|
66
|
-
}))
|
|
115
|
+
return Promise.all(moduleNames.map((moduleName) => importSinglePlugin(moduleName)))
|
|
67
116
|
.then((plugins) => {
|
|
68
117
|
if (this.loader == null) {
|
|
69
118
|
throw new case_core_1.CaseCoreError('this.loader was not initialised during loadPlugins. This should never happen, as initialiseLoader() is meant to be called first');
|
|
70
119
|
}
|
|
71
120
|
this.loader.loadPlugins(plugins);
|
|
72
|
-
}, (e) => {
|
|
73
|
-
throw new case_core_1.CaseConfigurationError(`Unable to load plugin: ${e.message}`, 'DONT_ADD_LOCATION', 'UNDOCUMENTED');
|
|
74
121
|
})
|
|
75
|
-
.then(() => new
|
|
76
|
-
.catch(
|
|
122
|
+
.then(() => new index_js_1.BoundarySuccess())
|
|
123
|
+
.catch(index_js_2.jsErrorToFailure);
|
|
77
124
|
}
|
|
78
125
|
}
|
|
79
126
|
exports.BoundaryPluginLoader = BoundaryPluginLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoundaryPluginLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/BoundaryPluginLoader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BoundaryPluginLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/BoundaryPluginLoader.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAyF7B;;;;GAIG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,MAAM,CAA2B;IAEzC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA6B;IAE/D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAc;IAEzC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAiB;IAE/C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAW;IAE1C;;;;;;;;;;OAUG;gBAED,MAAM,EAAE,0BAA0B,EAClC,UAAU,EAAE,WAAW,EACvB,aAAa,EAAE,cAAc,EAC7B,cAAc,EAAE,MAAM,EAAE;IAc1B,OAAO,CAAC,gBAAgB;IAYlB,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC;CAgBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoundaryPluginLoader.js","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/BoundaryPluginLoader.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"BoundaryPluginLoader.js","sourceRoot":"","sources":["../../../../../../src/conn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GAAG,CAAC,GAAG,cAAc,EAAE,gCAAa,CAAC,CAAC;QAC3D,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACvC,CAAC;IACH,CAAC;IAEO,gBAAgB;QACtB,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,wBAAa,EAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;YAEzD,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAY,CAC5B,MAAM,EACN,IAAA,yBAAc,EAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,EACnD,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,CACzB,CAAC;QACJ,CAAC;IACH,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,WAAqB;QACrC,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC,GAAG,CAChB,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAChE;aACE,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE;YAChB,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE,CAAC;gBACxB,MAAM,IAAI,yBAAa,CACrB,iIAAiI,CAClI,CAAC;YACJ,CAAC;YACD,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QACnC,CAAC,CAAC;aACD,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,0BAAe,EAAE,CAAC;aACjC,KAAK,CAAC,2BAAgB,CAAC,CAAC;IAC7B,CAAC;CACF;AApED,oDAoEC"}
|
|
@@ -130,7 +130,7 @@ export interface ContractCaseBoundaryConfig {
|
|
|
130
130
|
readonly brokerBasicAuth?: UserNamePassword;
|
|
131
131
|
/**
|
|
132
132
|
* State setup and teardown handlers for any states this test requires (see
|
|
133
|
-
* [writing state handlers](https://case.contract-testing.io/docs/
|
|
133
|
+
* [writing state handlers](https://case.contract-testing.io/docs/verifying-contracts/http-server/state-handlers))
|
|
134
134
|
* for more details
|
|
135
135
|
*/
|
|
136
136
|
readonly stateHandlers?: Record<string, BoundaryStateHandler>;
|
|
@@ -23,6 +23,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
24
|
__exportStar(require("./BoundaryContractDefiner.cjs"), exports);
|
|
25
25
|
__exportStar(require("./BoundaryContractVerifier.cjs"), exports);
|
|
26
|
+
__exportStar(require("./BoundaryPluginLoader.cjs"), exports);
|
|
26
27
|
__exportStar(require("./boundary/index.cjs"), exports);
|
|
27
28
|
__exportStar(require("./types.cjs"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,+DAA6C;AAC7C,gEAA8C;AAC9C,sDAAoC;AACpC,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/connectors/case-boundary/internals/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,+DAA6C;AAC7C,gEAA8C;AAC9C,4DAA0C;AAC1C,sDAAoC;AACpC,6CAA2B"}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.versionString = void 0;
|
|
4
4
|
const packageName = 'case-connector';
|
|
5
|
-
const version = '0.30.
|
|
5
|
+
const version = '0.30.1'; // x-release-please-version
|
|
6
6
|
exports.versionString = `${packageName}@${version}`;
|
|
7
7
|
//# sourceMappingURL=versionString.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const versionString = "case-connector@0.30.
|
|
1
|
+
export declare const versionString = "case-connector@0.30.1";
|
|
2
2
|
//# sourceMappingURL=versionString.d.ts.map
|