viberadar 0.3.213 → 0.3.214
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/server/index.d.ts.map +1 -1
- package/dist/server/index.js +5 -5
- package/dist/server/index.js.map +1 -1
- package/dist/ui/dashboard.html +60 -28
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAO7B,OAAO,EAAE,UAAU,EAA4H,MAAM,YAAY,CAAC;AAOlK,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;CACrB;AA0vED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAO7B,OAAO,EAAE,UAAU,EAA4H,MAAM,YAAY,CAAC;AAOlK,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;CACrB;AA0vED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAk2G1G"}
|
package/dist/server/index.js
CHANGED
|
@@ -2226,7 +2226,7 @@ function startServer({ data: initialData, port, projectRoot }) {
|
|
|
2226
2226
|
function redactLoadEnvVars(envVars) {
|
|
2227
2227
|
const out = {};
|
|
2228
2228
|
for (const key of Object.keys(envVars)) {
|
|
2229
|
-
out[key] = /token|secret|password|key/i.test(key) ? '***' : envVars[key];
|
|
2229
|
+
out[key] = /token|secret|password|key|account|credential|login/i.test(key) ? '***' : envVars[key];
|
|
2230
2230
|
}
|
|
2231
2231
|
return out;
|
|
2232
2232
|
}
|
|
@@ -5353,18 +5353,18 @@ a{color:var(--blue)}
|
|
|
5353
5353
|
broadcast('load-started', { runId, config: loadConfig });
|
|
5354
5354
|
res.writeHead(200, jsonH);
|
|
5355
5355
|
res.end(JSON.stringify({ ok: true, runId }));
|
|
5356
|
-
const
|
|
5356
|
+
const childEnv = { ...process.env };
|
|
5357
5357
|
for (const [k, v] of Object.entries(envVars)) {
|
|
5358
5358
|
if (k && v !== undefined && v !== '')
|
|
5359
|
-
|
|
5359
|
+
childEnv[k] = v;
|
|
5360
5360
|
}
|
|
5361
5361
|
const args = ['run'];
|
|
5362
5362
|
if (loadConfig.executionMode !== 'script') {
|
|
5363
5363
|
args.push('--vus', String(loadConfig.vus || 10), '--duration', loadConfig.duration || '30s');
|
|
5364
5364
|
}
|
|
5365
|
-
args.push(
|
|
5365
|
+
args.push('--summary-export', summaryPath, '--out', `json=${jsonOutPath}`, scriptPath);
|
|
5366
5366
|
loadProc = (0, child_process_1.spawn)('k6', args, {
|
|
5367
|
-
cwd: workDir, env:
|
|
5367
|
+
cwd: workDir, env: childEnv, shell: WIN, stdio: 'pipe',
|
|
5368
5368
|
});
|
|
5369
5369
|
const addLog = (line) => {
|
|
5370
5370
|
loadState.logs.push(line);
|