@rsbuild/core 2.0.5 → 2.0.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.
@@ -1,8 +1,8 @@
1
1
  (() => {
2
2
  var __webpack_modules__ = {
3
- 86: (module, __unused_webpack_exports, __nccwpck_require__) => {
3
+ 209: (module, __unused_webpack_exports, __nccwpck_require__) => {
4
4
  "use strict";
5
- const { HtmlWebpackChildCompiler } = __nccwpck_require__(895);
5
+ const { HtmlWebpackChildCompiler } = __nccwpck_require__(82);
6
6
  const compilerMap = new WeakMap();
7
7
  class CachedChildCompilation {
8
8
  constructor(compiler) {
@@ -311,7 +311,7 @@
311
311
  }
312
312
  module.exports = { CachedChildCompilation };
313
313
  },
314
- 895: (module) => {
314
+ 82: (module) => {
315
315
  "use strict";
316
316
  class HtmlWebpackChildCompiler {
317
317
  constructor(templates) {
@@ -480,7 +480,7 @@
480
480
  }
481
481
  module.exports = { HtmlWebpackChildCompiler };
482
482
  },
483
- 741: (module) => {
483
+ 954: (module) => {
484
484
  "use strict";
485
485
  module.exports = {};
486
486
  module.exports.none = (chunks) => chunks;
@@ -499,7 +499,7 @@
499
499
  };
500
500
  module.exports.auto = module.exports.none;
501
501
  },
502
- 156: (module) => {
502
+ 789: (module) => {
503
503
  "use strict";
504
504
  module.exports = function (err) {
505
505
  return {
@@ -523,7 +523,7 @@
523
523
  };
524
524
  };
525
525
  },
526
- 971: (module, __unused_webpack_exports, __nccwpck_require__) => {
526
+ 964: (module, __unused_webpack_exports, __nccwpck_require__) => {
527
527
  "use strict";
528
528
  const { AsyncSeriesWaterfallHook } = __nccwpck_require__(159);
529
529
  const htmlWebpackPluginHooksMap = new WeakMap();
@@ -549,7 +549,7 @@
549
549
  }
550
550
  module.exports = { getHtmlRspackPluginHooks };
551
551
  },
552
- 322: (module) => {
552
+ 569: (module) => {
553
553
  const voidTags = [
554
554
  "area",
555
555
  "base",
@@ -617,19 +617,19 @@
617
617
  htmlTagObjectToString,
618
618
  };
619
619
  },
620
- 499: (module, __unused_webpack_exports, __nccwpck_require__) => {
620
+ 476: (module, __unused_webpack_exports, __nccwpck_require__) => {
621
621
  "use strict";
622
622
  const promisify = __nccwpck_require__(23).promisify;
623
623
  const vm = __nccwpck_require__(154);
624
624
  const fs = __nccwpck_require__(896);
625
625
  const path = __nccwpck_require__(928);
626
- const { CachedChildCompilation } = __nccwpck_require__(86);
626
+ const { CachedChildCompilation } = __nccwpck_require__(209);
627
627
  const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
628
- __nccwpck_require__(322);
629
- const prettyError = __nccwpck_require__(156);
630
- const chunkSorter = __nccwpck_require__(741);
628
+ __nccwpck_require__(569);
629
+ const prettyError = __nccwpck_require__(789);
630
+ const chunkSorter = __nccwpck_require__(954);
631
631
  const getHtmlRspackPluginHooks =
632
- __nccwpck_require__(971).getHtmlRspackPluginHooks;
632
+ __nccwpck_require__(964).getHtmlRspackPluginHooks;
633
633
  const WITH_PLACEHOLDER = "function __with_placeholder__";
634
634
  class HtmlRspackPlugin {
635
635
  constructor(userOptions = {}) {
@@ -2398,6 +2398,6 @@
2398
2398
  }
2399
2399
  if (typeof __nccwpck_require__ !== "undefined")
2400
2400
  __nccwpck_require__.ab = __dirname + "/";
2401
- var __webpack_exports__ = __nccwpck_require__(499);
2401
+ var __webpack_exports__ = __nccwpck_require__(476);
2402
2402
  module.exports = __webpack_exports__;
2403
2403
  })();
@@ -182,7 +182,7 @@ interface Options<TReq extends http.IncomingMessage = http.IncomingMessage, TRes
182
182
  */
183
183
  pathRewrite?: PathRewriteConfig<TReq>;
184
184
  /**
185
- * Access the internal http-proxy server instance to customize behavior
185
+ * Access the internal `httpxy` server instance to customize behavior
186
186
  *
187
187
  * @example
188
188
  * ```js
@@ -207,7 +207,7 @@ interface Options<TReq extends http.IncomingMessage = http.IncomingMessage, TRes
207
207
  */
208
208
  ejectPlugins?: boolean;
209
209
  /**
210
- * Listen to http-proxy events
210
+ * Listen to `httpxy` events
211
211
  * @see {@link OnProxyEvent} for available events
212
212
  * @example
213
213
  * ```js
@@ -347,7 +347,7 @@ type BodyParserLikeRequest = http.IncomingMessage & {
347
347
  declare function fixRequestBody<TReq extends BodyParserLikeRequest = BodyParserLikeRequest>(proxyReq: http.ClientRequest, req: TReq): void;
348
348
 
349
349
  /**
350
- * Subscribe to {@link https://www.npmjs.com/package/http-proxy#listening-for-proxy-events http-proxy error events} to prevent server from crashing.
350
+ * Subscribe to {@link https://github.com/unjs/httpxy#events `httpxy` error events} to prevent server from crashing.
351
351
  * Errors are logged with {@link https://www.npmjs.com/package/debug debug} library.
352
352
  */
353
353
  declare const debugProxyErrorsPlugin: Plugin;
@@ -357,7 +357,7 @@ declare const errorResponsePlugin: Plugin;
357
357
  declare const loggerPlugin: Plugin;
358
358
 
359
359
  /**
360
- * Implements option.on object to subscribe to http-proxy events.
360
+ * Implements option.on object to subscribe to `httpxy` events.
361
361
  *
362
362
  * @example
363
363
  * ```js
@@ -1 +1 @@
1
- {"name":"http-proxy-middleware","author":"Steven Chim","version":"4.0.0-beta.6","license":"MIT","types":"index.d.ts","type":"module"}
1
+ {"name":"http-proxy-middleware","author":"Steven Chim","version":"4.0.0","license":"MIT","types":"index.d.ts","type":"module"}