From 19da7f6a0552856d2dade6f7af6c2fca8afb60de Mon Sep 17 00:00:00 2001
From: "Stephen Weatherford (MSFT)"
 <StephenWeatherford@users.noreply.github.com>
Date: Thu, 25 Jul 2024 16:28:20 -0700
Subject: [PATCH] Update vscode-azureextensionui >0.37 (#1740)

* Update vscode-azureextensionui >0.37

* lock

* lock
---
 package-lock.json                | 70 ++++++++++++++++++++++----------
 package.json                     |  2 +-
 test/support/getActionContext.ts |  3 +-
 3 files changed, 51 insertions(+), 24 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index a46daf187..a118f8ed8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,7 @@
                 "fs-extra": "^10.1.0",
                 "moment": "^2.29.4",
                 "strip-json-comments": "^3.1.1",
-                "vscode-azureextensionui": "^0.37.0",
+                "vscode-azureextensionui": "^0.39.7",
                 "vscode-jsonrpc": "^8.1.0",
                 "vscode-languageclient": "^7.0.0"
             },
@@ -162,6 +162,7 @@
             "version": "3.1.0",
             "resolved": "https://registry.npmjs.org/@azure/ms-rest-nodeauth/-/ms-rest-nodeauth-3.1.0.tgz",
             "integrity": "sha512-F4NKrbkZg0qD3+rUM8fvJHOFRkXFoEiptYTZtLBruN3VwBFIqbTFW0fmgRyBW9seZl+mX2OexQA5GzWenSA3Kw==",
+            "dev": true,
             "dependencies": {
                 "@azure/ms-rest-azure-env": "^2.0.0",
                 "@azure/ms-rest-js": "^2.0.4",
@@ -1085,6 +1086,7 @@
             "version": "0.8.10",
             "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz",
             "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==",
+            "dev": true,
             "engines": {
                 "node": ">=10.0.0"
             }
@@ -1160,6 +1162,7 @@
             "resolved": "https://registry.npmjs.org/adal-node/-/adal-node-0.2.4.tgz",
             "integrity": "sha512-zIcvbwQFKMUtKxxj8YMHeTT1o/TPXfVNsTXVgXD8sxwV6h4AFQgK77dRciGhuEF9/Sdm3UQPJVPc/6XxrccSeA==",
             "deprecated": "This package is no longer supported. Please migrate to @azure/msal-node.",
+            "dev": true,
             "dependencies": {
                 "@xmldom/xmldom": "^0.8.3",
                 "async": "^2.6.3",
@@ -1179,6 +1182,7 @@
             "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
             "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
             "deprecated": "Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.",
+            "dev": true,
             "bin": {
                 "uuid": "bin/uuid"
             }
@@ -1644,6 +1648,7 @@
             "version": "2.6.4",
             "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz",
             "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==",
+            "dev": true,
             "dependencies": {
                 "lodash": "^4.17.14"
             }
@@ -1733,6 +1738,7 @@
             "version": "0.21.4",
             "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
             "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
+            "dev": true,
             "dependencies": {
                 "follow-redirects": "^1.14.0"
             }
@@ -2085,7 +2091,8 @@
         "node_modules/buffer-equal-constant-time": {
             "version": "1.0.1",
             "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
-            "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk="
+            "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=",
+            "dev": true
         },
         "node_modules/buffer-from": {
             "version": "1.1.2",
@@ -3354,6 +3361,7 @@
             "version": "1.2.21",
             "resolved": "https://registry.npmjs.org/date-utils/-/date-utils-1.2.21.tgz",
             "integrity": "sha1-YfsWzcEnSzyayq/+n8ad+HIKK2Q=",
+            "dev": true,
             "engines": {
                 "node": ">0.4.0"
             }
@@ -3737,6 +3745,7 @@
             "version": "1.0.11",
             "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
             "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
+            "dev": true,
             "dependencies": {
                 "safe-buffer": "^5.0.1"
             }
@@ -4587,6 +4596,7 @@
             "version": "1.15.6",
             "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
             "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
+            "dev": true,
             "funding": [
                 {
                     "type": "individual",
@@ -6466,6 +6476,7 @@
             "version": "1.4.1",
             "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
             "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
+            "dev": true,
             "dependencies": {
                 "buffer-equal-constant-time": "1.0.1",
                 "ecdsa-sig-formatter": "1.0.11",
@@ -6476,6 +6487,7 @@
             "version": "3.2.2",
             "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
             "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
+            "dev": true,
             "dependencies": {
                 "jwa": "^1.4.1",
                 "safe-buffer": "^5.0.1"
@@ -11272,7 +11284,8 @@
         "node_modules/underscore": {
             "version": "1.13.1",
             "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz",
-            "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g=="
+            "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==",
+            "dev": true
         },
         "node_modules/undertaker": {
             "version": "1.3.0",
@@ -12032,17 +12045,16 @@
             }
         },
         "node_modules/vscode-azureextensionui": {
-            "version": "0.37.0",
-            "resolved": "https://registry.npmjs.org/vscode-azureextensionui/-/vscode-azureextensionui-0.37.0.tgz",
-            "integrity": "sha512-ed2Dnwqu+nUHpkcQQYKfgDDTHyGxDiVK/BU+GZL5f1ot5TTzj+LAvy9qQW5d39M5Z0AwmrVL4kqjQNFMurEltA==",
+            "version": "0.39.7",
+            "resolved": "https://registry.npmjs.org/vscode-azureextensionui/-/vscode-azureextensionui-0.39.7.tgz",
+            "integrity": "sha512-LodXawX5mQ82Lft9G1BNGsGVt3kwC74gu3NCFiicwN6unceJtqJy3YbqiP5/KpQynL4lsHancs9j3rjk50GD+A==",
             "deprecated": "This package has been split and renamed to @microsoft/vscode-azext-utils and @microsoft/vscode-azext-azureutils, please update to the new names",
             "dependencies": {
                 "@azure/arm-resources": "^3.0.0",
                 "@azure/arm-storage": "^15.0.0",
                 "@azure/arm-subscriptions": "^2.0.0",
                 "@azure/ms-rest-azure-env": "^2.0.0",
-                "@azure/ms-rest-js": "^2.0.7",
-                "@azure/ms-rest-nodeauth": "^3.0.5",
+                "@azure/ms-rest-js": "^2.2.1",
                 "dayjs": "^1.9.3",
                 "escape-string-regexp": "^2.0.0",
                 "fs-extra": "^8.0.0",
@@ -12051,7 +12063,7 @@
                 "semver": "^5.7.1",
                 "vscode-extension-telemetry": "^0.1.5",
                 "vscode-nls": "^4.1.1",
-                "vscode-tas-client": "^0.1.13"
+                "vscode-tas-client": "^0.1.22"
             }
         },
         "node_modules/vscode-azureextensionui/node_modules/escape-string-regexp": {
@@ -13003,6 +13015,7 @@
             "version": "1.1.0",
             "resolved": "https://registry.npmjs.org/xpath.js/-/xpath.js-1.1.0.tgz",
             "integrity": "sha512-jg+qkfS4K8E7965sqaUl8mRngXiKb3WZGfONgE18pr03FUQiuSV6G+Ej4tS55B+rIQSFEIw3phdVAQ4pPqNWfQ==",
+            "dev": true,
             "engines": {
                 "node": ">=0.4.0"
             }
@@ -13289,6 +13302,7 @@
             "version": "3.1.0",
             "resolved": "https://registry.npmjs.org/@azure/ms-rest-nodeauth/-/ms-rest-nodeauth-3.1.0.tgz",
             "integrity": "sha512-F4NKrbkZg0qD3+rUM8fvJHOFRkXFoEiptYTZtLBruN3VwBFIqbTFW0fmgRyBW9seZl+mX2OexQA5GzWenSA3Kw==",
+            "dev": true,
             "requires": {
                 "@azure/ms-rest-azure-env": "^2.0.0",
                 "@azure/ms-rest-js": "^2.0.4",
@@ -14123,7 +14137,8 @@
         "@xmldom/xmldom": {
             "version": "0.8.10",
             "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz",
-            "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw=="
+            "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==",
+            "dev": true
         },
         "@xtuc/ieee754": {
             "version": "1.2.0",
@@ -14178,6 +14193,7 @@
             "version": "0.2.4",
             "resolved": "https://registry.npmjs.org/adal-node/-/adal-node-0.2.4.tgz",
             "integrity": "sha512-zIcvbwQFKMUtKxxj8YMHeTT1o/TPXfVNsTXVgXD8sxwV6h4AFQgK77dRciGhuEF9/Sdm3UQPJVPc/6XxrccSeA==",
+            "dev": true,
             "requires": {
                 "@xmldom/xmldom": "^0.8.3",
                 "async": "^2.6.3",
@@ -14192,7 +14208,8 @@
                 "uuid": {
                     "version": "3.4.0",
                     "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
-                    "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
+                    "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
+                    "dev": true
                 }
             }
         },
@@ -14569,6 +14586,7 @@
             "version": "2.6.4",
             "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz",
             "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==",
+            "dev": true,
             "requires": {
                 "lodash": "^4.17.14"
             }
@@ -14639,6 +14657,7 @@
             "version": "0.21.4",
             "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
             "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
+            "dev": true,
             "requires": {
                 "follow-redirects": "^1.14.0"
             }
@@ -14922,7 +14941,8 @@
         "buffer-equal-constant-time": {
             "version": "1.0.1",
             "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
-            "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk="
+            "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=",
+            "dev": true
         },
         "buffer-from": {
             "version": "1.1.2",
@@ -15965,7 +15985,8 @@
         "date-utils": {
             "version": "1.2.21",
             "resolved": "https://registry.npmjs.org/date-utils/-/date-utils-1.2.21.tgz",
-            "integrity": "sha1-YfsWzcEnSzyayq/+n8ad+HIKK2Q="
+            "integrity": "sha1-YfsWzcEnSzyayq/+n8ad+HIKK2Q=",
+            "dev": true
         },
         "dayjs": {
             "version": "1.11.1",
@@ -16272,6 +16293,7 @@
             "version": "1.0.11",
             "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz",
             "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==",
+            "dev": true,
             "requires": {
                 "safe-buffer": "^5.0.1"
             }
@@ -16982,7 +17004,8 @@
         "follow-redirects": {
             "version": "1.15.6",
             "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
-            "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA=="
+            "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
+            "dev": true
         },
         "for-in": {
             "version": "1.0.2",
@@ -18438,6 +18461,7 @@
             "version": "1.4.1",
             "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz",
             "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==",
+            "dev": true,
             "requires": {
                 "buffer-equal-constant-time": "1.0.1",
                 "ecdsa-sig-formatter": "1.0.11",
@@ -18448,6 +18472,7 @@
             "version": "3.2.2",
             "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz",
             "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==",
+            "dev": true,
             "requires": {
                 "jwa": "^1.4.1",
                 "safe-buffer": "^5.0.1"
@@ -22303,7 +22328,8 @@
         "underscore": {
             "version": "1.13.1",
             "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.1.tgz",
-            "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g=="
+            "integrity": "sha512-hzSoAVtJF+3ZtiFX0VgfFPHEDRm7Y/QPjGyNo4TVdnDTdft3tr8hEkD25a1jC+TjTuE7tkHGKkhwCgs9dgBB2g==",
+            "dev": true
         },
         "undertaker": {
             "version": "1.3.0",
@@ -22976,16 +23002,15 @@
             }
         },
         "vscode-azureextensionui": {
-            "version": "0.37.0",
-            "resolved": "https://registry.npmjs.org/vscode-azureextensionui/-/vscode-azureextensionui-0.37.0.tgz",
-            "integrity": "sha512-ed2Dnwqu+nUHpkcQQYKfgDDTHyGxDiVK/BU+GZL5f1ot5TTzj+LAvy9qQW5d39M5Z0AwmrVL4kqjQNFMurEltA==",
+            "version": "0.39.7",
+            "resolved": "https://registry.npmjs.org/vscode-azureextensionui/-/vscode-azureextensionui-0.39.7.tgz",
+            "integrity": "sha512-LodXawX5mQ82Lft9G1BNGsGVt3kwC74gu3NCFiicwN6unceJtqJy3YbqiP5/KpQynL4lsHancs9j3rjk50GD+A==",
             "requires": {
                 "@azure/arm-resources": "^3.0.0",
                 "@azure/arm-storage": "^15.0.0",
                 "@azure/arm-subscriptions": "^2.0.0",
                 "@azure/ms-rest-azure-env": "^2.0.0",
-                "@azure/ms-rest-js": "^2.0.7",
-                "@azure/ms-rest-nodeauth": "^3.0.5",
+                "@azure/ms-rest-js": "^2.2.1",
                 "dayjs": "^1.9.3",
                 "escape-string-regexp": "^2.0.0",
                 "fs-extra": "^8.0.0",
@@ -22994,7 +23019,7 @@
                 "semver": "^5.7.1",
                 "vscode-extension-telemetry": "^0.1.5",
                 "vscode-nls": "^4.1.1",
-                "vscode-tas-client": "^0.1.13"
+                "vscode-tas-client": "^0.1.22"
             },
             "dependencies": {
                 "escape-string-regexp": {
@@ -23761,7 +23786,8 @@
         "xpath.js": {
             "version": "1.1.0",
             "resolved": "https://registry.npmjs.org/xpath.js/-/xpath.js-1.1.0.tgz",
-            "integrity": "sha512-jg+qkfS4K8E7965sqaUl8mRngXiKb3WZGfONgE18pr03FUQiuSV6G+Ej4tS55B+rIQSFEIw3phdVAQ4pPqNWfQ=="
+            "integrity": "sha512-jg+qkfS4K8E7965sqaUl8mRngXiKb3WZGfONgE18pr03FUQiuSV6G+Ej4tS55B+rIQSFEIw3phdVAQ4pPqNWfQ==",
+            "dev": true
         },
         "xtend": {
             "version": "4.0.2",
diff --git a/package.json b/package.json
index 0eb7008bb..4e91f5abe 100644
--- a/package.json
+++ b/package.json
@@ -671,7 +671,7 @@
         "fs-extra": "^10.1.0",
         "moment": "^2.29.4",
         "strip-json-comments": "^3.1.1",
-        "vscode-azureextensionui": "^0.37.0",
+        "vscode-azureextensionui": "^0.39.7",
         "vscode-jsonrpc": "^8.1.0",
         "vscode-languageclient": "^7.0.0"
     },
diff --git a/test/support/getActionContext.ts b/test/support/getActionContext.ts
index e5580fc77..55a0aa830 100644
--- a/test/support/getActionContext.ts
+++ b/test/support/getActionContext.ts
@@ -27,6 +27,7 @@ export function getActionContext(): IActionContext {
             rethrow: false,
             issueProperties: {}
         },
-        ui: <IAzureUserInput><unknown>undefined
+        ui: <IAzureUserInput><unknown>undefined,
+        valuesToMask: []
     };
 }