@redocly/cli 2.35.0 → 2.35.1

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.
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from 'node:module';
2
2
  const require = __createRequire(import.meta.url);
3
3
  import {
4
4
  require_supports_color
5
- } from "./ZKG4D7JN.js";
5
+ } from "./RA3UJ5AH.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __require
@@ -13106,7 +13106,7 @@ var require_core5 = __commonJS({
13106
13106
  constructor(opts = {}) {
13107
13107
  this.schemas = {};
13108
13108
  this.refs = {};
13109
- this.formats = {};
13109
+ this.formats = /* @__PURE__ */ Object.create(null);
13110
13110
  this._compilations = /* @__PURE__ */ new Set();
13111
13111
  this._loading = {};
13112
13112
  this._cache = /* @__PURE__ */ new Map();
@@ -10,7 +10,7 @@ import {
10
10
  } from "./Y6DTFCLS.js";
11
11
  import {
12
12
  version
13
- } from "./YMIVTRT4.js";
13
+ } from "./FLHMB3O6.js";
14
14
  import {
15
15
  diag,
16
16
  esm_exports,
@@ -23,7 +23,7 @@ import {
23
23
  red,
24
24
  stringifyYaml,
25
25
  yellow
26
- } from "./ZKG4D7JN.js";
26
+ } from "./RA3UJ5AH.js";
27
27
 
28
28
  // src/utils/error.ts
29
29
  var AbortFlowError = class extends Error {
@@ -4,13 +4,13 @@ import {
4
4
  exitWithError,
5
5
  getExecutionTime,
6
6
  getFallbackApisOrExit
7
- } from "./O5NRRTPS.js";
7
+ } from "./YQONFFT5.js";
8
8
  import {
9
9
  require_dist
10
- } from "./ZH7E3R54.js";
10
+ } from "./HQSFIOKV.js";
11
11
  import {
12
12
  redocVersion
13
- } from "./YMIVTRT4.js";
13
+ } from "./FLHMB3O6.js";
14
14
  import {
15
15
  require_json_pointer,
16
16
  require_openapi_sampler
@@ -21,7 +21,7 @@ import {
21
21
  require_fast_deep_equal,
22
22
  require_json_schema_traverse,
23
23
  require_pluralize
24
- } from "./ZKG4D7JN.js";
24
+ } from "./RA3UJ5AH.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __esm,
@@ -2957,6 +2957,8 @@ var require_Alias = __commonJS({
2957
2957
  * instance of the `source` anchor before this node.
2958
2958
  */
2959
2959
  resolve(doc, ctx) {
2960
+ if (ctx?.maxAliasCount === 0)
2961
+ throw new ReferenceError("Alias resolution is disabled");
2960
2962
  let nodes;
2961
2963
  if (ctx?.aliasResolveCache) {
2962
2964
  nodes = ctx.aliasResolveCache;
@@ -4029,18 +4031,18 @@ var require_merge = __commonJS({
4029
4031
  };
4030
4032
  var isMergeKey = (ctx, key2) => (merge.identify(key2) || identity.isScalar(key2) && (!key2.type || key2.type === Scalar.Scalar.PLAIN) && merge.identify(key2.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
4031
4033
  function addMergeToJSMap(ctx, map, value) {
4032
- value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
4033
- if (identity.isSeq(value))
4034
- for (const it of value.items)
4034
+ const source = resolveAliasValue(ctx, value);
4035
+ if (identity.isSeq(source))
4036
+ for (const it of source.items)
4035
4037
  mergeValue(ctx, map, it);
4036
- else if (Array.isArray(value))
4037
- for (const it of value)
4038
+ else if (Array.isArray(source))
4039
+ for (const it of source)
4038
4040
  mergeValue(ctx, map, it);
4039
4041
  else
4040
- mergeValue(ctx, map, value);
4042
+ mergeValue(ctx, map, source);
4041
4043
  }
4042
4044
  function mergeValue(ctx, map, value) {
4043
- const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
4045
+ const source = resolveAliasValue(ctx, value);
4044
4046
  if (!identity.isMap(source))
4045
4047
  throw new Error("Merge sources must be maps or map aliases");
4046
4048
  const srcMap = source.toJSON(null, ctx, Map);
@@ -4061,6 +4063,9 @@ var require_merge = __commonJS({
4061
4063
  }
4062
4064
  return map;
4063
4065
  }
4066
+ function resolveAliasValue(ctx, value) {
4067
+ return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
4068
+ }
4064
4069
  exports.addMergeToJSMap = addMergeToJSMap;
4065
4070
  exports.isMergeKey = isMergeKey;
4066
4071
  exports.merge = merge;
@@ -4698,7 +4703,7 @@ var require_stringifyNumber = __commonJS({
4698
4703
  if (!isFinite(num))
4699
4704
  return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
4700
4705
  let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
4701
- if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
4706
+ if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
4702
4707
  let i = n.indexOf(".");
4703
4708
  if (i < 0) {
4704
4709
  i = n.length;
@@ -7070,7 +7075,7 @@ var require_resolve_flow_scalar = __commonJS({
7070
7075
  while (next === " " || next === " ")
7071
7076
  next = source[++i + 1];
7072
7077
  } else if (next === "x" || next === "u" || next === "U") {
7073
- const length = { x: 2, u: 4, U: 8 }[next];
7078
+ const length = next === "x" ? 2 : next === "u" ? 4 : 8;
7074
7079
  res += parseCharCode(source, i + 1, length, onError);
7075
7080
  i += length;
7076
7081
  } else {
@@ -7145,12 +7150,13 @@ var require_resolve_flow_scalar = __commonJS({
7145
7150
  const cc = source.substr(offset, length);
7146
7151
  const ok = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
7147
7152
  const code = ok ? parseInt(cc, 16) : NaN;
7148
- if (isNaN(code)) {
7153
+ try {
7154
+ return String.fromCodePoint(code);
7155
+ } catch {
7149
7156
  const raw = source.substr(offset - 2, length + 2);
7150
7157
  onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
7151
7158
  return raw;
7152
7159
  }
7153
- return String.fromCodePoint(code);
7154
7160
  }
7155
7161
  exports.resolveFlowScalar = resolveFlowScalar;
7156
7162
  }
@@ -7500,8 +7506,10 @@ ${cb}` : comment;
7500
7506
  }
7501
7507
  }
7502
7508
  if (afterDoc) {
7503
- Array.prototype.push.apply(doc.errors, this.errors);
7504
- Array.prototype.push.apply(doc.warnings, this.warnings);
7509
+ for (let i = 0; i < this.errors.length; ++i)
7510
+ doc.errors.push(this.errors[i]);
7511
+ for (let i = 0; i < this.warnings.length; ++i)
7512
+ doc.warnings.push(this.warnings[i]);
7505
7513
  } else {
7506
7514
  doc.errors = this.errors;
7507
7515
  doc.warnings = this.warnings;
@@ -8234,7 +8242,7 @@ var require_lexer = __commonJS({
8234
8242
  const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
8235
8243
  this.indentNext = this.indentValue + 1;
8236
8244
  this.indentValue += n;
8237
- return yield* this.parseBlockStart();
8245
+ return "block-start";
8238
8246
  }
8239
8247
  return "doc";
8240
8248
  }
@@ -8533,28 +8541,38 @@ var require_lexer = __commonJS({
8533
8541
  return 0;
8534
8542
  }
8535
8543
  *pushIndicators() {
8536
- switch (this.charAt(0)) {
8537
- case "!":
8538
- return (yield* this.pushTag()) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
8539
- case "&":
8540
- return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
8541
- case "-":
8542
- // this is an error
8543
- case "?":
8544
- // this is an error outside flow collections
8545
- case ":": {
8546
- const inFlow = this.flowLevel > 0;
8547
- const ch1 = this.charAt(1);
8548
- if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
8549
- if (!inFlow)
8550
- this.indentNext = this.indentValue + 1;
8551
- else if (this.flowKey)
8552
- this.flowKey = false;
8553
- return (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
8544
+ let n = 0;
8545
+ loop: while (true) {
8546
+ switch (this.charAt(0)) {
8547
+ case "!":
8548
+ n += yield* this.pushTag();
8549
+ n += yield* this.pushSpaces(true);
8550
+ continue loop;
8551
+ case "&":
8552
+ n += yield* this.pushUntil(isNotAnchorChar);
8553
+ n += yield* this.pushSpaces(true);
8554
+ continue loop;
8555
+ case "-":
8556
+ // this is an error
8557
+ case "?":
8558
+ // this is an error outside flow collections
8559
+ case ":": {
8560
+ const inFlow = this.flowLevel > 0;
8561
+ const ch1 = this.charAt(1);
8562
+ if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
8563
+ if (!inFlow)
8564
+ this.indentNext = this.indentValue + 1;
8565
+ else if (this.flowKey)
8566
+ this.flowKey = false;
8567
+ n += yield* this.pushCount(1);
8568
+ n += yield* this.pushSpaces(true);
8569
+ continue loop;
8570
+ }
8554
8571
  }
8555
8572
  }
8573
+ break loop;
8556
8574
  }
8557
- return 0;
8575
+ return n;
8558
8576
  }
8559
8577
  *pushTag() {
8560
8578
  if (this.charAt(1) === "<") {
@@ -8713,6 +8731,13 @@ var require_parser = __commonJS({
8713
8731
  }
8714
8732
  return prev.splice(i, prev.length);
8715
8733
  }
8734
+ function arrayPushArray(target, source) {
8735
+ if (source.length < 1e5)
8736
+ Array.prototype.push.apply(target, source);
8737
+ else
8738
+ for (let i = 0; i < source.length; ++i)
8739
+ target.push(source[i]);
8740
+ }
8716
8741
  function fixFlowSeqItems(fc) {
8717
8742
  if (fc.start.type === "flow-seq-start") {
8718
8743
  for (const it of fc.items) {
@@ -8722,11 +8747,11 @@ var require_parser = __commonJS({
8722
8747
  delete it.key;
8723
8748
  if (isFlowToken(it.value)) {
8724
8749
  if (it.value.end)
8725
- Array.prototype.push.apply(it.value.end, it.sep);
8750
+ arrayPushArray(it.value.end, it.sep);
8726
8751
  else
8727
8752
  it.value.end = it.sep;
8728
8753
  } else
8729
- Array.prototype.push.apply(it.start, it.sep);
8754
+ arrayPushArray(it.start, it.sep);
8730
8755
  delete it.sep;
8731
8756
  }
8732
8757
  }
@@ -9081,7 +9106,7 @@ var require_parser = __commonJS({
9081
9106
  const prev = map.items[map.items.length - 2];
9082
9107
  const end = prev?.value?.end;
9083
9108
  if (Array.isArray(end)) {
9084
- Array.prototype.push.apply(end, it.start);
9109
+ arrayPushArray(end, it.start);
9085
9110
  end.push(this.sourceToken);
9086
9111
  map.items.pop();
9087
9112
  return;
@@ -9269,7 +9294,7 @@ var require_parser = __commonJS({
9269
9294
  const prev = seq.items[seq.items.length - 2];
9270
9295
  const end = prev?.value?.end;
9271
9296
  if (Array.isArray(end)) {
9272
- Array.prototype.push.apply(end, it.start);
9297
+ arrayPushArray(end, it.start);
9273
9298
  end.push(this.sourceToken);
9274
9299
  seq.items.pop();
9275
9300
  return;
package/lib/index.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  saveBundle,
31
31
  sortTopLevelKeys,
32
32
  writeToFileByExtension
33
- } from "./chunks/O5NRRTPS.js";
33
+ } from "./chunks/YQONFFT5.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/FLGNQ4P2.js";
44
+ } from "./chunks/G7TNNDDM.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/ZH7E3R54.js";
50
+ import "./chunks/HQSFIOKV.js";
51
51
  import {
52
52
  engines,
53
53
  name,
54
54
  version
55
- } from "./chunks/YMIVTRT4.js";
55
+ } from "./chunks/FLHMB3O6.js";
56
56
  import {
57
57
  RESET_ESCAPE_CODE,
58
58
  calculateTotals,
59
59
  conditionallyMaskSecrets
60
- } from "./chunks/2ACFK2AA.js";
60
+ } from "./chunks/DZ756KUK.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/ZKG4D7JN.js";
112
+ } from "./chunks/RA3UJ5AH.js";
113
113
  import {
114
114
  __commonJS,
115
115
  __require,
@@ -299,6 +299,18 @@ var require_semver = __commonJS({
299
299
  var { safeRe: re, t } = require_re();
300
300
  var parseOptions = require_parse_options();
301
301
  var { compareIdentifiers } = require_identifiers();
302
+ var isPrereleaseIdentifier = (prerelease, identifier) => {
303
+ const identifiers = identifier.split(".");
304
+ if (identifiers.length > prerelease.length) {
305
+ return false;
306
+ }
307
+ for (let i = 0; i < identifiers.length; i++) {
308
+ if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {
309
+ return false;
310
+ }
311
+ }
312
+ return true;
313
+ };
302
314
  var SemVer = class _SemVer {
303
315
  constructor(version3, options) {
304
316
  options = parseOptions(options);
@@ -545,8 +557,9 @@ var require_semver = __commonJS({
545
557
  if (identifierBase === false) {
546
558
  prerelease = [identifier];
547
559
  }
548
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
549
- if (isNaN(this.prerelease[1])) {
560
+ if (isPrereleaseIdentifier(this.prerelease, identifier)) {
561
+ const prereleaseBase = this.prerelease[identifier.split(".").length];
562
+ if (isNaN(prereleaseBase)) {
550
563
  this.prerelease = prerelease;
551
564
  }
552
565
  } else {
@@ -948,6 +961,47 @@ var require_coerce = __commonJS({
948
961
  }
949
962
  });
950
963
 
964
+ // ../../node_modules/semver/functions/truncate.js
965
+ var require_truncate = __commonJS({
966
+ "../../node_modules/semver/functions/truncate.js"(exports, module) {
967
+ "use strict";
968
+ var parse3 = require_parse();
969
+ var constants2 = require_constants();
970
+ var SemVer = require_semver();
971
+ var truncate = (version3, truncation, options) => {
972
+ if (!constants2.RELEASE_TYPES.includes(truncation)) {
973
+ return null;
974
+ }
975
+ const clonedVersion = cloneInputVersion(version3, options);
976
+ return clonedVersion && doTruncation(clonedVersion, truncation);
977
+ };
978
+ var cloneInputVersion = (version3, options) => {
979
+ const versionStringToParse = version3 instanceof SemVer ? version3.version : version3;
980
+ return parse3(versionStringToParse, options);
981
+ };
982
+ var doTruncation = (version3, truncation) => {
983
+ if (isPrerelease(truncation)) {
984
+ return version3.version;
985
+ }
986
+ version3.prerelease = [];
987
+ switch (truncation) {
988
+ case "major":
989
+ version3.minor = 0;
990
+ version3.patch = 0;
991
+ break;
992
+ case "minor":
993
+ version3.patch = 0;
994
+ break;
995
+ }
996
+ return version3.format();
997
+ };
998
+ var isPrerelease = (type) => {
999
+ return type.startsWith("pre");
1000
+ };
1001
+ module.exports = truncate;
1002
+ }
1003
+ });
1004
+
951
1005
  // ../../node_modules/semver/internal/lrucache.js
952
1006
  var require_lrucache = __commonJS({
953
1007
  "../../node_modules/semver/internal/lrucache.js"(exports, module) {
@@ -1056,6 +1110,7 @@ var require_range = __commonJS({
1056
1110
  return this.range;
1057
1111
  }
1058
1112
  parseRange(range) {
1113
+ range = range.replace(BUILDSTRIPRE, "");
1059
1114
  const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
1060
1115
  const memoKey = memoOpts + ":" + range;
1061
1116
  const cached = cache.get(memoKey);
@@ -1138,12 +1193,14 @@ var require_range = __commonJS({
1138
1193
  var SemVer = require_semver();
1139
1194
  var {
1140
1195
  safeRe: re,
1196
+ src,
1141
1197
  t,
1142
1198
  comparatorTrimReplace,
1143
1199
  tildeTrimReplace,
1144
1200
  caretTrimReplace
1145
1201
  } = require_re();
1146
1202
  var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
1203
+ var BUILDSTRIPRE = new RegExp(src[t.BUILD], "g");
1147
1204
  var isNullSet = (c) => c.value === "<0.0.0-0";
1148
1205
  var isAny = (c) => c.value === "";
1149
1206
  var isSatisfiable = (comparators, options) => {
@@ -1172,20 +1229,22 @@ var require_range = __commonJS({
1172
1229
  return comp;
1173
1230
  };
1174
1231
  var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
1232
+ var invalidXRangeOrder = (M, m, p) => isX(M) && !isX(m) || isX(m) && p && !isX(p);
1175
1233
  var replaceTildes = (comp, options) => {
1176
1234
  return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
1177
1235
  };
1178
1236
  var replaceTilde = (comp, options) => {
1179
1237
  const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
1238
+ const z = options.includePrerelease ? "-0" : "";
1180
1239
  return comp.replace(r, (_, M, m, p, pr) => {
1181
1240
  debug("tilde", comp, _, M, m, p, pr);
1182
1241
  let ret;
1183
1242
  if (isX(M)) {
1184
1243
  ret = "";
1185
1244
  } else if (isX(m)) {
1186
- ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
1245
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
1187
1246
  } else if (isX(p)) {
1188
- ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
1247
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
1189
1248
  } else if (pr) {
1190
1249
  debug("replaceTilde pr", pr);
1191
1250
  ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
@@ -1231,9 +1290,9 @@ var require_range = __commonJS({
1231
1290
  debug("no pr");
1232
1291
  if (M === "0") {
1233
1292
  if (m === "0") {
1234
- ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
1293
+ ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
1235
1294
  } else {
1236
- ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
1295
+ ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
1237
1296
  }
1238
1297
  } else {
1239
1298
  ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
@@ -1252,6 +1311,9 @@ var require_range = __commonJS({
1252
1311
  const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
1253
1312
  return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
1254
1313
  debug("xRange", comp, ret, gtlt, M, m, p, pr);
1314
+ if (invalidXRangeOrder(M, m, p)) {
1315
+ return comp;
1316
+ }
1255
1317
  const xM = isX(M);
1256
1318
  const xm = xM || isX(m);
1257
1319
  const xp = xm || isX(p);
@@ -1899,7 +1961,7 @@ var require_subset = __commonJS({
1899
1961
  if (higher === c && higher !== gt) {
1900
1962
  return false;
1901
1963
  }
1902
- } else if (gt.operator === ">=" && !satisfies2(gt.semver, String(c), options)) {
1964
+ } else if (gt.operator === ">=" && !c.test(gt.semver)) {
1903
1965
  return false;
1904
1966
  }
1905
1967
  }
@@ -1914,7 +1976,7 @@ var require_subset = __commonJS({
1914
1976
  if (lower === c && lower !== lt) {
1915
1977
  return false;
1916
1978
  }
1917
- } else if (lt.operator === "<=" && !satisfies2(lt.semver, String(c), options)) {
1979
+ } else if (lt.operator === "<=" && !c.test(lt.semver)) {
1918
1980
  return false;
1919
1981
  }
1920
1982
  }
@@ -1982,6 +2044,7 @@ var require_semver2 = __commonJS({
1982
2044
  var lte = require_lte();
1983
2045
  var cmp = require_cmp();
1984
2046
  var coerce = require_coerce();
2047
+ var truncate = require_truncate();
1985
2048
  var Comparator = require_comparator();
1986
2049
  var Range = require_range();
1987
2050
  var satisfies2 = require_satisfies();
@@ -2020,6 +2083,7 @@ var require_semver2 = __commonJS({
2020
2083
  lte,
2021
2084
  cmp,
2022
2085
  coerce,
2086
+ truncate,
2023
2087
  Comparator,
2024
2088
  Range,
2025
2089
  satisfies: satisfies2,
@@ -7639,7 +7703,7 @@ async function handleGenerateArazzo({
7639
7703
  config: config3
7640
7704
  };
7641
7705
  try {
7642
- const { generate } = await import("./chunks/JL6XAXTH.js");
7706
+ const { generate } = await import("./chunks/53LXWEMG.js");
7643
7707
  logger.info(gray("\n Generating Arazzo description... \n"));
7644
7708
  const generatedArazzo = await generate(options);
7645
7709
  writeFileSync2(outputFile, stringifyYaml(generatedArazzo));
@@ -9115,7 +9179,7 @@ async function handleRespect({
9115
9179
  let mtlsCerts;
9116
9180
  let harLogs;
9117
9181
  try {
9118
- const { run, conditionallyMaskSecrets: conditionallyMaskSecrets2 } = await import("./chunks/JL6XAXTH.js");
9182
+ const { run, conditionallyMaskSecrets: conditionallyMaskSecrets2 } = await import("./chunks/53LXWEMG.js");
9119
9183
  const workingDir = config3.configPath ? dirname4(config3.configPath) : process.cwd();
9120
9184
  if (argv.mtls) {
9121
9185
  mtlsCerts = resolveMtlsCertificates(argv.mtls, workingDir);
@@ -12635,7 +12699,7 @@ async function sendTelemetry({
12635
12699
  $0: _,
12636
12700
  ...args
12637
12701
  } = argv;
12638
- const { RedoclyOAuthClient: RedoclyOAuthClient2 } = await import("./chunks/JT6WVBVX.js");
12702
+ const { RedoclyOAuthClient: RedoclyOAuthClient2 } = await import("./chunks/BAMV5MGA.js");
12639
12703
  const oauthClient = new RedoclyOAuthClient2();
12640
12704
  const reuniteUrl = getReuniteUrl(config3, args.residency);
12641
12705
  const logged_in = await oauthClient.isAuthorized(reuniteUrl);
@@ -12683,7 +12747,7 @@ async function sendTelemetry({
12683
12747
  category: "product",
12684
12748
  data: eventData
12685
12749
  });
12686
- const { otelTelemetry } = await import("./chunks/HYYETV7F.js");
12750
+ const { otelTelemetry } = await import("./chunks/XEVW3SW6.js");
12687
12751
  otelTelemetry.send(cloudEvent);
12688
12752
  } catch (err) {
12689
12753
  }
@@ -13513,7 +13577,7 @@ yargs_default(hideBin(process.argv)).version("version", "Show version number.",
13513
13577
  return true;
13514
13578
  }),
13515
13579
  async (argv) => {
13516
- const { handlerBuildCommand } = await import("./chunks/TGF4B4QI.js");
13580
+ const { handlerBuildCommand } = await import("./chunks/Z5JKGONR.js");
13517
13581
  commandWrapper(handlerBuildCommand)(argv);
13518
13582
  }
13519
13583
  ).command(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/cli",
3
- "version": "2.35.0",
3
+ "version": "2.35.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",