@ms-cloudpack/remote-cache 0.9.0 → 0.9.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/{AzureRemoteCacheClient-WCVYZSMD.js → AzureRemoteCacheClient-MGVQID6U.js} +5 -5
- package/dist/{ReporterDecorator-V2YEIC5V.js → ReporterDecorator-GABX72QZ.js} +3 -3
- package/dist/{chunk-WR3ABZS6.js → chunk-FCLWQPWW.js} +2 -2
- package/dist/{chunk-PAESICSC.js → chunk-FWAX6DIR.js} +18 -3
- package/dist/{chunk-F35F2EJX.js → chunk-J2GVYUBP.js} +1 -1
- package/dist/{chunk-373ETHF2.js → chunk-QZWJDZ4T.js} +1 -1
- package/dist/{chunk-S3ZJNZYB.js → chunk-YJE37DFQ.js} +9 -9
- package/dist/{getCredential-TGHZRNZU.js → getCredential-HAVZEKRP.js} +3 -3
- package/dist/{getListOfBlobs-WLTPEMDF.js → getListOfBlobs-S2XCR2P4.js} +4 -4
- package/dist/index.js +5 -5
- package/package.json +3 -3
|
@@ -6,22 +6,22 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_package as require_package2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J2GVYUBP.js";
|
|
10
10
|
import {
|
|
11
11
|
createBlobStorageUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QZWJDZ4T.js";
|
|
13
13
|
import {
|
|
14
14
|
require_dist
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FCLWQPWW.js";
|
|
16
16
|
import {
|
|
17
17
|
require_package2 as require_package
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YJE37DFQ.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
22
22
|
__require,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FWAX6DIR.js";
|
|
25
25
|
|
|
26
26
|
// ../../node_modules/.store/p-try-npm-2.2.0-e0390dbaf8/package/index.js
|
|
27
27
|
var require_package3 = __commonJS({
|
|
@@ -6,12 +6,12 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_dist
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-FCLWQPWW.js";
|
|
10
|
+
import "./chunk-YJE37DFQ.js";
|
|
11
11
|
import {
|
|
12
12
|
__name,
|
|
13
13
|
__toESM
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FWAX6DIR.js";
|
|
15
15
|
|
|
16
16
|
// src/decorators/ReporterDecorator.ts
|
|
17
17
|
var import_storage_blob = __toESM(require_dist(), 1);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
require_commonjs3 as require_commonjs4,
|
|
11
11
|
require_commonjs4 as require_commonjs5,
|
|
12
12
|
require_commonjs5 as require_commonjs6
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YJE37DFQ.js";
|
|
14
14
|
import {
|
|
15
15
|
__commonJS,
|
|
16
16
|
__name,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
init_tslib_es6,
|
|
20
20
|
require_commonjs,
|
|
21
21
|
tslib_es6_exports
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FWAX6DIR.js";
|
|
23
23
|
|
|
24
24
|
// ../../node_modules/.store/@azure-core-auth-npm-1.8.0-4c3deacbe4/package/dist/commonjs/azureKeyCredential.js
|
|
25
25
|
var require_azureKeyCredential = __commonJS({
|
|
@@ -45,7 +45,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
45
45
|
));
|
|
46
46
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
47
47
|
|
|
48
|
-
// ../../node_modules/.store/tslib-npm-2.
|
|
48
|
+
// ../../node_modules/.store/tslib-npm-2.8.0-6ce3ffdd05/package/tslib.es6.mjs
|
|
49
49
|
var tslib_es6_exports = {};
|
|
50
50
|
__export(tslib_es6_exports, {
|
|
51
51
|
__addDisposableResource: () => __addDisposableResource,
|
|
@@ -73,6 +73,7 @@ __export(tslib_es6_exports, {
|
|
|
73
73
|
__propKey: () => __propKey,
|
|
74
74
|
__read: () => __read,
|
|
75
75
|
__rest: () => __rest,
|
|
76
|
+
__rewriteRelativeImportExtension: () => __rewriteRelativeImportExtension,
|
|
76
77
|
__runInitializers: () => __runInitializers,
|
|
77
78
|
__setFunctionName: () => __setFunctionName,
|
|
78
79
|
__spread: () => __spread,
|
|
@@ -493,9 +494,17 @@ function __disposeResources(env) {
|
|
|
493
494
|
__name(next, "next");
|
|
494
495
|
return next();
|
|
495
496
|
}
|
|
497
|
+
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
498
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
499
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m, tsx, d, ext, cm) {
|
|
500
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : d + ext + "." + cm.toLowerCase() + "js";
|
|
501
|
+
});
|
|
502
|
+
}
|
|
503
|
+
return path;
|
|
504
|
+
}
|
|
496
505
|
var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedError, tslib_es6_default;
|
|
497
506
|
var init_tslib_es6 = __esm({
|
|
498
|
-
"../../node_modules/.store/tslib-npm-2.
|
|
507
|
+
"../../node_modules/.store/tslib-npm-2.8.0-6ce3ffdd05/package/tslib.es6.mjs"() {
|
|
499
508
|
extendStatics = /* @__PURE__ */ __name(function(d, b) {
|
|
500
509
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
501
510
|
d2.__proto__ = b2;
|
|
@@ -565,12 +574,17 @@ var init_tslib_es6 = __esm({
|
|
|
565
574
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
566
575
|
};
|
|
567
576
|
__name(__disposeResources, "__disposeResources");
|
|
577
|
+
__name(__rewriteRelativeImportExtension, "__rewriteRelativeImportExtension");
|
|
568
578
|
tslib_es6_default = {
|
|
569
579
|
__extends,
|
|
570
580
|
__assign,
|
|
571
581
|
__rest,
|
|
572
582
|
__decorate,
|
|
573
583
|
__param,
|
|
584
|
+
__esDecorate,
|
|
585
|
+
__runInitializers,
|
|
586
|
+
__propKey,
|
|
587
|
+
__setFunctionName,
|
|
574
588
|
__metadata,
|
|
575
589
|
__awaiter,
|
|
576
590
|
__generator,
|
|
@@ -592,7 +606,8 @@ var init_tslib_es6 = __esm({
|
|
|
592
606
|
__classPrivateFieldSet,
|
|
593
607
|
__classPrivateFieldIn,
|
|
594
608
|
__addDisposableResource,
|
|
595
|
-
__disposeResources
|
|
609
|
+
__disposeResources,
|
|
610
|
+
__rewriteRelativeImportExtension
|
|
596
611
|
};
|
|
597
612
|
}
|
|
598
613
|
});
|
|
@@ -6,7 +6,7 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FWAX6DIR.js";
|
|
10
10
|
|
|
11
11
|
// src/createBlobStorageUrl.ts
|
|
12
12
|
function createBlobStorageUrl(storageAccount) {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
init_tslib_es6,
|
|
13
13
|
require_commonjs,
|
|
14
14
|
tslib_es6_exports
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FWAX6DIR.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.store/@azure-abort-controller-npm-2.1.2-a36d73ebb9/package/dist/commonjs/AbortError.js
|
|
18
18
|
var require_AbortError = __commonJS({
|
|
@@ -2030,9 +2030,9 @@ var require_package = __commonJS({
|
|
|
2030
2030
|
}
|
|
2031
2031
|
});
|
|
2032
2032
|
|
|
2033
|
-
// ../../node_modules/.store/debug-virtual-
|
|
2033
|
+
// ../../node_modules/.store/debug-virtual-45decf707a/package/src/common.js
|
|
2034
2034
|
var require_common = __commonJS({
|
|
2035
|
-
"../../node_modules/.store/debug-virtual-
|
|
2035
|
+
"../../node_modules/.store/debug-virtual-45decf707a/package/src/common.js"(exports, module) {
|
|
2036
2036
|
function setup(env) {
|
|
2037
2037
|
createDebug.debug = createDebug;
|
|
2038
2038
|
createDebug.default = createDebug;
|
|
@@ -2204,9 +2204,9 @@ var require_common = __commonJS({
|
|
|
2204
2204
|
}
|
|
2205
2205
|
});
|
|
2206
2206
|
|
|
2207
|
-
// ../../node_modules/.store/debug-virtual-
|
|
2207
|
+
// ../../node_modules/.store/debug-virtual-45decf707a/package/src/browser.js
|
|
2208
2208
|
var require_browser = __commonJS({
|
|
2209
|
-
"../../node_modules/.store/debug-virtual-
|
|
2209
|
+
"../../node_modules/.store/debug-virtual-45decf707a/package/src/browser.js"(exports, module) {
|
|
2210
2210
|
exports.formatArgs = formatArgs;
|
|
2211
2211
|
exports.save = save;
|
|
2212
2212
|
exports.load = load;
|
|
@@ -2510,9 +2510,9 @@ var require_package3 = __commonJS({
|
|
|
2510
2510
|
}
|
|
2511
2511
|
});
|
|
2512
2512
|
|
|
2513
|
-
// ../../node_modules/.store/debug-virtual-
|
|
2513
|
+
// ../../node_modules/.store/debug-virtual-45decf707a/package/src/node.js
|
|
2514
2514
|
var require_node = __commonJS({
|
|
2515
|
-
"../../node_modules/.store/debug-virtual-
|
|
2515
|
+
"../../node_modules/.store/debug-virtual-45decf707a/package/src/node.js"(exports, module) {
|
|
2516
2516
|
var tty = __require("tty");
|
|
2517
2517
|
var util = __require("util");
|
|
2518
2518
|
exports.init = init;
|
|
@@ -2691,9 +2691,9 @@ var require_node = __commonJS({
|
|
|
2691
2691
|
}
|
|
2692
2692
|
});
|
|
2693
2693
|
|
|
2694
|
-
// ../../node_modules/.store/debug-virtual-
|
|
2694
|
+
// ../../node_modules/.store/debug-virtual-45decf707a/package/src/index.js
|
|
2695
2695
|
var require_src = __commonJS({
|
|
2696
|
-
"../../node_modules/.store/debug-virtual-
|
|
2696
|
+
"../../node_modules/.store/debug-virtual-45decf707a/package/src/index.js"(exports, module) {
|
|
2697
2697
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
2698
2698
|
module.exports = require_browser();
|
|
2699
2699
|
} else {
|
|
@@ -6,14 +6,14 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_package as require_package2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J2GVYUBP.js";
|
|
10
10
|
import {
|
|
11
11
|
require_commonjs2,
|
|
12
12
|
require_commonjs3,
|
|
13
13
|
require_commonjs4,
|
|
14
14
|
require_commonjs5,
|
|
15
15
|
require_package
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YJE37DFQ.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__esm,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
__toCommonJS,
|
|
24
24
|
__toESM,
|
|
25
25
|
require_commonjs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FWAX6DIR.js";
|
|
27
27
|
|
|
28
28
|
// ../../node_modules/.store/@azure-abort-controller-npm-1.1.0-5b4e309629/package/dist/index.js
|
|
29
29
|
var require_dist = __commonJS({
|
|
@@ -6,15 +6,15 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createBlobStorageUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QZWJDZ4T.js";
|
|
10
10
|
import {
|
|
11
11
|
require_dist
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-FCLWQPWW.js";
|
|
13
|
+
import "./chunk-YJE37DFQ.js";
|
|
14
14
|
import {
|
|
15
15
|
__name,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FWAX6DIR.js";
|
|
18
18
|
|
|
19
19
|
// src/getListOfBlobs.ts
|
|
20
20
|
var import_storage_blob = __toESM(require_dist(), 1);
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ const __dirname = topLevelPath.dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
__name,
|
|
9
9
|
require_commonjs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FWAX6DIR.js";
|
|
11
11
|
|
|
12
12
|
// src/registerAzureLogger.ts
|
|
13
13
|
import EventEmitter from "events";
|
|
@@ -96,10 +96,10 @@ async function createRemoteCacheClient(params) {
|
|
|
96
96
|
const azureLogEventHandler = registerAzureLogger();
|
|
97
97
|
const { context, options } = params;
|
|
98
98
|
const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
|
|
99
|
-
const { getCredential } = await import("./getCredential-
|
|
100
|
-
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-
|
|
101
|
-
const { ReporterDecorator } = await import("./ReporterDecorator-
|
|
102
|
-
const { getListOfBlobs } = await import("./getListOfBlobs-
|
|
99
|
+
const { getCredential } = await import("./getCredential-HAVZEKRP.js");
|
|
100
|
+
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-MGVQID6U.js");
|
|
101
|
+
const { ReporterDecorator } = await import("./ReporterDecorator-GABX72QZ.js");
|
|
102
|
+
const { getListOfBlobs } = await import("./getListOfBlobs-S2XCR2P4.js");
|
|
103
103
|
const credential = await getCredential(
|
|
104
104
|
{ loginMethod, cachePath, tenantId },
|
|
105
105
|
{ ...context, azureLogger: azureLogEventHandler }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/remote-cache",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
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,10 +27,10 @@
|
|
|
27
27
|
"lib/**/*.d.ts"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ms-cloudpack/common-types": "^0.23.
|
|
30
|
+
"@ms-cloudpack/common-types": "^0.23.1",
|
|
31
31
|
"@ms-cloudpack/retry": "^0.1.2",
|
|
32
32
|
"@ms-cloudpack/task-reporter": "^0.14.5",
|
|
33
|
-
"@ms-cloudpack/telemetry": "^0.
|
|
33
|
+
"@ms-cloudpack/telemetry": "^0.7.0",
|
|
34
34
|
"@napi-rs/keyring": "^1.0.0",
|
|
35
35
|
"mime-types": "^2.0.0",
|
|
36
36
|
"node-dpapi-prebuilt": "^1.0.3"
|