@rsbuild/core 0.7.7 → 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 +3 -3
- 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 +1 -1
- package/compiled/postcss-loader/index.js +6 -6
- 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/webpack-dev-middleware/index.js +280 -10
- package/compiled/ws/index.js +80 -57
- package/compiled/ws/package.json +1 -1
- package/dist/index.cjs +579 -530
- package/dist/index.js +340 -304
- package/dist-types/helpers.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- 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 +5 -3
- package/dist-types/server/index.d.ts +0 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Pooya Parsa <pooya@pi0.io>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"jiti","version":"1.21.6","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -846,7 +846,7 @@ async function req(name, rootFile = __filename) {
|
|
|
846
846
|
|
|
847
847
|
if (jiti === undefined) {
|
|
848
848
|
try {
|
|
849
|
-
jiti = (await import('
|
|
849
|
+
jiti = (await import('../jiti/index.js')).default
|
|
850
850
|
} catch (error) {
|
|
851
851
|
importError.push(error)
|
|
852
852
|
}
|
|
@@ -7794,7 +7794,7 @@ async function loader(content, sourceMap, meta) {
|
|
|
7794
7794
|
// Reuse PostCSS AST from other loaders
|
|
7795
7795
|
if (meta && meta.ast && meta.ast.type === "postcss" &&
|
|
7796
7796
|
// eslint-disable-next-line global-require
|
|
7797
|
-
(__nccwpck_require__(
|
|
7797
|
+
(__nccwpck_require__(5204).satisfies)(meta.ast.version, `^${_package.default.version}`)) {
|
|
7798
7798
|
({
|
|
7799
7799
|
root
|
|
7800
7800
|
} = meta.ast);
|
|
@@ -8012,7 +8012,7 @@ async function loadConfig(loaderContext, config, postcssOptions) {
|
|
|
8012
8012
|
interopDefault: true
|
|
8013
8013
|
};
|
|
8014
8014
|
// eslint-disable-next-line global-require, import/no-extraneous-dependencies
|
|
8015
|
-
const jiti = __nccwpck_require__(
|
|
8015
|
+
const jiti = __nccwpck_require__(9993)(__filename, opts);
|
|
8016
8016
|
tsLoader = filepath => jiti(filepath);
|
|
8017
8017
|
}
|
|
8018
8018
|
loaders[".cts"] = tsLoader;
|
|
@@ -8585,19 +8585,19 @@ module.exports = webpackEmptyAsyncContext;
|
|
|
8585
8585
|
|
|
8586
8586
|
/***/ }),
|
|
8587
8587
|
|
|
8588
|
-
/***/
|
|
8588
|
+
/***/ 9993:
|
|
8589
8589
|
/***/ ((module) => {
|
|
8590
8590
|
|
|
8591
8591
|
"use strict";
|
|
8592
|
-
module.exports = require("
|
|
8592
|
+
module.exports = require("../jiti");
|
|
8593
8593
|
|
|
8594
8594
|
/***/ }),
|
|
8595
8595
|
|
|
8596
|
-
/***/
|
|
8596
|
+
/***/ 5204:
|
|
8597
8597
|
/***/ ((module) => {
|
|
8598
8598
|
|
|
8599
8599
|
"use strict";
|
|
8600
|
-
module.exports = require("
|
|
8600
|
+
module.exports = require("../semver");
|
|
8601
8601
|
|
|
8602
8602
|
/***/ }),
|
|
8603
8603
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export = any;
|