@datadog/datadog-ci-plugin-synthetics 5.21.0 → 5.21.2

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/bundle.js CHANGED
@@ -5761,7 +5761,7 @@ var require_glob = /* @__PURE__ */ __commonJSMin(((exports) => {
5761
5761
  var require_package$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5762
5762
  module.exports = {
5763
5763
  "name": "@datadog/datadog-ci-base",
5764
- "version": "5.21.0",
5764
+ "version": "5.21.2",
5765
5765
  "description": "Base package for Datadog CI",
5766
5766
  "license": "Apache-2.0",
5767
5767
  "keywords": ["datadog", "datadog-ci"],
@@ -63887,7 +63887,7 @@ var require_request = /* @__PURE__ */ __commonJSMin(((exports) => {
63887
63887
  const isRequestError = (error) => error instanceof RequestError || typeof error === "object" && !!error && error.isRequestError === true;
63888
63888
  exports.isRequestError = isRequestError;
63889
63889
  const dispatcherCache = /* @__PURE__ */ new Map();
63890
- const getProxyDispatcher = (proxyUrl) => {
63890
+ const getProxyDispatcher = (proxyUrl = "") => {
63891
63891
  if (!proxyUrl) return new undici_1.EnvHttpProxyAgent();
63892
63892
  let dispatcher = dispatcherCache.get(proxyUrl);
63893
63893
  if (!dispatcher) {
@@ -64834,7 +64834,11 @@ var require_ci = /* @__PURE__ */ __commonJSMin(((exports) => {
64834
64834
  return { levels: unique.sort((a, b) => exports.LEVEL_TO_NUMBER[a] - exports.LEVEL_TO_NUMBER[b]) };
64835
64835
  };
64836
64836
  exports.parseLevels = parseLevels;
64837
- exports.githubWellKnownDiagnosticDirsUnix = ["/home/runner/actions-runner/_diag", "/opt/actions-runner/_diag"];
64837
+ exports.githubWellKnownDiagnosticDirsUnix = [
64838
+ "/home/runner/_diag",
64839
+ "/home/runner/actions-runner/_diag",
64840
+ "/opt/actions-runner/_diag"
64841
+ ];
64838
64842
  exports.githubWellKnownDiagnosticDirsWin = ["C:/actions-runner/_diag"];
64839
64843
  exports.githubWellKnownDiagnosticDirPatternsUnix = ["/home/runner/actions-runner/*/_diag", "/home/runner/actions-runner/*/*/_diag"];
64840
64844
  exports.githubWellKnownDiagnosticDirPatternsWin = ["C:/actions-runner/*/_diag", "C:/actions-runner/*/*/_diag"];
@@ -64875,6 +64879,11 @@ var require_ci = /* @__PURE__ */ __commonJSMin(((exports) => {
64875
64879
  dirs.push(`${runnerRoot}/actions-runner/*/*/_diag`);
64876
64880
  dirs.push(upath_1.default.join(runnerRoot, "actions-runner", "_diag"));
64877
64881
  }
64882
+ const home = process.env.HOME;
64883
+ if (home) {
64884
+ dirs.push(upath_1.default.join(home, "_diag"));
64885
+ dirs.push(upath_1.default.join(home, "actions-runner", "_diag"));
64886
+ }
64878
64887
  return uniq(dirs.filter(Boolean));
64879
64888
  };
64880
64889
  /**