@ms-cloudpack/remote-cache 0.8.5 → 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-BT2CALS2.js";
9
+ } from "./chunk-F35F2EJX.js";
10
10
  import {
11
11
  createBlobStorageUrl
12
- } from "./chunk-FCW2XE62.js";
12
+ } from "./chunk-373ETHF2.js";
13
13
  import {
14
14
  require_dist
15
- } from "./chunk-5T25O66R.js";
16
- import "./chunk-PFJSWZPM.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-WIA37P2F.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({
@@ -1626,6 +1626,9 @@ var require_mkdirs = __commonJS({
1626
1626
  else mkdirs(p, opts, callback, made2);
1627
1627
  });
1628
1628
  break;
1629
+ // In the case of any other error, just see if there's a dir
1630
+ // there already. If so, then hooray! If not, then something
1631
+ // is borked.
1629
1632
  default:
1630
1633
  xfs.stat(p, (er2, stat) => {
1631
1634
  if (er2 || !stat.isDirectory()) callback(er, made);
@@ -6261,6 +6264,7 @@ var require_lib8 = __commonJS({
6261
6264
  }
6262
6265
  break;
6263
6266
  }
6267
+ // Azure DevOps (formerly Visual Studio Team Services)
6264
6268
  case "dev.azure.com":
6265
6269
  case "azure.com":
6266
6270
  if (urlInfo.resource === "ssh.dev.azure.com") {
@@ -9908,15 +9912,19 @@ var require_package33 = __commonJS({
9908
9912
  }
9909
9913
  });
9910
9914
 
9911
- // ../../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
9912
9916
  var require_package34 = __commonJS({
9913
- "../../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) {
9914
9918
  "use strict";
9915
9919
  var util = __require("util");
9916
9920
  var braces = require_package32();
9917
9921
  var picomatch = require_package33();
9918
9922
  var utils = require_utils2();
9919
- 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");
9920
9928
  var micromatch = /* @__PURE__ */ __name((list, patterns, options) => {
9921
9929
  patterns = [].concat(patterns);
9922
9930
  list = [].concat(list);
@@ -10051,7 +10059,7 @@ var require_package34 = __commonJS({
10051
10059
  };
10052
10060
  micromatch.braces = (pattern, options) => {
10053
10061
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
10054
- if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) {
10062
+ if (options && options.nobrace === true || !hasBraces(pattern)) {
10055
10063
  return [pattern];
10056
10064
  }
10057
10065
  return braces(pattern, options);
@@ -10060,6 +10068,7 @@ var require_package34 = __commonJS({
10060
10068
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
10061
10069
  return micromatch.braces(pattern, { ...options, expand: true });
10062
10070
  };
10071
+ micromatch.hasBraces = hasBraces;
10063
10072
  module.exports = micromatch;
10064
10073
  }
10065
10074
  });
@@ -16626,6 +16635,7 @@ var require_stringify2 = __commonJS({
16626
16635
  case "undefined":
16627
16636
  return void 0;
16628
16637
  case "function":
16638
+ // return custom_type()
16629
16639
  default:
16630
16640
  return JSON.stringify(object2);
16631
16641
  }
@@ -20444,6 +20454,8 @@ var require_package40 = __commonJS({
20444
20454
  clearStateChar();
20445
20455
  escaping = true;
20446
20456
  continue;
20457
+ // the various stateChar values
20458
+ // for the "extglob" stuff.
20447
20459
  case "?":
20448
20460
  case "*":
20449
20461
  case "+":
@@ -20504,6 +20516,7 @@ var require_package40 = __commonJS({
20504
20516
  clearStateChar();
20505
20517
  re += "|";
20506
20518
  continue;
20519
+ // these are mostly the same in regexp and glob
20507
20520
  case "[":
20508
20521
  clearStateChar();
20509
20522
  if (inClass) {
@@ -21133,6 +21146,7 @@ var require_package40 = __commonJS({
21133
21146
  }
21134
21147
  var prefix;
21135
21148
  switch (n) {
21149
+ // if not, then this is rather simple
21136
21150
  case pattern.length:
21137
21151
  this._processSimple(pattern.join("/"), index, cb);
21138
21152
  return;
@@ -21322,6 +21336,7 @@ var require_package40 = __commonJS({
21322
21336
  return;
21323
21337
  switch (er.code) {
21324
21338
  case "ENOTSUP":
21339
+ // https://github.com/isaacs/node-glob/issues/205
21325
21340
  case "ENOTDIR":
21326
21341
  var abs = this._makeAbs(f);
21327
21342
  this.cache[abs] = "FILE";
@@ -21334,6 +21349,7 @@ var require_package40 = __commonJS({
21334
21349
  }
21335
21350
  break;
21336
21351
  case "ENOENT":
21352
+ // not terribly unusual
21337
21353
  case "ELOOP":
21338
21354
  case "ENAMETOOLONG":
21339
21355
  case "UNKNOWN":
@@ -22715,6 +22731,9 @@ var require_package40 = __commonJS({
22715
22731
  else mkdirP(p, opts, cb, made2);
22716
22732
  });
22717
22733
  break;
22734
+ // In the case of any other error, just see if there's a dir
22735
+ // there already. If so, then hooray! If not, then something
22736
+ // is borked.
22718
22737
  default:
22719
22738
  xfs.stat(p, function(er2, stat) {
22720
22739
  if (er2 || !stat.isDirectory()) cb(er, made);
@@ -22745,6 +22764,9 @@ var require_package40 = __commonJS({
22745
22764
  made = sync(path.dirname(p), opts, made);
22746
22765
  sync(p, opts, made);
22747
22766
  break;
22767
+ // In the case of any other error, just see if there's a dir
22768
+ // there already. If so, then hooray! If not, then something
22769
+ // is borked.
22748
22770
  default:
22749
22771
  var stat;
22750
22772
  try {
@@ -24930,6 +24952,7 @@ ${indent}`);
24930
24952
  }
24931
24953
  var prefix;
24932
24954
  switch (n) {
24955
+ // if not, then this is rather simple
24933
24956
  case pattern.length:
24934
24957
  this._processSimple(pattern.join("/"), index);
24935
24958
  return;
@@ -25089,6 +25112,7 @@ ${indent}`);
25089
25112
  GlobSync.prototype._readdirError = function(f, er) {
25090
25113
  switch (er.code) {
25091
25114
  case "ENOTSUP":
25115
+ // https://github.com/isaacs/node-glob/issues/205
25092
25116
  case "ENOTDIR":
25093
25117
  var abs = this._makeAbs(f);
25094
25118
  this.cache[abs] = "FILE";
@@ -25100,6 +25124,7 @@ ${indent}`);
25100
25124
  }
25101
25125
  break;
25102
25126
  case "ENOENT":
25127
+ // not terribly unusual
25103
25128
  case "ELOOP":
25104
25129
  case "ENAMETOOLONG":
25105
25130
  case "UNKNOWN":
@@ -27379,6 +27404,9 @@ var require_mkdirs3 = __commonJS({
27379
27404
  else mkdirs(p, opts, callback, made2);
27380
27405
  });
27381
27406
  break;
27407
+ // In the case of any other error, just see if there's a dir
27408
+ // there already. If so, then hooray! If not, then something
27409
+ // is borked.
27382
27410
  default:
27383
27411
  xfs.stat(p, (er2, stat) => {
27384
27412
  if (er2 || !stat.isDirectory()) callback(er, made);
@@ -43576,6 +43604,9 @@ var require_package48 = __commonJS({
43576
43604
  else mkdirP(p, opts, cb, made2);
43577
43605
  });
43578
43606
  break;
43607
+ // In the case of any other error, just see if there's a dir
43608
+ // there already. If so, then hooray! If not, then something
43609
+ // is borked.
43579
43610
  default:
43580
43611
  xfs.stat(p, function(er2, stat) {
43581
43612
  if (er2 || !stat.isDirectory()) cb(er, made);
@@ -43606,6 +43637,9 @@ var require_package48 = __commonJS({
43606
43637
  made = sync(path.dirname(p), opts, made);
43607
43638
  sync(p, opts, made);
43608
43639
  break;
43640
+ // In the case of any other error, just see if there's a dir
43641
+ // there already. If so, then hooray! If not, then something
43642
+ // is borked.
43609
43643
  default:
43610
43644
  var stat;
43611
43645
  try {
@@ -44034,9 +44068,9 @@ var require_package52 = __commonJS({
44034
44068
  }
44035
44069
  });
44036
44070
 
44037
- // ../../node_modules/.store/ignore-npm-5.3.1-f6947c5df7/package/index.js
44071
+ // ../../node_modules/.store/ignore-npm-5.3.2-346d3ba017/package/index.js
44038
44072
  var require_package53 = __commonJS({
44039
- "../../node_modules/.store/ignore-npm-5.3.1-f6947c5df7/package/index.js"(exports, module) {
44073
+ "../../node_modules/.store/ignore-npm-5.3.2-346d3ba017/package/index.js"(exports, module) {
44040
44074
  function makeArray(subject) {
44041
44075
  return Array.isArray(subject) ? subject : [subject];
44042
44076
  }
@@ -44079,14 +44113,21 @@ var require_package53 = __commonJS({
44079
44113
  [
44080
44114
  // (a\ ) -> (a )
44081
44115
  // (a ) -> (a)
44116
+ // (a ) -> (a)
44082
44117
  // (a \ ) -> (a )
44083
- /\\?\s+$/,
44084
- (match) => match.indexOf("\\") === 0 ? SPACE : EMPTY
44118
+ /((?:\\\\)*?)(\\?\s+)$/,
44119
+ (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
44085
44120
  ],
44086
44121
  // replace (\ ) with ' '
44122
+ // (\ ) -> ' '
44123
+ // (\\ ) -> '\\ '
44124
+ // (\\\ ) -> '\\ '
44087
44125
  [
44088
- /\\\s/g,
44089
- () => SPACE
44126
+ /(\\+?)\s/g,
44127
+ (_, m1) => {
44128
+ const { length } = m1;
44129
+ return m1.slice(0, length - length % 2) + SPACE;
44130
+ }
44090
44131
  ],
44091
44132
  // Escape metacharacters
44092
44133
  // which is written down by users but means special for regular expressions.
@@ -44221,7 +44262,7 @@ var require_package53 = __commonJS({
44221
44262
  let source = regexCache[pattern];
44222
44263
  if (!source) {
44223
44264
  source = REPLACERS.reduce(
44224
- (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
44265
+ (prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
44225
44266
  pattern
44226
44267
  );
44227
44268
  regexCache[pattern] = source;
@@ -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-5T25O66R.js";
10
- import "./chunk-PFJSWZPM.js";
9
+ } from "./chunk-AGV32QV3.js";
10
+ import "./chunk-NA4MEK2Y.js";
11
11
  import {
12
12
  __name,
13
13
  __toESM
14
- } from "./chunk-WIA37P2F.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-WIA37P2F.js";
9
+ } from "./chunk-PAESICSC.js";
10
10
 
11
11
  // src/createBlobStorageUrl.ts
12
12
  function createBlobStorageUrl(storageAccount) {