@rsbuild/core 0.7.6 → 0.7.8
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.
- package/compiled/css-loader/index.js +23 -23
- package/compiled/jiti/index.d.ts +1 -0
- package/compiled/jiti/index.js +391 -0
- package/compiled/jiti/license +21 -0
- package/compiled/jiti/package.json +1 -0
- package/compiled/postcss-load-config/index.js +11 -11
- package/compiled/postcss-loader/index.js +21 -21
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/semver/index.d.ts +1 -0
- package/compiled/semver/index.js +2585 -0
- package/compiled/semver/license +15 -0
- package/compiled/semver/package.json +1 -0
- package/compiled/style-loader/index.js +10 -10
- package/compiled/webpack-dev-middleware/index.js +311 -41
- package/compiled/ws/index.js +80 -57
- package/compiled/ws/package.json +1 -1
- package/dist/client/hmr.js +10 -6
- package/dist/client/overlay.js +1 -1
- package/dist/index.cjs +661 -574
- package/dist/index.js +451 -375
- package/dist-types/client/format.d.ts +1 -1
- package/dist-types/config.d.ts +2 -1
- package/dist-types/helpers.d.ts +2 -0
- package/dist-types/index.d.ts +2 -1
- package/dist-types/internal.d.ts +1 -1
- package/dist-types/server/helper.d.ts +1 -0
- package/dist-types/types.d.ts +1 -2
- package/package.json +7 -5
- package/types.d.ts +12 -0
- package/dist-types/server/index.d.ts +0 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
The ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"semver","author":"GitHub Inc.","version":"7.6.2","license":"ISC","types":"index.d.ts","type":"commonjs"}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 269:
|
|
6
6
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
const loader = __nccwpck_require__(
|
|
10
|
+
const loader = __nccwpck_require__(457);
|
|
11
11
|
module.exports = loader.default;
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 457:
|
|
16
16
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,8 +22,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
22
22
|
}));
|
|
23
23
|
exports["default"] = void 0;
|
|
24
24
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
25
|
-
var _utils = __nccwpck_require__(
|
|
26
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
25
|
+
var _utils = __nccwpck_require__(551);
|
|
26
|
+
var _options = _interopRequireDefault(__nccwpck_require__(156));
|
|
27
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
28
|
// eslint-disable-next-line consistent-return
|
|
29
29
|
const loader = function loader(content) {
|
|
@@ -170,7 +170,7 @@ var _default = exports["default"] = loader;
|
|
|
170
170
|
|
|
171
171
|
/***/ }),
|
|
172
172
|
|
|
173
|
-
/***/
|
|
173
|
+
/***/ 522:
|
|
174
174
|
/***/ ((module) => {
|
|
175
175
|
|
|
176
176
|
|
|
@@ -204,7 +204,7 @@ module.exports = isEqualLocals;
|
|
|
204
204
|
|
|
205
205
|
/***/ }),
|
|
206
206
|
|
|
207
|
-
/***/
|
|
207
|
+
/***/ 551:
|
|
208
208
|
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
209
209
|
|
|
210
210
|
|
|
@@ -231,7 +231,7 @@ exports.getStyleTagTransformFnCode = getStyleTagTransformFnCode;
|
|
|
231
231
|
exports.getdomAPI = getdomAPI;
|
|
232
232
|
exports.stringifyRequest = stringifyRequest;
|
|
233
233
|
var _path = _interopRequireDefault(__nccwpck_require__(17));
|
|
234
|
-
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(
|
|
234
|
+
var _isEqualLocals = _interopRequireDefault(__nccwpck_require__(522));
|
|
235
235
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
236
236
|
const matchRelativePath = /^\.\.?[/\\]/;
|
|
237
237
|
function isAbsolutePath(str) {
|
|
@@ -457,7 +457,7 @@ module.exports = require("path");
|
|
|
457
457
|
|
|
458
458
|
/***/ }),
|
|
459
459
|
|
|
460
|
-
/***/
|
|
460
|
+
/***/ 156:
|
|
461
461
|
/***/ ((module) => {
|
|
462
462
|
|
|
463
463
|
module.exports = JSON.parse('{"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}');
|
|
@@ -506,7 +506,7 @@ module.exports = JSON.parse('{"title":"Style Loader options","type":"object","pr
|
|
|
506
506
|
/******/ // startup
|
|
507
507
|
/******/ // Load entry module and return exports
|
|
508
508
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
509
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
509
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(269);
|
|
510
510
|
/******/ module.exports = __webpack_exports__;
|
|
511
511
|
/******/
|
|
512
512
|
/******/ })()
|