@rsbuild/core 2.0.0-rc.0 → 2.0.0-rc.2

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 (58) hide show
  1. package/compiled/connect-next/package.json +1 -1
  2. package/compiled/css-loader/index.js +2 -2
  3. package/compiled/html-rspack-plugin/index.js +14 -14
  4. package/compiled/http-proxy-middleware/index.d.ts +180 -386
  5. package/compiled/http-proxy-middleware/package.json +1 -1
  6. package/compiled/postcss/index.js +1 -1
  7. package/compiled/postcss/lib/at-rule.d.ts +0 -1
  8. package/compiled/postcss/lib/comment.d.ts +0 -1
  9. package/compiled/postcss/lib/container.d.ts +1 -6
  10. package/compiled/postcss/lib/css-syntax-error.d.ts +0 -1
  11. package/compiled/postcss/lib/declaration.d.ts +0 -1
  12. package/compiled/postcss/lib/document.d.ts +0 -1
  13. package/compiled/postcss/lib/fromJSON.d.ts +1 -1
  14. package/compiled/postcss/lib/input.d.ts +0 -1
  15. package/compiled/postcss/lib/lazy-result.d.ts +3 -4
  16. package/compiled/postcss/lib/list.d.ts +1 -1
  17. package/compiled/postcss/lib/no-work-result.d.ts +0 -1
  18. package/compiled/postcss/lib/node.d.ts +0 -1
  19. package/compiled/postcss/lib/parse.d.ts +1 -1
  20. package/compiled/postcss/lib/postcss.d.ts +1 -3
  21. package/compiled/postcss/lib/previous-map.d.ts +0 -1
  22. package/compiled/postcss/lib/processor.d.ts +0 -1
  23. package/compiled/postcss/lib/result.d.ts +0 -1
  24. package/compiled/postcss/lib/root.d.ts +0 -1
  25. package/compiled/postcss/lib/rule.d.ts +12 -12
  26. package/compiled/postcss/lib/stringifier.d.ts +0 -1
  27. package/compiled/postcss/lib/stringify.d.ts +1 -1
  28. package/compiled/postcss/lib/warning.d.ts +0 -1
  29. package/compiled/postcss/license +1 -1
  30. package/compiled/postcss/package.json +1 -1
  31. package/compiled/postcss-loader/index.js +6 -6
  32. package/compiled/rspack-chain/package.json +1 -1
  33. package/compiled/rspack-chain/types/index.d.ts +38 -115
  34. package/dist/1~rslib-runtime.js +1 -1
  35. package/dist/{552.js → 753.js} +143 -196
  36. package/dist/client/hmr.js +23 -10
  37. package/dist/connect-next.js +636 -26
  38. package/dist/connect-next.js.LICENSE.txt +14 -1
  39. package/dist/http-proxy-middleware.js +1169 -1226
  40. package/dist/http-proxy-middleware.js.LICENSE.txt +0 -35
  41. package/dist/index.js +1 -1
  42. package/dist/launch-editor-middleware.js +6 -6
  43. package/dist/manifest-plugin.js +8 -8
  44. package/dist/memfs.js +16 -56
  45. package/dist/tinyglobby.js +279 -127
  46. package/dist/ws.js +2 -2
  47. package/dist-types/client/hmr.d.ts +1 -1
  48. package/dist-types/helpers/index.d.ts +1 -1
  49. package/dist-types/helpers/url.d.ts +1 -1
  50. package/dist-types/pluginHelper.d.ts +1 -8
  51. package/dist-types/server/devServer.d.ts +9 -7
  52. package/dist-types/server/socketServer.d.ts +16 -4
  53. package/dist-types/types/config.d.ts +9 -3
  54. package/dist-types/types/rspack.d.ts +1 -1
  55. package/package.json +11 -11
  56. package/dist/debug.js +0 -503
  57. package/dist-types/plugins/esm.d.ts +0 -2
  58. /package/dist/{552.js.LICENSE.txt → 753.js.LICENSE.txt} +0 -0
@@ -1,31 +1,3 @@
1
- /*!
2
- * Array of passes.
3
- *
4
- * A `pass` is just a function that is executed on `req, res, options`
5
- * so that you can easily add new checks while still keeping the base
6
- * flexible.
7
- */
8
-
9
- /*!
10
- * Array of passes.
11
- *
12
- * A `pass` is just a function that is executed on `req, socket, options`
13
- * so that you can easily add new checks while still keeping the base
14
- * flexible.
15
- */
16
-
17
- /*!
18
- * Caron dimonio, con occhi di bragia
19
- * loro accennando, tutte le raccoglie;
20
- * batte col remo qualunque s’adagia
21
- *
22
- * Charon the demon, with the eyes of glede,
23
- * Beckoning to them, collects them all together,
24
- * Beats with his oar whoever lags behind
25
- *
26
- * Dante - The Divine Comedy (Canto III)
27
- */
28
-
29
1
  /*!
30
2
  * fill-range <https://github.com/jonschlinkert/fill-range>
31
3
  *
@@ -54,13 +26,6 @@
54
26
  * Released under the MIT License.
55
27
  */
56
28
 
57
- /*!
58
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
59
- *
60
- * Copyright (c) 2014-2017, Jon Schlinkert.
61
- * Released under the MIT License.
62
- */
63
-
64
29
  /*!
65
30
  * to-regex-range <https://github.com/micromatch/to-regex-range>
66
31
  *
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { PLUGIN_CSS_NAME, PLUGIN_SWC_NAME, createLogger, createRsbuild, defaultAllowedOrigins, defineConfig, ensureAssetPrefix, loadConfig, loadEnv, logger, mergeRsbuildConfig, rspack, runCLI, version } from "./552.js";
1
+ export { PLUGIN_CSS_NAME, PLUGIN_SWC_NAME, createLogger, createRsbuild, defaultAllowedOrigins, defineConfig, ensureAssetPrefix, loadConfig, loadEnv, logger, mergeRsbuildConfig, rspack, runCLI, version } from "./753.js";
@@ -1,8 +1,8 @@
1
1
  import { __webpack_require__ } from "./1~rslib-runtime.js";
2
- import "./552.js";
2
+ import "./753.js";
3
3
  __webpack_require__.add({
4
4
  "../../node_modules/.pnpm/launch-editor-middleware@2.13.2/node_modules/launch-editor-middleware/index.js" (module, __unused_rspack_exports, __webpack_require__) {
5
- let path = __webpack_require__("path?37f5"), launch = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/index.js");
5
+ let path = __webpack_require__("path?aeb1"), launch = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/index.js");
6
6
  module.exports = (specifiedEditor, srcRoot, onErrorCallback)=>('function' == typeof specifiedEditor && (onErrorCallback = specifiedEditor, specifiedEditor = void 0), 'function' == typeof srcRoot && (onErrorCallback = srcRoot, srcRoot = void 0), srcRoot = srcRoot || process.cwd(), function launchEditorMiddleware(req, res) {
7
7
  let url;
8
8
  try {
@@ -113,7 +113,7 @@ __webpack_require__.add({
113
113
  ];
114
114
  },
115
115
  "../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/get-args.js" (module, __unused_rspack_exports, __webpack_require__) {
116
- let path = __webpack_require__("path?37f5");
116
+ let path = __webpack_require__("path?aeb1");
117
117
  module.exports = function getArgumentsForPosition(editor, fileName, lineNumber, columnNumber = 1) {
118
118
  switch(path.basename(editor).replace(/\.(exe|cmd|bat)$/i, '')){
119
119
  case 'atom':
@@ -210,7 +210,7 @@ __webpack_require__.add({
210
210
  };
211
211
  },
212
212
  "../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/guess.js" (module, __unused_rspack_exports, __webpack_require__) {
213
- let path = __webpack_require__("path?37f5"), shellQuote = __webpack_require__("../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/index.js"), childProcess = __webpack_require__("child_process"), COMMON_EDITORS_MACOS = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/macos.js"), COMMON_EDITORS_LINUX = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/linux.js"), COMMON_EDITORS_WIN = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/windows.js");
213
+ let path = __webpack_require__("path?aeb1"), shellQuote = __webpack_require__("../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/index.js"), childProcess = __webpack_require__("child_process"), COMMON_EDITORS_MACOS = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/macos.js"), COMMON_EDITORS_LINUX = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/linux.js"), COMMON_EDITORS_WIN = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/windows.js");
214
214
  module.exports = function guessEditor(specifiedEditor) {
215
215
  if (specifiedEditor) return shellQuote.parse(specifiedEditor);
216
216
  if (process.env.LAUNCH_EDITOR) return [
@@ -284,7 +284,7 @@ __webpack_require__.add({
284
284
  };
285
285
  },
286
286
  "../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/index.js" (module, __unused_rspack_exports, __webpack_require__) {
287
- let fs = __webpack_require__("fs?cdbd"), os = __webpack_require__("os"), path = __webpack_require__("path?37f5"), colors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"), childProcess = __webpack_require__("child_process"), guessEditor = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/guess.js"), getArgumentsForPosition = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/get-args.js");
287
+ let fs = __webpack_require__("fs?8b28"), os = __webpack_require__("os"), path = __webpack_require__("path?aeb1"), colors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"), childProcess = __webpack_require__("child_process"), guessEditor = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/guess.js"), getArgumentsForPosition = __webpack_require__("../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/get-args.js");
288
288
  function wrapErrorCallback(cb) {
289
289
  return (fileName, errorMessage)=>{
290
290
  console.log(), console.log(colors.red('Could not open ' + path.basename(fileName) + ' in the editor.')), errorMessage && ('.' !== errorMessage[errorMessage.length - 1] && (errorMessage += '.'), console.log(colors.red('The editor process exited with an error: ' + errorMessage))), console.log(), cb && cb(fileName, errorMessage);
@@ -301,7 +301,7 @@ __webpack_require__.add({
301
301
  }
302
302
  let positionRE = /:(\d+)(:(\d+))?$/;
303
303
  function parseFile(file) {
304
- file.startsWith('file://') && (file = __webpack_require__("url?5f07").fileURLToPath(file));
304
+ file.startsWith('file://') && (file = __webpack_require__("url?b918").fileURLToPath(file));
305
305
  let fileName = file.replace(positionRE, ''), match = file.match(positionRE);
306
306
  return {
307
307
  fileName,
@@ -1,9 +1,9 @@
1
1
  import { __webpack_require__ } from "./1~rslib-runtime.js";
2
- import "./552.js";
2
+ import "./753.js";
3
3
  __webpack_require__.add({
4
- "../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.0_@emnapi+core@1.8.1_@emnapi+runtime_36ca8bbe9cc8ea53288c7dff23b25fc0/node_modules/rspack-manifest-plugin/dist/helpers.js" (__unused_rspack_module, exports, __webpack_require__) {
4
+ "../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.1/node_modules/rspack-manifest-plugin/dist/helpers.js" (__unused_rspack_module, exports, __webpack_require__) {
5
5
  exports.transformFiles = exports.reduceChunk = exports.reduceAssets = exports.generateManifest = void 0;
6
- let node_path_1 = __webpack_require__("node:path?815c");
6
+ let node_path_1 = __webpack_require__("node:path?435f");
7
7
  exports.generateManifest = (compilation, files, { generate, seed = {} })=>generate ? generate(seed, files, Array.from(compilation.entrypoints.entries()).reduce((e, [name, entrypoint])=>Object.assign(e, {
8
8
  [name]: entrypoint.getFiles()
9
9
  }), {}), {
@@ -61,9 +61,9 @@ __webpack_require__.add({
61
61
  'sort'
62
62
  ].filter((fname)=>!!options[fname]).reduce((prev, fname)=>prev[fname](options[fname]), files).map(standardizeFilePaths);
63
63
  },
64
- "../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.0_@emnapi+core@1.8.1_@emnapi+runtime_36ca8bbe9cc8ea53288c7dff23b25fc0/node_modules/rspack-manifest-plugin/dist/hooks.js" (__unused_rspack_module, exports, __webpack_require__) {
64
+ "../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.1/node_modules/rspack-manifest-plugin/dist/hooks.js" (__unused_rspack_module, exports, __webpack_require__) {
65
65
  exports.getCompilerHooks = exports.emitHook = exports.beforeRunHook = void 0;
66
- let node_fs_1 = __webpack_require__("node:fs?31c0"), node_path_1 = __webpack_require__("node:path?815c"), lite_tapable_1 = __webpack_require__("../../node_modules/.pnpm/@rspack+lite-tapable@1.1.0/node_modules/@rspack/lite-tapable/dist/index.cjs"), helpers_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.0_@emnapi+core@1.8.1_@emnapi+runtime_36ca8bbe9cc8ea53288c7dff23b25fc0/node_modules/rspack-manifest-plugin/dist/helpers.js"), compilerHookMap = new WeakMap(), getCompilerHooks = (compiler)=>{
66
+ let node_fs_1 = __webpack_require__("node:fs?9592"), node_path_1 = __webpack_require__("node:path?435f"), lite_tapable_1 = __webpack_require__("../../node_modules/.pnpm/@rspack+lite-tapable@1.1.0/node_modules/@rspack/lite-tapable/dist/index.cjs"), helpers_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.1/node_modules/rspack-manifest-plugin/dist/helpers.js"), compilerHookMap = new WeakMap(), getCompilerHooks = (compiler)=>{
67
67
  let hooks = compilerHookMap.get(compiler);
68
68
  return void 0 === hooks && (hooks = {
69
69
  afterEmit: new lite_tapable_1.SyncWaterfallHook([
@@ -112,9 +112,9 @@ __webpack_require__.add({
112
112
  getCompilerHooks(compiler).afterEmit.call(manifest);
113
113
  };
114
114
  },
115
- "../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.0_@emnapi+core@1.8.1_@emnapi+runtime_36ca8bbe9cc8ea53288c7dff23b25fc0/node_modules/rspack-manifest-plugin/dist/index.js" (__unused_rspack_module, exports, __webpack_require__) {
115
+ "../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.1/node_modules/rspack-manifest-plugin/dist/index.js" (__unused_rspack_module, exports, __webpack_require__) {
116
116
  exports.RspackManifestPlugin = void 0;
117
- let node_path_1 = __webpack_require__("node:path?815c"), hooks_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.0_@emnapi+core@1.8.1_@emnapi+runtime_36ca8bbe9cc8ea53288c7dff23b25fc0/node_modules/rspack-manifest-plugin/dist/hooks.js"), emitCountMap = new Map(), defaults = {
117
+ let node_path_1 = __webpack_require__("node:path?435f"), hooks_1 = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.1/node_modules/rspack-manifest-plugin/dist/hooks.js"), emitCountMap = new Map(), defaults = {
118
118
  assetHookStage: 1 / 0,
119
119
  basePath: '',
120
120
  fileName: 'manifest.json',
@@ -683,5 +683,5 @@ __webpack_require__.add({
683
683
  });
684
684
  }
685
685
  });
686
- var RspackManifestPlugin = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.0_@emnapi+core@1.8.1_@emnapi+runtime_36ca8bbe9cc8ea53288c7dff23b25fc0/node_modules/rspack-manifest-plugin/dist/index.js").RspackManifestPlugin;
686
+ var RspackManifestPlugin = __webpack_require__("../../node_modules/.pnpm/rspack-manifest-plugin@5.2.1_@rspack+core@2.0.0-rc.1/node_modules/rspack-manifest-plugin/dist/index.js").RspackManifestPlugin;
687
687
  export { RspackManifestPlugin };
package/dist/memfs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { __webpack_require__ } from "./1~rslib-runtime.js";
2
- import "./552.js";
2
+ import "./753.js";
3
3
  __webpack_require__.add({
4
4
  "../../node_modules/.pnpm/@jsonjoy.com+base64@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/base64/lib/constants.js" (__unused_rspack_module, exports) {
5
5
  exports.alphabet = void 0, exports.alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', 'function' == typeof Buffer && Buffer.from;
@@ -1188,17 +1188,7 @@ __webpack_require__.add({
1188
1188
  });
1189
1189
  },
1190
1190
  "../../node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/encoding.js" (__unused_rspack_module, exports, __webpack_require__) {
1191
- Object.defineProperty(exports, "__esModule", {
1192
- value: !0
1193
- }), exports.ENCODING_UTF8 = void 0, exports.assertEncoding = assertEncoding, exports.strToEncoding = strToEncoding;
1194
- let buffer_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js"), errors = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js");
1195
- function assertEncoding(encoding) {
1196
- if (encoding && !buffer_1.Buffer.isEncoding(encoding)) throw new errors.TypeError('ERR_INVALID_OPT_VALUE_ENCODING', encoding);
1197
- }
1198
- function strToEncoding(str, encoding) {
1199
- return encoding && encoding !== exports.ENCODING_UTF8 ? 'buffer' === encoding ? new buffer_1.Buffer(str) : new buffer_1.Buffer(str).toString(encoding) : str;
1200
- }
1201
- exports.ENCODING_UTF8 = 'utf8';
1191
+ exports.ENCODING_UTF8 = void 0, __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/buffer.js"), __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js"), exports.ENCODING_UTF8 = 'utf8';
1202
1192
  },
1203
1193
  "../../node_modules/.pnpm/@jsonjoy.com+fs-core@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-core/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
1204
1194
  Object.defineProperty(exports, "__esModule", {
@@ -1381,7 +1371,7 @@ __webpack_require__.add({
1381
1371
  function pathToFilename(path) {
1382
1372
  if (path instanceof Uint8Array && (path = (0, buffer_1.bufferFrom)(path)), 'string' != typeof path && !buffer_1.Buffer.isBuffer(path)) {
1383
1373
  try {
1384
- if (!(path instanceof __webpack_require__("url?5f07").URL)) throw TypeError(fs_node_utils_1.ERRSTR.PATH_STR);
1374
+ if (!(path instanceof __webpack_require__("url?b918").URL)) throw TypeError(fs_node_utils_1.ERRSTR.PATH_STR);
1385
1375
  } catch (err) {
1386
1376
  throw TypeError(fs_node_utils_1.ERRSTR.PATH_STR);
1387
1377
  }
@@ -1447,7 +1437,7 @@ __webpack_require__.add({
1447
1437
  },
1448
1438
  "../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/buffer.js" (__unused_rspack_module, exports, __webpack_require__) {
1449
1439
  exports.Buffer = void 0;
1450
- var node_buffer_1 = __webpack_require__("node:buffer?4a79");
1440
+ var node_buffer_1 = __webpack_require__("node:buffer?1cd0");
1451
1441
  Object.defineProperty(exports, "Buffer", {
1452
1442
  enumerable: !0,
1453
1443
  get: function() {
@@ -1457,7 +1447,7 @@ __webpack_require__.add({
1457
1447
  },
1458
1448
  "../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/events.js" (__unused_rspack_module, exports, __webpack_require__) {
1459
1449
  exports.EventEmitter = void 0;
1460
- var node_events_1 = __webpack_require__("node:events?5dda");
1450
+ var node_events_1 = __webpack_require__("node:events?3ec9");
1461
1451
  Object.defineProperty(exports, "EventEmitter", {
1462
1452
  enumerable: !0,
1463
1453
  get: function() {
@@ -1479,9 +1469,7 @@ __webpack_require__.add({
1479
1469
  }), exports.bufferAllocUnsafe = buffer_1.Buffer.allocUnsafe || bufferV0P12Ponyfill, exports.bufferFrom = buffer_1.Buffer.from || bufferV0P12Ponyfill;
1480
1470
  },
1481
1471
  "../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/internal/errors.js" (__unused_rspack_module, exports, __webpack_require__) {
1482
- Object.defineProperty(exports, "__esModule", {
1483
- value: !0
1484
- }), exports.AssertionError = exports.RangeError = exports.TypeError = exports.Error = void 0, exports.message = message, exports.E = E;
1472
+ exports.TypeError = exports.Error = void 0;
1485
1473
  let util_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/util.js"), kCode = "u" < typeof Symbol ? '_kCode' : Symbol('code'), messages = {};
1486
1474
  function makeNodeError(Base) {
1487
1475
  return class extends Base {
@@ -1491,12 +1479,6 @@ __webpack_require__.add({
1491
1479
  };
1492
1480
  }
1493
1481
  let g = "u" > typeof globalThis ? globalThis : global;
1494
- class AssertionError extends g.Error {
1495
- constructor(options){
1496
- if ('object' != typeof options || null === options) throw new exports.TypeError('ERR_INVALID_ARG_TYPE', 'options', 'object');
1497
- options.message ? super(options.message) : super(`${(0, util_1.inspect)(options.actual).slice(0, 128)} ${options.operator} ${(0, util_1.inspect)(options.expected).slice(0, 128)}`), this.generatedMessage = !options.message, this.name = 'AssertionError [ERR_ASSERTION]', this.code = 'ERR_ASSERTION', this.actual = options.actual, this.expected = options.expected, this.operator = options.operator, exports.Error.captureStackTrace(this, options.stackStartFunction);
1498
- }
1499
- }
1500
1482
  function message(key, args) {
1501
1483
  let fmt;
1502
1484
  if ('string' != typeof key) throw new exports.Error('Error message key must be a string');
@@ -1512,11 +1494,11 @@ __webpack_require__.add({
1512
1494
  function E(sym, val) {
1513
1495
  messages[sym] = 'function' == typeof val ? val : String(val);
1514
1496
  }
1515
- exports.AssertionError = AssertionError, exports.Error = makeNodeError(g.Error), exports.TypeError = makeNodeError(g.TypeError), exports.RangeError = makeNodeError(g.RangeError), E('ERR_DIR_CLOSED', 'Directory handle was closed'), E('ERR_DIR_CONCURRENT_OPERATION', 'Cannot do synchronous work on directory handle with concurrent asynchronous operations'), E('ERR_INVALID_FILE_URL_HOST', 'File URL host must be "localhost" or empty on %s'), E('ERR_INVALID_FILE_URL_PATH', 'File URL path %s'), E('ERR_INVALID_OPT_VALUE', (name, value)=>`The value "${String(value)}" is invalid for option "${name}"`), E('ERR_INVALID_OPT_VALUE_ENCODING', (value)=>`The value "${String(value)}" is invalid for option "encoding"`), E('ERR_INVALID_ARG_VALUE', 'Unable to open file as blob');
1497
+ g.Error, exports.Error = makeNodeError(g.Error), exports.TypeError = makeNodeError(g.TypeError), makeNodeError(g.RangeError), E('ERR_DIR_CLOSED', 'Directory handle was closed'), E('ERR_DIR_CONCURRENT_OPERATION', 'Cannot do synchronous work on directory handle with concurrent asynchronous operations'), E('ERR_INVALID_FILE_URL_HOST', 'File URL host must be "localhost" or empty on %s'), E('ERR_INVALID_FILE_URL_PATH', 'File URL path %s'), E('ERR_INVALID_OPT_VALUE', (name, value)=>`The value "${String(value)}" is invalid for option "${name}"`), E('ERR_INVALID_OPT_VALUE_ENCODING', (value)=>`The value "${String(value)}" is invalid for option "encoding"`), E('ERR_INVALID_ARG_VALUE', 'Unable to open file as blob');
1516
1498
  },
1517
1499
  "../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/path.js" (__unused_rspack_module, exports, __webpack_require__) {
1518
1500
  exports.basename = exports.isAbsolute = exports.normalize = exports.dirname = exports.relative = exports.join = exports.posix = exports.sep = exports.resolve = void 0;
1519
- var node_path_1 = __webpack_require__("node:path?815c");
1501
+ var node_path_1 = __webpack_require__("node:path?435f");
1520
1502
  Object.defineProperty(exports, "resolve", {
1521
1503
  enumerable: !0,
1522
1504
  get: function() {
@@ -1566,7 +1548,7 @@ __webpack_require__.add({
1566
1548
  },
1567
1549
  "../../node_modules/.pnpm/@jsonjoy.com+fs-node-builtins@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-builtins/lib/stream.js" (__unused_rspack_module, exports, __webpack_require__) {
1568
1550
  exports.Writable = exports.Readable = void 0;
1569
- var node_stream_1 = __webpack_require__("node:stream?be04");
1551
+ var node_stream_1 = __webpack_require__("node:stream?3c93");
1570
1552
  Object.defineProperty(exports, "Readable", {
1571
1553
  enumerable: !0,
1572
1554
  get: function() {
@@ -2595,7 +2577,7 @@ __webpack_require__.add({
2595
2577
  function pathToFilename(path) {
2596
2578
  if (path instanceof Uint8Array && (path = (0, buffer_1.bufferFrom)(path)), 'string' != typeof path && !buffer_1.Buffer.isBuffer(path)) {
2597
2579
  try {
2598
- if (!(path instanceof __webpack_require__("url?5f07").URL)) throw TypeError(fs_node_utils_1.ERRSTR.PATH_STR);
2580
+ if (!(path instanceof __webpack_require__("url?b918").URL)) throw TypeError(fs_node_utils_1.ERRSTR.PATH_STR);
2599
2581
  } catch (err) {
2600
2582
  throw TypeError(fs_node_utils_1.ERRSTR.PATH_STR);
2601
2583
  }
@@ -3734,9 +3716,7 @@ __webpack_require__.add({
3734
3716
  exports.FSWatcher = FSWatcher;
3735
3717
  },
3736
3718
  "../../node_modules/.pnpm/@jsonjoy.com+fs-print@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-print/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
3737
- Object.defineProperty(exports, "__esModule", {
3738
- value: !0
3739
- }), exports.toTreeSync = void 0;
3719
+ exports.toTreeSync = void 0;
3740
3720
  let tree_dump_1 = __webpack_require__("../../node_modules/.pnpm/tree-dump@1.1.0_tslib@2.8.1/node_modules/tree-dump/lib/index.js"), fs_node_utils_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+fs-node-utils@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-node-utils/lib/index.js");
3741
3721
  exports.toTreeSync = (fs, opts = {})=>{
3742
3722
  let separator = opts.separator || '/', dir = opts.dir || separator;
@@ -3756,9 +3736,7 @@ __webpack_require__.add({
3756
3736
  };
3757
3737
  },
3758
3738
  "../../node_modules/.pnpm/@jsonjoy.com+fs-snapshot@4.57.1_tslib@2.8.1/node_modules/@jsonjoy.com/fs-snapshot/lib/async.js" (__unused_rspack_module, exports) {
3759
- Object.defineProperty(exports, "__esModule", {
3760
- value: !0
3761
- }), exports.fromSnapshot = exports.toSnapshot = void 0;
3739
+ exports.fromSnapshot = exports.toSnapshot = void 0;
3762
3740
  let toSnapshot = async ({ fs, path = '/', separator = '/' })=>{
3763
3741
  let stats = await fs.lstat(path);
3764
3742
  if (stats.isDirectory()) {
@@ -4730,9 +4708,7 @@ __webpack_require__.add({
4730
4708
  };
4731
4709
  },
4732
4710
  "../../node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/json/JsonDecoder.js" (__unused_rspack_module, exports, __webpack_require__) {
4733
- Object.defineProperty(exports, "__esModule", {
4734
- value: !0
4735
- }), exports.JsonDecoder = exports.readKey = void 0;
4711
+ exports.JsonDecoder = exports.Y = void 0;
4736
4712
  let decodeUtf8_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+buffers@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/buffers/lib/utf8/decodeUtf8/index.js"), Reader_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+buffers@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/buffers/lib/Reader.js"), fromBase64Bin_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+base64@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/base64/lib/fromBase64Bin.js"), util_1 = __webpack_require__("../../node_modules/.pnpm/@jsonjoy.com+json-pack@17.67.0_tslib@2.8.1/node_modules/@jsonjoy.com/json-pack/lib/json/util.js"), REGEX_REPLACE_ESCAPED_CHARS = /\\(b|f|n|r|t|"|\/|\\)/g, escapedCharReplacer = (char)=>{
4737
4713
  switch(char){
4738
4714
  case '\\b':
@@ -4754,7 +4730,7 @@ __webpack_require__.add({
4754
4730
  }
4755
4731
  return char;
4756
4732
  }, hasBinaryPrefix = (u8, x)=>0x64 === u8[x] && 0x61 === u8[x + 1] && 0x74 === u8[x + 2] && 0x61 === u8[x + 3] && 0x3a === u8[x + 4] && 0x61 === u8[x + 5] && 0x70 === u8[x + 6] && 0x70 === u8[x + 7] && 0x6c === u8[x + 8] && 0x69 === u8[x + 9] && 0x63 === u8[x + 10] && 0x61 === u8[x + 11] && 0x74 === u8[x + 12] && 0x69 === u8[x + 13] && 0x6f === u8[x + 14] && 0x6e === u8[x + 15] && 0x2f === u8[x + 16] && 0x6f === u8[x + 17] && 0x63 === u8[x + 18] && 0x74 === u8[x + 19] && 0x65 === u8[x + 20] && 0x74 === u8[x + 21] && 0x2d === u8[x + 22] && 0x73 === u8[x + 23] && 0x74 === u8[x + 24] && 0x72 === u8[x + 25] && 0x65 === u8[x + 26] && 0x61 === u8[x + 27] && 0x6d === u8[x + 28] && 0x3b === u8[x + 29] && 0x62 === u8[x + 30] && 0x61 === u8[x + 31] && 0x73 === u8[x + 32] && 0x65 === u8[x + 33] && 0x36 === u8[x + 34] && 0x34 === u8[x + 35] && 0x2c === u8[x + 36], fromCharCode = String.fromCharCode;
4757
- exports.readKey = (reader)=>{
4733
+ exports.Y = (reader)=>{
4758
4734
  let buf = reader.uint8, len = buf.length, points = [], x = reader.x, prev = 0;
4759
4735
  for(; x < len;){
4760
4736
  let code = buf[x++];
@@ -5104,7 +5080,7 @@ __webpack_require__.add({
5104
5080
  if (0x2c === char) reader.x++;
5105
5081
  else if (!first) throw Error('Invalid JSON');
5106
5082
  if (this.skipWhitespace(), 0x22 !== (char = uint8[reader.x++])) throw Error('Invalid JSON');
5107
- let key = (0, exports.readKey)(reader);
5083
+ let key = (0, exports.Y)(reader);
5108
5084
  if ('__proto__' === key || (this.skipWhitespace(), 0x3a !== reader.u8())) throw Error('Invalid JSON');
5109
5085
  this.skipWhitespace(), obj[key] = this.readAny(), first = !1;
5110
5086
  }
@@ -5299,9 +5275,7 @@ __webpack_require__.add({
5299
5275
  };
5300
5276
  },
5301
5277
  "../../node_modules/.pnpm/glob-to-regex.js@1.2.0_tslib@2.8.1/node_modules/glob-to-regex.js/lib/index.js" (__unused_rspack_module, exports) {
5302
- Object.defineProperty(exports, "__esModule", {
5303
- value: !0
5304
- }), exports.toMatcher = exports.toRegex = void 0;
5278
+ exports.toRegex = void 0;
5305
5279
  let parseExtGlob = (pattern, startIdx, prefix, options)=>{
5306
5280
  let i = startIdx, parts = [], cur = '', depth = 1;
5307
5281
  for(; i < pattern.length && depth > 0;){
@@ -5426,20 +5400,6 @@ __webpack_require__.add({
5426
5400
  }
5427
5401
  return RegExp('^' + regexStr + '$', options?.nocase ? 'i' : '');
5428
5402
  };
5429
- let isRegExp = /^\/(.{1,4096})\/([gimsuy]{0,6})$/;
5430
- exports.toMatcher = (pattern, options)=>{
5431
- let regexes = [];
5432
- for (let pat of Array.isArray(pattern) ? pattern : [
5433
- pattern
5434
- ])if ('string' == typeof pat) {
5435
- let match = isRegExp.exec(pat);
5436
- if (match) {
5437
- let [, expr, flags] = match;
5438
- regexes.push(new RegExp(expr, flags));
5439
- } else regexes.push((0, exports.toRegex)(pat, options));
5440
- } else regexes.push(pat);
5441
- return regexes.length ? Function('p', 'return ' + regexes.map((r)=>r + '.test(p)').join('||')) : ()=>!1;
5442
- };
5443
5403
  },
5444
5404
  "../../node_modules/.pnpm/memfs@4.57.1_tslib@2.8.1/node_modules/memfs/lib/index.js" (module, exports, __webpack_require__) {
5445
5405
  Object.defineProperty(exports, "__esModule", {