restura-cli 0.2.14 → 0.2.16
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/index.js
CHANGED
|
@@ -214,6 +214,7 @@ var require_oauth_1_0a = __commonJS({
|
|
|
214
214
|
|
|
215
215
|
// src/index.ts
|
|
216
216
|
import { Command } from "commander";
|
|
217
|
+
import { EnvHttpProxyAgent, setGlobalDispatcher } from "undici";
|
|
217
218
|
|
|
218
219
|
// src/runner/collectionLoader.ts
|
|
219
220
|
import { readFile as readFile2, readdir as readdir2, stat as stat2 } from "fs/promises";
|
|
@@ -3876,7 +3877,7 @@ var PM_EXPECT_BOOTSTRAP = `
|
|
|
3876
3877
|
var cached = null;
|
|
3877
3878
|
function loadSandboxLibraries() {
|
|
3878
3879
|
if (!cached) {
|
|
3879
|
-
cached = import("./bundle.generated-
|
|
3880
|
+
cached = import("./bundle.generated-BZK3RLUN.js").then((mod) => ({
|
|
3880
3881
|
sources: mod.LIBRARY_SOURCES,
|
|
3881
3882
|
globalNames: mod.LIBRARY_GLOBAL_NAMES,
|
|
3882
3883
|
prelude: mod.SANDBOX_PRELUDE
|
|
@@ -5572,9 +5573,12 @@ function buildOne(name, outputPath) {
|
|
|
5572
5573
|
}
|
|
5573
5574
|
|
|
5574
5575
|
// package.json
|
|
5575
|
-
var version = "0.2.
|
|
5576
|
+
var version = "0.2.16";
|
|
5576
5577
|
|
|
5577
5578
|
// src/index.ts
|
|
5579
|
+
if (process.env.HTTP_PROXY || process.env.http_proxy || process.env.HTTPS_PROXY || process.env.https_proxy) {
|
|
5580
|
+
setGlobalDispatcher(new EnvHttpProxyAgent());
|
|
5581
|
+
}
|
|
5578
5582
|
var program = new Command();
|
|
5579
5583
|
program.name("restura").description("Restura CLI \u2014 run API collections in CI").version(version);
|
|
5580
5584
|
registerRunCommand(program);
|