@ms-cloudpack/remote-cache 0.11.38 → 0.11.40
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/README.md +1 -15
- package/dist/{AzureRemoteCacheClient-VYVBH4QC.js → AzureRemoteCacheClient-F2NSDMK3.js} +461 -461
- package/dist/{chunk-D66UYJ3Q.js → chunk-IDQKJSMB.js} +3 -3
- package/dist/{chunk-TB3K2VFA.js → chunk-NQAW6ZWC.js} +33 -33
- package/dist/{getCredential-VBKM3VGR.js → getCredential-2RUURC6Q.js} +2 -2
- package/dist/index.js +6 -6
- package/package.json +4 -4
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
require_state,
|
|
14
14
|
require_state2,
|
|
15
15
|
tslib_es6_exports
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NQAW6ZWC.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__name,
|
|
@@ -2478,7 +2478,7 @@ var require_concat = __commonJS({
|
|
|
2478
2478
|
async function concat(sources) {
|
|
2479
2479
|
return function() {
|
|
2480
2480
|
const streams = sources.map((x) => typeof x === "function" ? x() : x).map(toStream);
|
|
2481
|
-
return stream_1.Readable.from(function() {
|
|
2481
|
+
return stream_1.Readable.from((function() {
|
|
2482
2482
|
return tslib_1.__asyncGenerator(this, arguments, function* () {
|
|
2483
2483
|
var _a, e_1, _b, _c;
|
|
2484
2484
|
for (const stream of streams) {
|
|
@@ -2500,7 +2500,7 @@ var require_concat = __commonJS({
|
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
2502
|
});
|
|
2503
|
-
}());
|
|
2503
|
+
})());
|
|
2504
2504
|
};
|
|
2505
2505
|
}
|
|
2506
2506
|
__name(concat, "concat");
|
|
@@ -502,7 +502,7 @@ var init_tslib_es6 = __esm({
|
|
|
502
502
|
__name(__metadata, "__metadata");
|
|
503
503
|
__name(__awaiter, "__awaiter");
|
|
504
504
|
__name(__generator, "__generator");
|
|
505
|
-
__createBinding = Object.create ? function(o, m, k, k2) {
|
|
505
|
+
__createBinding = Object.create ? (function(o, m, k, k2) {
|
|
506
506
|
if (k2 === void 0) k2 = k;
|
|
507
507
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
508
508
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -511,10 +511,10 @@ var init_tslib_es6 = __esm({
|
|
|
511
511
|
}, "get") };
|
|
512
512
|
}
|
|
513
513
|
Object.defineProperty(o, k2, desc);
|
|
514
|
-
} : function(o, m, k, k2) {
|
|
514
|
+
}) : (function(o, m, k, k2) {
|
|
515
515
|
if (k2 === void 0) k2 = k;
|
|
516
516
|
o[k2] = m[k];
|
|
517
|
-
};
|
|
517
|
+
});
|
|
518
518
|
__name(__exportStar, "__exportStar");
|
|
519
519
|
__name(__values, "__values");
|
|
520
520
|
__name(__read, "__read");
|
|
@@ -526,9 +526,9 @@ var init_tslib_es6 = __esm({
|
|
|
526
526
|
__name(__asyncDelegator, "__asyncDelegator");
|
|
527
527
|
__name(__asyncValues, "__asyncValues");
|
|
528
528
|
__name(__makeTemplateObject, "__makeTemplateObject");
|
|
529
|
-
__setModuleDefault = Object.create ? function(o, v) {
|
|
529
|
+
__setModuleDefault = Object.create ? (function(o, v) {
|
|
530
530
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
531
|
-
} : function(o, v) {
|
|
531
|
+
}) : function(o, v) {
|
|
532
532
|
o["default"] = v;
|
|
533
533
|
};
|
|
534
534
|
ownKeys = /* @__PURE__ */ __name(function(o) {
|
|
@@ -1002,9 +1002,9 @@ var require_package = __commonJS({
|
|
|
1002
1002
|
}
|
|
1003
1003
|
});
|
|
1004
1004
|
|
|
1005
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1005
|
+
// ../../node_modules/.store/debug-virtual-26dc941e9a/package/src/common.js
|
|
1006
1006
|
var require_common = __commonJS({
|
|
1007
|
-
"../../node_modules/.store/debug-virtual-
|
|
1007
|
+
"../../node_modules/.store/debug-virtual-26dc941e9a/package/src/common.js"(exports, module) {
|
|
1008
1008
|
function setup(env) {
|
|
1009
1009
|
createDebug.debug = createDebug;
|
|
1010
1010
|
createDebug.default = createDebug;
|
|
@@ -1190,9 +1190,9 @@ var require_common = __commonJS({
|
|
|
1190
1190
|
}
|
|
1191
1191
|
});
|
|
1192
1192
|
|
|
1193
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1193
|
+
// ../../node_modules/.store/debug-virtual-26dc941e9a/package/src/browser.js
|
|
1194
1194
|
var require_browser = __commonJS({
|
|
1195
|
-
"../../node_modules/.store/debug-virtual-
|
|
1195
|
+
"../../node_modules/.store/debug-virtual-26dc941e9a/package/src/browser.js"(exports, module) {
|
|
1196
1196
|
exports.formatArgs = formatArgs;
|
|
1197
1197
|
exports.save = save;
|
|
1198
1198
|
exports.load = load;
|
|
@@ -1496,9 +1496,9 @@ var require_package3 = __commonJS({
|
|
|
1496
1496
|
}
|
|
1497
1497
|
});
|
|
1498
1498
|
|
|
1499
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1499
|
+
// ../../node_modules/.store/debug-virtual-26dc941e9a/package/src/node.js
|
|
1500
1500
|
var require_node = __commonJS({
|
|
1501
|
-
"../../node_modules/.store/debug-virtual-
|
|
1501
|
+
"../../node_modules/.store/debug-virtual-26dc941e9a/package/src/node.js"(exports, module) {
|
|
1502
1502
|
var tty = __require("tty");
|
|
1503
1503
|
var util = __require("util");
|
|
1504
1504
|
exports.init = init;
|
|
@@ -1677,9 +1677,9 @@ var require_node = __commonJS({
|
|
|
1677
1677
|
}
|
|
1678
1678
|
});
|
|
1679
1679
|
|
|
1680
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1680
|
+
// ../../node_modules/.store/debug-virtual-26dc941e9a/package/src/index.js
|
|
1681
1681
|
var require_src = __commonJS({
|
|
1682
|
-
"../../node_modules/.store/debug-virtual-
|
|
1682
|
+
"../../node_modules/.store/debug-virtual-26dc941e9a/package/src/index.js"(exports, module) {
|
|
1683
1683
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
1684
1684
|
module.exports = require_browser();
|
|
1685
1685
|
} else {
|
|
@@ -1692,7 +1692,7 @@ var require_src = __commonJS({
|
|
|
1692
1692
|
var require_helpers = __commonJS({
|
|
1693
1693
|
"../../node_modules/.store/agent-base-npm-7.1.4-cb8b4604d5/package/dist/helpers.js"(exports) {
|
|
1694
1694
|
"use strict";
|
|
1695
|
-
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1695
|
+
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
1696
1696
|
if (k2 === void 0) k2 = k;
|
|
1697
1697
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1698
1698
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -1701,13 +1701,13 @@ var require_helpers = __commonJS({
|
|
|
1701
1701
|
}, "get") };
|
|
1702
1702
|
}
|
|
1703
1703
|
Object.defineProperty(o, k2, desc);
|
|
1704
|
-
} : function(o, m, k, k2) {
|
|
1704
|
+
}) : (function(o, m, k, k2) {
|
|
1705
1705
|
if (k2 === void 0) k2 = k;
|
|
1706
1706
|
o[k2] = m[k];
|
|
1707
|
-
});
|
|
1708
|
-
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
1707
|
+
}));
|
|
1708
|
+
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
1709
1709
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1710
|
-
} : function(o, v) {
|
|
1710
|
+
}) : function(o, v) {
|
|
1711
1711
|
o["default"] = v;
|
|
1712
1712
|
});
|
|
1713
1713
|
var __importStar2 = exports && exports.__importStar || function(mod) {
|
|
@@ -1765,7 +1765,7 @@ var require_helpers = __commonJS({
|
|
|
1765
1765
|
var require_dist = __commonJS({
|
|
1766
1766
|
"../../node_modules/.store/agent-base-npm-7.1.4-cb8b4604d5/package/dist/index.js"(exports) {
|
|
1767
1767
|
"use strict";
|
|
1768
|
-
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1768
|
+
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
1769
1769
|
if (k2 === void 0) k2 = k;
|
|
1770
1770
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1771
1771
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -1774,13 +1774,13 @@ var require_dist = __commonJS({
|
|
|
1774
1774
|
}, "get") };
|
|
1775
1775
|
}
|
|
1776
1776
|
Object.defineProperty(o, k2, desc);
|
|
1777
|
-
} : function(o, m, k, k2) {
|
|
1777
|
+
}) : (function(o, m, k, k2) {
|
|
1778
1778
|
if (k2 === void 0) k2 = k;
|
|
1779
1779
|
o[k2] = m[k];
|
|
1780
|
-
});
|
|
1781
|
-
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
1780
|
+
}));
|
|
1781
|
+
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
1782
1782
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1783
|
-
} : function(o, v) {
|
|
1783
|
+
}) : function(o, v) {
|
|
1784
1784
|
o["default"] = v;
|
|
1785
1785
|
});
|
|
1786
1786
|
var __importStar2 = exports && exports.__importStar || function(mod) {
|
|
@@ -2025,7 +2025,7 @@ var require_parse_proxy_response = __commonJS({
|
|
|
2025
2025
|
var require_dist2 = __commonJS({
|
|
2026
2026
|
"../../node_modules/.store/https-proxy-agent-npm-7.0.6-27a95c2690/package/dist/index.js"(exports) {
|
|
2027
2027
|
"use strict";
|
|
2028
|
-
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2028
|
+
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2029
2029
|
if (k2 === void 0) k2 = k;
|
|
2030
2030
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2031
2031
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -2034,13 +2034,13 @@ var require_dist2 = __commonJS({
|
|
|
2034
2034
|
}, "get") };
|
|
2035
2035
|
}
|
|
2036
2036
|
Object.defineProperty(o, k2, desc);
|
|
2037
|
-
} : function(o, m, k, k2) {
|
|
2037
|
+
}) : (function(o, m, k, k2) {
|
|
2038
2038
|
if (k2 === void 0) k2 = k;
|
|
2039
2039
|
o[k2] = m[k];
|
|
2040
|
-
});
|
|
2041
|
-
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
2040
|
+
}));
|
|
2041
|
+
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
2042
2042
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
2043
|
-
} : function(o, v) {
|
|
2043
|
+
}) : function(o, v) {
|
|
2044
2044
|
o["default"] = v;
|
|
2045
2045
|
});
|
|
2046
2046
|
var __importStar2 = exports && exports.__importStar || function(mod) {
|
|
@@ -2179,7 +2179,7 @@ var require_dist2 = __commonJS({
|
|
|
2179
2179
|
var require_dist3 = __commonJS({
|
|
2180
2180
|
"../../node_modules/.store/http-proxy-agent-npm-7.0.2-643ed7cc33/package/dist/index.js"(exports) {
|
|
2181
2181
|
"use strict";
|
|
2182
|
-
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2182
|
+
var __createBinding2 = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
2183
2183
|
if (k2 === void 0) k2 = k;
|
|
2184
2184
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2185
2185
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -2188,13 +2188,13 @@ var require_dist3 = __commonJS({
|
|
|
2188
2188
|
}, "get") };
|
|
2189
2189
|
}
|
|
2190
2190
|
Object.defineProperty(o, k2, desc);
|
|
2191
|
-
} : function(o, m, k, k2) {
|
|
2191
|
+
}) : (function(o, m, k, k2) {
|
|
2192
2192
|
if (k2 === void 0) k2 = k;
|
|
2193
2193
|
o[k2] = m[k];
|
|
2194
|
-
});
|
|
2195
|
-
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
2194
|
+
}));
|
|
2195
|
+
var __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
2196
2196
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
2197
|
-
} : function(o, v) {
|
|
2197
|
+
}) : function(o, v) {
|
|
2198
2198
|
o["default"] = v;
|
|
2199
2199
|
});
|
|
2200
2200
|
var __importStar2 = exports && exports.__importStar || function(mod) {
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
require_commonjs4,
|
|
11
11
|
require_commonjs5,
|
|
12
12
|
require_package as require_package2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IDQKJSMB.js";
|
|
14
14
|
import {
|
|
15
15
|
require_commonjs,
|
|
16
16
|
require_package
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NQAW6ZWC.js";
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__esm,
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
require_dist2,
|
|
17
17
|
require_state,
|
|
18
18
|
require_state2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NQAW6ZWC.js";
|
|
20
20
|
import {
|
|
21
21
|
__export,
|
|
22
22
|
__name,
|
|
@@ -1828,7 +1828,7 @@ __name(toStream, "toStream");
|
|
|
1828
1828
|
async function concat(sources) {
|
|
1829
1829
|
return function() {
|
|
1830
1830
|
const streams = sources.map((x) => typeof x === "function" ? x() : x).map(toStream);
|
|
1831
|
-
return Readable.from(function() {
|
|
1831
|
+
return Readable.from((function() {
|
|
1832
1832
|
return __asyncGenerator(this, arguments, function* () {
|
|
1833
1833
|
var _a3, e_1, _b2, _c2;
|
|
1834
1834
|
for (const stream of streams) {
|
|
@@ -1850,7 +1850,7 @@ async function concat(sources) {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
1852
|
});
|
|
1853
|
-
}());
|
|
1853
|
+
})());
|
|
1854
1854
|
};
|
|
1855
1855
|
}
|
|
1856
1856
|
__name(concat, "concat");
|
|
@@ -32586,8 +32586,8 @@ async function createRemoteCacheClient(params) {
|
|
|
32586
32586
|
const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
|
|
32587
32587
|
const { telemetryClient } = context3;
|
|
32588
32588
|
return telemetryClient.tracer.startActiveSpan("CREATE_REMOTE_CACHE_CLIENT", async () => {
|
|
32589
|
-
const { getCredential } = await import("./getCredential-
|
|
32590
|
-
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-
|
|
32589
|
+
const { getCredential } = await import("./getCredential-2RUURC6Q.js");
|
|
32590
|
+
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-F2NSDMK3.js");
|
|
32591
32591
|
const { ReporterDecorator } = await import("./ReporterDecorator-XVIYJ2LO.js");
|
|
32592
32592
|
const { getListOfBlobs } = await import("./getListOfBlobs-7QFADTY2.js");
|
|
32593
32593
|
const credential = await getCredential(
|
|
@@ -36603,7 +36603,7 @@ async function createAppRegistryClient(params) {
|
|
|
36603
36603
|
const { context: context3, options } = params;
|
|
36604
36604
|
const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
|
|
36605
36605
|
const azureLogEventHandler = registerAzureLogger();
|
|
36606
|
-
const { getCredential } = await import("./getCredential-
|
|
36606
|
+
const { getCredential } = await import("./getCredential-2RUURC6Q.js");
|
|
36607
36607
|
const credential = await getCredential(
|
|
36608
36608
|
{ loginMethod, cachePath, tenantId },
|
|
36609
36609
|
{ ...context3, azureLogger: azureLogEventHandler }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/remote-cache",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.40",
|
|
4
4
|
"description": "Manages syncing the local Cloudpack cached assets to/from a remote storage service.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"lib/**/*.d.ts"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ms-cloudpack/common-types": "^0.
|
|
30
|
+
"@ms-cloudpack/common-types": "^0.28.0",
|
|
31
31
|
"@ms-cloudpack/environment": "^0.1.1",
|
|
32
32
|
"@ms-cloudpack/retry": "^0.1.3",
|
|
33
|
-
"@ms-cloudpack/task-reporter": "^0.17.
|
|
34
|
-
"@ms-cloudpack/telemetry": "^0.11.
|
|
33
|
+
"@ms-cloudpack/task-reporter": "^0.17.4",
|
|
34
|
+
"@ms-cloudpack/telemetry": "^0.11.41",
|
|
35
35
|
"@napi-rs/keyring": "1.1.9",
|
|
36
36
|
"mime-types": "^3.0.0",
|
|
37
37
|
"node-dpapi-prebuilt": "^1.0.3"
|