@jentic/arazzo-resolver 1.0.0-alpha.29 → 1.0.0-alpha.30
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
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.30](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2026-04-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @jentic/arazzo-resolver
|
|
9
|
+
|
|
6
10
|
# [1.0.0-alpha.29](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2026-03-19)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @jentic/arazzo-resolver
|
|
@@ -55332,8 +55332,10 @@ const factory = (env) => {
|
|
|
55332
55332
|
test(() => {
|
|
55333
55333
|
let duplexAccessed = false;
|
|
55334
55334
|
|
|
55335
|
+
const body = new ReadableStream();
|
|
55336
|
+
|
|
55335
55337
|
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
|
|
55336
|
-
body
|
|
55338
|
+
body,
|
|
55337
55339
|
method: 'POST',
|
|
55338
55340
|
get duplex() {
|
|
55339
55341
|
duplexAccessed = true;
|
|
@@ -55341,6 +55343,8 @@ const factory = (env) => {
|
|
|
55341
55343
|
},
|
|
55342
55344
|
}).headers.has('Content-Type');
|
|
55343
55345
|
|
|
55346
|
+
body.cancel();
|
|
55347
|
+
|
|
55344
55348
|
return duplexAccessed && !hasContentType;
|
|
55345
55349
|
});
|
|
55346
55350
|
|
|
@@ -56419,8 +56423,6 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
56419
56423
|
});
|
|
56420
56424
|
|
|
56421
56425
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
56422
|
-
/*eslint func-names:0*/
|
|
56423
|
-
|
|
56424
56426
|
function generateHTTPMethod(isForm) {
|
|
56425
56427
|
return function httpMethod(url, data, config) {
|
|
56426
56428
|
return this.request(
|
|
@@ -56577,7 +56579,9 @@ function normalizeValue(value) {
|
|
|
56577
56579
|
return value;
|
|
56578
56580
|
}
|
|
56579
56581
|
|
|
56580
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)
|
|
56582
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)
|
|
56583
|
+
? value.map(normalizeValue)
|
|
56584
|
+
: String(value).replace(/[\r\n]+$/, '');
|
|
56581
56585
|
}
|
|
56582
56586
|
|
|
56583
56587
|
function parseTokens(str) {
|
|
@@ -57552,7 +57556,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57552
57556
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
57553
57557
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
57554
57558
|
/* harmony export */ });
|
|
57555
|
-
const VERSION = "1.
|
|
57559
|
+
const VERSION = "1.14.0";
|
|
57556
57560
|
|
|
57557
57561
|
/***/ },
|
|
57558
57562
|
|
|
@@ -57762,8 +57766,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57762
57766
|
|
|
57763
57767
|
|
|
57764
57768
|
/**
|
|
57765
|
-
* It replaces
|
|
57766
|
-
*
|
|
57769
|
+
* It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
|
|
57770
|
+
* their plain counterparts (`:`, `$`, `,`, `+`).
|
|
57767
57771
|
*
|
|
57768
57772
|
* @param {string} val The value to be encoded.
|
|
57769
57773
|
*
|
|
@@ -72964,19 +72968,26 @@ function composeNode(ctx, token, props, onError) {
|
|
|
72964
72968
|
case 'block-map':
|
|
72965
72969
|
case 'block-seq':
|
|
72966
72970
|
case 'flow-collection':
|
|
72967
|
-
|
|
72968
|
-
|
|
72969
|
-
|
|
72971
|
+
try {
|
|
72972
|
+
node = (0,_compose_collection_js__WEBPACK_IMPORTED_MODULE_2__.composeCollection)(CN, ctx, token, props, onError);
|
|
72973
|
+
if (anchor)
|
|
72974
|
+
node.anchor = anchor.source.substring(1);
|
|
72975
|
+
}
|
|
72976
|
+
catch (error) {
|
|
72977
|
+
// Almost certainly here due to a stack overflow
|
|
72978
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
72979
|
+
onError(token, 'RESOURCE_EXHAUSTION', message);
|
|
72980
|
+
}
|
|
72970
72981
|
break;
|
|
72971
72982
|
default: {
|
|
72972
72983
|
const message = token.type === 'error'
|
|
72973
72984
|
? token.message
|
|
72974
72985
|
: `Unsupported token (type: ${token.type})`;
|
|
72975
72986
|
onError(token, 'UNEXPECTED_TOKEN', message);
|
|
72976
|
-
node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);
|
|
72977
72987
|
isSrcToken = false;
|
|
72978
72988
|
}
|
|
72979
72989
|
}
|
|
72990
|
+
node ?? (node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError));
|
|
72980
72991
|
if (anchor && node.anchor === '')
|
|
72981
72992
|
onError(anchor, 'BAD_ALIAS', 'Anchor cannot be an empty string');
|
|
72982
72993
|
if (atKey &&
|
|
@@ -80495,6 +80506,7 @@ function createStringifyContext(doc, options) {
|
|
|
80495
80506
|
nullStr: 'null',
|
|
80496
80507
|
simpleKeys: false,
|
|
80497
80508
|
singleQuote: null,
|
|
80509
|
+
trailingComma: false,
|
|
80498
80510
|
trueStr: 'true',
|
|
80499
80511
|
verifyAliasOrder: true
|
|
80500
80512
|
}, doc.schema.toStringOptions, options);
|
|
@@ -80720,12 +80732,22 @@ function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) {
|
|
|
80720
80732
|
if (comment)
|
|
80721
80733
|
reqNewline = true;
|
|
80722
80734
|
let str = (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)(item, itemCtx, () => (comment = null));
|
|
80723
|
-
|
|
80735
|
+
reqNewline || (reqNewline = lines.length > linesAtValue || str.includes('\n'));
|
|
80736
|
+
if (i < items.length - 1) {
|
|
80724
80737
|
str += ',';
|
|
80738
|
+
}
|
|
80739
|
+
else if (ctx.options.trailingComma) {
|
|
80740
|
+
if (ctx.options.lineWidth > 0) {
|
|
80741
|
+
reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) +
|
|
80742
|
+
(str.length + 2) >
|
|
80743
|
+
ctx.options.lineWidth);
|
|
80744
|
+
}
|
|
80745
|
+
if (reqNewline) {
|
|
80746
|
+
str += ',';
|
|
80747
|
+
}
|
|
80748
|
+
}
|
|
80725
80749
|
if (comment)
|
|
80726
80750
|
str += (0,_stringifyComment_js__WEBPACK_IMPORTED_MODULE_2__.lineComment)(str, itemIndent, commentString(comment));
|
|
80727
|
-
if (!reqNewline && (lines.length > linesAtValue || str.includes('\n')))
|
|
80728
|
-
reqNewline = true;
|
|
80729
80751
|
lines.push(str);
|
|
80730
80752
|
linesAtValue = lines.length;
|
|
80731
80753
|
}
|