recker 1.0.87 → 1.0.92

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.
@@ -1483,6 +1483,8 @@ var recker = (() => {
1483
1483
  Socket: () => Socket,
1484
1484
  TLSSocket: () => TLSSocket,
1485
1485
  Transform: () => Transform,
1486
+ URL: () => URL2,
1487
+ URLSearchParams: () => URLSearchParams2,
1486
1488
  WebSocket: () => WebSocket2,
1487
1489
  Writable: () => Writable,
1488
1490
  arch: () => arch,
@@ -1512,6 +1514,7 @@ var recker = (() => {
1512
1514
  execSync: () => execSync,
1513
1515
  existsSync: () => existsSync,
1514
1516
  extname: () => extname,
1517
+ fileURLToPath: () => fileURLToPath,
1515
1518
  finished: () => finished,
1516
1519
  format: () => format,
1517
1520
  freemem: () => freemem,
@@ -1527,6 +1530,7 @@ var recker = (() => {
1527
1530
  lookup: () => lookup,
1528
1531
  mkdir: () => mkdir,
1529
1532
  ok: () => ok,
1533
+ pathToFileURL: () => pathToFileURL,
1530
1534
  performance: () => performance2,
1531
1535
  pipeline: () => pipeline,
1532
1536
  platform: () => platform,
@@ -1558,7 +1562,7 @@ var recker = (() => {
1558
1562
  writeFile: () => writeFile,
1559
1563
  writeFileSync: () => writeFileSync
1560
1564
  });
1561
- var noop, noopPromise, noopClass, node_fs_default, createWriteStream, createReadStream, readFileSync, writeFileSync, existsSync, mkdir, readFile, writeFile, unlink, rm, stat, readdir, join, dirname, basename, extname, resolve, pipeline, Readable, Writable, Transform, PassThrough, finished, EventEmitter, createHash, createHmac, createSign, createPrivateKey, randomBytes, randomUUID, createDecipheriv, createCipheriv, promisify, inspect, format, platform, arch, cpus, freemem, totalmem, homedir, tmpdir, createConnection, connect, Socket, Server, TLSSocket, lookup, resolve4, resolve6, resolveMx, resolveTxt, resolveNs, resolveCname, gzip, deflate, brotliCompress, gunzip, inflate, brotliDecompress, gunzipSync, gzipSync, deflateSync, inflateSync, performance2, AsyncLocalStorage, AsyncResource, channel, Buffer2, ok, strictEqual, deepStrictEqual, throws, rejects, spawn, spawnSync, exec, execSync, request, errors, ProxyAgent, Agent, Client, WebSocket2, promises, constants;
1565
+ var noop, noopPromise, noopClass, node_fs_default, createWriteStream, createReadStream, readFileSync, writeFileSync, existsSync, mkdir, readFile, writeFile, unlink, rm, stat, readdir, join, dirname, basename, extname, resolve, pipeline, Readable, Writable, Transform, PassThrough, finished, EventEmitter, createHash, createHmac, createSign, createPrivateKey, randomBytes, randomUUID, createDecipheriv, createCipheriv, promisify, inspect, format, platform, arch, cpus, freemem, totalmem, homedir, tmpdir, fileURLToPath, pathToFileURL, URL2, URLSearchParams2, createConnection, connect, Socket, Server, TLSSocket, lookup, resolve4, resolve6, resolveMx, resolveTxt, resolveNs, resolveCname, gzip, deflate, brotliCompress, gunzip, inflate, brotliDecompress, gunzipSync, gzipSync, deflateSync, inflateSync, performance2, AsyncLocalStorage, AsyncResource, channel, Buffer2, ok, strictEqual, deepStrictEqual, throws, rejects, spawn, spawnSync, exec, execSync, request, errors, ProxyAgent, Agent, Client, WebSocket2, promises, constants;
1562
1566
  var init_node_fs = __esm({
1563
1567
  "node-stub:node:fs"() {
1564
1568
  noop = () => {
@@ -1633,6 +1637,10 @@ var recker = (() => {
1633
1637
  totalmem = () => 0;
1634
1638
  homedir = () => "/";
1635
1639
  tmpdir = () => "/tmp";
1640
+ fileURLToPath = (url) => url;
1641
+ pathToFileURL = (path) => new URL2("file://" + path);
1642
+ URL2 = globalThis.URL;
1643
+ URLSearchParams2 = globalThis.URLSearchParams;
1636
1644
  createConnection = noop;
1637
1645
  connect = noop;
1638
1646
  Socket = noopClass;
@@ -1732,6 +1740,8 @@ var recker = (() => {
1732
1740
  Socket: () => Socket2,
1733
1741
  TLSSocket: () => TLSSocket2,
1734
1742
  Transform: () => Transform2,
1743
+ URL: () => URL3,
1744
+ URLSearchParams: () => URLSearchParams3,
1735
1745
  WebSocket: () => WebSocket3,
1736
1746
  Writable: () => Writable2,
1737
1747
  arch: () => arch2,
@@ -1761,6 +1771,7 @@ var recker = (() => {
1761
1771
  execSync: () => execSync2,
1762
1772
  existsSync: () => existsSync2,
1763
1773
  extname: () => extname2,
1774
+ fileURLToPath: () => fileURLToPath2,
1764
1775
  finished: () => finished2,
1765
1776
  format: () => format2,
1766
1777
  freemem: () => freemem2,
@@ -1776,6 +1787,7 @@ var recker = (() => {
1776
1787
  lookup: () => lookup2,
1777
1788
  mkdir: () => mkdir2,
1778
1789
  ok: () => ok2,
1790
+ pathToFileURL: () => pathToFileURL2,
1779
1791
  performance: () => performance3,
1780
1792
  pipeline: () => pipeline2,
1781
1793
  platform: () => platform2,
@@ -1807,7 +1819,7 @@ var recker = (() => {
1807
1819
  writeFile: () => writeFile2,
1808
1820
  writeFileSync: () => writeFileSync2
1809
1821
  });
1810
- var noop2, noopPromise2, noopClass2, promises_default, createWriteStream2, createReadStream2, readFileSync2, writeFileSync2, existsSync2, mkdir2, readFile2, writeFile2, unlink2, rm2, stat2, readdir2, join2, dirname2, basename2, extname2, resolve2, pipeline2, Readable2, Writable2, Transform2, PassThrough2, finished2, EventEmitter2, createHash2, createHmac2, createSign2, createPrivateKey2, randomBytes2, randomUUID2, createDecipheriv2, createCipheriv2, promisify2, inspect2, format2, platform2, arch2, cpus2, freemem2, totalmem2, homedir2, tmpdir2, createConnection2, connect2, Socket2, Server2, TLSSocket2, lookup2, resolve42, resolve62, resolveMx2, resolveTxt2, resolveNs2, resolveCname2, gzip2, deflate2, brotliCompress2, gunzip2, inflate2, brotliDecompress2, gunzipSync2, gzipSync2, deflateSync2, inflateSync2, performance3, AsyncLocalStorage2, AsyncResource2, channel2, Buffer3, ok2, strictEqual2, deepStrictEqual2, throws2, rejects2, spawn2, spawnSync2, exec2, execSync2, request2, errors2, ProxyAgent2, Agent2, Client2, WebSocket3, promises2, constants2;
1822
+ var noop2, noopPromise2, noopClass2, promises_default, createWriteStream2, createReadStream2, readFileSync2, writeFileSync2, existsSync2, mkdir2, readFile2, writeFile2, unlink2, rm2, stat2, readdir2, join2, dirname2, basename2, extname2, resolve2, pipeline2, Readable2, Writable2, Transform2, PassThrough2, finished2, EventEmitter2, createHash2, createHmac2, createSign2, createPrivateKey2, randomBytes2, randomUUID2, createDecipheriv2, createCipheriv2, promisify2, inspect2, format2, platform2, arch2, cpus2, freemem2, totalmem2, homedir2, tmpdir2, fileURLToPath2, pathToFileURL2, URL3, URLSearchParams3, createConnection2, connect2, Socket2, Server2, TLSSocket2, lookup2, resolve42, resolve62, resolveMx2, resolveTxt2, resolveNs2, resolveCname2, gzip2, deflate2, brotliCompress2, gunzip2, inflate2, brotliDecompress2, gunzipSync2, gzipSync2, deflateSync2, inflateSync2, performance3, AsyncLocalStorage2, AsyncResource2, channel2, Buffer3, ok2, strictEqual2, deepStrictEqual2, throws2, rejects2, spawn2, spawnSync2, exec2, execSync2, request2, errors2, ProxyAgent2, Agent2, Client2, WebSocket3, promises2, constants2;
1811
1823
  var init_promises = __esm({
1812
1824
  "node-stub:node:stream/promises"() {
1813
1825
  noop2 = () => {
@@ -1882,6 +1894,10 @@ var recker = (() => {
1882
1894
  totalmem2 = () => 0;
1883
1895
  homedir2 = () => "/";
1884
1896
  tmpdir2 = () => "/tmp";
1897
+ fileURLToPath2 = (url) => url;
1898
+ pathToFileURL2 = (path) => new URL3("file://" + path);
1899
+ URL3 = globalThis.URL;
1900
+ URLSearchParams3 = globalThis.URLSearchParams;
1885
1901
  createConnection2 = noop2;
1886
1902
  connect2 = noop2;
1887
1903
  Socket2 = noopClass2;
@@ -1981,6 +1997,8 @@ var recker = (() => {
1981
1997
  Socket: () => Socket3,
1982
1998
  TLSSocket: () => TLSSocket3,
1983
1999
  Transform: () => Transform3,
2000
+ URL: () => URL4,
2001
+ URLSearchParams: () => URLSearchParams4,
1984
2002
  WebSocket: () => WebSocket4,
1985
2003
  Writable: () => Writable3,
1986
2004
  arch: () => arch3,
@@ -2010,6 +2028,7 @@ var recker = (() => {
2010
2028
  execSync: () => execSync3,
2011
2029
  existsSync: () => existsSync3,
2012
2030
  extname: () => extname3,
2031
+ fileURLToPath: () => fileURLToPath3,
2013
2032
  finished: () => finished3,
2014
2033
  format: () => format3,
2015
2034
  freemem: () => freemem3,
@@ -2025,6 +2044,7 @@ var recker = (() => {
2025
2044
  lookup: () => lookup3,
2026
2045
  mkdir: () => mkdir3,
2027
2046
  ok: () => ok3,
2047
+ pathToFileURL: () => pathToFileURL3,
2028
2048
  performance: () => performance4,
2029
2049
  pipeline: () => pipeline3,
2030
2050
  platform: () => platform3,
@@ -2056,7 +2076,7 @@ var recker = (() => {
2056
2076
  writeFile: () => writeFile3,
2057
2077
  writeFileSync: () => writeFileSync3
2058
2078
  });
2059
- var noop3, noopPromise3, noopClass3, node_stream_default, createWriteStream3, createReadStream3, readFileSync3, writeFileSync3, existsSync3, mkdir3, readFile3, writeFile3, unlink3, rm3, stat3, readdir3, join3, dirname3, basename3, extname3, resolve3, pipeline3, Readable3, Writable3, Transform3, PassThrough3, finished3, EventEmitter3, createHash3, createHmac3, createSign3, createPrivateKey3, randomBytes3, randomUUID3, createDecipheriv3, createCipheriv3, promisify3, inspect3, format3, platform3, arch3, cpus3, freemem3, totalmem3, homedir3, tmpdir3, createConnection3, connect3, Socket3, Server3, TLSSocket3, lookup3, resolve43, resolve63, resolveMx3, resolveTxt3, resolveNs3, resolveCname3, gzip3, deflate3, brotliCompress3, gunzip3, inflate3, brotliDecompress3, gunzipSync3, gzipSync3, deflateSync3, inflateSync3, performance4, AsyncLocalStorage3, AsyncResource3, channel3, Buffer4, ok3, strictEqual3, deepStrictEqual3, throws3, rejects3, spawn3, spawnSync3, exec3, execSync3, request3, errors3, ProxyAgent3, Agent3, Client3, WebSocket4, promises3, constants3;
2079
+ var noop3, noopPromise3, noopClass3, node_stream_default, createWriteStream3, createReadStream3, readFileSync3, writeFileSync3, existsSync3, mkdir3, readFile3, writeFile3, unlink3, rm3, stat3, readdir3, join3, dirname3, basename3, extname3, resolve3, pipeline3, Readable3, Writable3, Transform3, PassThrough3, finished3, EventEmitter3, createHash3, createHmac3, createSign3, createPrivateKey3, randomBytes3, randomUUID3, createDecipheriv3, createCipheriv3, promisify3, inspect3, format3, platform3, arch3, cpus3, freemem3, totalmem3, homedir3, tmpdir3, fileURLToPath3, pathToFileURL3, URL4, URLSearchParams4, createConnection3, connect3, Socket3, Server3, TLSSocket3, lookup3, resolve43, resolve63, resolveMx3, resolveTxt3, resolveNs3, resolveCname3, gzip3, deflate3, brotliCompress3, gunzip3, inflate3, brotliDecompress3, gunzipSync3, gzipSync3, deflateSync3, inflateSync3, performance4, AsyncLocalStorage3, AsyncResource3, channel3, Buffer4, ok3, strictEqual3, deepStrictEqual3, throws3, rejects3, spawn3, spawnSync3, exec3, execSync3, request3, errors3, ProxyAgent3, Agent3, Client3, WebSocket4, promises3, constants3;
2060
2080
  var init_node_stream = __esm({
2061
2081
  "node-stub:node:stream"() {
2062
2082
  noop3 = () => {
@@ -2131,6 +2151,10 @@ var recker = (() => {
2131
2151
  totalmem3 = () => 0;
2132
2152
  homedir3 = () => "/";
2133
2153
  tmpdir3 = () => "/tmp";
2154
+ fileURLToPath3 = (url) => url;
2155
+ pathToFileURL3 = (path) => new URL4("file://" + path);
2156
+ URL4 = globalThis.URL;
2157
+ URLSearchParams4 = globalThis.URLSearchParams;
2134
2158
  createConnection3 = noop3;
2135
2159
  connect3 = noop3;
2136
2160
  Socket3 = noopClass3;
@@ -3366,30 +3390,36 @@ var recker = (() => {
3366
3390
  });
3367
3391
 
3368
3392
  // node-stub:node:zlib
3369
- var node_zlib_default, gunzipSync4, performance5;
3393
+ var node_zlib_default, URL5, URLSearchParams5, gunzipSync4, performance5;
3370
3394
  var init_node_zlib = __esm({
3371
3395
  "node-stub:node:zlib"() {
3372
3396
  node_zlib_default = {};
3397
+ URL5 = globalThis.URL;
3398
+ URLSearchParams5 = globalThis.URLSearchParams;
3373
3399
  gunzipSync4 = (data) => data;
3374
3400
  performance5 = globalThis.performance;
3375
3401
  }
3376
3402
  });
3377
3403
 
3378
3404
  // node-stub:node:os
3379
- var node_os_default, homedir4, performance6;
3405
+ var node_os_default, homedir4, URL6, URLSearchParams6, performance6;
3380
3406
  var init_node_os = __esm({
3381
3407
  "node-stub:node:os"() {
3382
3408
  node_os_default = {};
3383
3409
  homedir4 = () => "/";
3410
+ URL6 = globalThis.URL;
3411
+ URLSearchParams6 = globalThis.URLSearchParams;
3384
3412
  performance6 = globalThis.performance;
3385
3413
  }
3386
3414
  });
3387
3415
 
3388
3416
  // node-stub:node:v8
3389
- var node_v8_default, performance7;
3417
+ var node_v8_default, URL7, URLSearchParams7, performance7;
3390
3418
  var init_node_v8 = __esm({
3391
3419
  "node-stub:node:v8"() {
3392
3420
  node_v8_default = {};
3421
+ URL7 = globalThis.URL;
3422
+ URLSearchParams7 = globalThis.URLSearchParams;
3393
3423
  performance7 = globalThis.performance;
3394
3424
  }
3395
3425
  });
@@ -9666,11 +9696,13 @@ var recker = (() => {
9666
9696
  });
9667
9697
 
9668
9698
  // node-stub:node:child_process
9669
- var noop4, performance8, spawn4;
9699
+ var noop4, URL8, URLSearchParams8, performance8, spawn4;
9670
9700
  var init_node_child_process = __esm({
9671
9701
  "node-stub:node:child_process"() {
9672
9702
  noop4 = () => {
9673
9703
  };
9704
+ URL8 = globalThis.URL;
9705
+ URLSearchParams8 = globalThis.URLSearchParams;
9674
9706
  performance8 = globalThis.performance;
9675
9707
  spawn4 = () => ({
9676
9708
  on: noop4,
@@ -9922,54 +9954,57 @@ var recker = (() => {
9922
9954
  });
9923
9955
 
9924
9956
  // node-stub:node:path
9925
- var join4, dirname4, performance9;
9957
+ var join4, dirname4, URL9, URLSearchParams9, performance9;
9926
9958
  var init_node_path = __esm({
9927
9959
  "node-stub:node:path"() {
9928
9960
  join4 = (...args) => args.join("/");
9929
9961
  dirname4 = (p) => p.split("/").slice(0, -1).join("/");
9962
+ URL9 = globalThis.URL;
9963
+ URLSearchParams9 = globalThis.URLSearchParams;
9930
9964
  performance9 = globalThis.performance;
9931
9965
  }
9932
9966
  });
9933
9967
 
9968
+ // node-stub:node:url
9969
+ var fileURLToPath4, URL10, URLSearchParams10, performance10;
9970
+ var init_node_url = __esm({
9971
+ "node-stub:node:url"() {
9972
+ fileURLToPath4 = (url) => url;
9973
+ URL10 = globalThis.URL;
9974
+ URLSearchParams10 = globalThis.URLSearchParams;
9975
+ performance10 = globalThis.performance;
9976
+ }
9977
+ });
9978
+
9934
9979
  // dist/browser/utils/binary-manager.js
9935
9980
  function getCurlBinName() {
9936
9981
  return "curl-impersonate-chrome";
9937
9982
  }
9938
9983
  function getCurlPath() {
9939
- return join4(BIN_DIR, getCurlBinName());
9984
+ return join4(PACKAGE_BIN_DIR, getCurlBinName());
9940
9985
  }
9941
- async function hasImpersonate() {
9942
- const binaryPath = process.env.RECKER_CURL_BIN || getCurlPath();
9986
+ function getLegacyCurlPath() {
9987
+ return join4(LEGACY_BIN_DIR, getCurlBinName());
9988
+ }
9989
+ async function resolveCurlPath() {
9990
+ if (process.env.RECKER_CURL_BIN) {
9991
+ return process.env.RECKER_CURL_BIN;
9992
+ }
9993
+ const packagePath = getCurlPath();
9943
9994
  try {
9944
- await promises.access(binaryPath, constants.X_OK);
9995
+ await promises.access(packagePath, constants.X_OK);
9996
+ return packagePath;
9945
9997
  } catch {
9946
- return false;
9947
9998
  }
9948
- return new Promise((resolve12) => {
9949
- let settled = false;
9950
- const child = spawn4(binaryPath, ["--version"]);
9951
- const settle = (ok10) => {
9952
- if (!settled) {
9953
- settled = true;
9954
- resolve12(ok10);
9955
- }
9956
- };
9957
- child.on("error", () => settle(false));
9958
- child.on("close", (code) => {
9959
- settle(code === 0);
9960
- });
9961
- const timeout = setTimeout(() => {
9962
- if (child.exitCode === null) {
9963
- child.kill();
9964
- }
9965
- settle(false);
9966
- }, 2e3);
9967
- child.on("close", () => {
9968
- clearTimeout(timeout);
9969
- });
9970
- });
9999
+ const legacyPath = getLegacyCurlPath();
10000
+ try {
10001
+ await promises.access(legacyPath, constants.X_OK);
10002
+ return legacyPath;
10003
+ } catch {
10004
+ }
10005
+ return null;
9971
10006
  }
9972
- var BIN_DIR;
10007
+ var import_meta, __filename_local, __dirname_local, PACKAGE_BIN_DIR, LEGACY_BIN_DIR;
9973
10008
  var init_binary_manager = __esm({
9974
10009
  "dist/browser/utils/binary-manager.js"() {
9975
10010
  "use strict";
@@ -9980,7 +10015,12 @@ var recker = (() => {
9980
10015
  init_node_fs();
9981
10016
  init_node_stream();
9982
10017
  init_promises();
9983
- BIN_DIR = join4(homedir4(), ".recker", "bin");
10018
+ init_node_url();
10019
+ import_meta = {};
10020
+ __filename_local = fileURLToPath4(import_meta.url);
10021
+ __dirname_local = dirname4(__filename_local);
10022
+ PACKAGE_BIN_DIR = join4(__dirname_local, "..", "..", ".curl", "bin");
10023
+ LEGACY_BIN_DIR = join4(homedir4(), ".recker", "bin");
9984
10024
  }
9985
10025
  });
9986
10026
 
@@ -10097,13 +10137,7 @@ var recker = (() => {
10097
10137
  async function getCommand() {
10098
10138
  if (resolvedCommand !== null)
10099
10139
  return resolvedCommand;
10100
- if (process.env.RECKER_CURL_BIN) {
10101
- resolvedCommand = process.env.RECKER_CURL_BIN;
10102
- } else if (await hasImpersonate()) {
10103
- resolvedCommand = getCurlPath();
10104
- } else {
10105
- resolvedCommand = "curl";
10106
- }
10140
+ resolvedCommand = await resolveCurlPath() || "curl";
10107
10141
  return resolvedCommand;
10108
10142
  }
10109
10143
  var TIMING_MARKER, resolvedCommand, CurlTransport;
@@ -10301,6 +10335,8 @@ var recker = (() => {
10301
10335
  Socket: () => Socket4,
10302
10336
  TLSSocket: () => TLSSocket4,
10303
10337
  Transform: () => Transform4,
10338
+ URL: () => URL11,
10339
+ URLSearchParams: () => URLSearchParams11,
10304
10340
  WebSocket: () => WebSocket5,
10305
10341
  Writable: () => Writable4,
10306
10342
  arch: () => arch5,
@@ -10330,6 +10366,7 @@ var recker = (() => {
10330
10366
  execSync: () => execSync4,
10331
10367
  existsSync: () => existsSync4,
10332
10368
  extname: () => extname4,
10369
+ fileURLToPath: () => fileURLToPath5,
10333
10370
  finished: () => finished4,
10334
10371
  format: () => format4,
10335
10372
  freemem: () => freemem4,
@@ -10345,7 +10382,8 @@ var recker = (() => {
10345
10382
  lookup: () => lookup4,
10346
10383
  mkdir: () => mkdir4,
10347
10384
  ok: () => ok4,
10348
- performance: () => performance10,
10385
+ pathToFileURL: () => pathToFileURL4,
10386
+ performance: () => performance11,
10349
10387
  pipeline: () => pipeline4,
10350
10388
  platform: () => platform5,
10351
10389
  promises: () => promises4,
@@ -10376,7 +10414,7 @@ var recker = (() => {
10376
10414
  writeFile: () => writeFile4,
10377
10415
  writeFileSync: () => writeFileSync4
10378
10416
  });
10379
- var noop5, noopPromise4, noopClass4, promises_default2, createWriteStream4, createReadStream4, readFileSync4, writeFileSync4, existsSync4, mkdir4, readFile4, writeFile4, unlink4, rm4, stat4, readdir4, join5, dirname5, basename4, extname4, resolve5, pipeline4, Readable4, Writable4, Transform4, PassThrough4, finished4, EventEmitter4, createHash4, createHmac4, createSign4, createPrivateKey4, randomBytes4, randomUUID4, createDecipheriv4, createCipheriv4, promisify4, inspect4, format4, platform5, arch5, cpus4, freemem4, totalmem4, homedir5, tmpdir4, createConnection4, connect4, Socket4, Server4, TLSSocket4, lookup4, resolve44, resolve64, resolveMx4, resolveTxt4, resolveNs4, resolveCname4, gzip4, deflate4, brotliCompress4, gunzip4, inflate4, brotliDecompress4, gunzipSync5, gzipSync4, deflateSync4, inflateSync4, performance10, AsyncLocalStorage4, AsyncResource4, channel4, Buffer5, ok4, strictEqual4, deepStrictEqual4, throws4, rejects4, spawn5, spawnSync4, exec4, execSync4, request4, errors4, ProxyAgent4, Agent4, Client4, WebSocket5, promises4, constants4;
10417
+ var noop5, noopPromise4, noopClass4, promises_default2, createWriteStream4, createReadStream4, readFileSync4, writeFileSync4, existsSync4, mkdir4, readFile4, writeFile4, unlink4, rm4, stat4, readdir4, join5, dirname5, basename4, extname4, resolve5, pipeline4, Readable4, Writable4, Transform4, PassThrough4, finished4, EventEmitter4, createHash4, createHmac4, createSign4, createPrivateKey4, randomBytes4, randomUUID4, createDecipheriv4, createCipheriv4, promisify4, inspect4, format4, platform5, arch5, cpus4, freemem4, totalmem4, homedir5, tmpdir4, fileURLToPath5, pathToFileURL4, URL11, URLSearchParams11, createConnection4, connect4, Socket4, Server4, TLSSocket4, lookup4, resolve44, resolve64, resolveMx4, resolveTxt4, resolveNs4, resolveCname4, gzip4, deflate4, brotliCompress4, gunzip4, inflate4, brotliDecompress4, gunzipSync5, gzipSync4, deflateSync4, inflateSync4, performance11, AsyncLocalStorage4, AsyncResource4, channel4, Buffer5, ok4, strictEqual4, deepStrictEqual4, throws4, rejects4, spawn5, spawnSync4, exec4, execSync4, request4, errors4, ProxyAgent4, Agent4, Client4, WebSocket5, promises4, constants4;
10380
10418
  var init_promises2 = __esm({
10381
10419
  "node-stub:node:fs/promises"() {
10382
10420
  noop5 = () => {
@@ -10451,6 +10489,10 @@ var recker = (() => {
10451
10489
  totalmem4 = () => 0;
10452
10490
  homedir5 = () => "/";
10453
10491
  tmpdir4 = () => "/tmp";
10492
+ fileURLToPath5 = (url) => url;
10493
+ pathToFileURL4 = (path) => new URL11("file://" + path);
10494
+ URL11 = globalThis.URL;
10495
+ URLSearchParams11 = globalThis.URLSearchParams;
10454
10496
  createConnection4 = noop5;
10455
10497
  connect4 = noop5;
10456
10498
  Socket4 = noopClass4;
@@ -10473,7 +10515,7 @@ var recker = (() => {
10473
10515
  gzipSync4 = (data) => data;
10474
10516
  deflateSync4 = (data) => data;
10475
10517
  inflateSync4 = (data) => data;
10476
- performance10 = globalThis.performance;
10518
+ performance11 = globalThis.performance;
10477
10519
  AsyncLocalStorage4 = class {
10478
10520
  getStore() {
10479
10521
  return void 0;
@@ -10535,14 +10577,16 @@ var recker = (() => {
10535
10577
  });
10536
10578
 
10537
10579
  // node-stub:node:crypto
10538
- var noop6, createHash5, createDecipheriv5, performance11;
10580
+ var noop6, createHash5, createDecipheriv5, URL12, URLSearchParams12, performance12;
10539
10581
  var init_node_crypto = __esm({
10540
10582
  "node-stub:node:crypto"() {
10541
10583
  noop6 = () => {
10542
10584
  };
10543
10585
  createHash5 = () => ({ update: () => ({ digest: () => "" }) });
10544
10586
  createDecipheriv5 = () => ({ update: (d) => d, final: () => new Uint8Array(0), setAutoPadding: noop6 });
10545
- performance11 = globalThis.performance;
10587
+ URL12 = globalThis.URL;
10588
+ URLSearchParams12 = globalThis.URLSearchParams;
10589
+ performance12 = globalThis.performance;
10546
10590
  }
10547
10591
  });
10548
10592
 
@@ -10608,7 +10652,7 @@ var recker = (() => {
10608
10652
  });
10609
10653
 
10610
10654
  // node-stub:undici
10611
- var noopPromise5, noopClass5, performance12, request5, errors5, ProxyAgent5, Agent5, Client5;
10655
+ var noopPromise5, noopClass5, URL13, URLSearchParams13, performance13, request5, errors5, ProxyAgent5, Agent5, Client5;
10612
10656
  var init_undici = __esm({
10613
10657
  "node-stub:undici"() {
10614
10658
  noopPromise5 = () => Promise.resolve();
@@ -10616,7 +10660,9 @@ var recker = (() => {
10616
10660
  constructor() {
10617
10661
  }
10618
10662
  };
10619
- performance12 = globalThis.performance;
10663
+ URL13 = globalThis.URL;
10664
+ URLSearchParams13 = globalThis.URLSearchParams;
10665
+ performance13 = globalThis.performance;
10620
10666
  request5 = noopPromise5;
10621
10667
  errors5 = {
10622
10668
  ConnectTimeoutError: noopClass5,
@@ -10630,37 +10676,45 @@ var recker = (() => {
10630
10676
  });
10631
10677
 
10632
10678
  // node-stub:node:net
10633
- var node_net_default, performance13;
10679
+ var node_net_default, URL14, URLSearchParams14, performance14;
10634
10680
  var init_node_net = __esm({
10635
10681
  "node-stub:node:net"() {
10636
10682
  node_net_default = {};
10637
- performance13 = globalThis.performance;
10683
+ URL14 = globalThis.URL;
10684
+ URLSearchParams14 = globalThis.URLSearchParams;
10685
+ performance14 = globalThis.performance;
10638
10686
  }
10639
10687
  });
10640
10688
 
10641
10689
  // node-stub:node:tls
10642
- var node_tls_default, performance14;
10690
+ var node_tls_default, URL15, URLSearchParams15, performance15;
10643
10691
  var init_node_tls = __esm({
10644
10692
  "node-stub:node:tls"() {
10645
10693
  node_tls_default = {};
10646
- performance14 = globalThis.performance;
10694
+ URL15 = globalThis.URL;
10695
+ URLSearchParams15 = globalThis.URLSearchParams;
10696
+ performance15 = globalThis.performance;
10647
10697
  }
10648
10698
  });
10649
10699
 
10650
10700
  // node-stub:node:dns/promises
10651
- var promises_default3, performance15;
10701
+ var promises_default3, URL16, URLSearchParams16, performance16;
10652
10702
  var init_promises3 = __esm({
10653
10703
  "node-stub:node:dns/promises"() {
10654
10704
  promises_default3 = {};
10655
- performance15 = globalThis.performance;
10705
+ URL16 = globalThis.URL;
10706
+ URLSearchParams16 = globalThis.URLSearchParams;
10707
+ performance16 = globalThis.performance;
10656
10708
  }
10657
10709
  });
10658
10710
 
10659
10711
  // node-stub:node:perf_hooks
10660
- var performance16;
10712
+ var URL17, URLSearchParams17, performance17;
10661
10713
  var init_node_perf_hooks = __esm({
10662
10714
  "node-stub:node:perf_hooks"() {
10663
- performance16 = globalThis.performance;
10715
+ URL17 = globalThis.URL;
10716
+ URLSearchParams17 = globalThis.URLSearchParams;
10717
+ performance17 = globalThis.performance;
10664
10718
  }
10665
10719
  });
10666
10720
 
@@ -10695,11 +10749,11 @@ var recker = (() => {
10695
10749
  tls: 0,
10696
10750
  total: 0
10697
10751
  };
10698
- const startTime = performance16.now();
10752
+ const startTime = performance17.now();
10699
10753
  doConnect();
10700
10754
  async function doConnect() {
10701
10755
  try {
10702
- const dnsStart = performance16.now();
10756
+ const dnsStart = performance17.now();
10703
10757
  let resolvedAddress;
10704
10758
  try {
10705
10759
  const result = await promises_default3.lookup(hostname, { family: 4 });
@@ -10713,8 +10767,8 @@ var recker = (() => {
10713
10767
  return;
10714
10768
  }
10715
10769
  }
10716
- timings.dns = performance16.now() - dnsStart;
10717
- const tcpStart = performance16.now();
10770
+ timings.dns = performance17.now() - dnsStart;
10771
+ const tcpStart = performance17.now();
10718
10772
  const tcpSocket = node_net_default.connect({
10719
10773
  host: resolvedAddress,
10720
10774
  port: targetPort,
@@ -10730,17 +10784,17 @@ var recker = (() => {
10730
10784
  callback(err, null);
10731
10785
  });
10732
10786
  tcpSocket.once("connect", () => {
10733
- timings.tcp = performance16.now() - tcpStart;
10787
+ timings.tcp = performance17.now() - tcpStart;
10734
10788
  clearTimeout(timeoutTimer);
10735
10789
  if (!isHttps) {
10736
- timings.total = performance16.now() - startTime;
10790
+ timings.total = performance17.now() - startTime;
10737
10791
  hostTimings.set(hostname, { ...timings });
10738
10792
  globalConnectionId++;
10739
10793
  connectionCounter.set(hostname, globalConnectionId);
10740
10794
  callback(null, tcpSocket);
10741
10795
  return;
10742
10796
  }
10743
- const tlsStart = performance16.now();
10797
+ const tlsStart = performance17.now();
10744
10798
  const sn = servername || hostname;
10745
10799
  const sessionKey = `${sn}:${targetPort}`;
10746
10800
  const session = sessionCache.get(sessionKey);
@@ -10763,8 +10817,8 @@ var recker = (() => {
10763
10817
  callback(err, null);
10764
10818
  });
10765
10819
  tlsSocket.once("secureConnect", () => {
10766
- timings.tls = performance16.now() - tlsStart;
10767
- timings.total = performance16.now() - startTime;
10820
+ timings.tls = performance17.now() - tlsStart;
10821
+ timings.total = performance17.now() - startTime;
10768
10822
  hostTimings.set(hostname, { ...timings });
10769
10823
  globalConnectionId++;
10770
10824
  connectionCounter.set(hostname, globalConnectionId);
@@ -11025,18 +11079,22 @@ var recker = (() => {
11025
11079
  });
11026
11080
 
11027
11081
  // node-stub:perf_hooks
11028
- var performance17;
11082
+ var URL18, URLSearchParams18, performance18;
11029
11083
  var init_perf_hooks = __esm({
11030
11084
  "node-stub:perf_hooks"() {
11031
- performance17 = globalThis.performance;
11085
+ URL18 = globalThis.URL;
11086
+ URLSearchParams18 = globalThis.URLSearchParams;
11087
+ performance18 = globalThis.performance;
11032
11088
  }
11033
11089
  });
11034
11090
 
11035
11091
  // node-stub:async_hooks
11036
- var performance18, AsyncLocalStorage5;
11092
+ var URL19, URLSearchParams19, performance19, AsyncLocalStorage5;
11037
11093
  var init_async_hooks = __esm({
11038
11094
  "node-stub:async_hooks"() {
11039
- performance18 = globalThis.performance;
11095
+ URL19 = globalThis.URL;
11096
+ URLSearchParams19 = globalThis.URLSearchParams;
11097
+ performance19 = globalThis.performance;
11040
11098
  AsyncLocalStorage5 = class {
11041
11099
  getStore() {
11042
11100
  return void 0;
@@ -11051,12 +11109,14 @@ var recker = (() => {
11051
11109
  });
11052
11110
 
11053
11111
  // node-stub:node:diagnostics_channel
11054
- var noop7, performance19, channel5;
11112
+ var noop7, URL20, URLSearchParams20, performance20, channel5;
11055
11113
  var init_node_diagnostics_channel = __esm({
11056
11114
  "node-stub:node:diagnostics_channel"() {
11057
11115
  noop7 = () => {
11058
11116
  };
11059
- performance19 = globalThis.performance;
11117
+ URL20 = globalThis.URL;
11118
+ URLSearchParams20 = globalThis.URLSearchParams;
11119
+ performance20 = globalThis.performance;
11060
11120
  channel5 = () => ({
11061
11121
  subscribe: noop7,
11062
11122
  unsubscribe: noop7,
@@ -11067,20 +11127,24 @@ var recker = (() => {
11067
11127
  });
11068
11128
 
11069
11129
  // node-stub:node:dns
11070
- var lookup5, performance20;
11130
+ var URL21, URLSearchParams21, lookup5, performance21;
11071
11131
  var init_node_dns = __esm({
11072
11132
  "node-stub:node:dns"() {
11133
+ URL21 = globalThis.URL;
11134
+ URLSearchParams21 = globalThis.URLSearchParams;
11073
11135
  lookup5 = (hostname, cb) => cb(null, "127.0.0.1", 4);
11074
- performance20 = globalThis.performance;
11136
+ performance21 = globalThis.performance;
11075
11137
  }
11076
11138
  });
11077
11139
 
11078
11140
  // node-stub:node:util
11079
- var promisify5, performance21;
11141
+ var promisify5, URL22, URLSearchParams22, performance22;
11080
11142
  var init_node_util = __esm({
11081
11143
  "node-stub:node:util"() {
11082
11144
  promisify5 = (fn) => fn;
11083
- performance21 = globalThis.performance;
11145
+ URL22 = globalThis.URL;
11146
+ URLSearchParams22 = globalThis.URLSearchParams;
11147
+ performance22 = globalThis.performance;
11084
11148
  }
11085
11149
  });
11086
11150
 
@@ -11206,6 +11270,8 @@ var recker = (() => {
11206
11270
  Socket: () => Socket5,
11207
11271
  TLSSocket: () => TLSSocket5,
11208
11272
  Transform: () => Transform5,
11273
+ URL: () => URL23,
11274
+ URLSearchParams: () => URLSearchParams23,
11209
11275
  WebSocket: () => WebSocket6,
11210
11276
  Writable: () => Writable5,
11211
11277
  arch: () => arch6,
@@ -11235,6 +11301,7 @@ var recker = (() => {
11235
11301
  execSync: () => execSync5,
11236
11302
  existsSync: () => existsSync5,
11237
11303
  extname: () => extname5,
11304
+ fileURLToPath: () => fileURLToPath6,
11238
11305
  finished: () => finished5,
11239
11306
  format: () => format5,
11240
11307
  freemem: () => freemem5,
@@ -11250,7 +11317,8 @@ var recker = (() => {
11250
11317
  lookup: () => lookup6,
11251
11318
  mkdir: () => mkdir5,
11252
11319
  ok: () => ok5,
11253
- performance: () => performance22,
11320
+ pathToFileURL: () => pathToFileURL5,
11321
+ performance: () => performance23,
11254
11322
  pipeline: () => pipeline5,
11255
11323
  platform: () => platform6,
11256
11324
  promises: () => promises5,
@@ -11281,7 +11349,7 @@ var recker = (() => {
11281
11349
  writeFile: () => writeFile5,
11282
11350
  writeFileSync: () => writeFileSync5
11283
11351
  });
11284
- var noop8, noopPromise6, noopClass6, events_default, createWriteStream5, createReadStream5, readFileSync5, writeFileSync5, existsSync5, mkdir5, readFile5, writeFile5, unlink5, rm5, stat5, readdir5, join6, dirname6, basename5, extname5, resolve7, pipeline5, Readable5, Writable5, Transform5, PassThrough5, finished5, EventEmitter5, createHash6, createHmac5, createSign5, createPrivateKey5, randomBytes5, randomUUID5, createDecipheriv6, createCipheriv5, promisify6, inspect5, format5, platform6, arch6, cpus5, freemem5, totalmem5, homedir6, tmpdir5, createConnection5, connect5, Socket5, Server5, TLSSocket5, lookup6, resolve45, resolve65, resolveMx5, resolveTxt5, resolveNs5, resolveCname5, gzip5, deflate5, brotliCompress5, gunzip5, inflate5, brotliDecompress5, gunzipSync6, gzipSync5, deflateSync5, inflateSync5, performance22, AsyncLocalStorage6, AsyncResource5, channel6, Buffer6, ok5, strictEqual5, deepStrictEqual5, throws5, rejects5, spawn6, spawnSync5, exec5, execSync5, request6, errors6, ProxyAgent6, Agent6, Client6, WebSocket6, promises5, constants5;
11352
+ var noop8, noopPromise6, noopClass6, events_default, createWriteStream5, createReadStream5, readFileSync5, writeFileSync5, existsSync5, mkdir5, readFile5, writeFile5, unlink5, rm5, stat5, readdir5, join6, dirname6, basename5, extname5, resolve7, pipeline5, Readable5, Writable5, Transform5, PassThrough5, finished5, EventEmitter5, createHash6, createHmac5, createSign5, createPrivateKey5, randomBytes5, randomUUID5, createDecipheriv6, createCipheriv5, promisify6, inspect5, format5, platform6, arch6, cpus5, freemem5, totalmem5, homedir6, tmpdir5, fileURLToPath6, pathToFileURL5, URL23, URLSearchParams23, createConnection5, connect5, Socket5, Server5, TLSSocket5, lookup6, resolve45, resolve65, resolveMx5, resolveTxt5, resolveNs5, resolveCname5, gzip5, deflate5, brotliCompress5, gunzip5, inflate5, brotliDecompress5, gunzipSync6, gzipSync5, deflateSync5, inflateSync5, performance23, AsyncLocalStorage6, AsyncResource5, channel6, Buffer6, ok5, strictEqual5, deepStrictEqual5, throws5, rejects5, spawn6, spawnSync5, exec5, execSync5, request6, errors6, ProxyAgent6, Agent6, Client6, WebSocket6, promises5, constants5;
11285
11353
  var init_events = __esm({
11286
11354
  "node-stub:events"() {
11287
11355
  noop8 = () => {
@@ -11356,6 +11424,10 @@ var recker = (() => {
11356
11424
  totalmem5 = () => 0;
11357
11425
  homedir6 = () => "/";
11358
11426
  tmpdir5 = () => "/tmp";
11427
+ fileURLToPath6 = (url) => url;
11428
+ pathToFileURL5 = (path) => new URL23("file://" + path);
11429
+ URL23 = globalThis.URL;
11430
+ URLSearchParams23 = globalThis.URLSearchParams;
11359
11431
  createConnection5 = noop8;
11360
11432
  connect5 = noop8;
11361
11433
  Socket5 = noopClass6;
@@ -11378,7 +11450,7 @@ var recker = (() => {
11378
11450
  gzipSync5 = (data) => data;
11379
11451
  deflateSync5 = (data) => data;
11380
11452
  inflateSync5 = (data) => data;
11381
- performance22 = globalThis.performance;
11453
+ performance23 = globalThis.performance;
11382
11454
  AsyncLocalStorage6 = class {
11383
11455
  getStore() {
11384
11456
  return void 0;
@@ -11455,6 +11527,8 @@ var recker = (() => {
11455
11527
  Socket: () => Socket6,
11456
11528
  TLSSocket: () => TLSSocket6,
11457
11529
  Transform: () => Transform6,
11530
+ URL: () => URL24,
11531
+ URLSearchParams: () => URLSearchParams24,
11458
11532
  WebSocket: () => WebSocket7,
11459
11533
  Writable: () => Writable6,
11460
11534
  arch: () => arch7,
@@ -11484,6 +11558,7 @@ var recker = (() => {
11484
11558
  execSync: () => execSync6,
11485
11559
  existsSync: () => existsSync6,
11486
11560
  extname: () => extname6,
11561
+ fileURLToPath: () => fileURLToPath7,
11487
11562
  finished: () => finished6,
11488
11563
  format: () => format6,
11489
11564
  freemem: () => freemem6,
@@ -11499,7 +11574,8 @@ var recker = (() => {
11499
11574
  lookup: () => lookup7,
11500
11575
  mkdir: () => mkdir6,
11501
11576
  ok: () => ok6,
11502
- performance: () => performance23,
11577
+ pathToFileURL: () => pathToFileURL6,
11578
+ performance: () => performance24,
11503
11579
  pipeline: () => pipeline6,
11504
11580
  platform: () => platform7,
11505
11581
  promises: () => promises6,
@@ -11530,7 +11606,7 @@ var recker = (() => {
11530
11606
  writeFile: () => writeFile6,
11531
11607
  writeFileSync: () => writeFileSync6
11532
11608
  });
11533
- var noop9, noopPromise7, noopClass7, net_default, createWriteStream6, createReadStream6, readFileSync6, writeFileSync6, existsSync6, mkdir6, readFile6, writeFile6, unlink6, rm6, stat6, readdir6, join7, dirname7, basename6, extname6, resolve8, pipeline6, Readable6, Writable6, Transform6, PassThrough6, finished6, EventEmitter6, createHash7, createHmac6, createSign6, createPrivateKey6, randomBytes6, randomUUID6, createDecipheriv7, createCipheriv6, promisify7, inspect6, format6, platform7, arch7, cpus6, freemem6, totalmem6, homedir7, tmpdir6, createConnection6, connect6, Socket6, Server6, TLSSocket6, lookup7, resolve46, resolve66, resolveMx6, resolveTxt6, resolveNs6, resolveCname6, gzip6, deflate6, brotliCompress6, gunzip6, inflate6, brotliDecompress6, gunzipSync7, gzipSync6, deflateSync6, inflateSync6, performance23, AsyncLocalStorage7, AsyncResource6, channel7, Buffer7, ok6, strictEqual6, deepStrictEqual6, throws6, rejects6, spawn7, spawnSync6, exec6, execSync6, request7, errors7, ProxyAgent7, Agent7, Client7, WebSocket7, promises6, constants6;
11609
+ var noop9, noopPromise7, noopClass7, net_default, createWriteStream6, createReadStream6, readFileSync6, writeFileSync6, existsSync6, mkdir6, readFile6, writeFile6, unlink6, rm6, stat6, readdir6, join7, dirname7, basename6, extname6, resolve8, pipeline6, Readable6, Writable6, Transform6, PassThrough6, finished6, EventEmitter6, createHash7, createHmac6, createSign6, createPrivateKey6, randomBytes6, randomUUID6, createDecipheriv7, createCipheriv6, promisify7, inspect6, format6, platform7, arch7, cpus6, freemem6, totalmem6, homedir7, tmpdir6, fileURLToPath7, pathToFileURL6, URL24, URLSearchParams24, createConnection6, connect6, Socket6, Server6, TLSSocket6, lookup7, resolve46, resolve66, resolveMx6, resolveTxt6, resolveNs6, resolveCname6, gzip6, deflate6, brotliCompress6, gunzip6, inflate6, brotliDecompress6, gunzipSync7, gzipSync6, deflateSync6, inflateSync6, performance24, AsyncLocalStorage7, AsyncResource6, channel7, Buffer7, ok6, strictEqual6, deepStrictEqual6, throws6, rejects6, spawn7, spawnSync6, exec6, execSync6, request7, errors7, ProxyAgent7, Agent7, Client7, WebSocket7, promises6, constants6;
11534
11610
  var init_net = __esm({
11535
11611
  "node-stub:net"() {
11536
11612
  noop9 = () => {
@@ -11605,6 +11681,10 @@ var recker = (() => {
11605
11681
  totalmem6 = () => 0;
11606
11682
  homedir7 = () => "/";
11607
11683
  tmpdir6 = () => "/tmp";
11684
+ fileURLToPath7 = (url) => url;
11685
+ pathToFileURL6 = (path) => new URL24("file://" + path);
11686
+ URL24 = globalThis.URL;
11687
+ URLSearchParams24 = globalThis.URLSearchParams;
11608
11688
  createConnection6 = noop9;
11609
11689
  connect6 = noop9;
11610
11690
  Socket6 = noopClass7;
@@ -11627,7 +11707,7 @@ var recker = (() => {
11627
11707
  gzipSync6 = (data) => data;
11628
11708
  deflateSync6 = (data) => data;
11629
11709
  inflateSync6 = (data) => data;
11630
- performance23 = globalThis.performance;
11710
+ performance24 = globalThis.performance;
11631
11711
  AsyncLocalStorage7 = class {
11632
11712
  getStore() {
11633
11713
  return void 0;
@@ -11704,6 +11784,8 @@ var recker = (() => {
11704
11784
  Socket: () => Socket7,
11705
11785
  TLSSocket: () => TLSSocket7,
11706
11786
  Transform: () => Transform7,
11787
+ URL: () => URL25,
11788
+ URLSearchParams: () => URLSearchParams25,
11707
11789
  WebSocket: () => WebSocket8,
11708
11790
  Writable: () => Writable7,
11709
11791
  arch: () => arch8,
@@ -11733,6 +11815,7 @@ var recker = (() => {
11733
11815
  execSync: () => execSync7,
11734
11816
  existsSync: () => existsSync7,
11735
11817
  extname: () => extname7,
11818
+ fileURLToPath: () => fileURLToPath8,
11736
11819
  finished: () => finished7,
11737
11820
  format: () => format7,
11738
11821
  freemem: () => freemem7,
@@ -11748,7 +11831,8 @@ var recker = (() => {
11748
11831
  lookup: () => lookup8,
11749
11832
  mkdir: () => mkdir7,
11750
11833
  ok: () => ok7,
11751
- performance: () => performance24,
11834
+ pathToFileURL: () => pathToFileURL7,
11835
+ performance: () => performance25,
11752
11836
  pipeline: () => pipeline7,
11753
11837
  platform: () => platform8,
11754
11838
  promises: () => promises7,
@@ -11779,7 +11863,7 @@ var recker = (() => {
11779
11863
  writeFile: () => writeFile7,
11780
11864
  writeFileSync: () => writeFileSync7
11781
11865
  });
11782
- var noop10, noopPromise8, noopClass8, buffer_default, createWriteStream7, createReadStream7, readFileSync7, writeFileSync7, existsSync7, mkdir7, readFile7, writeFile7, unlink7, rm7, stat7, readdir7, join8, dirname8, basename7, extname7, resolve9, pipeline7, Readable7, Writable7, Transform7, PassThrough7, finished7, EventEmitter7, createHash8, createHmac7, createSign7, createPrivateKey7, randomBytes7, randomUUID7, createDecipheriv8, createCipheriv7, promisify8, inspect7, format7, platform8, arch8, cpus7, freemem7, totalmem7, homedir8, tmpdir7, createConnection7, connect7, Socket7, Server7, TLSSocket7, lookup8, resolve47, resolve67, resolveMx7, resolveTxt7, resolveNs7, resolveCname7, gzip7, deflate7, brotliCompress7, gunzip7, inflate7, brotliDecompress7, gunzipSync8, gzipSync7, deflateSync7, inflateSync7, performance24, AsyncLocalStorage8, AsyncResource7, channel8, Buffer8, ok7, strictEqual7, deepStrictEqual7, throws7, rejects7, spawn8, spawnSync7, exec7, execSync7, request8, errors8, ProxyAgent8, Agent8, Client8, WebSocket8, promises7, constants7;
11866
+ var noop10, noopPromise8, noopClass8, buffer_default, createWriteStream7, createReadStream7, readFileSync7, writeFileSync7, existsSync7, mkdir7, readFile7, writeFile7, unlink7, rm7, stat7, readdir7, join8, dirname8, basename7, extname7, resolve9, pipeline7, Readable7, Writable7, Transform7, PassThrough7, finished7, EventEmitter7, createHash8, createHmac7, createSign7, createPrivateKey7, randomBytes7, randomUUID7, createDecipheriv8, createCipheriv7, promisify8, inspect7, format7, platform8, arch8, cpus7, freemem7, totalmem7, homedir8, tmpdir7, fileURLToPath8, pathToFileURL7, URL25, URLSearchParams25, createConnection7, connect7, Socket7, Server7, TLSSocket7, lookup8, resolve47, resolve67, resolveMx7, resolveTxt7, resolveNs7, resolveCname7, gzip7, deflate7, brotliCompress7, gunzip7, inflate7, brotliDecompress7, gunzipSync8, gzipSync7, deflateSync7, inflateSync7, performance25, AsyncLocalStorage8, AsyncResource7, channel8, Buffer8, ok7, strictEqual7, deepStrictEqual7, throws7, rejects7, spawn8, spawnSync7, exec7, execSync7, request8, errors8, ProxyAgent8, Agent8, Client8, WebSocket8, promises7, constants7;
11783
11867
  var init_buffer = __esm({
11784
11868
  "node-stub:buffer"() {
11785
11869
  noop10 = () => {
@@ -11854,6 +11938,10 @@ var recker = (() => {
11854
11938
  totalmem7 = () => 0;
11855
11939
  homedir8 = () => "/";
11856
11940
  tmpdir7 = () => "/tmp";
11941
+ fileURLToPath8 = (url) => url;
11942
+ pathToFileURL7 = (path) => new URL25("file://" + path);
11943
+ URL25 = globalThis.URL;
11944
+ URLSearchParams25 = globalThis.URLSearchParams;
11857
11945
  createConnection7 = noop10;
11858
11946
  connect7 = noop10;
11859
11947
  Socket7 = noopClass8;
@@ -11876,7 +11964,7 @@ var recker = (() => {
11876
11964
  gzipSync7 = (data) => data;
11877
11965
  deflateSync7 = (data) => data;
11878
11966
  inflateSync7 = (data) => data;
11879
- performance24 = globalThis.performance;
11967
+ performance25 = globalThis.performance;
11880
11968
  AsyncLocalStorage8 = class {
11881
11969
  getStore() {
11882
11970
  return void 0;
@@ -13320,6 +13408,8 @@ var recker = (() => {
13320
13408
  Socket: () => Socket8,
13321
13409
  TLSSocket: () => TLSSocket8,
13322
13410
  Transform: () => Transform8,
13411
+ URL: () => URL26,
13412
+ URLSearchParams: () => URLSearchParams26,
13323
13413
  WebSocket: () => WebSocket9,
13324
13414
  Writable: () => Writable8,
13325
13415
  arch: () => arch9,
@@ -13349,6 +13439,7 @@ var recker = (() => {
13349
13439
  execSync: () => execSync8,
13350
13440
  existsSync: () => existsSync8,
13351
13441
  extname: () => extname8,
13442
+ fileURLToPath: () => fileURLToPath9,
13352
13443
  finished: () => finished8,
13353
13444
  format: () => format8,
13354
13445
  freemem: () => freemem8,
@@ -13364,7 +13455,8 @@ var recker = (() => {
13364
13455
  lookup: () => lookup9,
13365
13456
  mkdir: () => mkdir8,
13366
13457
  ok: () => ok8,
13367
- performance: () => performance25,
13458
+ pathToFileURL: () => pathToFileURL8,
13459
+ performance: () => performance26,
13368
13460
  pipeline: () => pipeline8,
13369
13461
  platform: () => platform9,
13370
13462
  promises: () => promises8,
@@ -13395,7 +13487,7 @@ var recker = (() => {
13395
13487
  writeFile: () => writeFile8,
13396
13488
  writeFileSync: () => writeFileSync8
13397
13489
  });
13398
- var noop11, noopPromise9, noopClass9, stream_default, createWriteStream8, createReadStream8, readFileSync8, writeFileSync8, existsSync8, mkdir8, readFile8, writeFile8, unlink8, rm8, stat8, readdir8, join9, dirname9, basename8, extname8, resolve10, pipeline8, Readable8, Writable8, Transform8, PassThrough8, finished8, EventEmitter8, createHash9, createHmac8, createSign8, createPrivateKey8, randomBytes8, randomUUID8, createDecipheriv9, createCipheriv8, promisify9, inspect8, format8, platform9, arch9, cpus8, freemem8, totalmem8, homedir9, tmpdir8, createConnection8, connect8, Socket8, Server8, TLSSocket8, lookup9, resolve48, resolve68, resolveMx8, resolveTxt8, resolveNs8, resolveCname8, gzip8, deflate8, brotliCompress8, gunzip8, inflate8, brotliDecompress8, gunzipSync9, gzipSync8, deflateSync8, inflateSync8, performance25, AsyncLocalStorage9, AsyncResource8, channel9, Buffer9, ok8, strictEqual8, deepStrictEqual8, throws8, rejects8, spawn9, spawnSync8, exec8, execSync8, request9, errors9, ProxyAgent9, Agent9, Client9, WebSocket9, promises8, constants8;
13490
+ var noop11, noopPromise9, noopClass9, stream_default, createWriteStream8, createReadStream8, readFileSync8, writeFileSync8, existsSync8, mkdir8, readFile8, writeFile8, unlink8, rm8, stat8, readdir8, join9, dirname9, basename8, extname8, resolve10, pipeline8, Readable8, Writable8, Transform8, PassThrough8, finished8, EventEmitter8, createHash9, createHmac8, createSign8, createPrivateKey8, randomBytes8, randomUUID8, createDecipheriv9, createCipheriv8, promisify9, inspect8, format8, platform9, arch9, cpus8, freemem8, totalmem8, homedir9, tmpdir8, fileURLToPath9, pathToFileURL8, URL26, URLSearchParams26, createConnection8, connect8, Socket8, Server8, TLSSocket8, lookup9, resolve48, resolve68, resolveMx8, resolveTxt8, resolveNs8, resolveCname8, gzip8, deflate8, brotliCompress8, gunzip8, inflate8, brotliDecompress8, gunzipSync9, gzipSync8, deflateSync8, inflateSync8, performance26, AsyncLocalStorage9, AsyncResource8, channel9, Buffer9, ok8, strictEqual8, deepStrictEqual8, throws8, rejects8, spawn9, spawnSync8, exec8, execSync8, request9, errors9, ProxyAgent9, Agent9, Client9, WebSocket9, promises8, constants8;
13399
13491
  var init_stream = __esm({
13400
13492
  "node-stub:stream"() {
13401
13493
  noop11 = () => {
@@ -13470,6 +13562,10 @@ var recker = (() => {
13470
13562
  totalmem8 = () => 0;
13471
13563
  homedir9 = () => "/";
13472
13564
  tmpdir8 = () => "/tmp";
13565
+ fileURLToPath9 = (url) => url;
13566
+ pathToFileURL8 = (path) => new URL26("file://" + path);
13567
+ URL26 = globalThis.URL;
13568
+ URLSearchParams26 = globalThis.URLSearchParams;
13473
13569
  createConnection8 = noop11;
13474
13570
  connect8 = noop11;
13475
13571
  Socket8 = noopClass9;
@@ -13492,7 +13588,7 @@ var recker = (() => {
13492
13588
  gzipSync8 = (data) => data;
13493
13589
  deflateSync8 = (data) => data;
13494
13590
  inflateSync8 = (data) => data;
13495
- performance25 = globalThis.performance;
13591
+ performance26 = globalThis.performance;
13496
13592
  AsyncLocalStorage9 = class {
13497
13593
  getStore() {
13498
13594
  return void 0;
@@ -15990,6 +16086,8 @@ var recker = (() => {
15990
16086
  Socket: () => Socket9,
15991
16087
  TLSSocket: () => TLSSocket9,
15992
16088
  Transform: () => Transform9,
16089
+ URL: () => URL27,
16090
+ URLSearchParams: () => URLSearchParams27,
15993
16091
  WebSocket: () => WebSocket10,
15994
16092
  Writable: () => Writable9,
15995
16093
  arch: () => arch10,
@@ -16019,6 +16117,7 @@ var recker = (() => {
16019
16117
  execSync: () => execSync9,
16020
16118
  existsSync: () => existsSync9,
16021
16119
  extname: () => extname9,
16120
+ fileURLToPath: () => fileURLToPath10,
16022
16121
  finished: () => finished9,
16023
16122
  format: () => format9,
16024
16123
  freemem: () => freemem9,
@@ -16034,7 +16133,8 @@ var recker = (() => {
16034
16133
  lookup: () => lookup10,
16035
16134
  mkdir: () => mkdir9,
16036
16135
  ok: () => ok9,
16037
- performance: () => performance26,
16136
+ pathToFileURL: () => pathToFileURL9,
16137
+ performance: () => performance27,
16038
16138
  pipeline: () => pipeline9,
16039
16139
  platform: () => platform10,
16040
16140
  promises: () => promises9,
@@ -16065,7 +16165,7 @@ var recker = (() => {
16065
16165
  writeFile: () => writeFile9,
16066
16166
  writeFileSync: () => writeFileSync9
16067
16167
  });
16068
- var noop12, noopPromise10, noopClass10, tls_default, createWriteStream9, createReadStream9, readFileSync9, writeFileSync9, existsSync9, mkdir9, readFile9, writeFile9, unlink9, rm9, stat9, readdir9, join10, dirname10, basename9, extname9, resolve11, pipeline9, Readable9, Writable9, Transform9, PassThrough9, finished9, EventEmitter9, createHash10, createHmac9, createSign9, createPrivateKey9, randomBytes9, randomUUID9, createDecipheriv10, createCipheriv9, promisify10, inspect9, format9, platform10, arch10, cpus9, freemem9, totalmem9, homedir10, tmpdir9, createConnection9, connect9, Socket9, Server9, TLSSocket9, lookup10, resolve49, resolve69, resolveMx9, resolveTxt9, resolveNs9, resolveCname9, gzip9, deflate9, brotliCompress9, gunzip9, inflate9, brotliDecompress9, gunzipSync10, gzipSync9, deflateSync9, inflateSync9, performance26, AsyncLocalStorage10, AsyncResource9, channel10, Buffer10, ok9, strictEqual9, deepStrictEqual9, throws9, rejects9, spawn10, spawnSync9, exec9, execSync9, request10, errors10, ProxyAgent10, Agent10, Client10, WebSocket10, promises9, constants9;
16168
+ var noop12, noopPromise10, noopClass10, tls_default, createWriteStream9, createReadStream9, readFileSync9, writeFileSync9, existsSync9, mkdir9, readFile9, writeFile9, unlink9, rm9, stat9, readdir9, join10, dirname10, basename9, extname9, resolve11, pipeline9, Readable9, Writable9, Transform9, PassThrough9, finished9, EventEmitter9, createHash10, createHmac9, createSign9, createPrivateKey9, randomBytes9, randomUUID9, createDecipheriv10, createCipheriv9, promisify10, inspect9, format9, platform10, arch10, cpus9, freemem9, totalmem9, homedir10, tmpdir9, fileURLToPath10, pathToFileURL9, URL27, URLSearchParams27, createConnection9, connect9, Socket9, Server9, TLSSocket9, lookup10, resolve49, resolve69, resolveMx9, resolveTxt9, resolveNs9, resolveCname9, gzip9, deflate9, brotliCompress9, gunzip9, inflate9, brotliDecompress9, gunzipSync10, gzipSync9, deflateSync9, inflateSync9, performance27, AsyncLocalStorage10, AsyncResource9, channel10, Buffer10, ok9, strictEqual9, deepStrictEqual9, throws9, rejects9, spawn10, spawnSync9, exec9, execSync9, request10, errors10, ProxyAgent10, Agent10, Client10, WebSocket10, promises9, constants9;
16069
16169
  var init_tls = __esm({
16070
16170
  "node-stub:tls"() {
16071
16171
  noop12 = () => {
@@ -16140,6 +16240,10 @@ var recker = (() => {
16140
16240
  totalmem9 = () => 0;
16141
16241
  homedir10 = () => "/";
16142
16242
  tmpdir9 = () => "/tmp";
16243
+ fileURLToPath10 = (url) => url;
16244
+ pathToFileURL9 = (path) => new URL27("file://" + path);
16245
+ URL27 = globalThis.URL;
16246
+ URLSearchParams27 = globalThis.URLSearchParams;
16143
16247
  createConnection9 = noop12;
16144
16248
  connect9 = noop12;
16145
16249
  Socket9 = noopClass10;
@@ -16162,7 +16266,7 @@ var recker = (() => {
16162
16266
  gzipSync9 = (data) => data;
16163
16267
  deflateSync9 = (data) => data;
16164
16268
  inflateSync9 = (data) => data;
16165
- performance26 = globalThis.performance;
16269
+ performance27 = globalThis.performance;
16166
16270
  AsyncLocalStorage10 = class {
16167
16271
  getStore() {
16168
16272
  return void 0;
@@ -16568,7 +16672,7 @@ var recker = (() => {
16568
16672
  const store = requestStorage.getStore();
16569
16673
  if (store) {
16570
16674
  if (store.requestStartTime === 0) {
16571
- store.requestStartTime = performance17.now();
16675
+ store.requestStartTime = performance18.now();
16572
16676
  }
16573
16677
  const hasConnectionTimings = store.timings.dns || store.timings.tcp || store.timings.tls;
16574
16678
  if (!hasConnectionTimings) {
@@ -16595,7 +16699,7 @@ var recker = (() => {
16595
16699
  const store = requestStorage.getStore();
16596
16700
  if (!store || !payload)
16597
16701
  return;
16598
- const now = performance17.now();
16702
+ const now = performance18.now();
16599
16703
  const ttfb = now - store.requestStartTime;
16600
16704
  if (payload.timing) {
16601
16705
  const { timing } = payload;
@@ -16869,7 +16973,7 @@ var recker = (() => {
16869
16973
  return requestStorage.run(requestContext, async () => {
16870
16974
  var _a2, _b;
16871
16975
  try {
16872
- const startTime = performance17.now();
16976
+ const startTime = performance18.now();
16873
16977
  if (requestContext.requestStartTime === 0) {
16874
16978
  requestContext.requestStartTime = startTime;
16875
16979
  }
@@ -17055,8 +17159,8 @@ var recker = (() => {
17055
17159
  }
17056
17160
  }
17057
17161
  const finalResponse = req.onDownloadProgress ? wrapDownloadResponse2(undiciResponse, req.onDownloadProgress) : undiciResponse;
17058
- const ttfb = performance17.now() - startTime;
17059
- const totalTime = performance17.now() - requestContext.requestStartTime;
17162
+ const ttfb = performance18.now() - startTime;
17163
+ const totalTime = performance18.now() - requestContext.requestStartTime;
17060
17164
  if (!requestContext.timings.firstByte) {
17061
17165
  requestContext.timings.firstByte = ttfb;
17062
17166
  }