@datadog/datadog-ci-plugin-terraform 5.16.1 → 5.17.0

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
@@ -10914,7 +10914,7 @@ var require_glob = /* @__PURE__ */ __commonJSMin(((exports) => {
10914
10914
  var require_package$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10915
10915
  module.exports = {
10916
10916
  "name": "@datadog/datadog-ci-base",
10917
- "version": "5.16.1",
10917
+ "version": "5.17.0",
10918
10918
  "description": "Base package for Datadog CI",
10919
10919
  "license": "Apache-2.0",
10920
10920
  "keywords": ["datadog", "datadog-ci"],
@@ -11009,7 +11009,7 @@ var require_package$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11009
11009
  "datadog-metrics": "^0.9.3",
11010
11010
  "debug": "^4.4.1",
11011
11011
  "deep-extend": "^0.6.0",
11012
- "fast-xml-parser": "^5.5.12",
11012
+ "fast-xml-parser": "^5.7.2",
11013
11013
  "form-data": "^4.0.4",
11014
11014
  "glob": "^13.0.6",
11015
11015
  "inquirer": "^8.2.7",
@@ -65562,8 +65562,8 @@ var require_git = /* @__PURE__ */ __commonJSMin(((exports) => {
65562
65562
  };
65563
65563
  });
65564
65564
  exports.getGitDiff = getGitDiff;
65565
- const getGitFileHash = (git, path) => __awaiter(void 0, void 0, void 0, function* () {
65566
- return git.revparse([`HEAD:${path}`]);
65565
+ const getGitFileHash = (git, path, ref = "HEAD") => __awaiter(void 0, void 0, void 0, function* () {
65566
+ return git.revparse([`${ref}:${path}`]);
65567
65567
  });
65568
65568
  exports.getGitFileHash = getGitFileHash;
65569
65569
  const diffHeaderRegex = /^diff --git a\/.+ b\/(.+)$/;