@ms-cloudpack/remote-cache 0.8.6 → 0.8.7

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.
@@ -6,20 +6,20 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
6
6
  const __dirname = topLevelPath.dirname(__filename);
7
7
  import {
8
8
  require_package
9
- } from "./chunk-NAAHYK4R.js";
9
+ } from "./chunk-F35F2EJX.js";
10
10
  import {
11
11
  createBlobStorageUrl
12
- } from "./chunk-QC4PR72N.js";
12
+ } from "./chunk-373ETHF2.js";
13
13
  import {
14
14
  require_dist
15
- } from "./chunk-XXZCIAWZ.js";
16
- import "./chunk-DBAPJORC.js";
15
+ } from "./chunk-AGV32QV3.js";
16
+ import "./chunk-NA4MEK2Y.js";
17
17
  import {
18
18
  __commonJS,
19
19
  __name,
20
20
  __require,
21
21
  __toESM
22
- } from "./chunk-KN3X4SHH.js";
22
+ } from "./chunk-PAESICSC.js";
23
23
 
24
24
  // ../../node_modules/.store/p-try-npm-2.2.0-e0390dbaf8/package/index.js
25
25
  var require_package2 = __commonJS({
@@ -9912,15 +9912,19 @@ var require_package33 = __commonJS({
9912
9912
  }
9913
9913
  });
9914
9914
 
9915
- // ../../node_modules/.store/micromatch-npm-4.0.7-28fb7387ee/package/index.js
9915
+ // ../../node_modules/.store/micromatch-npm-4.0.8-c9570e4aca/package/index.js
9916
9916
  var require_package34 = __commonJS({
9917
- "../../node_modules/.store/micromatch-npm-4.0.7-28fb7387ee/package/index.js"(exports, module) {
9917
+ "../../node_modules/.store/micromatch-npm-4.0.8-c9570e4aca/package/index.js"(exports, module) {
9918
9918
  "use strict";
9919
9919
  var util = __require("util");
9920
9920
  var braces = require_package32();
9921
9921
  var picomatch = require_package33();
9922
9922
  var utils = require_utils2();
9923
- var isEmptyString = /* @__PURE__ */ __name((val) => val === "" || val === "./", "isEmptyString");
9923
+ var isEmptyString = /* @__PURE__ */ __name((v) => v === "" || v === "./", "isEmptyString");
9924
+ var hasBraces = /* @__PURE__ */ __name((v) => {
9925
+ const index = v.indexOf("{");
9926
+ return index > -1 && v.indexOf("}", index) > -1;
9927
+ }, "hasBraces");
9924
9928
  var micromatch = /* @__PURE__ */ __name((list, patterns, options) => {
9925
9929
  patterns = [].concat(patterns);
9926
9930
  list = [].concat(list);
@@ -10055,7 +10059,7 @@ var require_package34 = __commonJS({
10055
10059
  };
10056
10060
  micromatch.braces = (pattern, options) => {
10057
10061
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
10058
- if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) {
10062
+ if (options && options.nobrace === true || !hasBraces(pattern)) {
10059
10063
  return [pattern];
10060
10064
  }
10061
10065
  return braces(pattern, options);
@@ -10064,6 +10068,7 @@ var require_package34 = __commonJS({
10064
10068
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
10065
10069
  return micromatch.braces(pattern, { ...options, expand: true });
10066
10070
  };
10071
+ micromatch.hasBraces = hasBraces;
10067
10072
  module.exports = micromatch;
10068
10073
  }
10069
10074
  });
@@ -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-XXZCIAWZ.js";
10
- import "./chunk-DBAPJORC.js";
9
+ } from "./chunk-AGV32QV3.js";
10
+ import "./chunk-NA4MEK2Y.js";
11
11
  import {
12
12
  __name,
13
13
  __toESM
14
- } from "./chunk-KN3X4SHH.js";
14
+ } from "./chunk-PAESICSC.js";
15
15
 
16
16
  // src/decorators/ReporterDecorator.ts
17
17
  var import_storage_blob = __toESM(require_dist(), 1);
@@ -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-KN3X4SHH.js";
9
+ } from "./chunk-PAESICSC.js";
10
10
 
11
11
  // src/createBlobStorageUrl.ts
12
12
  function createBlobStorageUrl(storageAccount) {
@@ -10,7 +10,7 @@ import {
10
10
  require_commonjs3 as require_commonjs4,
11
11
  require_commonjs4 as require_commonjs5,
12
12
  require_dist
13
- } from "./chunk-DBAPJORC.js";
13
+ } from "./chunk-NA4MEK2Y.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-KN3X4SHH.js";
22
+ } from "./chunk-PAESICSC.js";
23
23
 
24
24
  // ../../node_modules/.store/@azure-core-auth-npm-1.7.2-10196debae/package/dist/commonjs/azureKeyCredential.js
25
25
  var require_azureKeyCredential = __commonJS({
@@ -8,7 +8,7 @@ import {
8
8
  __commonJS,
9
9
  __name,
10
10
  __require
11
- } from "./chunk-KN3X4SHH.js";
11
+ } from "./chunk-PAESICSC.js";
12
12
 
13
13
  // ../../node_modules/.store/safe-buffer-npm-5.2.1-3481c8aa9b/package/index.js
14
14
  var require_package = __commonJS({
@@ -12,7 +12,7 @@ import {
12
12
  init_tslib_es6,
13
13
  require_commonjs,
14
14
  tslib_es6_exports
15
- } from "./chunk-KN3X4SHH.js";
15
+ } from "./chunk-PAESICSC.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({
@@ -2018,9 +2018,9 @@ var require_package = __commonJS({
2018
2018
  }
2019
2019
  });
2020
2020
 
2021
- // ../../node_modules/.store/debug-virtual-4475a483b5/package/src/common.js
2021
+ // ../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/common.js
2022
2022
  var require_common = __commonJS({
2023
- "../../node_modules/.store/debug-virtual-4475a483b5/package/src/common.js"(exports, module) {
2023
+ "../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/common.js"(exports, module) {
2024
2024
  function setup(env) {
2025
2025
  createDebug.debug = createDebug;
2026
2026
  createDebug.default = createDebug;
@@ -2192,9 +2192,9 @@ var require_common = __commonJS({
2192
2192
  }
2193
2193
  });
2194
2194
 
2195
- // ../../node_modules/.store/debug-virtual-4475a483b5/package/src/browser.js
2195
+ // ../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/browser.js
2196
2196
  var require_browser = __commonJS({
2197
- "../../node_modules/.store/debug-virtual-4475a483b5/package/src/browser.js"(exports, module) {
2197
+ "../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/browser.js"(exports, module) {
2198
2198
  exports.formatArgs = formatArgs;
2199
2199
  exports.save = save;
2200
2200
  exports.load = load;
@@ -2367,9 +2367,9 @@ var require_browser = __commonJS({
2367
2367
  }
2368
2368
  });
2369
2369
 
2370
- // ../../node_modules/.store/debug-virtual-4475a483b5/package/src/node.js
2370
+ // ../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/node.js
2371
2371
  var require_node = __commonJS({
2372
- "../../node_modules/.store/debug-virtual-4475a483b5/package/src/node.js"(exports, module) {
2372
+ "../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/node.js"(exports, module) {
2373
2373
  var tty = __require("tty");
2374
2374
  var util = __require("util");
2375
2375
  exports.init = init;
@@ -2548,9 +2548,9 @@ var require_node = __commonJS({
2548
2548
  }
2549
2549
  });
2550
2550
 
2551
- // ../../node_modules/.store/debug-virtual-4475a483b5/package/src/index.js
2551
+ // ../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/index.js
2552
2552
  var require_src = __commonJS({
2553
- "../../node_modules/.store/debug-virtual-4475a483b5/package/src/index.js"(exports, module) {
2553
+ "../../node_modules/.store/debug-virtual-0afdf91fb7/package/src/index.js"(exports, module) {
2554
2554
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
2555
2555
  module.exports = require_browser();
2556
2556
  } else {
@@ -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.6.3-0fd136b3be/package/tslib.es6.mjs
48
+ // ../../node_modules/.store/tslib-npm-2.7.0-21668f5c21/package/tslib.es6.mjs
49
49
  var tslib_es6_exports = {};
50
50
  __export(tslib_es6_exports, {
51
51
  __addDisposableResource: () => __addDisposableResource,
@@ -198,8 +198,8 @@ function __generator(thisArg, body) {
198
198
  var _ = { label: 0, sent: /* @__PURE__ */ __name(function() {
199
199
  if (t[0] & 1) throw t[1];
200
200
  return t[1];
201
- }, "sent"), trys: [], ops: [] }, f, y, t, g;
202
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
201
+ }, "sent"), trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
202
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
203
203
  return this;
204
204
  }), g;
205
205
  function verb(n) {
@@ -323,7 +323,7 @@ function __await(v) {
323
323
  function __asyncGenerator(thisArg, _arguments, generator) {
324
324
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
325
325
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
326
- return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
326
+ return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
327
327
  return this;
328
328
  }, i;
329
329
  function awaitReturn(f) {
@@ -471,19 +471,23 @@ function __disposeResources(env) {
471
471
  env.hasError = true;
472
472
  }
473
473
  __name(fail, "fail");
474
+ var r, s = 0;
474
475
  function next() {
475
- while (env.stack.length) {
476
- var rec = env.stack.pop();
476
+ while (r = env.stack.pop()) {
477
477
  try {
478
- var result = rec.dispose && rec.dispose.call(rec.value);
479
- if (rec.async) return Promise.resolve(result).then(next, function(e) {
480
- fail(e);
481
- return next();
482
- });
478
+ if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
479
+ if (r.dispose) {
480
+ var result = r.dispose.call(r.value);
481
+ if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) {
482
+ fail(e);
483
+ return next();
484
+ });
485
+ } else s |= 1;
483
486
  } catch (e) {
484
487
  fail(e);
485
488
  }
486
489
  }
490
+ if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
487
491
  if (env.hasError) throw env.error;
488
492
  }
489
493
  __name(next, "next");
@@ -491,7 +495,7 @@ function __disposeResources(env) {
491
495
  }
492
496
  var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedError, tslib_es6_default;
493
497
  var init_tslib_es6 = __esm({
494
- "../../node_modules/.store/tslib-npm-2.6.3-0fd136b3be/package/tslib.es6.mjs"() {
498
+ "../../node_modules/.store/tslib-npm-2.7.0-21668f5c21/package/tslib.es6.mjs"() {
495
499
  extendStatics = /* @__PURE__ */ __name(function(d, b) {
496
500
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
497
501
  d2.__proto__ = b2;