@ms-cloudpack/remote-cache 0.11.76 → 0.11.77
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/{AzureRemoteCacheClient-BP6CQQWQ.js → AzureRemoteCacheClient-S57Z5QDW.js} +188 -144
- package/dist/{ReporterDecorator-ZL5AFS6T.js → ReporterDecorator-DNRF2TDF.js} +7 -4
- package/dist/{chunk-O35GBBPD.js → chunk-3WTIWSWN.js} +1 -1
- package/dist/{chunk-7NTERDBN.js → chunk-BOUMQX3J.js} +16 -13
- package/dist/{chunk-3L2TUMSL.js → chunk-DTZKESCD.js} +612 -602
- package/dist/{chunk-G5MAFA37.js → chunk-GKUS2JGY.js} +1 -4
- package/dist/{chunk-HL7BG7JS.js → chunk-HONSOHFT.js} +1 -1
- package/dist/{chunk-4NNZM6TT.js → chunk-MIWDHAQF.js} +1 -1
- package/dist/{esm-U24ST7GI.js → esm-DMIAQHJU.js} +4 -4
- package/dist/{getCredential-ZFTRCRNY.js → getCredential-Y4HWJOQE.js} +784 -752
- package/dist/{getListOfBlobs-USCOZRLX.js → getListOfBlobs-EKSDNQNV.js} +1 -1
- package/dist/index.js +62 -55
- package/package.json +6 -6
|
@@ -8,15 +8,20 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
8
8
|
const __dirname = topLevelPath.dirname(__filename);
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GKUS2JGY.js";
|
|
12
12
|
|
|
13
13
|
// src/decorators/ReporterDecorator.ts
|
|
14
14
|
import { bulletedList } from "@ms-cloudpack/task-reporter";
|
|
15
|
-
var
|
|
15
|
+
var ReporterDecorator = class {
|
|
16
16
|
constructor(client, context) {
|
|
17
17
|
this.client = client;
|
|
18
18
|
this.context = context;
|
|
19
19
|
}
|
|
20
|
+
client;
|
|
21
|
+
context;
|
|
22
|
+
static {
|
|
23
|
+
__name(this, "ReporterDecorator");
|
|
24
|
+
}
|
|
20
25
|
buildFailureResult({ id, friendlyName, path }, error) {
|
|
21
26
|
const list = bulletedList([
|
|
22
27
|
`Id: ${id}`,
|
|
@@ -123,8 +128,6 @@ ${list}`
|
|
|
123
128
|
});
|
|
124
129
|
}
|
|
125
130
|
};
|
|
126
|
-
__name(_ReporterDecorator, "ReporterDecorator");
|
|
127
|
-
var ReporterDecorator = _ReporterDecorator;
|
|
128
131
|
export {
|
|
129
132
|
ReporterDecorator
|
|
130
133
|
};
|
|
@@ -8,12 +8,12 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
8
8
|
const __dirname = topLevelPath.dirname(__filename);
|
|
9
9
|
import {
|
|
10
10
|
require_package
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HONSOHFT.js";
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GKUS2JGY.js";
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/.store/ms-npm-2.1.3-81ff3cfac1/package/index.js
|
|
19
19
|
var require_package2 = __commonJS({
|
|
@@ -922,7 +922,10 @@ var require_dist = __commonJS({
|
|
|
922
922
|
var https_1 = __require("https");
|
|
923
923
|
__exportStar(require_helpers(), exports);
|
|
924
924
|
var INTERNAL = /* @__PURE__ */ Symbol("AgentBaseInternalState");
|
|
925
|
-
var
|
|
925
|
+
var Agent = class extends http.Agent {
|
|
926
|
+
static {
|
|
927
|
+
__name(this, "Agent");
|
|
928
|
+
}
|
|
926
929
|
constructor(opts) {
|
|
927
930
|
super(opts);
|
|
928
931
|
this[INTERNAL] = {};
|
|
@@ -1033,8 +1036,6 @@ var require_dist = __commonJS({
|
|
|
1033
1036
|
}
|
|
1034
1037
|
}
|
|
1035
1038
|
};
|
|
1036
|
-
__name(_Agent, "Agent");
|
|
1037
|
-
var Agent = _Agent;
|
|
1038
1039
|
exports.Agent = Agent;
|
|
1039
1040
|
}
|
|
1040
1041
|
});
|
|
@@ -1194,12 +1195,15 @@ var require_dist2 = __commonJS({
|
|
|
1194
1195
|
}
|
|
1195
1196
|
return options;
|
|
1196
1197
|
}, "setServernameFromNonIpHost");
|
|
1197
|
-
var
|
|
1198
|
+
var HttpsProxyAgent = class extends agent_base_1.Agent {
|
|
1199
|
+
static {
|
|
1200
|
+
__name(this, "HttpsProxyAgent");
|
|
1201
|
+
}
|
|
1198
1202
|
constructor(proxy, opts) {
|
|
1199
1203
|
super(opts);
|
|
1200
1204
|
this.options = { path: void 0 };
|
|
1201
1205
|
this.proxy = typeof proxy === "string" ? new url_1.URL(proxy) : proxy;
|
|
1202
|
-
this.proxyHeaders =
|
|
1206
|
+
this.proxyHeaders = opts?.headers ?? {};
|
|
1203
1207
|
debug("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
|
|
1204
1208
|
const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, "");
|
|
1205
1209
|
const port = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
@@ -1273,8 +1277,6 @@ var require_dist2 = __commonJS({
|
|
|
1273
1277
|
return fakeSocket;
|
|
1274
1278
|
}
|
|
1275
1279
|
};
|
|
1276
|
-
__name(_HttpsProxyAgent, "HttpsProxyAgent");
|
|
1277
|
-
var HttpsProxyAgent = _HttpsProxyAgent;
|
|
1278
1280
|
HttpsProxyAgent.protocols = ["http", "https"];
|
|
1279
1281
|
exports.HttpsProxyAgent = HttpsProxyAgent;
|
|
1280
1282
|
function resume(socket) {
|
|
@@ -1338,11 +1340,14 @@ var require_dist3 = __commonJS({
|
|
|
1338
1340
|
var agent_base_1 = require_dist();
|
|
1339
1341
|
var url_1 = __require("url");
|
|
1340
1342
|
var debug = (0, debug_1.default)("http-proxy-agent");
|
|
1341
|
-
var
|
|
1343
|
+
var HttpProxyAgent = class extends agent_base_1.Agent {
|
|
1344
|
+
static {
|
|
1345
|
+
__name(this, "HttpProxyAgent");
|
|
1346
|
+
}
|
|
1342
1347
|
constructor(proxy, opts) {
|
|
1343
1348
|
super(opts);
|
|
1344
1349
|
this.proxy = typeof proxy === "string" ? new url_1.URL(proxy) : proxy;
|
|
1345
|
-
this.proxyHeaders =
|
|
1350
|
+
this.proxyHeaders = opts?.headers ?? {};
|
|
1346
1351
|
debug("Creating new HttpProxyAgent instance: %o", this.proxy.href);
|
|
1347
1352
|
const host = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, "");
|
|
1348
1353
|
const port = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
@@ -1410,8 +1415,6 @@ var require_dist3 = __commonJS({
|
|
|
1410
1415
|
return socket;
|
|
1411
1416
|
}
|
|
1412
1417
|
};
|
|
1413
|
-
__name(_HttpProxyAgent, "HttpProxyAgent");
|
|
1414
|
-
var HttpProxyAgent = _HttpProxyAgent;
|
|
1415
1418
|
HttpProxyAgent.protocols = ["http", "https"];
|
|
1416
1419
|
exports.HttpProxyAgent = HttpProxyAgent;
|
|
1417
1420
|
function omit(obj, ...keys) {
|