@ms-cloudpack/remote-cache 0.11.55 → 0.11.57
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/NOTICE.txt +36 -14
- package/dist/{AzureRemoteCacheClient-UD3RM6RT.js → AzureRemoteCacheClient-2QBRLTWH.js} +899 -665
- package/dist/{chunk-GSSWZTS6.js → chunk-IGWDIFPL.js} +97 -28
- package/dist/{chunk-ZYLGEKCT.js → chunk-JEBJUXPQ.js} +668 -559
- package/dist/{getCredential-TYTELKFM.js → getCredential-CYQ5LCNH.js} +115 -93
- package/dist/index.js +1533 -1126
- package/package.json +3 -3
|
@@ -590,26 +590,26 @@ var init_tslib_es6 = __esm({
|
|
|
590
590
|
}
|
|
591
591
|
});
|
|
592
592
|
|
|
593
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
593
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/log.js
|
|
594
594
|
var require_log = __commonJS({
|
|
595
|
-
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
595
|
+
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/log.js"(exports) {
|
|
596
596
|
"use strict";
|
|
597
597
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
598
598
|
exports.log = log;
|
|
599
599
|
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
600
600
|
var node_os_1 = __require("node:os");
|
|
601
601
|
var node_util_1 = tslib_1.__importDefault(__require("node:util"));
|
|
602
|
-
var
|
|
602
|
+
var node_process_1 = tslib_1.__importDefault(__require("node:process"));
|
|
603
603
|
function log(message, ...args) {
|
|
604
|
-
|
|
604
|
+
node_process_1.default.stderr.write(`${node_util_1.default.format(message, ...args)}${node_os_1.EOL}`);
|
|
605
605
|
}
|
|
606
606
|
__name(log, "log");
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
|
|
610
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
610
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/debug.js
|
|
611
611
|
var require_debug = __commonJS({
|
|
612
|
-
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
612
|
+
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/debug.js"(exports) {
|
|
613
613
|
"use strict";
|
|
614
614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
615
615
|
var log_js_1 = require_log();
|
|
@@ -633,13 +633,12 @@ var require_debug = __commonJS({
|
|
|
633
633
|
enabledString = namespaces;
|
|
634
634
|
enabledNamespaces = [];
|
|
635
635
|
skippedNamespaces = [];
|
|
636
|
-
const
|
|
637
|
-
const namespaceList = namespaces.split(",").map((ns) => ns.trim().replace(wildcard, ".*?"));
|
|
636
|
+
const namespaceList = namespaces.split(",").map((ns) => ns.trim());
|
|
638
637
|
for (const ns of namespaceList) {
|
|
639
638
|
if (ns.startsWith("-")) {
|
|
640
|
-
skippedNamespaces.push(
|
|
639
|
+
skippedNamespaces.push(ns.substring(1));
|
|
641
640
|
} else {
|
|
642
|
-
enabledNamespaces.push(
|
|
641
|
+
enabledNamespaces.push(ns);
|
|
643
642
|
}
|
|
644
643
|
}
|
|
645
644
|
for (const instance of debuggers) {
|
|
@@ -652,18 +651,88 @@ var require_debug = __commonJS({
|
|
|
652
651
|
return true;
|
|
653
652
|
}
|
|
654
653
|
for (const skipped of skippedNamespaces) {
|
|
655
|
-
if (
|
|
654
|
+
if (namespaceMatches(namespace, skipped)) {
|
|
656
655
|
return false;
|
|
657
656
|
}
|
|
658
657
|
}
|
|
659
658
|
for (const enabledNamespace of enabledNamespaces) {
|
|
660
|
-
if (
|
|
659
|
+
if (namespaceMatches(namespace, enabledNamespace)) {
|
|
661
660
|
return true;
|
|
662
661
|
}
|
|
663
662
|
}
|
|
664
663
|
return false;
|
|
665
664
|
}
|
|
666
665
|
__name(enabled, "enabled");
|
|
666
|
+
function namespaceMatches(namespace, patternToMatch) {
|
|
667
|
+
if (patternToMatch.indexOf("*") === -1) {
|
|
668
|
+
return namespace === patternToMatch;
|
|
669
|
+
}
|
|
670
|
+
let pattern = patternToMatch;
|
|
671
|
+
if (patternToMatch.indexOf("**") !== -1) {
|
|
672
|
+
const patternParts = [];
|
|
673
|
+
let lastCharacter = "";
|
|
674
|
+
for (const character of patternToMatch) {
|
|
675
|
+
if (character === "*" && lastCharacter === "*") {
|
|
676
|
+
continue;
|
|
677
|
+
} else {
|
|
678
|
+
lastCharacter = character;
|
|
679
|
+
patternParts.push(character);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
pattern = patternParts.join("");
|
|
683
|
+
}
|
|
684
|
+
let namespaceIndex = 0;
|
|
685
|
+
let patternIndex = 0;
|
|
686
|
+
const patternLength = pattern.length;
|
|
687
|
+
const namespaceLength = namespace.length;
|
|
688
|
+
let lastWildcard = -1;
|
|
689
|
+
let lastWildcardNamespace = -1;
|
|
690
|
+
while (namespaceIndex < namespaceLength && patternIndex < patternLength) {
|
|
691
|
+
if (pattern[patternIndex] === "*") {
|
|
692
|
+
lastWildcard = patternIndex;
|
|
693
|
+
patternIndex++;
|
|
694
|
+
if (patternIndex === patternLength) {
|
|
695
|
+
return true;
|
|
696
|
+
}
|
|
697
|
+
while (namespace[namespaceIndex] !== pattern[patternIndex]) {
|
|
698
|
+
namespaceIndex++;
|
|
699
|
+
if (namespaceIndex === namespaceLength) {
|
|
700
|
+
return false;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
lastWildcardNamespace = namespaceIndex;
|
|
704
|
+
namespaceIndex++;
|
|
705
|
+
patternIndex++;
|
|
706
|
+
continue;
|
|
707
|
+
} else if (pattern[patternIndex] === namespace[namespaceIndex]) {
|
|
708
|
+
patternIndex++;
|
|
709
|
+
namespaceIndex++;
|
|
710
|
+
} else if (lastWildcard >= 0) {
|
|
711
|
+
patternIndex = lastWildcard + 1;
|
|
712
|
+
namespaceIndex = lastWildcardNamespace + 1;
|
|
713
|
+
if (namespaceIndex === namespaceLength) {
|
|
714
|
+
return false;
|
|
715
|
+
}
|
|
716
|
+
while (namespace[namespaceIndex] !== pattern[patternIndex]) {
|
|
717
|
+
namespaceIndex++;
|
|
718
|
+
if (namespaceIndex === namespaceLength) {
|
|
719
|
+
return false;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
lastWildcardNamespace = namespaceIndex;
|
|
723
|
+
namespaceIndex++;
|
|
724
|
+
patternIndex++;
|
|
725
|
+
continue;
|
|
726
|
+
} else {
|
|
727
|
+
return false;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
const namespaceDone = namespaceIndex === namespace.length;
|
|
731
|
+
const patternDone = patternIndex === pattern.length;
|
|
732
|
+
const trailingWildCard = patternIndex === pattern.length - 1 && pattern[patternIndex] === "*";
|
|
733
|
+
return namespaceDone && (patternDone || trailingWildCard);
|
|
734
|
+
}
|
|
735
|
+
__name(namespaceMatches, "namespaceMatches");
|
|
667
736
|
function disable() {
|
|
668
737
|
const result = enabledString || "";
|
|
669
738
|
enable("");
|
|
@@ -711,9 +780,9 @@ var require_debug = __commonJS({
|
|
|
711
780
|
}
|
|
712
781
|
});
|
|
713
782
|
|
|
714
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
783
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/logger.js
|
|
715
784
|
var require_logger = __commonJS({
|
|
716
|
-
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
785
|
+
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/logger.js"(exports) {
|
|
717
786
|
"use strict";
|
|
718
787
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
719
788
|
exports.TypeSpecRuntimeLogger = void 0;
|
|
@@ -829,9 +898,9 @@ var require_logger = __commonJS({
|
|
|
829
898
|
}
|
|
830
899
|
});
|
|
831
900
|
|
|
832
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
901
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/internal.js
|
|
833
902
|
var require_internal = __commonJS({
|
|
834
|
-
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
903
|
+
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.1-3e5b754037/package/dist/commonjs/logger/internal.js"(exports) {
|
|
835
904
|
"use strict";
|
|
836
905
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
837
906
|
exports.createLoggerContext = void 0;
|
|
@@ -872,9 +941,9 @@ var require_commonjs = __commonJS({
|
|
|
872
941
|
}
|
|
873
942
|
});
|
|
874
943
|
|
|
875
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.3.
|
|
944
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.3.1-eb2949b9c4/package/dist/commonjs/state.js
|
|
876
945
|
var require_state = __commonJS({
|
|
877
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.3.
|
|
946
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.3.1-eb2949b9c4/package/dist/commonjs/state.js"(exports) {
|
|
878
947
|
"use strict";
|
|
879
948
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
880
949
|
exports.state = void 0;
|
|
@@ -1004,9 +1073,9 @@ var require_package = __commonJS({
|
|
|
1004
1073
|
}
|
|
1005
1074
|
});
|
|
1006
1075
|
|
|
1007
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1076
|
+
// ../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/common.js
|
|
1008
1077
|
var require_common = __commonJS({
|
|
1009
|
-
"../../node_modules/.store/debug-virtual-
|
|
1078
|
+
"../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/common.js"(exports, module) {
|
|
1010
1079
|
function setup(env) {
|
|
1011
1080
|
createDebug.debug = createDebug;
|
|
1012
1081
|
createDebug.default = createDebug;
|
|
@@ -1192,9 +1261,9 @@ var require_common = __commonJS({
|
|
|
1192
1261
|
}
|
|
1193
1262
|
});
|
|
1194
1263
|
|
|
1195
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1264
|
+
// ../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/browser.js
|
|
1196
1265
|
var require_browser = __commonJS({
|
|
1197
|
-
"../../node_modules/.store/debug-virtual-
|
|
1266
|
+
"../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/browser.js"(exports, module) {
|
|
1198
1267
|
exports.formatArgs = formatArgs;
|
|
1199
1268
|
exports.save = save;
|
|
1200
1269
|
exports.load = load;
|
|
@@ -1498,9 +1567,9 @@ var require_package3 = __commonJS({
|
|
|
1498
1567
|
}
|
|
1499
1568
|
});
|
|
1500
1569
|
|
|
1501
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1570
|
+
// ../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/node.js
|
|
1502
1571
|
var require_node = __commonJS({
|
|
1503
|
-
"../../node_modules/.store/debug-virtual-
|
|
1572
|
+
"../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/node.js"(exports, module) {
|
|
1504
1573
|
var tty = __require("tty");
|
|
1505
1574
|
var util = __require("util");
|
|
1506
1575
|
exports.init = init;
|
|
@@ -1679,9 +1748,9 @@ var require_node = __commonJS({
|
|
|
1679
1748
|
}
|
|
1680
1749
|
});
|
|
1681
1750
|
|
|
1682
|
-
// ../../node_modules/.store/debug-virtual-
|
|
1751
|
+
// ../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/index.js
|
|
1683
1752
|
var require_src = __commonJS({
|
|
1684
|
-
"../../node_modules/.store/debug-virtual-
|
|
1753
|
+
"../../node_modules/.store/debug-virtual-1d2c3fd483/package/src/index.js"(exports, module) {
|
|
1685
1754
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
1686
1755
|
module.exports = require_browser();
|
|
1687
1756
|
} else {
|
|
@@ -2310,9 +2379,9 @@ var require_dist3 = __commonJS({
|
|
|
2310
2379
|
}
|
|
2311
2380
|
});
|
|
2312
2381
|
|
|
2313
|
-
// ../../node_modules/.store/@azure-core-client-npm-1.10.
|
|
2382
|
+
// ../../node_modules/.store/@azure-core-client-npm-1.10.1-c6f6d34e9a/package/dist/commonjs/state.js
|
|
2314
2383
|
var require_state2 = __commonJS({
|
|
2315
|
-
"../../node_modules/.store/@azure-core-client-npm-1.10.
|
|
2384
|
+
"../../node_modules/.store/@azure-core-client-npm-1.10.1-c6f6d34e9a/package/dist/commonjs/state.js"(exports) {
|
|
2316
2385
|
"use strict";
|
|
2317
2386
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2318
2387
|
exports.state = void 0;
|