@sanity/cli 3.54.0 → 3.55.0

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.
@@ -5132,7 +5132,7 @@ function getEnvValue(env, name) {
5132
5132
  return env_replace_1.envReplace;
5133
5133
  } });
5134
5134
  })(dist$3);
5135
- const fs$j = require$$0__default$1.default, path$p = require$$0__default.default, { envReplace } = dist$3, parseField = (types2, field, key2) => {
5135
+ const fs$j = require$$0__default$1.default, path$p = require$$0__default.default, { envReplace } = dist$3, parseKey = (key2) => typeof key2 != "string" ? key2 : envReplace(key2, process.env), parseField = (types2, field, key2) => {
5136
5136
  if (typeof field != "string")
5137
5137
  return field;
5138
5138
  const typeList = [].concat(types2[key2]), isPath = typeList.indexOf(path$p) !== -1, isBool = typeList.indexOf(Boolean) !== -1, isString = typeList.indexOf(String) !== -1, isNumber2 = typeList.indexOf(Number) !== -1;
@@ -5145,6 +5145,7 @@ const fs$j = require$$0__default$1.default, path$p = require$$0__default.default
5145
5145
  if (isBool && !isString && field === "")
5146
5146
  return !0;
5147
5147
  switch (field) {
5148
+ // eslint-disable-line default-case
5148
5149
  case "true":
5149
5150
  return !0;
5150
5151
  case "false":
@@ -5186,6 +5187,7 @@ const fs$j = require$$0__default$1.default, path$p = require$$0__default.default
5186
5187
  util$8.envReplace = envReplace;
5187
5188
  util$8.findPrefix = findPrefix;
5188
5189
  util$8.parseField = parseField;
5190
+ util$8.parseKey = parseKey;
5189
5191
  var types$2 = {}, hasRequiredTypes$1;
5190
5192
  function requireTypes$1() {
5191
5193
  if (hasRequiredTypes$1) return types$2;
@@ -5327,8 +5329,10 @@ class Conf extends ConfigChain {
5327
5329
  // https://github.com/npm/cli/blob/latest/lib/config/core.js#L326-L338
5328
5330
  add(data, marker) {
5329
5331
  try {
5330
- for (const x of Object.keys(data))
5331
- data[x] = this._parseField(data[x], x);
5332
+ for (const [key2, value] of Object.entries(data)) {
5333
+ const substKey = util$7.parseKey(key2);
5334
+ substKey !== key2 && delete data[key2], data[substKey] = this._parseField(value, substKey);
5335
+ }
5332
5336
  } catch (error2) {
5333
5337
  throw error2;
5334
5338
  }
@@ -5345,7 +5349,7 @@ class Conf extends ConfigChain {
5345
5349
  } catch (error2) {
5346
5350
  if (error2.code === "ENOENT")
5347
5351
  this.add({}, marker);
5348
- else
5352
+ else if (error2.code !== "EISDIR")
5349
5353
  return `Issue while reading "${file2}". ${error2.message}`;
5350
5354
  }
5351
5355
  }
@@ -5354,7 +5358,10 @@ class Conf extends ConfigChain {
5354
5358
  env = env || process.env;
5355
5359
  const conf2 = {};
5356
5360
  return Object.keys(env).filter((x) => /^npm_config_/i.test(x)).forEach((x) => {
5357
- env[x] && (conf2[envKeyToSetting(x.substr(11))] = env[x]);
5361
+ if (!env[x])
5362
+ return;
5363
+ const key2 = envKeyToSetting(x.substr(11)), rawVal = env[x];
5364
+ conf2[key2] = deserializeEnvVal(key2, rawVal);
5358
5365
  }), super.addEnv("", conf2, "env");
5359
5366
  }
5360
5367
  // https://github.com/npm/cli/blob/latest/lib/config/load-prefix.js
@@ -5418,6 +5425,20 @@ class Conf extends ConfigChain {
5418
5425
  }
5419
5426
  }
5420
5427
  }
5428
+ function deserializeEnvVal(envKey, envValue) {
5429
+ function deserializeList(envValue2) {
5430
+ const npmConfigSep = `
5431
+
5432
+ `;
5433
+ return envValue2.indexOf(npmConfigSep) ? envValue2.split(npmConfigSep) : envValue2.split(",");
5434
+ }
5435
+ switch (envKey) {
5436
+ case "hoist-pattern":
5437
+ case "public-hoist-pattern":
5438
+ return deserializeList(envValue);
5439
+ }
5440
+ return envValue;
5441
+ }
5421
5442
  var conf = Conf, defaults$3 = {};
5422
5443
  (function(exports2) {
5423
5444
  const os2 = require$$0__default$2.default, path2 = require$$0__default.default, temp = os2.tmpdir(), uidOrPid = process.getuid ? process.getuid() : process.pid, hasUnicode = () => !0, isWindows2 = process.platform === "win32", osenv = {
@@ -8979,8 +9000,10 @@ function tomlType$1(value) {
8979
9000
  return "inline-table";
8980
9001
  case INLINE_LIST:
8981
9002
  return "inline-list";
9003
+ /* istanbul ignore next */
8982
9004
  case TABLE:
8983
9005
  return "table";
9006
+ /* istanbul ignore next */
8984
9007
  case LIST:
8985
9008
  return "list";
8986
9009
  case FLOAT:
@@ -9909,6 +9932,7 @@ function isInline(value) {
9909
9932
  return value.length === 0 || tomlType(value[0]) !== "table";
9910
9933
  case "table":
9911
9934
  return Object.keys(value).length === 0;
9935
+ /* istanbul ignore next */
9912
9936
  default:
9913
9937
  return !1;
9914
9938
  }
@@ -9964,6 +9988,7 @@ function stringifyInline(value, type2) {
9964
9988
  return stringifyInlineArray(value.filter((_2) => tomlType(_2) !== "null" && tomlType(_2) !== "undefined" && tomlType(_2) !== "nan"));
9965
9989
  case "table":
9966
9990
  return stringifyInlineTable(value);
9991
+ /* istanbul ignore next */
9967
9992
  default:
9968
9993
  throw typeError(type2);
9969
9994
  }
@@ -12303,11 +12328,14 @@ function parse$b(pattern, isSub) {
12303
12328
  continue;
12304
12329
  }
12305
12330
  switch (c2) {
12331
+ /* istanbul ignore next */
12306
12332
  case "/":
12307
12333
  return !1;
12308
12334
  case "\\":
12309
12335
  clearStateChar(), escaping = !0;
12310
12336
  continue;
12337
+ // the various stateChar values
12338
+ // for the "extglob" stuff.
12311
12339
  case "?":
12312
12340
  case "*":
12313
12341
  case "+":
@@ -12352,6 +12380,7 @@ function parse$b(pattern, isSub) {
12352
12380
  }
12353
12381
  clearStateChar(), re += "|";
12354
12382
  continue;
12383
+ // these are mostly the same in regexp and glob
12355
12384
  case "[":
12356
12385
  if (clearStateChar(), inClass) {
12357
12386
  re += "\\" + c2;
@@ -15150,6 +15179,7 @@ globstar while`, file2, fr, pattern, pr, swallowee), this.matchOne(file2.slice(f
15150
15179
  continue;
15151
15180
  }
15152
15181
  switch (c2) {
15182
+ /* istanbul ignore next */
15153
15183
  case "/":
15154
15184
  return !1;
15155
15185
  case "\\":
@@ -15159,6 +15189,8 @@ globstar while`, file2, fr, pattern, pr, swallowee), this.matchOne(file2.slice(f
15159
15189
  }
15160
15190
  clearStateChar(), escaping = !0;
15161
15191
  continue;
15192
+ // the various stateChar values
15193
+ // for the "extglob" stuff.
15162
15194
  case "?":
15163
15195
  case "*":
15164
15196
  case "+":
@@ -15207,6 +15239,7 @@ globstar while`, file2, fr, pattern, pr, swallowee), this.matchOne(file2.slice(f
15207
15239
  clearStateChar(), re += "|", plEntry.start === 0 && plEntry.type !== "!" && (dotTravAllowed = !0, re += subPatternStart(pattern.slice(i2 + 1)));
15208
15240
  continue;
15209
15241
  }
15242
+ // these are mostly the same in regexp and glob
15210
15243
  case "[":
15211
15244
  if (clearStateChar(), inClass) {
15212
15245
  re += "\\" + c2;
@@ -15487,6 +15520,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
15487
15520
  n++;
15488
15521
  var prefix;
15489
15522
  switch (n) {
15523
+ // if not, then this is rather simple
15490
15524
  case pattern.length:
15491
15525
  this._processSimple(pattern.join("/"), index);
15492
15526
  return;
@@ -15582,6 +15616,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
15582
15616
  }, GlobSync.prototype._readdirError = function(f2, er) {
15583
15617
  switch (er.code) {
15584
15618
  case "ENOTSUP":
15619
+ // https://github.com/isaacs/node-glob/issues/205
15585
15620
  case "ENOTDIR":
15586
15621
  var abs = this._makeAbs(f2);
15587
15622
  if (this.cache[abs] = "FILE", abs === this.cwdAbs) {
@@ -15590,6 +15625,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
15590
15625
  }
15591
15626
  break;
15592
15627
  case "ENOENT":
15628
+ // not terribly unusual
15593
15629
  case "ELOOP":
15594
15630
  case "ENAMETOOLONG":
15595
15631
  case "UNKNOWN":
@@ -15880,6 +15916,7 @@ function requireGlob$1() {
15880
15916
  n++;
15881
15917
  var prefix;
15882
15918
  switch (n) {
15919
+ // if not, then this is rather simple
15883
15920
  case pattern.length:
15884
15921
  this._processSimple(pattern.join("/"), index, cb);
15885
15922
  return;
@@ -15996,6 +16033,7 @@ function requireGlob$1() {
15996
16033
  if (!this.aborted) {
15997
16034
  switch (er.code) {
15998
16035
  case "ENOTSUP":
16036
+ // https://github.com/isaacs/node-glob/issues/205
15999
16037
  case "ENOTDIR":
16000
16038
  var abs = this._makeAbs(f2);
16001
16039
  if (this.cache[abs] = "FILE", abs === this.cwdAbs) {
@@ -16004,6 +16042,7 @@ function requireGlob$1() {
16004
16042
  }
16005
16043
  break;
16006
16044
  case "ENOENT":
16045
+ // not terribly unusual
16007
16046
  case "ELOOP":
16008
16047
  case "ENAMETOOLONG":
16009
16048
  case "UNKNOWN":
@@ -21653,6 +21692,7 @@ const path$8 = require$$0__default.default, pathExists$3 = pathExistsExports, lo
21653
21692
  var whichPm = async function(pkgPath) {
21654
21693
  const modulesPath = path$8.join(pkgPath, "node_modules");
21655
21694
  if (await pathExists$3(path$8.join(modulesPath, ".yarn-integrity"))) return { name: "yarn" };
21695
+ if (await pathExists$3(path$8.join(pkgPath, "bun.lockb"))) return { name: "bun" };
21656
21696
  try {
21657
21697
  const modules = await loadYamlFile(path$8.join(modulesPath, ".modules.yaml"));
21658
21698
  return toNameAndVersion(modules.packageManager);
@@ -23601,6 +23641,7 @@ function requireTypes() {
23601
23641
  switch (len) {
23602
23642
  case 0:
23603
23643
  return "";
23644
+ // If there's only one initial capital letter, just lower-case it.
23604
23645
  case 1:
23605
23646
  return upperCasePrefix.toLowerCase();
23606
23647
  default:
@@ -30630,11 +30671,15 @@ function requireLines() {
30630
30671
  break;
30631
30672
  }
30632
30673
  case 11:
30674
+ // '\v'
30633
30675
  case 12:
30676
+ // '\f'
30634
30677
  case 13:
30678
+ // '\r'
30635
30679
  case 65279:
30636
30680
  break;
30637
30681
  case 32:
30682
+ // ' '
30638
30683
  default:
30639
30684
  count2 += 1;
30640
30685
  break;
@@ -31136,6 +31181,7 @@ function requireFastPath() {
31136
31181
  return parent.type === "NullableTypeAnnotation";
31137
31182
  case "Literal":
31138
31183
  return parent.type === "MemberExpression" && isNumber2.check(node.value) && name === "object" && parent.object === node;
31184
+ // Babel 6 Literal split
31139
31185
  case "NumericLiteral":
31140
31186
  return parent.type === "MemberExpression" && name === "object" && parent.object === node;
31141
31187
  case "YieldExpression":
@@ -31521,6 +31567,7 @@ function requirePrinter() {
31521
31567
  return printStatementSequence(bodyPath, options2, print);
31522
31568
  }, "body")), (0, lines_1.concat)(parts);
31523
31569
  case "Noop":
31570
+ // Babel extension.
31524
31571
  case "EmptyStatement":
31525
31572
  return (0, lines_1.fromString)("");
31526
31573
  case "ExpressionStatement":
@@ -31568,6 +31615,7 @@ function requirePrinter() {
31568
31615
  case "SpreadElement":
31569
31616
  case "SpreadElementPattern":
31570
31617
  case "RestProperty":
31618
+ // Babel 6 for ObjectPattern
31571
31619
  case "SpreadProperty":
31572
31620
  case "SpreadPropertyPattern":
31573
31621
  case "ObjectTypeSpreadProperty":
@@ -31625,6 +31673,10 @@ function requirePrinter() {
31625
31673
  return path2.call(print, "exported");
31626
31674
  case "Import":
31627
31675
  return (0, lines_1.fromString)("import", options2);
31676
+ // Recast and ast-types currently support dynamic import(...) using
31677
+ // either this dedicated ImportExpression type or a CallExpression
31678
+ // whose callee has type Import.
31679
+ // https://github.com/benjamn/ast-types/pull/365#issuecomment-605214486
31628
31680
  case "ImportExpression":
31629
31681
  return (0, lines_1.concat)(["import(", path2.call(print, "source"), ")"]);
31630
31682
  case "ImportDeclaration": {
@@ -31653,6 +31705,7 @@ function requirePrinter() {
31653
31705
  return (0, lines_1.concat)([path2.call(print, "key"), ": ", path2.call(print, "value")]);
31654
31706
  case "StaticBlock":
31655
31707
  parts.push("static ");
31708
+ // Intentionally fall through to BlockStatement below.
31656
31709
  case "BlockStatement": {
31657
31710
  var naked_1 = path2.call(function(bodyPath) {
31658
31711
  return printStatementSequence(bodyPath, options2, print);
@@ -31678,6 +31731,7 @@ function requirePrinter() {
31678
31731
  return parts.push(path2.call(print, "callee")), n.typeParameters && parts.push(path2.call(print, "typeParameters")), n.typeArguments && parts.push(path2.call(print, "typeArguments")), types2.getFieldValue(n, "optional") && parts.push("?."), parts.push(printArgumentsList(path2, options2, print)), (0, lines_1.concat)(parts);
31679
31732
  case "RecordExpression":
31680
31733
  parts.push("#");
31734
+ // Intentionally fall through to printing the object literal...
31681
31735
  case "ObjectExpression":
31682
31736
  case "ObjectPattern":
31683
31737
  case "ObjectTypeAnnotation": {
@@ -31717,6 +31771,7 @@ function requirePrinter() {
31717
31771
  path2.call(print, "pattern")
31718
31772
  ]);
31719
31773
  case "ObjectProperty":
31774
+ // Babel 6
31720
31775
  case "Property": {
31721
31776
  if (n.method || n.kind === "get" || n.kind === "set")
31722
31777
  return printMethod(path2, options2, print);
@@ -31726,7 +31781,9 @@ function requirePrinter() {
31726
31781
  return n.computed ? parts.push("[", key2, "]") : parts.push(key2), (!n.shorthand || n.key.name !== n.value.name) && parts.push(": ", path2.call(print, "value")), (0, lines_1.concat)(parts);
31727
31782
  }
31728
31783
  case "ClassMethod":
31784
+ // Babel 6
31729
31785
  case "ObjectMethod":
31786
+ // Babel 6
31730
31787
  case "ClassPrivateMethod":
31731
31788
  case "TSDeclareMethod":
31732
31789
  return printMethod(path2, options2, print);
@@ -31736,6 +31793,7 @@ function requirePrinter() {
31736
31793
  return (0, lines_1.concat)(["@", path2.call(print, "expression")]);
31737
31794
  case "TupleExpression":
31738
31795
  parts.push("#");
31796
+ // Intentionally fall through to printing the tuple elements...
31739
31797
  case "ArrayExpression":
31740
31798
  case "ArrayPattern": {
31741
31799
  var elems = n.elements, len_2 = elems.length, printed_1 = path2.map(print, "elements"), joined = (0, lines_1.fromString)(", ").join(printed_1), oneLine_2 = joined.getLineLength(1) <= options2.wrapColumn;
@@ -31770,6 +31828,7 @@ function requirePrinter() {
31770
31828
  case "StringLiteral":
31771
31829
  return (0, lines_1.fromString)(nodeStr(n.value, options2));
31772
31830
  case "BooleanLiteral":
31831
+ // Babel 6 Literal split
31773
31832
  case "Literal":
31774
31833
  return (0, lines_1.fromString)(getPossibleRaw(n) || (typeof n.value == "string" ? nodeStr(n.value, options2) : n.value), options2);
31775
31834
  case "Directive":
@@ -31899,6 +31958,7 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
31899
31958
  `
31900
31959
  }`
31901
31960
  ]);
31961
+ // Note: ignoring n.lexical because it has no printing consequences.
31902
31962
  case "SwitchCase":
31903
31963
  return n.test ? parts.push("case ", path2.call(print, "test"), ":") : parts.push("default:"), n.consequent.length > 0 && parts.push(`
31904
31964
  `, path2.call(function(consequentPath) {
@@ -31906,6 +31966,7 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
31906
31966
  }, "consequent").indent(options2.tabWidth)), (0, lines_1.concat)(parts);
31907
31967
  case "DebuggerStatement":
31908
31968
  return (0, lines_1.fromString)("debugger;");
31969
+ // JSX extensions below.
31909
31970
  case "JSXAttribute":
31910
31971
  return parts.push(path2.call(print, "name")), n.value && parts.push("=", path2.call(print, "value")), (0, lines_1.concat)(parts);
31911
31972
  case "JSXIdentifier":
@@ -32012,6 +32073,8 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32012
32073
  }
32013
32074
  case "TaggedTemplateExpression":
32014
32075
  return (0, lines_1.concat)([path2.call(print, "tag"), path2.call(print, "quasi")]);
32076
+ // These types are unprintable because they serve as abstract
32077
+ // supertypes for other (printable) types.
32015
32078
  case "Node":
32016
32079
  case "Printable":
32017
32080
  case "SourceLocation":
@@ -32024,22 +32087,32 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32024
32087
  case "Specifier":
32025
32088
  case "NamedSpecifier":
32026
32089
  case "Comment":
32090
+ // Supertype of Block and Line
32027
32091
  case "Flow":
32092
+ // Supertype of all Flow AST node types
32028
32093
  case "FlowType":
32094
+ // Supertype of all Flow types
32029
32095
  case "FlowPredicate":
32096
+ // Supertype of InferredPredicate and DeclaredPredicate
32030
32097
  case "MemberTypeAnnotation":
32098
+ // Flow
32031
32099
  case "Type":
32100
+ // Flow
32032
32101
  case "TSHasOptionalTypeParameterInstantiation":
32033
32102
  case "TSHasOptionalTypeParameters":
32034
32103
  case "TSHasOptionalTypeAnnotation":
32035
32104
  case "ChainElement":
32036
32105
  throw new Error("unprintable type: " + JSON.stringify(n.type));
32037
32106
  case "CommentBlock":
32107
+ // Babel block comment.
32038
32108
  case "Block":
32039
32109
  return (0, lines_1.concat)(["/*", (0, lines_1.fromString)(n.value, options2), "*/"]);
32040
32110
  case "CommentLine":
32111
+ // Babel line comment.
32041
32112
  case "Line":
32042
32113
  return (0, lines_1.concat)(["//", (0, lines_1.fromString)(n.value, options2)]);
32114
+ // Type Annotations for Facebook Flow, typically stripped out or
32115
+ // transformed away before printing.
32043
32116
  case "TypeAnnotation":
32044
32117
  return n.typeAnnotation ? (n.typeAnnotation.type !== "FunctionTypeAnnotation" && parts.push(": "), parts.push(path2.call(print, "typeAnnotation")), (0, lines_1.concat)(parts)) : (0, lines_1.fromString)("");
32045
32118
  case "ExistentialTypeParam":
@@ -32146,6 +32219,7 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32146
32219
  ]);
32147
32220
  case "DeclareInterface":
32148
32221
  parts.push("declare ");
32222
+ // Fall through to InterfaceDeclaration...
32149
32223
  case "InterfaceDeclaration":
32150
32224
  case "TSInterfaceDeclaration":
32151
32225
  return n.declare && parts.push("declare "), parts.push("interface ", path2.call(print, "id"), path2.call(print, "typeParameters"), " "), n.extends && n.extends.length > 0 && parts.push("extends ", (0, lines_1.fromString)(", ").join(path2.map(print, "extends")), " "), n.body && parts.push(path2.call(print, "body")), (0, lines_1.concat)(parts);
@@ -32204,6 +32278,7 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32204
32278
  return (0, lines_1.fromString)("string", options2);
32205
32279
  case "DeclareTypeAlias":
32206
32280
  parts.push("declare ");
32281
+ // Fall through to TypeAlias...
32207
32282
  case "TypeAlias":
32208
32283
  return (0, lines_1.concat)([
32209
32284
  "type ",
@@ -32215,6 +32290,7 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32215
32290
  ]);
32216
32291
  case "DeclareOpaqueType":
32217
32292
  parts.push("declare ");
32293
+ // Fall through to OpaqueType...
32218
32294
  case "OpaqueType":
32219
32295
  return parts.push("opaque type ", path2.call(print, "id"), path2.call(print, "typeParameters")), n.supertype && parts.push(": ", path2.call(print, "supertype")), n.impltype && parts.push(" = ", path2.call(print, "impltype")), parts.push(";"), (0, lines_1.concat)(parts);
32220
32296
  case "TypeCastExpression":
@@ -32259,6 +32335,7 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32259
32335
  return (0, lines_1.fromString)("symbol", options2);
32260
32336
  case "BigIntTypeAnnotation":
32261
32337
  return (0, lines_1.fromString)("bigint", options2);
32338
+ // Type Annotations for TypeScript (when using Babylon as parser)
32262
32339
  case "TSType":
32263
32340
  throw new Error("unprintable type: " + JSON.stringify(n.type));
32264
32341
  case "TSNumberKeyword":
@@ -32487,19 +32564,33 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
32487
32564
  }
32488
32565
  case "TSInstantiationExpression":
32489
32566
  return parts.push(path2.call(print, "expression"), path2.call(print, "typeParameters")), (0, lines_1.concat)(parts);
32567
+ // https://github.com/babel/babel/pull/10148
32490
32568
  case "V8IntrinsicIdentifier":
32491
32569
  return (0, lines_1.concat)(["%", path2.call(print, "name")]);
32570
+ // https://github.com/babel/babel/pull/13191
32492
32571
  case "TopicReference":
32493
32572
  return (0, lines_1.fromString)("#");
32573
+ // Unhandled types below. If encountered, nodes of these types should
32574
+ // be either left alone or desugared into AST types that are fully
32575
+ // supported by the pretty-printer.
32494
32576
  case "ClassHeritage":
32577
+ // TODO
32495
32578
  case "ComprehensionBlock":
32579
+ // TODO
32496
32580
  case "ComprehensionExpression":
32581
+ // TODO
32497
32582
  case "Glob":
32583
+ // TODO
32498
32584
  case "GeneratorExpression":
32585
+ // TODO
32499
32586
  case "LetStatement":
32587
+ // TODO
32500
32588
  case "LetExpression":
32589
+ // TODO
32501
32590
  case "GraphExpression":
32591
+ // TODO
32502
32592
  case "GraphIndexExpression":
32593
+ // TODO
32503
32594
  case "XMLDefaultDeclaration":
32504
32595
  case "XMLAnyName":
32505
32596
  case "XMLQualifiedIdentifier":
@@ -42559,6 +42650,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
42559
42650
  n++;
42560
42651
  var prefix;
42561
42652
  switch (n) {
42653
+ // if not, then this is rather simple
42562
42654
  case pattern.length:
42563
42655
  this._processSimple(pattern.join("/"), index);
42564
42656
  return;
@@ -42654,6 +42746,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
42654
42746
  }, GlobSync.prototype._readdirError = function(f2, er) {
42655
42747
  switch (er.code) {
42656
42748
  case "ENOTSUP":
42749
+ // https://github.com/isaacs/node-glob/issues/205
42657
42750
  case "ENOTDIR":
42658
42751
  var abs = this._makeAbs(f2);
42659
42752
  if (this.cache[abs] = "FILE", abs === this.cwdAbs) {
@@ -42662,6 +42755,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
42662
42755
  }
42663
42756
  break;
42664
42757
  case "ENOENT":
42758
+ // not terribly unusual
42665
42759
  case "ELOOP":
42666
42760
  case "ENAMETOOLONG":
42667
42761
  case "UNKNOWN":
@@ -42868,6 +42962,7 @@ function requireGlob() {
42868
42962
  n++;
42869
42963
  var prefix;
42870
42964
  switch (n) {
42965
+ // if not, then this is rather simple
42871
42966
  case pattern.length:
42872
42967
  this._processSimple(pattern.join("/"), index, cb);
42873
42968
  return;
@@ -42984,6 +43079,7 @@ function requireGlob() {
42984
43079
  if (!this.aborted) {
42985
43080
  switch (er.code) {
42986
43081
  case "ENOTSUP":
43082
+ // https://github.com/isaacs/node-glob/issues/205
42987
43083
  case "ENOTDIR":
42988
43084
  var abs = this._makeAbs(f2);
42989
43085
  if (this.cache[abs] = "FILE", abs === this.cwdAbs) {
@@ -42992,6 +43088,7 @@ function requireGlob() {
42992
43088
  }
42993
43089
  break;
42994
43090
  case "ENOENT":
43091
+ // not terribly unusual
42995
43092
  case "ELOOP":
42996
43093
  case "ENAMETOOLONG":
42997
43094
  case "UNKNOWN":