@rsbuild/core 1.2.10 → 1.2.12

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.
Files changed (39) hide show
  1. package/compiled/chokidar/index.d.ts +61 -23
  2. package/compiled/chokidar/index.js +71 -56
  3. package/compiled/css-loader/index.js +309 -195
  4. package/compiled/html-rspack-plugin/index.js +14 -14
  5. package/compiled/http-proxy-middleware/index.d.ts +1 -1
  6. package/compiled/launch-editor-middleware/index.js +9 -6
  7. package/compiled/mrmime/index.js +4 -0
  8. package/compiled/mrmime/package.json +1 -1
  9. package/compiled/postcss/index.js +194 -194
  10. package/compiled/postcss/package.json +1 -1
  11. package/compiled/postcss-load-config/index.js +11 -11
  12. package/compiled/postcss-loader/index.js +9 -9
  13. package/compiled/rsbuild-dev-middleware/index.js +25 -25
  14. package/compiled/rspack-manifest-plugin/index.js +4 -4
  15. package/compiled/sirv/index.js +8 -4
  16. package/compiled/sirv/package.json +1 -1
  17. package/compiled/style-loader/index.js +10 -10
  18. package/compiled/tinyglobby/index.d.ts +1 -0
  19. package/compiled/tinyglobby/index.js +266 -142
  20. package/compiled/tinyglobby/package.json +1 -1
  21. package/compiled/webpack-bundle-analyzer/index.js +6 -2
  22. package/compiled/ws/index.js +50 -49
  23. package/compiled/ws/package.json +1 -1
  24. package/dist/client/hmr.js +2 -2
  25. package/dist/index.cjs +95 -60
  26. package/dist/index.js +91 -56
  27. package/dist-types/helpers/index.d.ts +3 -3
  28. package/dist-types/index.d.ts +1 -1
  29. package/dist-types/loadEnv.d.ts +16 -4
  30. package/dist-types/logger.d.ts +14 -0
  31. package/dist-types/server/devServer.d.ts +2 -1
  32. package/dist-types/server/socketServer.d.ts +4 -2
  33. package/dist-types/types/config.d.ts +79 -43
  34. package/dist-types/types/rspack.d.ts +1 -1
  35. package/package.json +11 -11
  36. package/compiled/jiti/index.d.ts +0 -1
  37. package/compiled/jiti/index.js +0 -416
  38. package/compiled/jiti/license +0 -21
  39. package/compiled/jiti/package.json +0 -1
@@ -370,12 +370,12 @@
370
370
  };
371
371
  };
372
372
  },
373
- 55: (module, __unused_webpack_exports, __nccwpck_require__) => {
373
+ 838: (module, __unused_webpack_exports, __nccwpck_require__) => {
374
374
  const { resolve } = __nccwpck_require__(760);
375
375
  const config = __nccwpck_require__(920);
376
- const loadOptions = __nccwpck_require__(149);
377
- const loadPlugins = __nccwpck_require__(443);
378
- const req = __nccwpck_require__(59);
376
+ const loadOptions = __nccwpck_require__(672);
377
+ const loadPlugins = __nccwpck_require__(934);
378
+ const req = __nccwpck_require__(606);
379
379
  const interopRequireDefault = (obj) =>
380
380
  obj && obj.__esModule ? obj : { default: obj };
381
381
  async function processResult(ctx, result) {
@@ -489,8 +489,8 @@
489
489
  * @requires ./plugins
490
490
  */ module.exports = rc;
491
491
  },
492
- 149: (module, __unused_webpack_exports, __nccwpck_require__) => {
493
- const req = __nccwpck_require__(59);
492
+ 672: (module, __unused_webpack_exports, __nccwpck_require__) => {
493
+ const req = __nccwpck_require__(606);
494
494
  async function options(config, file) {
495
495
  if (config.parser && typeof config.parser === "string") {
496
496
  try {
@@ -523,8 +523,8 @@
523
523
  }
524
524
  module.exports = options;
525
525
  },
526
- 443: (module, __unused_webpack_exports, __nccwpck_require__) => {
527
- const req = __nccwpck_require__(59);
526
+ 934: (module, __unused_webpack_exports, __nccwpck_require__) => {
527
+ const req = __nccwpck_require__(606);
528
528
  async function load(plugin, options, file) {
529
529
  try {
530
530
  if (
@@ -579,7 +579,7 @@
579
579
  }
580
580
  module.exports = plugins;
581
581
  },
582
- 59: (module, __unused_webpack_exports, __nccwpck_require__) => {
582
+ 606: (module, __unused_webpack_exports, __nccwpck_require__) => {
583
583
  const { createRequire } = __nccwpck_require__(995);
584
584
  const { pathToFileURL } = __nccwpck_require__(136);
585
585
  const TS_EXT_RE = /\.[mc]?ts$/;
@@ -609,7 +609,7 @@
609
609
  }
610
610
  if (jiti === undefined) {
611
611
  try {
612
- jiti = (await import("../jiti/index.js")).default;
612
+ jiti = (await import("jiti")).default;
613
613
  } catch (error) {
614
614
  importError.push(error);
615
615
  }
@@ -740,6 +740,6 @@
740
740
  })();
741
741
  if (typeof __nccwpck_require__ !== "undefined")
742
742
  __nccwpck_require__.ab = __dirname + "/";
743
- var __webpack_exports__ = __nccwpck_require__(55);
743
+ var __webpack_exports__ = __nccwpck_require__(838);
744
744
  module.exports = __webpack_exports__;
745
745
  })();
@@ -1,15 +1,15 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 292: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- module.exports = __nccwpck_require__(194)["default"];
4
+ 384: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ module.exports = __nccwpck_require__(534)["default"];
6
6
  },
7
- 194: (__unused_webpack_module, exports, __nccwpck_require__) => {
7
+ 534: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
8
  var __webpack_unused_export__;
9
9
  __webpack_unused_export__ = { value: true };
10
10
  exports["default"] = loader;
11
11
  var _path = _interopRequireDefault(__nccwpck_require__(928));
12
- var _utils = __nccwpck_require__(131);
12
+ var _utils = __nccwpck_require__(519);
13
13
  function _interopRequireDefault(obj) {
14
14
  return obj && obj.__esModule ? obj : { default: obj };
15
15
  }
@@ -179,7 +179,7 @@
179
179
  callback(null, result.css, map, { ast });
180
180
  }
181
181
  },
182
- 131: (module, exports, __nccwpck_require__) => {
182
+ 519: (module, exports, __nccwpck_require__) => {
183
183
  module = __nccwpck_require__.nmd(module);
184
184
  Object.defineProperty(exports, "__esModule", { value: true });
185
185
  exports.exec = exec;
@@ -309,7 +309,7 @@
309
309
  };
310
310
  if (!tsLoader) {
311
311
  const opts = { interopDefault: true };
312
- const jiti = __nccwpck_require__(966)(__filename, opts);
312
+ const jiti = __nccwpck_require__(549)(__filename, opts);
313
313
  tsLoader = (filepath) => jiti(filepath);
314
314
  }
315
315
  loaders[".cts"] = tsLoader;
@@ -669,8 +669,8 @@
669
669
  return obj;
670
670
  }
671
671
  },
672
- 966: (module) => {
673
- module.exports = require("../jiti");
672
+ 549: (module) => {
673
+ module.exports = require("jiti");
674
674
  },
675
675
  339: (module) => {
676
676
  module.exports = require("module");
@@ -716,6 +716,6 @@
716
716
  })();
717
717
  if (typeof __nccwpck_require__ !== "undefined")
718
718
  __nccwpck_require__.ab = __dirname + "/";
719
- var __webpack_exports__ = __nccwpck_require__(292);
719
+ var __webpack_exports__ = __nccwpck_require__(384);
720
720
  module.exports = __webpack_exports__;
721
721
  })();
@@ -4449,14 +4449,14 @@
4449
4449
  return a.start - b.start;
4450
4450
  }
4451
4451
  },
4452
- 5152: (module, __unused_webpack_exports, __nccwpck_require__) => {
4452
+ 6230: (module, __unused_webpack_exports, __nccwpck_require__) => {
4453
4453
  "use strict";
4454
- const middleware = __nccwpck_require__(3678);
4455
- const getFilenameFromUrl = __nccwpck_require__(7114);
4456
- const setupHooks = __nccwpck_require__(9447);
4457
- const setupWriteToDisk = __nccwpck_require__(5672);
4458
- const setupOutputFileSystem = __nccwpck_require__(6673);
4459
- const ready = __nccwpck_require__(5653);
4454
+ const middleware = __nccwpck_require__(9228);
4455
+ const getFilenameFromUrl = __nccwpck_require__(7508);
4456
+ const setupHooks = __nccwpck_require__(4425);
4457
+ const setupWriteToDisk = __nccwpck_require__(6998);
4458
+ const setupOutputFileSystem = __nccwpck_require__(5063);
4459
+ const ready = __nccwpck_require__(7875);
4460
4460
  const noop = () => {};
4461
4461
  function wdm(compiler, options = {}) {
4462
4462
  const context = {
@@ -4511,14 +4511,14 @@
4511
4511
  }
4512
4512
  module.exports = wdm;
4513
4513
  },
4514
- 3678: (module, __unused_webpack_exports, __nccwpck_require__) => {
4514
+ 9228: (module, __unused_webpack_exports, __nccwpck_require__) => {
4515
4515
  "use strict";
4516
4516
  const mrmime = __nccwpck_require__(8311);
4517
4517
  const onFinishedStream = __nccwpck_require__(21);
4518
- const getFilenameFromUrl = __nccwpck_require__(7114);
4519
- const ready = __nccwpck_require__(5653);
4520
- const parseTokenList = __nccwpck_require__(5832);
4521
- const memorize = __nccwpck_require__(4590);
4518
+ const getFilenameFromUrl = __nccwpck_require__(7508);
4519
+ const ready = __nccwpck_require__(7875);
4520
+ const parseTokenList = __nccwpck_require__(3086);
4521
+ const memorize = __nccwpck_require__(4504);
4522
4522
  async function getEtag(stat) {
4523
4523
  const mtime = stat.mtime.getTime().toString(16);
4524
4524
  const size = stat.size.toString(16);
@@ -4610,7 +4610,7 @@
4610
4610
  return;
4611
4611
  }
4612
4612
  function sendError(status, options) {
4613
- const escapeHtml = __nccwpck_require__(1410);
4613
+ const escapeHtml = __nccwpck_require__(600);
4614
4614
  const content = statuses[status] || String(status);
4615
4615
  const document = Buffer.from(
4616
4616
  `<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>${escapeHtml(content)}</pre>\n</body>\n</html>`,
@@ -4915,7 +4915,7 @@
4915
4915
  }
4916
4916
  module.exports = wrapper;
4917
4917
  },
4918
- 1410: (module) => {
4918
+ 600: (module) => {
4919
4919
  "use strict";
4920
4920
  const matchHtmlRegExp = /["'&<>]/;
4921
4921
  function escapeHtml(string) {
@@ -4960,13 +4960,13 @@
4960
4960
  }
4961
4961
  module.exports = escapeHtml;
4962
4962
  },
4963
- 7114: (module, __unused_webpack_exports, __nccwpck_require__) => {
4963
+ 7508: (module, __unused_webpack_exports, __nccwpck_require__) => {
4964
4964
  "use strict";
4965
4965
  const path = __nccwpck_require__(6928);
4966
4966
  const { parse } = __nccwpck_require__(7016);
4967
4967
  const querystring = __nccwpck_require__(3480);
4968
- const getPaths = __nccwpck_require__(276);
4969
- const memorize = __nccwpck_require__(4590);
4968
+ const getPaths = __nccwpck_require__(7938);
4969
+ const memorize = __nccwpck_require__(4504);
4970
4970
  const memoizedParse = memorize(parse, undefined, (value) => {
4971
4971
  if (value.pathname) {
4972
4972
  value.pathname = decode(value.pathname);
@@ -5049,7 +5049,7 @@
5049
5049
  }
5050
5050
  module.exports = getFilenameFromUrl;
5051
5051
  },
5052
- 276: (module) => {
5052
+ 7938: (module) => {
5053
5053
  "use strict";
5054
5054
  function getPaths(context) {
5055
5055
  const { stats, options } = context;
@@ -5070,7 +5070,7 @@
5070
5070
  }
5071
5071
  module.exports = getPaths;
5072
5072
  },
5073
- 4590: (module) => {
5073
+ 4504: (module) => {
5074
5074
  "use strict";
5075
5075
  const cacheStore = new WeakMap();
5076
5076
  function memorize(fn, { cache = new Map() } = {}, callback) {
@@ -5092,7 +5092,7 @@
5092
5092
  }
5093
5093
  module.exports = memorize;
5094
5094
  },
5095
- 5832: (module) => {
5095
+ 3086: (module) => {
5096
5096
  "use strict";
5097
5097
  function parseTokenList(str) {
5098
5098
  let end = 0;
@@ -5125,7 +5125,7 @@
5125
5125
  }
5126
5126
  module.exports = parseTokenList;
5127
5127
  },
5128
- 5653: (module) => {
5128
+ 7875: (module) => {
5129
5129
  "use strict";
5130
5130
  function ready(context, callback, req) {
5131
5131
  if (context.state) {
@@ -5140,7 +5140,7 @@
5140
5140
  }
5141
5141
  module.exports = ready;
5142
5142
  },
5143
- 9447: (module) => {
5143
+ 4425: (module) => {
5144
5144
  "use strict";
5145
5145
  function setupHooks(context) {
5146
5146
  function invalid() {
@@ -5172,7 +5172,7 @@
5172
5172
  }
5173
5173
  module.exports = setupHooks;
5174
5174
  },
5175
- 6673: (module, __unused_webpack_exports, __nccwpck_require__) => {
5175
+ 5063: (module, __unused_webpack_exports, __nccwpck_require__) => {
5176
5176
  "use strict";
5177
5177
  const memfs = __nccwpck_require__(5590);
5178
5178
  function setupOutputFileSystem(context) {
@@ -5199,7 +5199,7 @@
5199
5199
  }
5200
5200
  module.exports = setupOutputFileSystem;
5201
5201
  },
5202
- 5672: (module, __unused_webpack_exports, __nccwpck_require__) => {
5202
+ 6998: (module, __unused_webpack_exports, __nccwpck_require__) => {
5203
5203
  "use strict";
5204
5204
  const fs = __nccwpck_require__(9896);
5205
5205
  const path = __nccwpck_require__(6928);
@@ -6185,6 +6185,6 @@
6185
6185
  }
6186
6186
  if (typeof __nccwpck_require__ !== "undefined")
6187
6187
  __nccwpck_require__.ab = __dirname + "/";
6188
- var __webpack_exports__ = __nccwpck_require__(5152);
6188
+ var __webpack_exports__ = __nccwpck_require__(6230);
6189
6189
  module.exports = __webpack_exports__;
6190
6190
  })();
@@ -1,7 +1,7 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 427: (__unused_webpack_module, exports, __nccwpck_require__) => {
4
+ 290: (__unused_webpack_module, exports, __nccwpck_require__) => {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.transformFiles =
7
7
  exports.reduceChunk =
@@ -120,7 +120,7 @@
120
120
  .map(standardizeFilePaths);
121
121
  exports.transformFiles = transformFiles;
122
122
  },
123
- 262: (__unused_webpack_module, exports, __nccwpck_require__) => {
123
+ 491: (__unused_webpack_module, exports, __nccwpck_require__) => {
124
124
  Object.defineProperty(exports, "__esModule", { value: true });
125
125
  exports.normalModuleLoaderHook =
126
126
  exports.getCompilerHooks =
@@ -130,7 +130,7 @@
130
130
  const fs_1 = __nccwpck_require__(896);
131
131
  const path_1 = __nccwpck_require__(928);
132
132
  const lite_tapable_1 = __nccwpck_require__(408);
133
- const helpers_1 = __nccwpck_require__(427);
133
+ const helpers_1 = __nccwpck_require__(290);
134
134
  const compilerHookMap = new WeakMap();
135
135
  const getCompilerHooks = (compiler) => {
136
136
  let hooks = compilerHookMap.get(compiler);
@@ -312,7 +312,7 @@
312
312
  exports.getCompilerHooks =
313
313
  void 0;
314
314
  const path_1 = __nccwpck_require__(928);
315
- const hooks_1 = __nccwpck_require__(262);
315
+ const hooks_1 = __nccwpck_require__(491);
316
316
  Object.defineProperty(exports, "getCompilerHooks", {
317
317
  enumerable: true,
318
318
  get: function () {
@@ -24,7 +24,7 @@
24
24
  }
25
25
  exports.parse = parse;
26
26
  },
27
- 8: (__unused_webpack_module, exports) => {
27
+ 443: (__unused_webpack_module, exports) => {
28
28
  const mimes = {
29
29
  "3g2": "video/3gpp2",
30
30
  "3gp": "video/3gpp",
@@ -181,6 +181,7 @@
181
181
  jsonml: "application/jsonml+json",
182
182
  jsx: "text/jsx",
183
183
  jt: "model/jt",
184
+ jxl: "image/jxl",
184
185
  jxr: "image/jxr",
185
186
  jxra: "image/jxra",
186
187
  jxrs: "image/jxrs",
@@ -201,6 +202,8 @@
201
202
  m1v: "video/mpeg",
202
203
  m21: "application/mp21",
203
204
  m2a: "audio/mpeg",
205
+ m2t: "video/mp2t",
206
+ m2ts: "video/mp2t",
204
207
  m2v: "video/mpeg",
205
208
  m3a: "audio/mpeg",
206
209
  m4a: "audio/mp4",
@@ -261,6 +264,7 @@
261
264
  msm: "application/octet-stream",
262
265
  msp: "application/octet-stream",
263
266
  mtl: "model/mtl",
267
+ mts: "video/mp2t",
264
268
  musd: "application/mmt-usd+xml",
265
269
  mxf: "application/mxf",
266
270
  mxmf: "audio/mobile-xmf",
@@ -469,12 +473,12 @@
469
473
  exports.mimes = mimes;
470
474
  exports.lookup = lookup;
471
475
  },
472
- 571: (module, __unused_webpack_exports, __nccwpck_require__) => {
476
+ 940: (module, __unused_webpack_exports, __nccwpck_require__) => {
473
477
  const fs = __nccwpck_require__(24);
474
478
  const { join, normalize, resolve } = __nccwpck_require__(760);
475
479
  const { totalist } = __nccwpck_require__(794);
476
480
  const { parse } = __nccwpck_require__(847);
477
- const { lookup } = __nccwpck_require__(8);
481
+ const { lookup } = __nccwpck_require__(443);
478
482
  const noop = () => {};
479
483
  function isMatch(uri, arr) {
480
484
  for (let i = 0; i < arr.length; i++) {
@@ -704,6 +708,6 @@
704
708
  }
705
709
  if (typeof __nccwpck_require__ !== "undefined")
706
710
  __nccwpck_require__.ab = __dirname + "/";
707
- var __webpack_exports__ = __nccwpck_require__(571);
711
+ var __webpack_exports__ = __nccwpck_require__(940);
708
712
  module.exports = __webpack_exports__;
709
713
  })();
@@ -1 +1 @@
1
- {"name":"sirv","author":{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"},"version":"3.0.0","license":"MIT","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"sirv","author":{"name":"Luke Edwards","email":"luke@lukeed.com","url":"https://lukeed.com"},"version":"3.0.1","license":"MIT","types":"index.d.ts","type":"commonjs"}
@@ -1,16 +1,16 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 69: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- const loader = __nccwpck_require__(935);
4
+ 127: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ const loader = __nccwpck_require__(689);
6
6
  module.exports = loader.default;
7
7
  },
8
- 935: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
+ 689: (__unused_webpack_module, exports, __nccwpck_require__) => {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports["default"] = void 0;
11
11
  var _path = _interopRequireDefault(__nccwpck_require__(928));
12
- var _utils = __nccwpck_require__(58);
13
- var _options = _interopRequireDefault(__nccwpck_require__(542));
12
+ var _utils = __nccwpck_require__(708);
13
+ var _options = _interopRequireDefault(__nccwpck_require__(20));
14
14
  function _interopRequireDefault(obj) {
15
15
  return obj && obj.__esModule ? obj : { default: obj };
16
16
  }
@@ -104,7 +104,7 @@
104
104
  };
105
105
  var _default = (exports["default"] = loader);
106
106
  },
107
- 196: (module) => {
107
+ 798: (module) => {
108
108
  function isEqualLocals(a, b, isNamedExport) {
109
109
  if ((!a && b) || (a && !b)) {
110
110
  return false;
@@ -130,7 +130,7 @@
130
130
  }
131
131
  module.exports = isEqualLocals;
132
132
  },
133
- 58: (__unused_webpack_module, exports, __nccwpck_require__) => {
133
+ 708: (__unused_webpack_module, exports, __nccwpck_require__) => {
134
134
  Object.defineProperty(exports, "__esModule", { value: true });
135
135
  exports.getExportLazyStyleCode = getExportLazyStyleCode;
136
136
  exports.getExportStyleCode = getExportStyleCode;
@@ -151,7 +151,7 @@
151
151
  exports.getdomAPI = getdomAPI;
152
152
  exports.stringifyRequest = stringifyRequest;
153
153
  var _path = _interopRequireDefault(__nccwpck_require__(928));
154
- var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(196));
154
+ var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(798));
155
155
  function _interopRequireDefault(obj) {
156
156
  return obj && obj.__esModule ? obj : { default: obj };
157
157
  }
@@ -394,7 +394,7 @@
394
394
  928: (module) => {
395
395
  module.exports = require("path");
396
396
  },
397
- 542: (module) => {
397
+ 20: (module) => {
398
398
  module.exports = JSON.parse(
399
399
  '{"title":"Style Loader options","type":"object","properties":{"injectType":{"description":"Allows to setup how styles will be injected into DOM.","link":"https://github.com/webpack-contrib/style-loader#injecttype","enum":["styleTag","singletonStyleTag","autoStyleTag","lazyStyleTag","lazySingletonStyleTag","lazyAutoStyleTag","linkTag"]},"attributes":{"description":"Adds custom attributes to tag.","link":"https://github.com/webpack-contrib/style-loader#attributes","type":"object"},"insert":{"description":"Inserts `<style>`/`<link>` at the given position.","link":"https://github.com/webpack-contrib/style-loader#insert","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"base":{"description":"Sets module ID base for DLLPlugin.","link":"https://github.com/webpack-contrib/style-loader#base","type":"number"},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"styleTagTransform":{"description":"Transform tag and css when insert \'style\' tag into the DOM","link":"https://github.com/webpack-contrib/style-loader#styleTagTransform","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}',
400
400
  );
@@ -422,6 +422,6 @@
422
422
  }
423
423
  if (typeof __nccwpck_require__ !== "undefined")
424
424
  __nccwpck_require__.ab = __dirname + "/";
425
- var __webpack_exports__ = __nccwpck_require__(69);
425
+ var __webpack_exports__ = __nccwpck_require__(127);
426
426
  module.exports = __webpack_exports__;
427
427
  })();
@@ -16,6 +16,7 @@ interface GlobOptions {
16
16
  expandDirectories?: boolean;
17
17
  onlyDirectories?: boolean;
18
18
  onlyFiles?: boolean;
19
+ debug?: boolean;
19
20
  }
20
21
  declare function glob(patterns: string | string[], options?: Omit<GlobOptions, 'patterns'>): Promise<string[]>;
21
22
  declare function glob(options: GlobOptions): Promise<string[]>;