@rsbuild/core 2.3.2 → 2.3.4

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
- 714: (module, __unused_webpack_exports, __nccwpck_require__) => {
3
+ 458: (module, __unused_webpack_exports, __nccwpck_require__) => {
4
4
  "use strict";
5
- const { HtmlWebpackChildCompiler } = __nccwpck_require__(251);
5
+ const { HtmlWebpackChildCompiler } = __nccwpck_require__(979);
6
6
  const compilerMap = new WeakMap();
7
7
  class CachedChildCompilation {
8
8
  constructor(compiler) {
@@ -307,7 +307,7 @@
307
307
  }
308
308
  module.exports = { CachedChildCompilation };
309
309
  },
310
- 251: (module) => {
310
+ 979: (module) => {
311
311
  "use strict";
312
312
  class HtmlWebpackChildCompiler {
313
313
  compilationPromise;
@@ -476,7 +476,7 @@
476
476
  }
477
477
  module.exports = { HtmlWebpackChildCompiler };
478
478
  },
479
- 697: (module) => {
479
+ 993: (module) => {
480
480
  "use strict";
481
481
  function none(chunks) {
482
482
  return chunks;
@@ -492,7 +492,7 @@
492
492
  }
493
493
  module.exports = { auto: none, manual, none };
494
494
  },
495
- 160: (module) => {
495
+ 816: (module) => {
496
496
  "use strict";
497
497
  module.exports = function (err) {
498
498
  return {
@@ -516,7 +516,7 @@
516
516
  };
517
517
  };
518
518
  },
519
- 239: (module, __unused_webpack_exports, __nccwpck_require__) => {
519
+ 687: (module, __unused_webpack_exports, __nccwpck_require__) => {
520
520
  "use strict";
521
521
  const { AsyncSeriesWaterfallHook } = __nccwpck_require__(537);
522
522
  const htmlWebpackPluginHooksMap = new WeakMap();
@@ -542,7 +542,7 @@
542
542
  }
543
543
  module.exports = { getHtmlRspackPluginHooks };
544
544
  },
545
- 790: (module) => {
545
+ 302: (module) => {
546
546
  const voidTags = [
547
547
  "area",
548
548
  "base",
@@ -610,19 +610,19 @@
610
610
  htmlTagObjectToString,
611
611
  };
612
612
  },
613
- 319: (module, __unused_webpack_exports, __nccwpck_require__) => {
613
+ 391: (module, __unused_webpack_exports, __nccwpck_require__) => {
614
614
  "use strict";
615
615
  const promisify = __nccwpck_require__(23).promisify;
616
616
  const vm = __nccwpck_require__(154);
617
617
  const fs = __nccwpck_require__(896);
618
618
  const path = __nccwpck_require__(928);
619
- const { CachedChildCompilation } = __nccwpck_require__(714);
619
+ const { CachedChildCompilation } = __nccwpck_require__(458);
620
620
  const { createHtmlTagObject, htmlTagObjectToString, HtmlTagArray } =
621
- __nccwpck_require__(790);
622
- const prettyError = __nccwpck_require__(160);
623
- const chunkSorter = __nccwpck_require__(697);
621
+ __nccwpck_require__(302);
622
+ const prettyError = __nccwpck_require__(816);
623
+ const chunkSorter = __nccwpck_require__(993);
624
624
  const getHtmlRspackPluginHooks =
625
- __nccwpck_require__(239).getHtmlRspackPluginHooks;
625
+ __nccwpck_require__(687).getHtmlRspackPluginHooks;
626
626
  const WITH_PLACEHOLDER = "function __with_placeholder__";
627
627
  class HtmlRspackPlugin {
628
628
  constructor(userOptions = {}) {
@@ -2445,6 +2445,6 @@
2445
2445
  }
2446
2446
  if (typeof __nccwpck_require__ !== "undefined")
2447
2447
  __nccwpck_require__.ab = __dirname + "/";
2448
- var __webpack_exports__ = __nccwpck_require__(319);
2448
+ var __webpack_exports__ = __nccwpck_require__(391);
2449
2449
  module.exports = __webpack_exports__;
2450
2450
  })();
@@ -75,6 +75,8 @@ interface ProxyServerOptions {
75
75
  };
76
76
  /** Timeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes) */
77
77
  proxyTimeout?: number;
78
+ /** Total time in milliseconds to receive upstream WebSocket response headers or an upgrade. Omitted, non-positive, and non-finite values disable the deadline. */
79
+ upgradeTimeout?: number;
78
80
  /** Timeout (in milliseconds) for incoming requests */
79
81
  timeout?: number;
80
82
  /** If set to true, none of the webOutgoing passes are called and it's your responsibility to appropriately return the response by listening and acting on the proxyRes event */
@@ -1 +1 @@
1
- {"name":"http-proxy-middleware","author":"Steven Chim","version":"4.2.1","license":"MIT","types":"index.d.ts","type":"module"}
1
+ {"name":"http-proxy-middleware","author":"Steven Chim","version":"4.2.2","license":"MIT","types":"index.d.ts","type":"module"}