@datadog/datadog-ci-plugin-container-app 5.21.1 → 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 +4 -3
- package/dist/bundle.js.map +1 -1
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -53125,7 +53125,7 @@ var require_source$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
53125
53125
|
var require_package$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
53126
53126
|
module.exports = {
|
|
53127
53127
|
"name": "@datadog/datadog-ci-base",
|
|
53128
|
-
"version": "5.21.
|
|
53128
|
+
"version": "5.21.2",
|
|
53129
53129
|
"description": "Base package for Datadog CI",
|
|
53130
53130
|
"license": "Apache-2.0",
|
|
53131
53131
|
"keywords": ["datadog", "datadog-ci"],
|
|
@@ -103678,7 +103678,7 @@ var require_request = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
103678
103678
|
const isRequestError = (error) => error instanceof RequestError || typeof error === "object" && !!error && error.isRequestError === true;
|
|
103679
103679
|
exports.isRequestError = isRequestError;
|
|
103680
103680
|
const dispatcherCache = /* @__PURE__ */ new Map();
|
|
103681
|
-
const getProxyDispatcher = (proxyUrl) => {
|
|
103681
|
+
const getProxyDispatcher = (proxyUrl = "") => {
|
|
103682
103682
|
if (!proxyUrl) return new undici_1.EnvHttpProxyAgent();
|
|
103683
103683
|
let dispatcher = dispatcherCache.get(proxyUrl);
|
|
103684
103684
|
if (!dispatcher) {
|
|
@@ -104569,7 +104569,8 @@ var require_apikey = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
104569
104569
|
headers: { "DD-API-KEY": this.apiKey },
|
|
104570
104570
|
method: "GET",
|
|
104571
104571
|
baseURL: `https://api.${this.datadogSite}`,
|
|
104572
|
-
url: (0, datadog_route_1.datadogRoute)("/api/v1/validate")
|
|
104572
|
+
url: (0, datadog_route_1.datadogRoute)("/api/v1/validate"),
|
|
104573
|
+
dispatcher: (0, request_1.getProxyDispatcher)()
|
|
104573
104574
|
})).data.valid;
|
|
104574
104575
|
} catch (error) {
|
|
104575
104576
|
if ((0, request_1.isRequestError)(error) && error.response && error.response.status === 403) return false;
|