@ms-cloudpack/remote-cache 0.8.13 → 0.8.15
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-SXMK4YHG.js → AzureRemoteCacheClient-RYQX2JZE.js} +2 -2
- package/dist/{ReporterDecorator-FPB3SR62.js → ReporterDecorator-V2YEIC5V.js} +2 -2
- package/dist/{chunk-4MIMLTI6.js → chunk-S3ZJNZYB.js} +33 -184
- package/dist/{chunk-OSKYHKJO.js → chunk-WR3ABZS6.js} +149 -49
- package/dist/{getCredential-M7NO6U6M.js → getCredential-TGHZRNZU.js} +11836 -12883
- package/dist/{getListOfBlobs-LFPGQVDD.js → getListOfBlobs-6GZGACOS.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +2 -2
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-373ETHF2.js";
|
|
13
13
|
import {
|
|
14
14
|
require_dist
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WR3ABZS6.js";
|
|
16
16
|
import {
|
|
17
17
|
require_package2 as require_package
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-S3ZJNZYB.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
@@ -6,8 +6,8 @@ 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-WR3ABZS6.js";
|
|
10
|
+
import "./chunk-S3ZJNZYB.js";
|
|
11
11
|
import {
|
|
12
12
|
__name,
|
|
13
13
|
__toESM
|
|
@@ -412,12 +412,13 @@ var require_commonjs3 = __commonJS({
|
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
|
|
415
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
415
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/tracingContext.js
|
|
416
416
|
var require_tracingContext = __commonJS({
|
|
417
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
417
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/tracingContext.js"(exports) {
|
|
418
418
|
"use strict";
|
|
419
419
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
420
|
-
exports.TracingContextImpl = exports.
|
|
420
|
+
exports.TracingContextImpl = exports.knownContextKeys = void 0;
|
|
421
|
+
exports.createTracingContext = createTracingContext;
|
|
421
422
|
exports.knownContextKeys = {
|
|
422
423
|
span: Symbol.for("@azure/core-tracing span"),
|
|
423
424
|
namespace: Symbol.for("@azure/core-tracing namespace")
|
|
@@ -433,7 +434,6 @@ var require_tracingContext = __commonJS({
|
|
|
433
434
|
return context;
|
|
434
435
|
}
|
|
435
436
|
__name(createTracingContext, "createTracingContext");
|
|
436
|
-
exports.createTracingContext = createTracingContext;
|
|
437
437
|
var _TracingContextImpl = class _TracingContextImpl {
|
|
438
438
|
constructor(initialContext) {
|
|
439
439
|
this._contextMap = initialContext instanceof _TracingContextImpl ? new Map(initialContext._contextMap) : /* @__PURE__ */ new Map();
|
|
@@ -458,9 +458,9 @@ var require_tracingContext = __commonJS({
|
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
|
|
461
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
461
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/state.js
|
|
462
462
|
var require_state = __commonJS({
|
|
463
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
463
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/state.js"(exports) {
|
|
464
464
|
"use strict";
|
|
465
465
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
466
466
|
exports.state = void 0;
|
|
@@ -470,12 +470,15 @@ var require_state = __commonJS({
|
|
|
470
470
|
}
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
473
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/instrumenter.js
|
|
474
474
|
var require_instrumenter = __commonJS({
|
|
475
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
475
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/instrumenter.js"(exports) {
|
|
476
476
|
"use strict";
|
|
477
477
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
478
|
-
exports.
|
|
478
|
+
exports.createDefaultTracingSpan = createDefaultTracingSpan;
|
|
479
|
+
exports.createDefaultInstrumenter = createDefaultInstrumenter;
|
|
480
|
+
exports.useInstrumenter = useInstrumenter;
|
|
481
|
+
exports.getInstrumenter = getInstrumenter;
|
|
479
482
|
var tracingContext_js_1 = require_tracingContext();
|
|
480
483
|
var state_js_1 = require_state();
|
|
481
484
|
function createDefaultTracingSpan() {
|
|
@@ -488,11 +491,12 @@ var require_instrumenter = __commonJS({
|
|
|
488
491
|
setAttribute: /* @__PURE__ */ __name(() => {
|
|
489
492
|
}, "setAttribute"),
|
|
490
493
|
setStatus: /* @__PURE__ */ __name(() => {
|
|
491
|
-
}, "setStatus")
|
|
494
|
+
}, "setStatus"),
|
|
495
|
+
addEvent: /* @__PURE__ */ __name(() => {
|
|
496
|
+
}, "addEvent")
|
|
492
497
|
};
|
|
493
498
|
}
|
|
494
499
|
__name(createDefaultTracingSpan, "createDefaultTracingSpan");
|
|
495
|
-
exports.createDefaultTracingSpan = createDefaultTracingSpan;
|
|
496
500
|
function createDefaultInstrumenter() {
|
|
497
501
|
return {
|
|
498
502
|
createRequestHeaders: /* @__PURE__ */ __name(() => {
|
|
@@ -513,12 +517,10 @@ var require_instrumenter = __commonJS({
|
|
|
513
517
|
};
|
|
514
518
|
}
|
|
515
519
|
__name(createDefaultInstrumenter, "createDefaultInstrumenter");
|
|
516
|
-
exports.createDefaultInstrumenter = createDefaultInstrumenter;
|
|
517
520
|
function useInstrumenter(instrumenter) {
|
|
518
521
|
state_js_1.state.instrumenterImplementation = instrumenter;
|
|
519
522
|
}
|
|
520
523
|
__name(useInstrumenter, "useInstrumenter");
|
|
521
|
-
exports.useInstrumenter = useInstrumenter;
|
|
522
524
|
function getInstrumenter() {
|
|
523
525
|
if (!state_js_1.state.instrumenterImplementation) {
|
|
524
526
|
state_js_1.state.instrumenterImplementation = createDefaultInstrumenter();
|
|
@@ -526,16 +528,15 @@ var require_instrumenter = __commonJS({
|
|
|
526
528
|
return state_js_1.state.instrumenterImplementation;
|
|
527
529
|
}
|
|
528
530
|
__name(getInstrumenter, "getInstrumenter");
|
|
529
|
-
exports.getInstrumenter = getInstrumenter;
|
|
530
531
|
}
|
|
531
532
|
});
|
|
532
533
|
|
|
533
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
534
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/tracingClient.js
|
|
534
535
|
var require_tracingClient = __commonJS({
|
|
535
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
536
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/tracingClient.js"(exports) {
|
|
536
537
|
"use strict";
|
|
537
538
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
538
|
-
exports.createTracingClient =
|
|
539
|
+
exports.createTracingClient = createTracingClient;
|
|
539
540
|
var instrumenter_js_1 = require_instrumenter();
|
|
540
541
|
var tracingContext_js_1 = require_tracingContext();
|
|
541
542
|
function createTracingClient(options) {
|
|
@@ -593,13 +594,12 @@ var require_tracingClient = __commonJS({
|
|
|
593
594
|
};
|
|
594
595
|
}
|
|
595
596
|
__name(createTracingClient, "createTracingClient");
|
|
596
|
-
exports.createTracingClient = createTracingClient;
|
|
597
597
|
}
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
600
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/index.js
|
|
601
601
|
var require_commonjs4 = __commonJS({
|
|
602
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
602
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.2.0-cae64582fc/package/dist/commonjs/index.js"(exports) {
|
|
603
603
|
"use strict";
|
|
604
604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
605
605
|
exports.createTracingClient = exports.useInstrumenter = void 0;
|
|
@@ -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-3daa515605/package/src/common.js
|
|
2034
2034
|
var require_common = __commonJS({
|
|
2035
|
-
"../../node_modules/.store/debug-virtual-
|
|
2035
|
+
"../../node_modules/.store/debug-virtual-3daa515605/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-3daa515605/package/src/browser.js
|
|
2208
2208
|
var require_browser = __commonJS({
|
|
2209
|
-
"../../node_modules/.store/debug-virtual-
|
|
2209
|
+
"../../node_modules/.store/debug-virtual-3daa515605/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-3daa515605/package/src/node.js
|
|
2514
2514
|
var require_node = __commonJS({
|
|
2515
|
-
"../../node_modules/.store/debug-virtual-
|
|
2515
|
+
"../../node_modules/.store/debug-virtual-3daa515605/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-3daa515605/package/src/index.js
|
|
2695
2695
|
var require_src = __commonJS({
|
|
2696
|
-
"../../node_modules/.store/debug-virtual-
|
|
2696
|
+
"../../node_modules/.store/debug-virtual-3daa515605/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 {
|
|
@@ -6648,163 +6648,12 @@ var require_commonjs6 = __commonJS({
|
|
|
6648
6648
|
}
|
|
6649
6649
|
});
|
|
6650
6650
|
|
|
6651
|
-
// ../../node_modules/.store/@azure-abort-controller-npm-1.1.0-5b4e309629/package/dist/index.js
|
|
6652
|
-
var require_dist4 = __commonJS({
|
|
6653
|
-
"../../node_modules/.store/@azure-abort-controller-npm-1.1.0-5b4e309629/package/dist/index.js"(exports) {
|
|
6654
|
-
"use strict";
|
|
6655
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6656
|
-
var listenersMap = /* @__PURE__ */ new WeakMap();
|
|
6657
|
-
var abortedMap = /* @__PURE__ */ new WeakMap();
|
|
6658
|
-
var _AbortSignal = class _AbortSignal {
|
|
6659
|
-
constructor() {
|
|
6660
|
-
this.onabort = null;
|
|
6661
|
-
listenersMap.set(this, []);
|
|
6662
|
-
abortedMap.set(this, false);
|
|
6663
|
-
}
|
|
6664
|
-
/**
|
|
6665
|
-
* Status of whether aborted or not.
|
|
6666
|
-
*
|
|
6667
|
-
* @readonly
|
|
6668
|
-
*/
|
|
6669
|
-
get aborted() {
|
|
6670
|
-
if (!abortedMap.has(this)) {
|
|
6671
|
-
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
|
6672
|
-
}
|
|
6673
|
-
return abortedMap.get(this);
|
|
6674
|
-
}
|
|
6675
|
-
/**
|
|
6676
|
-
* Creates a new AbortSignal instance that will never be aborted.
|
|
6677
|
-
*
|
|
6678
|
-
* @readonly
|
|
6679
|
-
*/
|
|
6680
|
-
static get none() {
|
|
6681
|
-
return new _AbortSignal();
|
|
6682
|
-
}
|
|
6683
|
-
/**
|
|
6684
|
-
* Added new "abort" event listener, only support "abort" event.
|
|
6685
|
-
*
|
|
6686
|
-
* @param _type - Only support "abort" event
|
|
6687
|
-
* @param listener - The listener to be added
|
|
6688
|
-
*/
|
|
6689
|
-
addEventListener(_type, listener) {
|
|
6690
|
-
if (!listenersMap.has(this)) {
|
|
6691
|
-
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
|
6692
|
-
}
|
|
6693
|
-
const listeners = listenersMap.get(this);
|
|
6694
|
-
listeners.push(listener);
|
|
6695
|
-
}
|
|
6696
|
-
/**
|
|
6697
|
-
* Remove "abort" event listener, only support "abort" event.
|
|
6698
|
-
*
|
|
6699
|
-
* @param _type - Only support "abort" event
|
|
6700
|
-
* @param listener - The listener to be removed
|
|
6701
|
-
*/
|
|
6702
|
-
removeEventListener(_type, listener) {
|
|
6703
|
-
if (!listenersMap.has(this)) {
|
|
6704
|
-
throw new TypeError("Expected `this` to be an instance of AbortSignal.");
|
|
6705
|
-
}
|
|
6706
|
-
const listeners = listenersMap.get(this);
|
|
6707
|
-
const index = listeners.indexOf(listener);
|
|
6708
|
-
if (index > -1) {
|
|
6709
|
-
listeners.splice(index, 1);
|
|
6710
|
-
}
|
|
6711
|
-
}
|
|
6712
|
-
/**
|
|
6713
|
-
* Dispatches a synthetic event to the AbortSignal.
|
|
6714
|
-
*/
|
|
6715
|
-
dispatchEvent(_event) {
|
|
6716
|
-
throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.");
|
|
6717
|
-
}
|
|
6718
|
-
};
|
|
6719
|
-
__name(_AbortSignal, "AbortSignal");
|
|
6720
|
-
var AbortSignal = _AbortSignal;
|
|
6721
|
-
function abortSignal(signal) {
|
|
6722
|
-
if (signal.aborted) {
|
|
6723
|
-
return;
|
|
6724
|
-
}
|
|
6725
|
-
if (signal.onabort) {
|
|
6726
|
-
signal.onabort.call(signal);
|
|
6727
|
-
}
|
|
6728
|
-
const listeners = listenersMap.get(signal);
|
|
6729
|
-
if (listeners) {
|
|
6730
|
-
listeners.slice().forEach((listener) => {
|
|
6731
|
-
listener.call(signal, { type: "abort" });
|
|
6732
|
-
});
|
|
6733
|
-
}
|
|
6734
|
-
abortedMap.set(signal, true);
|
|
6735
|
-
}
|
|
6736
|
-
__name(abortSignal, "abortSignal");
|
|
6737
|
-
var _AbortError = class _AbortError extends Error {
|
|
6738
|
-
constructor(message) {
|
|
6739
|
-
super(message);
|
|
6740
|
-
this.name = "AbortError";
|
|
6741
|
-
}
|
|
6742
|
-
};
|
|
6743
|
-
__name(_AbortError, "AbortError");
|
|
6744
|
-
var AbortError = _AbortError;
|
|
6745
|
-
var _AbortController = class _AbortController {
|
|
6746
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
6747
|
-
constructor(parentSignals) {
|
|
6748
|
-
this._signal = new AbortSignal();
|
|
6749
|
-
if (!parentSignals) {
|
|
6750
|
-
return;
|
|
6751
|
-
}
|
|
6752
|
-
if (!Array.isArray(parentSignals)) {
|
|
6753
|
-
parentSignals = arguments;
|
|
6754
|
-
}
|
|
6755
|
-
for (const parentSignal of parentSignals) {
|
|
6756
|
-
if (parentSignal.aborted) {
|
|
6757
|
-
this.abort();
|
|
6758
|
-
} else {
|
|
6759
|
-
parentSignal.addEventListener("abort", () => {
|
|
6760
|
-
this.abort();
|
|
6761
|
-
});
|
|
6762
|
-
}
|
|
6763
|
-
}
|
|
6764
|
-
}
|
|
6765
|
-
/**
|
|
6766
|
-
* The AbortSignal associated with this controller that will signal aborted
|
|
6767
|
-
* when the abort method is called on this controller.
|
|
6768
|
-
*
|
|
6769
|
-
* @readonly
|
|
6770
|
-
*/
|
|
6771
|
-
get signal() {
|
|
6772
|
-
return this._signal;
|
|
6773
|
-
}
|
|
6774
|
-
/**
|
|
6775
|
-
* Signal that any operations passed this controller's associated abort signal
|
|
6776
|
-
* to cancel any remaining work and throw an `AbortError`.
|
|
6777
|
-
*/
|
|
6778
|
-
abort() {
|
|
6779
|
-
abortSignal(this._signal);
|
|
6780
|
-
}
|
|
6781
|
-
/**
|
|
6782
|
-
* Creates a new AbortSignal instance that will abort after the provided ms.
|
|
6783
|
-
* @param ms - Elapsed time in milliseconds to trigger an abort.
|
|
6784
|
-
*/
|
|
6785
|
-
static timeout(ms) {
|
|
6786
|
-
const signal = new AbortSignal();
|
|
6787
|
-
const timer = setTimeout(abortSignal, ms, signal);
|
|
6788
|
-
if (typeof timer.unref === "function") {
|
|
6789
|
-
timer.unref();
|
|
6790
|
-
}
|
|
6791
|
-
return signal;
|
|
6792
|
-
}
|
|
6793
|
-
};
|
|
6794
|
-
__name(_AbortController, "AbortController");
|
|
6795
|
-
var AbortController2 = _AbortController;
|
|
6796
|
-
exports.AbortController = AbortController2;
|
|
6797
|
-
exports.AbortError = AbortError;
|
|
6798
|
-
exports.AbortSignal = AbortSignal;
|
|
6799
|
-
}
|
|
6800
|
-
});
|
|
6801
|
-
|
|
6802
6651
|
export {
|
|
6803
|
-
|
|
6652
|
+
require_commonjs2 as require_commonjs,
|
|
6653
|
+
require_commonjs3 as require_commonjs2,
|
|
6804
6654
|
require_package,
|
|
6805
6655
|
require_package2,
|
|
6806
|
-
require_commonjs4 as
|
|
6807
|
-
require_commonjs5 as
|
|
6808
|
-
require_commonjs6 as
|
|
6809
|
-
require_dist4 as require_dist
|
|
6656
|
+
require_commonjs4 as require_commonjs3,
|
|
6657
|
+
require_commonjs5 as require_commonjs4,
|
|
6658
|
+
require_commonjs6 as require_commonjs5
|
|
6810
6659
|
};
|