@redocly/cli 2.41.1 → 2.42.0

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.
Files changed (73) hide show
  1. package/README.md +15 -0
  2. package/THIRD_PARTY_NOTICES +7 -6
  3. package/lib/chunks/32XCOMOR.js +7 -0
  4. package/lib/chunks/4S2W4DOH.js +7 -0
  5. package/lib/chunks/55GMSQDD.js +7 -0
  6. package/lib/chunks/62KMHHXM.js +93 -0
  7. package/lib/chunks/7J6QXKSL.js +59 -0
  8. package/lib/chunks/7TEHO26G.js +3132 -0
  9. package/lib/chunks/AE6JGTY4.js +7 -0
  10. package/lib/chunks/B62AKN6U.js +7 -0
  11. package/lib/chunks/BZ7PKRCP.js +2317 -0
  12. package/lib/chunks/D5T6ETPZ.js +8 -0
  13. package/lib/chunks/DNYSY7SK.js +8 -0
  14. package/lib/chunks/E2UJUSIU.js +11 -0
  15. package/lib/chunks/ECZUPR2N.js +7 -0
  16. package/lib/chunks/EU6GURJZ.js +7 -0
  17. package/lib/chunks/F4DGJH6G.js +8 -0
  18. package/lib/chunks/GELB6SHC.js +22 -0
  19. package/lib/chunks/HJ6KJBQG.js +9 -0
  20. package/lib/chunks/HXR6INJN.js +22 -0
  21. package/lib/chunks/IP2FG3VC.js +19 -0
  22. package/lib/chunks/KLY5RV3W.js +7 -0
  23. package/lib/chunks/LSG6IYBM.js +47 -0
  24. package/lib/chunks/NEWT5A6S.js +159 -0
  25. package/lib/chunks/O6MCQRCP.js +59 -0
  26. package/lib/chunks/O6PRCLSV.js +13 -0
  27. package/lib/chunks/OFAMJNQ6.js +7 -0
  28. package/lib/chunks/P26PQ2RU.js +7 -0
  29. package/lib/chunks/QQOKWPJZ.js +184 -0
  30. package/lib/chunks/RFWIIJFG.js +7 -0
  31. package/lib/chunks/RS5PUOTT.js +18 -0
  32. package/lib/chunks/SPVQTYE2.js +7 -0
  33. package/lib/chunks/TXOARWFE.js +7 -0
  34. package/lib/chunks/UPPWQBGX.js +7 -0
  35. package/lib/chunks/UYZXI3NO.js +7 -0
  36. package/lib/chunks/WZXA5XPB.js +7 -0
  37. package/lib/chunks/XYO6U5CE.js +31 -0
  38. package/lib/chunks/ZGSJFP2Z.js +8 -0
  39. package/lib/index.js +226 -13883
  40. package/package.json +1 -1
  41. package/lib/chunks/4FB5ZIPP.js +0 -1133
  42. package/lib/chunks/5ILQMFXK.js +0 -59
  43. package/lib/chunks/64PJUTGH.js +0 -79
  44. package/lib/chunks/A6JSOHCP.js +0 -41
  45. package/lib/chunks/AIT3U3JT.js +0 -22
  46. package/lib/chunks/CUWLBJXP.js +0 -17
  47. package/lib/chunks/FO6BDVGE.js +0 -25
  48. package/lib/chunks/GCAYTKJY.js +0 -681
  49. package/lib/chunks/HFIKZEXG.js +0 -175
  50. package/lib/chunks/ICPYP2LP.js +0 -401
  51. package/lib/chunks/JR2DXWZO.js +0 -17799
  52. package/lib/chunks/KWQEC5JF.js +0 -16
  53. package/lib/chunks/LZNQHR3A.js +0 -2416
  54. package/lib/chunks/OFNDHNJR.js +0 -1756
  55. package/lib/chunks/OYU4O47C.js +0 -13374
  56. package/lib/chunks/PU67EGEM.js +0 -496
  57. package/lib/chunks/Q7LC24EZ.js +0 -528
  58. package/lib/chunks/RLUKQFWZ.js +0 -92591
  59. package/lib/chunks/TS33ZDKX.js +0 -35
  60. package/lib/chunks/UQJWXLNC.js +0 -3614
  61. package/lib/chunks/UUU33DK3.js +0 -125
  62. package/lib/chunks/UV3RHVRI.js +0 -25
  63. package/lib/chunks/VUDTNFRL.js +0 -42
  64. package/lib/chunks/VXIQEZPR.js +0 -2564
  65. package/lib/chunks/W7G5WVPB.js +0 -44
  66. package/lib/chunks/XB6C62FW.js +0 -18497
  67. package/lib/chunks/XHPY6UJF.js +0 -1638
  68. package/lib/chunks/Y6DTFCLS.js +0 -15
  69. package/lib/chunks/Y7LKQTQ4.js +0 -414
  70. package/lib/chunks/YPFS42IW.js +0 -92
  71. package/lib/chunks/Z2I5YXYN.js +0 -20272
  72. package/lib/chunks/Z3EJWJEX.js +0 -39325
  73. package/lib/chunks/ZK3QRKL5.js +0 -129
@@ -1,59 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- const require = __createRequire(import.meta.url);
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
- }) : x)(function(x) {
12
- if (typeof require !== "undefined") return require.apply(this, arguments);
13
- throw Error('Dynamic require of "' + x + '" is not supported');
14
- });
15
- var __esm = (fn, res, err) => function __init() {
16
- if (err) throw err[0];
17
- try {
18
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
19
- } catch (e) {
20
- throw err = [e], e;
21
- }
22
- };
23
- var __commonJS = (cb, mod) => function __require2() {
24
- try {
25
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
26
- } catch (e) {
27
- throw mod = 0, e;
28
- }
29
- };
30
- var __export = (target, all) => {
31
- for (var name in all)
32
- __defProp(target, name, { get: all[name], enumerable: true });
33
- };
34
- var __copyProps = (to, from, except, desc) => {
35
- if (from && typeof from === "object" || typeof from === "function") {
36
- for (let key of __getOwnPropNames(from))
37
- if (!__hasOwnProp.call(to, key) && key !== except)
38
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
39
- }
40
- return to;
41
- };
42
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
43
- // If the importer is in node compatibility mode or this is not an ESM
44
- // file that has been converted to a CommonJS file using a Babel-
45
- // compatible transform (i.e. "__esModule" has not been set), then set
46
- // "default" to the CommonJS "module.exports" for node compatibility.
47
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
48
- mod
49
- ));
50
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
51
-
52
- export {
53
- __require,
54
- __esm,
55
- __commonJS,
56
- __export,
57
- __toESM,
58
- __toCommonJS
59
- };
@@ -1,79 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- const require = __createRequire(import.meta.url);
3
- import {
4
- logger
5
- } from "./Z3EJWJEX.js";
6
-
7
- // src/commands/split/oas/constants.ts
8
- var OPENAPI3_METHOD_NAMES = [
9
- "get",
10
- "put",
11
- "post",
12
- "delete",
13
- "options",
14
- "head",
15
- "patch",
16
- "trace",
17
- "query"
18
- ];
19
- var OPENAPI3_COMPONENT_NAMES = [
20
- "schemas",
21
- "responses",
22
- "parameters",
23
- "examples",
24
- "headers",
25
- "requestBodies",
26
- "links",
27
- "callbacks",
28
- "securitySchemes"
29
- ];
30
-
31
- // src/utils/spinner.ts
32
- import * as process from "node:process";
33
- var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
34
- var Spinner = class {
35
- frames;
36
- currentFrame;
37
- intervalId;
38
- message;
39
- constructor() {
40
- this.frames = SPINNER_FRAMES;
41
- this.currentFrame = 0;
42
- this.intervalId = null;
43
- this.message = "";
44
- }
45
- showFrame() {
46
- logger.info("\r" + this.frames[this.currentFrame] + " " + this.message);
47
- this.currentFrame = (this.currentFrame + 1) % this.frames.length;
48
- }
49
- start(message) {
50
- if (this.message === message) {
51
- return;
52
- }
53
- this.message = message;
54
- if (!process.stderr.isTTY) {
55
- logger.info(`${message}...
56
- `);
57
- return;
58
- }
59
- if (this.intervalId === null) {
60
- this.intervalId = setInterval(() => {
61
- this.showFrame();
62
- }, 100);
63
- }
64
- }
65
- stop() {
66
- if (this.intervalId !== null) {
67
- clearInterval(this.intervalId);
68
- this.intervalId = null;
69
- logger.info("\r");
70
- }
71
- this.message = "";
72
- }
73
- };
74
-
75
- export {
76
- OPENAPI3_METHOD_NAMES,
77
- OPENAPI3_COMPONENT_NAMES,
78
- Spinner
79
- };
@@ -1,41 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- const require = __createRequire(import.meta.url);
3
- import {
4
- require_execAsync
5
- } from "./AIT3U3JT.js";
6
- import {
7
- esm_exports,
8
- init_esm
9
- } from "./XHPY6UJF.js";
10
- import {
11
- __commonJS,
12
- __toCommonJS
13
- } from "./5ILQMFXK.js";
14
-
15
- // ../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
16
- var require_getMachineId_darwin = __commonJS({
17
- "../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js"(exports) {
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.getMachineId = void 0;
20
- var execAsync_1 = require_execAsync();
21
- var api_1 = (init_esm(), __toCommonJS(esm_exports));
22
- async function getMachineId() {
23
- try {
24
- const result = await (0, execAsync_1.execAsync)('ioreg -rd1 -c "IOPlatformExpertDevice"');
25
- const idLine = result.stdout.split("\n").find((line) => line.includes("IOPlatformUUID"));
26
- if (!idLine) {
27
- return void 0;
28
- }
29
- const parts = idLine.split('" = "');
30
- if (parts.length === 2) {
31
- return parts[1].slice(0, -1);
32
- }
33
- } catch (e) {
34
- api_1.diag.debug(`error reading machine id: ${e}`);
35
- }
36
- return void 0;
37
- }
38
- exports.getMachineId = getMachineId;
39
- }
40
- });
41
- export default require_getMachineId_darwin();
@@ -1,22 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- const require = __createRequire(import.meta.url);
3
- import {
4
- __commonJS,
5
- __require
6
- } from "./5ILQMFXK.js";
7
-
8
- // ../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js
9
- var require_execAsync = __commonJS({
10
- "../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js"(exports) {
11
- "use strict";
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.execAsync = void 0;
14
- var child_process = __require("child_process");
15
- var util = __require("util");
16
- exports.execAsync = util.promisify(child_process.exec);
17
- }
18
- });
19
-
20
- export {
21
- require_execAsync
22
- };
@@ -1,17 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- const require = __createRequire(import.meta.url);
3
- import {
4
- HandledError
5
- } from "./Z3EJWJEX.js";
6
-
7
- // src/utils/error.ts
8
- var AbortFlowError = class extends Error {
9
- };
10
- function exitWithError(message) {
11
- throw new HandledError(message);
12
- }
13
-
14
- export {
15
- AbortFlowError,
16
- exitWithError
17
- };
@@ -1,25 +0,0 @@
1
- import { createRequire as __createRequire } from 'node:module';
2
- const require = __createRequire(import.meta.url);
3
- import {
4
- esm_exports,
5
- init_esm
6
- } from "./XHPY6UJF.js";
7
- import {
8
- __commonJS,
9
- __toCommonJS
10
- } from "./5ILQMFXK.js";
11
-
12
- // ../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
13
- var require_getMachineId_unsupported = __commonJS({
14
- "../../node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js"(exports) {
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.getMachineId = void 0;
17
- var api_1 = (init_esm(), __toCommonJS(esm_exports));
18
- async function getMachineId() {
19
- api_1.diag.debug("could not read machine-id: unsupported platform");
20
- return void 0;
21
- }
22
- exports.getMachineId = getMachineId;
23
- }
24
- });
25
- export default require_getMachineId_unsupported();