@ms-cloudpack/remote-cache 0.8.4 → 0.8.6

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-NAAHYK4R.js";
10
10
  import {
11
11
  createBlobStorageUrl
12
- } from "./chunk-FCW2XE62.js";
12
+ } from "./chunk-QC4PR72N.js";
13
13
  import {
14
14
  require_dist
15
- } from "./chunk-5T25O66R.js";
16
- import "./chunk-PFJSWZPM.js";
15
+ } from "./chunk-XXZCIAWZ.js";
16
+ import "./chunk-DBAPJORC.js";
17
17
  import {
18
18
  __commonJS,
19
19
  __name,
20
20
  __require,
21
21
  __toESM
22
- } from "./chunk-WIA37P2F.js";
22
+ } from "./chunk-KN3X4SHH.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") {
@@ -16626,6 +16630,7 @@ var require_stringify2 = __commonJS({
16626
16630
  case "undefined":
16627
16631
  return void 0;
16628
16632
  case "function":
16633
+ // return custom_type()
16629
16634
  default:
16630
16635
  return JSON.stringify(object2);
16631
16636
  }
@@ -20444,6 +20449,8 @@ var require_package40 = __commonJS({
20444
20449
  clearStateChar();
20445
20450
  escaping = true;
20446
20451
  continue;
20452
+ // the various stateChar values
20453
+ // for the "extglob" stuff.
20447
20454
  case "?":
20448
20455
  case "*":
20449
20456
  case "+":
@@ -20504,6 +20511,7 @@ var require_package40 = __commonJS({
20504
20511
  clearStateChar();
20505
20512
  re += "|";
20506
20513
  continue;
20514
+ // these are mostly the same in regexp and glob
20507
20515
  case "[":
20508
20516
  clearStateChar();
20509
20517
  if (inClass) {
@@ -21133,6 +21141,7 @@ var require_package40 = __commonJS({
21133
21141
  }
21134
21142
  var prefix;
21135
21143
  switch (n) {
21144
+ // if not, then this is rather simple
21136
21145
  case pattern.length:
21137
21146
  this._processSimple(pattern.join("/"), index, cb);
21138
21147
  return;
@@ -21322,6 +21331,7 @@ var require_package40 = __commonJS({
21322
21331
  return;
21323
21332
  switch (er.code) {
21324
21333
  case "ENOTSUP":
21334
+ // https://github.com/isaacs/node-glob/issues/205
21325
21335
  case "ENOTDIR":
21326
21336
  var abs = this._makeAbs(f);
21327
21337
  this.cache[abs] = "FILE";
@@ -21334,6 +21344,7 @@ var require_package40 = __commonJS({
21334
21344
  }
21335
21345
  break;
21336
21346
  case "ENOENT":
21347
+ // not terribly unusual
21337
21348
  case "ELOOP":
21338
21349
  case "ENAMETOOLONG":
21339
21350
  case "UNKNOWN":
@@ -22715,6 +22726,9 @@ var require_package40 = __commonJS({
22715
22726
  else mkdirP(p, opts, cb, made2);
22716
22727
  });
22717
22728
  break;
22729
+ // In the case of any other error, just see if there's a dir
22730
+ // there already. If so, then hooray! If not, then something
22731
+ // is borked.
22718
22732
  default:
22719
22733
  xfs.stat(p, function(er2, stat) {
22720
22734
  if (er2 || !stat.isDirectory()) cb(er, made);
@@ -22745,6 +22759,9 @@ var require_package40 = __commonJS({
22745
22759
  made = sync(path.dirname(p), opts, made);
22746
22760
  sync(p, opts, made);
22747
22761
  break;
22762
+ // In the case of any other error, just see if there's a dir
22763
+ // there already. If so, then hooray! If not, then something
22764
+ // is borked.
22748
22765
  default:
22749
22766
  var stat;
22750
22767
  try {
@@ -24930,6 +24947,7 @@ ${indent}`);
24930
24947
  }
24931
24948
  var prefix;
24932
24949
  switch (n) {
24950
+ // if not, then this is rather simple
24933
24951
  case pattern.length:
24934
24952
  this._processSimple(pattern.join("/"), index);
24935
24953
  return;
@@ -25089,6 +25107,7 @@ ${indent}`);
25089
25107
  GlobSync.prototype._readdirError = function(f, er) {
25090
25108
  switch (er.code) {
25091
25109
  case "ENOTSUP":
25110
+ // https://github.com/isaacs/node-glob/issues/205
25092
25111
  case "ENOTDIR":
25093
25112
  var abs = this._makeAbs(f);
25094
25113
  this.cache[abs] = "FILE";
@@ -25100,6 +25119,7 @@ ${indent}`);
25100
25119
  }
25101
25120
  break;
25102
25121
  case "ENOENT":
25122
+ // not terribly unusual
25103
25123
  case "ELOOP":
25104
25124
  case "ENAMETOOLONG":
25105
25125
  case "UNKNOWN":
@@ -27379,6 +27399,9 @@ var require_mkdirs3 = __commonJS({
27379
27399
  else mkdirs(p, opts, callback, made2);
27380
27400
  });
27381
27401
  break;
27402
+ // In the case of any other error, just see if there's a dir
27403
+ // there already. If so, then hooray! If not, then something
27404
+ // is borked.
27382
27405
  default:
27383
27406
  xfs.stat(p, (er2, stat) => {
27384
27407
  if (er2 || !stat.isDirectory()) callback(er, made);
@@ -43576,6 +43599,9 @@ var require_package48 = __commonJS({
43576
43599
  else mkdirP(p, opts, cb, made2);
43577
43600
  });
43578
43601
  break;
43602
+ // In the case of any other error, just see if there's a dir
43603
+ // there already. If so, then hooray! If not, then something
43604
+ // is borked.
43579
43605
  default:
43580
43606
  xfs.stat(p, function(er2, stat) {
43581
43607
  if (er2 || !stat.isDirectory()) cb(er, made);
@@ -43606,6 +43632,9 @@ var require_package48 = __commonJS({
43606
43632
  made = sync(path.dirname(p), opts, made);
43607
43633
  sync(p, opts, made);
43608
43634
  break;
43635
+ // In the case of any other error, just see if there's a dir
43636
+ // there already. If so, then hooray! If not, then something
43637
+ // is borked.
43609
43638
  default:
43610
43639
  var stat;
43611
43640
  try {
@@ -44034,9 +44063,9 @@ var require_package52 = __commonJS({
44034
44063
  }
44035
44064
  });
44036
44065
 
44037
- // ../../node_modules/.store/ignore-npm-5.3.1-f6947c5df7/package/index.js
44066
+ // ../../node_modules/.store/ignore-npm-5.3.2-346d3ba017/package/index.js
44038
44067
  var require_package53 = __commonJS({
44039
- "../../node_modules/.store/ignore-npm-5.3.1-f6947c5df7/package/index.js"(exports, module) {
44068
+ "../../node_modules/.store/ignore-npm-5.3.2-346d3ba017/package/index.js"(exports, module) {
44040
44069
  function makeArray(subject) {
44041
44070
  return Array.isArray(subject) ? subject : [subject];
44042
44071
  }
@@ -44079,14 +44108,21 @@ var require_package53 = __commonJS({
44079
44108
  [
44080
44109
  // (a\ ) -> (a )
44081
44110
  // (a ) -> (a)
44111
+ // (a ) -> (a)
44082
44112
  // (a \ ) -> (a )
44083
- /\\?\s+$/,
44084
- (match) => match.indexOf("\\") === 0 ? SPACE : EMPTY
44113
+ /((?:\\\\)*?)(\\?\s+)$/,
44114
+ (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
44085
44115
  ],
44086
44116
  // replace (\ ) with ' '
44117
+ // (\ ) -> ' '
44118
+ // (\\ ) -> '\\ '
44119
+ // (\\\ ) -> '\\ '
44087
44120
  [
44088
- /\\\s/g,
44089
- () => SPACE
44121
+ /(\\+?)\s/g,
44122
+ (_, m1) => {
44123
+ const { length } = m1;
44124
+ return m1.slice(0, length - length % 2) + SPACE;
44125
+ }
44090
44126
  ],
44091
44127
  // Escape metacharacters
44092
44128
  // which is written down by users but means special for regular expressions.
@@ -44221,7 +44257,7 @@ var require_package53 = __commonJS({
44221
44257
  let source = regexCache[pattern];
44222
44258
  if (!source) {
44223
44259
  source = REPLACERS.reduce(
44224
- (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
44260
+ (prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
44225
44261
  pattern
44226
44262
  );
44227
44263
  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-XXZCIAWZ.js";
10
+ import "./chunk-DBAPJORC.js";
11
11
  import {
12
12
  __name,
13
13
  __toESM
14
- } from "./chunk-WIA37P2F.js";
14
+ } from "./chunk-KN3X4SHH.js";
15
15
 
16
16
  // src/decorators/ReporterDecorator.ts
17
17
  var import_storage_blob = __toESM(require_dist(), 1);