@rsbuild/core 1.2.7 → 1.2.9

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.
@@ -4449,14 +4449,14 @@
4449
4449
  return a.start - b.start;
4450
4450
  }
4451
4451
  },
4452
- 2461: (module, __unused_webpack_exports, __nccwpck_require__) => {
4452
+ 5152: (module, __unused_webpack_exports, __nccwpck_require__) => {
4453
4453
  "use strict";
4454
- const middleware = __nccwpck_require__(5121);
4455
- const getFilenameFromUrl = __nccwpck_require__(8537);
4456
- const setupHooks = __nccwpck_require__(3972);
4457
- const setupWriteToDisk = __nccwpck_require__(527);
4458
- const setupOutputFileSystem = __nccwpck_require__(7380);
4459
- const ready = __nccwpck_require__(9296);
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);
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
- 5121: (module, __unused_webpack_exports, __nccwpck_require__) => {
4514
+ 3678: (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__(8537);
4519
- const ready = __nccwpck_require__(9296);
4520
- const parseTokenList = __nccwpck_require__(5919);
4521
- const memorize = __nccwpck_require__(2297);
4518
+ const getFilenameFromUrl = __nccwpck_require__(7114);
4519
+ const ready = __nccwpck_require__(5653);
4520
+ const parseTokenList = __nccwpck_require__(5832);
4521
+ const memorize = __nccwpck_require__(4590);
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__(3557);
4613
+ const escapeHtml = __nccwpck_require__(1410);
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
- 3557: (module) => {
4918
+ 1410: (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
- 8537: (module, __unused_webpack_exports, __nccwpck_require__) => {
4963
+ 7114: (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__(9411);
4969
- const memorize = __nccwpck_require__(2297);
4968
+ const getPaths = __nccwpck_require__(276);
4969
+ const memorize = __nccwpck_require__(4590);
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
- 9411: (module) => {
5052
+ 276: (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
- 2297: (module) => {
5073
+ 4590: (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
- 5919: (module) => {
5095
+ 5832: (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
- 9296: (module) => {
5128
+ 5653: (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
- 3972: (module) => {
5143
+ 9447: (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
- 7380: (module, __unused_webpack_exports, __nccwpck_require__) => {
5175
+ 6673: (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
- 527: (module, __unused_webpack_exports, __nccwpck_require__) => {
5202
+ 5672: (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__(2461);
6188
+ var __webpack_exports__ = __nccwpck_require__(5152);
6189
6189
  module.exports = __webpack_exports__;
6190
6190
  })();
@@ -1,16 +1,16 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 620: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- const loader = __nccwpck_require__(314);
4
+ 69: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ const loader = __nccwpck_require__(935);
6
6
  module.exports = loader.default;
7
7
  },
8
- 314: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
+ 935: (__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__(555);
13
- var _options = _interopRequireDefault(__nccwpck_require__(199));
12
+ var _utils = __nccwpck_require__(58);
13
+ var _options = _interopRequireDefault(__nccwpck_require__(542));
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
- 589: (module) => {
107
+ 196: (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
- 555: (__unused_webpack_module, exports, __nccwpck_require__) => {
133
+ 58: (__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__(589));
154
+ var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(196));
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
- 199: (module) => {
397
+ 542: (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__(620);
425
+ var __webpack_exports__ = __nccwpck_require__(69);
426
426
  module.exports = __webpack_exports__;
427
427
  })();