@thymian/plugin-sampler 0.3.0-canary.20261007-cdbe1d3 → 0.3.0-canary.20261007-b01c9db
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.
|
@@ -56,7 +56,7 @@ export function attributeToHook(error, kind, entry) {
|
|
|
56
56
|
return new ThymianBaseError(error.message, {
|
|
57
57
|
...error.options,
|
|
58
58
|
// After the spread, never before it. An `error` closes the run
|
|
59
|
-
// (`thymian.ts`), which is the mechanism ADR-
|
|
59
|
+
// (`thymian.ts`), which is the mechanism ADR-0024 §2 names and the sentence
|
|
60
60
|
// above promises to prevent — and every sampler-raised error that reaches
|
|
61
61
|
// here defaults to `error` because none of them sets a severity of its own:
|
|
62
62
|
// `UnknownSelectorError` and `MalformedSelectorError` from `utils.request`,
|
|
@@ -119,7 +119,7 @@ export function interpretHookFailure(e, kind, entry) {
|
|
|
119
119
|
return {
|
|
120
120
|
rethrow: new ThymianBaseError(
|
|
121
121
|
// Deliberately without the Transaction: every surface that prints one
|
|
122
|
-
// already names it (ADR-
|
|
122
|
+
// already names it (ADR-0023), and repeating it under a header that says
|
|
123
123
|
// it is the noise this model removes. What only this sentence knows is
|
|
124
124
|
// which export in which file to open.
|
|
125
125
|
`The ${kind} hook exported as "${entry.exportName}" from "${entry.file}" threw.`, {
|
|
@@ -6,7 +6,7 @@ import { canonicalPath, encodeMediaType, encodeMethod, encodePath, formatRequest
|
|
|
6
6
|
* re-exported here, because a selector is two things at once — the sampler's
|
|
7
7
|
* *address* of a Transaction and the application's *label* for one — and every
|
|
8
8
|
* surface core prints has to render the same grammar the sampler resolves
|
|
9
|
-
* (ADR-
|
|
9
|
+
* (ADR-0023). What stays here is what only an address needs: parsing back,
|
|
10
10
|
* near-miss diagnostics and the catalog's ordering.
|
|
11
11
|
*
|
|
12
12
|
* The reader below is the inverse of core's encoders. The two are one grammar
|
|
@@ -7,7 +7,7 @@ import { malformedSelectorError } from './selector-errors.js';
|
|
|
7
7
|
* re-exported here, because a selector is two things at once — the sampler's
|
|
8
8
|
* *address* of a Transaction and the application's *label* for one — and every
|
|
9
9
|
* surface core prints has to render the same grammar the sampler resolves
|
|
10
|
-
* (ADR-
|
|
10
|
+
* (ADR-0023). What stays here is what only an address needs: parsing back,
|
|
11
11
|
* near-miss diagnostics and the catalog's ordering.
|
|
12
12
|
*
|
|
13
13
|
* The reader below is the inverse of core's encoders. The two are one grammar
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thymian/plugin-sampler",
|
|
3
|
-
"version": "0.3.0-canary.20261007-
|
|
3
|
+
"version": "0.3.0-canary.20261007-b01c9db",
|
|
4
4
|
"description": "Thymian plugin for generating HTTP request samples from API descriptions",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"bugs": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"!**/*.tsbuildinfo"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@thymian/common-cli": "0.3.0-canary.20261007-
|
|
48
|
-
"@thymian/core": "0.3.0-canary.20261007-
|
|
49
|
-
"@thymian/plugin-request-dispatcher": "0.3.0-canary.20261007-
|
|
47
|
+
"@thymian/common-cli": "0.3.0-canary.20261007-b01c9db",
|
|
48
|
+
"@thymian/core": "0.3.0-canary.20261007-b01c9db",
|
|
49
|
+
"@thymian/plugin-request-dispatcher": "0.3.0-canary.20261007-b01c9db",
|
|
50
50
|
"jiti": "^2.6.1",
|
|
51
51
|
"json-schema-to-typescript": "^15.0.4",
|
|
52
52
|
"openapi-sampler": "^1.7.2",
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@thymian/core-testing": "0.3.0-canary.20261007-
|
|
67
|
+
"@thymian/core-testing": "0.3.0-canary.20261007-b01c9db"
|
|
68
68
|
}
|
|
69
69
|
}
|