@redocly/cli 0.0.0-snapshot.1782922488 → 0.0.0-snapshot.1783058823
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/THIRD_PARTY_NOTICES +1 -1
- package/lib/chunks/{IRYYS3YL.js → 6TSWXV6K.js} +1 -1
- package/lib/chunks/{VNGCAD67.js → 76SYIULE.js} +4 -4
- package/lib/chunks/{B2Y4GPO2.js → BRJTJNID.js} +1 -1
- package/lib/chunks/{O2WM5GQL.js → EOUEGR5D.js} +1 -1
- package/lib/chunks/{NGUUV77P.js → GX6BFPR3.js} +4 -4
- package/lib/chunks/{OKLMD7EJ.js → J2A7KQMF.js} +26 -9
- package/lib/chunks/{J2TDTXAU.js → VNOK7MXC.js} +1 -1
- package/lib/chunks/{DRAFP5CH.js → XBUQB53C.js} +1 -1
- package/lib/chunks/{6UGXKL6C.js → XLXDKMB3.js} +2 -2
- package/lib/chunks/{EJEYE5ON.js → YKWOWQR4.js} +3 -3
- package/lib/index.js +11 -11
- package/package.json +1 -1
package/THIRD_PARTY_NOTICES
CHANGED
|
@@ -693,7 +693,7 @@ Packages:
|
|
|
693
693
|
openapi-sampler@1.7.1 — Copyright (c) 2017 Roman Hotsiy <gotsijroman@gmail.com>
|
|
694
694
|
outdent@0.8.0 — Copyright (c) 2016 Andrew Bradley
|
|
695
695
|
perfect-scrollbar@1.5.6 — Copyright (c) 2012-2019 Hyunje Jun, MDBootstrap.com and other contributors
|
|
696
|
-
picomatch@4.0.
|
|
696
|
+
picomatch@4.0.5 — Copyright (c) 2017-present, Jon Schlinkert.
|
|
697
697
|
pluralize@8.0.0 — Copyright (c) 2013 Blake Embrey (hello@blakeembrey.com)
|
|
698
698
|
polished@4.3.1 — Copyright (c) 2016-Present Brian Hough and Maximilian Stoiber
|
|
699
699
|
prismjs@1.30.0 — Copyright (c) 2012 Lea Verou
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
exitWithError,
|
|
5
5
|
getExecutionTime,
|
|
6
6
|
getFallbackApisOrExit
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./6TSWXV6K.js";
|
|
8
8
|
import {
|
|
9
9
|
require_dist
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./EOUEGR5D.js";
|
|
11
11
|
import {
|
|
12
12
|
redocStandaloneSri,
|
|
13
13
|
redocVersion
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./BRJTJNID.js";
|
|
15
15
|
import {
|
|
16
16
|
require_json_pointer,
|
|
17
17
|
require_openapi_sampler
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
require_fast_deep_equal,
|
|
23
23
|
require_json_schema_traverse,
|
|
24
24
|
require_pluralize
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./J2A7KQMF.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__esm,
|
|
@@ -2,11 +2,11 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
2
2
|
const require = __createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
RedoclyOAuthClient
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./YKWOWQR4.js";
|
|
6
6
|
import "./Y6DTFCLS.js";
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
7
|
+
import "./EOUEGR5D.js";
|
|
8
|
+
import "./BRJTJNID.js";
|
|
9
|
+
import "./J2A7KQMF.js";
|
|
10
10
|
import "./5ILQMFXK.js";
|
|
11
11
|
export {
|
|
12
12
|
RedoclyOAuthClient
|
|
@@ -1132,7 +1132,11 @@ var require_parse = __commonJS({
|
|
|
1132
1132
|
}
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
|
-
var
|
|
1135
|
+
var buildCharClassStar = (chars) => {
|
|
1136
|
+
const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
|
|
1137
|
+
return `${source}*`;
|
|
1138
|
+
};
|
|
1139
|
+
var getStarExtglobSequenceChars = (pattern) => {
|
|
1136
1140
|
let index = 0;
|
|
1137
1141
|
const chars = [];
|
|
1138
1142
|
while (index < pattern.length) {
|
|
@@ -1154,8 +1158,7 @@ var require_parse = __commonJS({
|
|
|
1154
1158
|
if (chars.length < 1) {
|
|
1155
1159
|
return;
|
|
1156
1160
|
}
|
|
1157
|
-
|
|
1158
|
-
return `${source}*`;
|
|
1161
|
+
return chars;
|
|
1159
1162
|
};
|
|
1160
1163
|
var repeatedExtglobRecursion = (pattern) => {
|
|
1161
1164
|
let depth = 0;
|
|
@@ -1179,15 +1182,29 @@ var require_parse = __commonJS({
|
|
|
1179
1182
|
return { risky: true };
|
|
1180
1183
|
}
|
|
1181
1184
|
}
|
|
1185
|
+
const safeChars = [];
|
|
1186
|
+
let sawStarSequence = false;
|
|
1187
|
+
let combinable = true;
|
|
1182
1188
|
for (const branch of branches) {
|
|
1183
|
-
const
|
|
1184
|
-
if (
|
|
1185
|
-
|
|
1189
|
+
const chars = getStarExtglobSequenceChars(branch);
|
|
1190
|
+
if (chars) {
|
|
1191
|
+
sawStarSequence = true;
|
|
1192
|
+
safeChars.push(...chars);
|
|
1193
|
+
continue;
|
|
1194
|
+
}
|
|
1195
|
+
const literal = normalizeSimpleBranch(branch);
|
|
1196
|
+
if (literal && literal.length === 1) {
|
|
1197
|
+
safeChars.push(literal);
|
|
1198
|
+
continue;
|
|
1186
1199
|
}
|
|
1200
|
+
combinable = false;
|
|
1187
1201
|
if (repeatedExtglobRecursion(branch) > max) {
|
|
1188
1202
|
return { risky: true };
|
|
1189
1203
|
}
|
|
1190
1204
|
}
|
|
1205
|
+
if (sawStarSequence) {
|
|
1206
|
+
return combinable ? { risky: true, safeOutput: buildCharClassStar([...new Set(safeChars)]) } : { risky: true };
|
|
1207
|
+
}
|
|
1191
1208
|
return { risky: false };
|
|
1192
1209
|
};
|
|
1193
1210
|
var parse = (input, options2) => {
|
|
@@ -2037,9 +2054,9 @@ var require_picomatch = __commonJS({
|
|
|
2037
2054
|
}
|
|
2038
2055
|
return { isMatch: Boolean(match2), match: match2, output };
|
|
2039
2056
|
};
|
|
2040
|
-
picomatch2.matchBase = (input, glob, options2) => {
|
|
2057
|
+
picomatch2.matchBase = (input, glob, options2, posix = options2 && options2.windows) => {
|
|
2041
2058
|
const regex = glob instanceof RegExp ? glob : picomatch2.makeRe(glob, options2);
|
|
2042
|
-
return regex.test(utils.basename(input));
|
|
2059
|
+
return regex.test(utils.basename(input, { windows: posix }));
|
|
2043
2060
|
};
|
|
2044
2061
|
picomatch2.isMatch = (str, patterns, options2) => picomatch2(patterns, options2)(str);
|
|
2045
2062
|
picomatch2.parse = (pattern, options2) => {
|
|
@@ -24396,7 +24413,7 @@ var OpenRpcTypes = {
|
|
|
24396
24413
|
NamedTags: mapOf("Tag")
|
|
24397
24414
|
};
|
|
24398
24415
|
|
|
24399
|
-
//
|
|
24416
|
+
// node_modules/@redocly/config/lib-esm/index.js
|
|
24400
24417
|
var he = { hide: { type: "boolean", default: false }, component: { type: "string", enum: ["radio", "checkbox"], default: "checkbox" }, label: { type: "string" }, items: { type: "array", items: { type: "string" } } };
|
|
24401
24418
|
var E = { type: "object", properties: he, additionalProperties: false };
|
|
24402
24419
|
var Ue = { type: "object", properties: { hide: { type: "boolean", default: false }, label: { type: "string" }, placeholder: { type: "string" } }, additionalProperties: false };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./Y6DTFCLS.js";
|
|
6
6
|
import {
|
|
7
7
|
require_dist
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./EOUEGR5D.js";
|
|
9
9
|
import {
|
|
10
10
|
version
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./BRJTJNID.js";
|
|
12
12
|
import {
|
|
13
13
|
blue,
|
|
14
14
|
green,
|
|
15
15
|
logger
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./J2A7KQMF.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__require,
|
package/lib/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
saveBundle,
|
|
31
31
|
sortTopLevelKeys,
|
|
32
32
|
writeToFileByExtension
|
|
33
|
-
} from "./chunks/
|
|
33
|
+
} from "./chunks/6TSWXV6K.js";
|
|
34
34
|
import {
|
|
35
35
|
RedoclyOAuthClient,
|
|
36
36
|
ReuniteApi,
|
|
@@ -41,23 +41,23 @@ import {
|
|
|
41
41
|
getReuniteUrl,
|
|
42
42
|
require_undici,
|
|
43
43
|
shouldBypassProxy
|
|
44
|
-
} from "./chunks/
|
|
44
|
+
} from "./chunks/YKWOWQR4.js";
|
|
45
45
|
import {
|
|
46
46
|
ANONYMOUS_ID_CACHE_FILE,
|
|
47
47
|
DEFAULT_FETCH_TIMEOUT,
|
|
48
48
|
OTEL_URL
|
|
49
49
|
} from "./chunks/Y6DTFCLS.js";
|
|
50
|
-
import "./chunks/
|
|
50
|
+
import "./chunks/EOUEGR5D.js";
|
|
51
51
|
import {
|
|
52
52
|
engines,
|
|
53
53
|
name,
|
|
54
54
|
version
|
|
55
|
-
} from "./chunks/
|
|
55
|
+
} from "./chunks/BRJTJNID.js";
|
|
56
56
|
import {
|
|
57
57
|
RESET_ESCAPE_CODE,
|
|
58
58
|
calculateTotals,
|
|
59
59
|
conditionallyMaskSecrets
|
|
60
|
-
} from "./chunks/
|
|
60
|
+
} from "./chunks/VNOK7MXC.js";
|
|
61
61
|
import "./chunks/VXIQEZPR.js";
|
|
62
62
|
import {
|
|
63
63
|
BaseResolver,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
white,
|
|
110
110
|
xmlEscape,
|
|
111
111
|
yellow
|
|
112
|
-
} from "./chunks/
|
|
112
|
+
} from "./chunks/J2A7KQMF.js";
|
|
113
113
|
import {
|
|
114
114
|
__commonJS,
|
|
115
115
|
__require,
|
|
@@ -7703,7 +7703,7 @@ async function handleGenerateArazzo({
|
|
|
7703
7703
|
config: config3
|
|
7704
7704
|
};
|
|
7705
7705
|
try {
|
|
7706
|
-
const { generate } = await import("./chunks/
|
|
7706
|
+
const { generate } = await import("./chunks/XLXDKMB3.js");
|
|
7707
7707
|
logger.info(gray("\n Generating Arazzo description... \n"));
|
|
7708
7708
|
const generatedArazzo = await generate(options);
|
|
7709
7709
|
writeFileSync2(outputFile, stringifyYaml(generatedArazzo));
|
|
@@ -9179,7 +9179,7 @@ async function handleRespect({
|
|
|
9179
9179
|
let mtlsCerts;
|
|
9180
9180
|
let harLogs;
|
|
9181
9181
|
try {
|
|
9182
|
-
const { run, conditionallyMaskSecrets: conditionallyMaskSecrets2 } = await import("./chunks/
|
|
9182
|
+
const { run, conditionallyMaskSecrets: conditionallyMaskSecrets2 } = await import("./chunks/XLXDKMB3.js");
|
|
9183
9183
|
const workingDir = config3.configPath ? dirname4(config3.configPath) : process.cwd();
|
|
9184
9184
|
if (argv.mtls) {
|
|
9185
9185
|
mtlsCerts = resolveMtlsCertificates(argv.mtls, workingDir);
|
|
@@ -12699,7 +12699,7 @@ async function sendTelemetry({
|
|
|
12699
12699
|
$0: _,
|
|
12700
12700
|
...args
|
|
12701
12701
|
} = argv;
|
|
12702
|
-
const { RedoclyOAuthClient: RedoclyOAuthClient2 } = await import("./chunks/
|
|
12702
|
+
const { RedoclyOAuthClient: RedoclyOAuthClient2 } = await import("./chunks/GX6BFPR3.js");
|
|
12703
12703
|
const oauthClient = new RedoclyOAuthClient2();
|
|
12704
12704
|
const reuniteUrl = getReuniteUrl(config3, args.residency);
|
|
12705
12705
|
const logged_in = await oauthClient.isAuthorized(reuniteUrl);
|
|
@@ -12747,7 +12747,7 @@ async function sendTelemetry({
|
|
|
12747
12747
|
category: "product",
|
|
12748
12748
|
data: eventData
|
|
12749
12749
|
});
|
|
12750
|
-
const { otelTelemetry } = await import("./chunks/
|
|
12750
|
+
const { otelTelemetry } = await import("./chunks/XBUQB53C.js");
|
|
12751
12751
|
otelTelemetry.send(cloudEvent);
|
|
12752
12752
|
} catch (err) {
|
|
12753
12753
|
}
|
|
@@ -13577,7 +13577,7 @@ yargs_default(hideBin(process.argv)).version("version", "Show version number.",
|
|
|
13577
13577
|
return true;
|
|
13578
13578
|
}),
|
|
13579
13579
|
async (argv) => {
|
|
13580
|
-
const { handlerBuildCommand } = await import("./chunks/
|
|
13580
|
+
const { handlerBuildCommand } = await import("./chunks/76SYIULE.js");
|
|
13581
13581
|
commandWrapper(handlerBuildCommand)(argv);
|
|
13582
13582
|
}
|
|
13583
13583
|
).command(
|