@redocly/replay 0.17.0-next.7 → 0.17.0-next.9
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/dist/{replay-index-BsI8FEgB.js → replay-index-637fJww-.js} +485 -478
- package/dist/{replay-index-s8ksQQhf.js → replay-index-BTmOqAtW.js} +1 -1
- package/dist/{replay-index-svwJXi2m.js → replay-index-CnafcWXu.js} +2 -2
- package/dist/{replay-index-yAz2oPW9.js → replay-index-D1W9r9Rf.js} +103 -103
- package/dist/{replay-index-CgJ7cP0Q.js → replay-index-D7wVG1Y9.js} +1 -1
- package/dist/{replay-index-BQrCLE6c.js → replay-index-DPixSSw1.js} +46 -36
- package/dist/{replay-tauri-path-YltaRMhK.js → replay-tauri-path-Btd3dMbB.js} +2 -2
- package/dist/{replay-tauri-path-DE3xg_T7.js → replay-tauri-path-dnQvNJdV.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./replay-index-D1W9r9Rf.js");async function n(e={}){return typeof e=="object"&&Object.freeze(e),await t.invoke("plugin:dialog|open",{options:e})}exports.open=n;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ps = Object.defineProperty;
|
|
2
2
|
var ws = (u, e, a) => e in u ? Ps(u, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : u[e] = a;
|
|
3
3
|
var Gu = (u, e, a) => ws(u, typeof e != "symbol" ? e + "" : e, a);
|
|
4
|
-
import { b as G1, t as Ks, p as _u, J as k0, i as Oa, a as Ha, r as Ts, c as Ar, m as Ls, s as Ns, d as _1, e as Rs, f as Hs, g as Ia, h as Gs, l as _s, j as Vs, k as $s } from "./replay-index-
|
|
4
|
+
import { b as G1, t as Ks, p as _u, J as k0, i as Oa, a as Ha, r as Ts, c as Ar, m as Ls, s as Ns, d as _1, e as Rs, f as Hs, g as Ia, h as Gs, l as _s, j as Vs, k as $s } from "./replay-index-637fJww-.js";
|
|
5
5
|
async function Js(u) {
|
|
6
6
|
const { descriptionPath: e, externalRefResolver: a, base: i } = u, r = await G1({
|
|
7
7
|
base: i,
|
|
@@ -77,47 +77,47 @@ const {
|
|
|
77
77
|
(e, a) => ({ ...e, [a]: String }),
|
|
78
78
|
{}
|
|
79
79
|
), {
|
|
80
|
-
reset:
|
|
80
|
+
reset: keu,
|
|
81
81
|
bold: h0,
|
|
82
82
|
dim: al,
|
|
83
|
-
italic:
|
|
83
|
+
italic: heu,
|
|
84
84
|
underline: il,
|
|
85
85
|
inverse: O1,
|
|
86
|
-
hidden:
|
|
87
|
-
strikethrough:
|
|
88
|
-
black:
|
|
86
|
+
hidden: peu,
|
|
87
|
+
strikethrough: geu,
|
|
88
|
+
black: Ceu,
|
|
89
89
|
red: Au,
|
|
90
90
|
green: J0,
|
|
91
91
|
yellow: p0,
|
|
92
92
|
blue: Mu,
|
|
93
|
-
magenta:
|
|
94
|
-
cyan:
|
|
93
|
+
magenta: veu,
|
|
94
|
+
cyan: beu,
|
|
95
95
|
white: yr,
|
|
96
96
|
gray: ju,
|
|
97
|
-
bgBlack:
|
|
97
|
+
bgBlack: Beu,
|
|
98
98
|
bgRed: Ta,
|
|
99
|
-
bgGreen:
|
|
100
|
-
bgYellow:
|
|
101
|
-
bgBlue:
|
|
102
|
-
bgMagenta:
|
|
103
|
-
bgCyan:
|
|
104
|
-
bgWhite:
|
|
105
|
-
blackBright:
|
|
106
|
-
redBright:
|
|
107
|
-
greenBright:
|
|
108
|
-
yellowBright:
|
|
109
|
-
blueBright:
|
|
110
|
-
magentaBright:
|
|
111
|
-
cyanBright:
|
|
112
|
-
whiteBright:
|
|
113
|
-
bgBlackBright:
|
|
114
|
-
bgRedBright:
|
|
115
|
-
bgGreenBright:
|
|
116
|
-
bgYellowBright:
|
|
117
|
-
bgBlueBright:
|
|
118
|
-
bgMagentaBright:
|
|
119
|
-
bgCyanBright:
|
|
120
|
-
bgWhiteBright:
|
|
99
|
+
bgGreen: Aeu,
|
|
100
|
+
bgYellow: feu,
|
|
101
|
+
bgBlue: yeu,
|
|
102
|
+
bgMagenta: zeu,
|
|
103
|
+
bgCyan: Seu,
|
|
104
|
+
bgWhite: Meu,
|
|
105
|
+
blackBright: jeu,
|
|
106
|
+
redBright: Peu,
|
|
107
|
+
greenBright: weu,
|
|
108
|
+
yellowBright: Keu,
|
|
109
|
+
blueBright: Teu,
|
|
110
|
+
magentaBright: Leu,
|
|
111
|
+
cyanBright: Neu,
|
|
112
|
+
whiteBright: Reu,
|
|
113
|
+
bgBlackBright: Heu,
|
|
114
|
+
bgRedBright: Geu,
|
|
115
|
+
bgGreenBright: _eu,
|
|
116
|
+
bgYellowBright: Veu,
|
|
117
|
+
bgBlueBright: $eu,
|
|
118
|
+
bgMagentaBright: Jeu,
|
|
119
|
+
bgCyanBright: Oeu,
|
|
120
|
+
bgWhiteBright: Ieu
|
|
121
121
|
} = el(), rl = (u) => /\{.*?\}/.test(u);
|
|
122
122
|
function D0({ value: u, ctx: e, logger: a }) {
|
|
123
123
|
if (!u)
|
|
@@ -16269,7 +16269,7 @@ async function me({ workflowInput: u, ctx: e, fromStepId: a, skipLineSeparator:
|
|
|
16269
16269
|
stepId: r,
|
|
16270
16270
|
startTime: t,
|
|
16271
16271
|
endTime: C,
|
|
16272
|
-
totalTimeMs:
|
|
16272
|
+
totalTimeMs: ceu(e.executedSteps),
|
|
16273
16273
|
executedSteps: e.executedSteps,
|
|
16274
16274
|
ctx: e,
|
|
16275
16275
|
globalTimeoutError: F
|
|
@@ -16318,12 +16318,22 @@ function Deu(u, e, a) {
|
|
|
16318
16318
|
throw new Error(`Unknown source description type ${i.type}`);
|
|
16319
16319
|
} else return "";
|
|
16320
16320
|
}
|
|
16321
|
-
|
|
16321
|
+
function xeu(u) {
|
|
16322
|
+
return "type" in u && u.type === "workflow";
|
|
16323
|
+
}
|
|
16324
|
+
function ceu(u) {
|
|
16325
|
+
var a;
|
|
16326
|
+
let e = 0;
|
|
16327
|
+
for (const i of u)
|
|
16328
|
+
xeu(i) ? e += i.totalTimeMs : e += ((a = i.response) == null ? void 0 : a.time) || 0;
|
|
16329
|
+
return e;
|
|
16330
|
+
}
|
|
16331
|
+
async function Ueu(u) {
|
|
16322
16332
|
const e = { value: 0 }, { files: a, executionTimeout: i, collectSpecData: r } = u;
|
|
16323
16333
|
i && (E0.reset(), E0.getInstance(i));
|
|
16324
16334
|
const o = [], n = [];
|
|
16325
16335
|
for (const s of a) {
|
|
16326
|
-
const t = await
|
|
16336
|
+
const t = await deu({
|
|
16327
16337
|
options: { ...u, file: s },
|
|
16328
16338
|
startedAt: performance.now(),
|
|
16329
16339
|
collectSpecData: r,
|
|
@@ -16333,7 +16343,7 @@ async function qeu(u) {
|
|
|
16333
16343
|
}
|
|
16334
16344
|
return n;
|
|
16335
16345
|
}
|
|
16336
|
-
async function
|
|
16346
|
+
async function deu({ options: u, startedAt: e, executedStepsCount: a, collectSpecData: i }) {
|
|
16337
16347
|
const r = await seu({ options: u, collectSpecData: i, executedStepsCount: a }), { executedWorkflows: o, ctx: n } = r, s = Ui(o), t = s.workflows.failed > 0, E = s.workflows.warnings > 0, l = o.some((D) => D.globalTimeoutError);
|
|
16338
16348
|
return (s.steps.failed > 0 || s.steps.warnings > 0 || s.steps.skipped > 0) && jE(o, u.logger), zE({ startedAt: e, workflows: o, options: u }), {
|
|
16339
16349
|
hasProblems: t,
|
|
@@ -16352,5 +16362,5 @@ export {
|
|
|
16352
16362
|
Ui as calculateTotals,
|
|
16353
16363
|
f0 as maskSecrets,
|
|
16354
16364
|
zl as parseRuntimeExpression,
|
|
16355
|
-
|
|
16365
|
+
Ueu as run
|
|
16356
16366
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as h, o as r } from "./replay-index-
|
|
2
|
-
import { u as w, q as b } from "./replay-index-
|
|
1
|
+
import { n as h, o as r } from "./replay-index-637fJww-.js";
|
|
2
|
+
import { u as w, q as b } from "./replay-index-637fJww-.js";
|
|
3
3
|
async function x(s, i) {
|
|
4
4
|
const t = h(), l = await r(s), c = await r(i), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), n = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), p = Math.min(o.length, n.length);
|
|
5
5
|
let a = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-D1W9r9Rf.js");async function v(i,l){const t=e.sep(),a=await e.resolve(i),c=await e.resolve(l),r=a.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),n=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),p=Math.min(r.length,n.length);let s=0;for(let o=0;o<p&&r[o]===n[o];o++)s++;const f=r.slice(s).map(()=>".."),g=n.slice(s);return[...f,...g].join(t)}exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.relative=v;
|
package/dist/replay.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-D1W9r9Rf.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;
|
package/dist/replay.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.17.0-next.
|
|
3
|
+
"version": "0.17.0-next.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react-dom": "^19.1.0",
|
|
20
20
|
"react-router-dom": "^6.21.1",
|
|
21
21
|
"styled-components": "^5.3.11",
|
|
22
|
-
"@redocly/theme": "0.58.0-next.
|
|
22
|
+
"@redocly/theme": "0.58.0-next.6"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@codemirror/autocomplete": "^6.15.0",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@redocly/hookstate-core": "^4.2.0",
|
|
36
36
|
"@redocly/hookstate-devtools": "^4.2.0",
|
|
37
37
|
"@redocly/hookstate-localstored": "^4.0.2",
|
|
38
|
-
"@redocly/openapi-core": "2.
|
|
39
|
-
"@redocly/respect-core": "2.
|
|
38
|
+
"@redocly/openapi-core": "2.2.0",
|
|
39
|
+
"@redocly/respect-core": "2.2.0",
|
|
40
40
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
41
41
|
"@tauri-apps/api": "2.4.1",
|
|
42
42
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|