@rsbuild/core 2.0.0-rc.1 → 2.0.0-rc.3
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 +2 -2
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/postcss/index.js +1 -1
- package/compiled/postcss/lib/at-rule.d.ts +0 -1
- package/compiled/postcss/lib/comment.d.ts +0 -1
- package/compiled/postcss/lib/container.d.ts +1 -6
- package/compiled/postcss/lib/css-syntax-error.d.ts +0 -1
- package/compiled/postcss/lib/declaration.d.ts +0 -1
- package/compiled/postcss/lib/document.d.ts +0 -1
- package/compiled/postcss/lib/fromJSON.d.ts +1 -1
- package/compiled/postcss/lib/input.d.ts +0 -1
- package/compiled/postcss/lib/lazy-result.d.ts +3 -4
- package/compiled/postcss/lib/list.d.ts +1 -1
- package/compiled/postcss/lib/no-work-result.d.ts +0 -1
- package/compiled/postcss/lib/node.d.ts +0 -1
- package/compiled/postcss/lib/parse.d.ts +1 -1
- package/compiled/postcss/lib/postcss.d.ts +1 -3
- package/compiled/postcss/lib/previous-map.d.ts +0 -1
- package/compiled/postcss/lib/processor.d.ts +0 -1
- package/compiled/postcss/lib/result.d.ts +0 -1
- package/compiled/postcss/lib/root.d.ts +0 -1
- package/compiled/postcss/lib/rule.d.ts +12 -12
- package/compiled/postcss/lib/stringifier.d.ts +0 -1
- package/compiled/postcss/lib/stringify.d.ts +1 -1
- package/compiled/postcss/lib/warning.d.ts +0 -1
- package/compiled/postcss/license +1 -1
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-loader/index.js +6 -6
- package/compiled/rspack-chain/package.json +1 -1
- package/compiled/rspack-chain/types/index.d.ts +3 -1
- package/dist/{863.js → 753.js} +104 -123
- package/dist/http-proxy-middleware.js +4 -4
- package/dist/index.js +1 -1
- package/dist/launch-editor-middleware.js +6 -6
- package/dist/manifest-plugin.js +8 -8
- package/dist/memfs.js +16 -56
- package/dist/tinyglobby.js +279 -127
- package/dist/ws.js +2 -2
- package/dist-types/server/devServer.d.ts +2 -2
- package/dist-types/server/socketServer.d.ts +3 -3
- package/dist-types/types/config.d.ts +7 -1
- package/package.json +6 -6
- package/dist-types/plugins/esm.d.ts +0 -2
- /package/dist/{863.js.LICENSE.txt → 753.js.LICENSE.txt} +0 -0
|
@@ -8,11 +8,7 @@ import Rule from './rule.js'
|
|
|
8
8
|
declare namespace Container {
|
|
9
9
|
export type ContainerWithChildren<Child extends Node = ChildNode> = {
|
|
10
10
|
nodes: Child[]
|
|
11
|
-
} & (
|
|
12
|
-
| AtRule
|
|
13
|
-
| Root
|
|
14
|
-
| Rule
|
|
15
|
-
)
|
|
11
|
+
} & (AtRule | Root | Rule)
|
|
16
12
|
|
|
17
13
|
export interface ValueOptions {
|
|
18
14
|
/**
|
|
@@ -43,7 +39,6 @@ declare namespace Container {
|
|
|
43
39
|
| string
|
|
44
40
|
| undefined
|
|
45
41
|
|
|
46
|
-
|
|
47
42
|
export { Container_ as default }
|
|
48
43
|
}
|
|
49
44
|
|
|
@@ -6,7 +6,6 @@ import Root from './root.js'
|
|
|
6
6
|
import Warning from './warning.js'
|
|
7
7
|
|
|
8
8
|
declare namespace LazyResult {
|
|
9
|
-
|
|
10
9
|
export { LazyResult_ as default }
|
|
11
10
|
}
|
|
12
11
|
|
|
@@ -19,9 +18,9 @@ declare namespace LazyResult {
|
|
|
19
18
|
* const lazy = postcss([autoprefixer]).process(css)
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
22
|
-
declare class LazyResult_<RootNode = Document | Root>
|
|
23
|
-
|
|
24
|
-
{
|
|
21
|
+
declare class LazyResult_<RootNode = Document | Root> implements PromiseLike<
|
|
22
|
+
Result<RootNode>
|
|
23
|
+
> {
|
|
25
24
|
/**
|
|
26
25
|
* Processes input CSS through synchronous and asynchronous plugins
|
|
27
26
|
* and calls onRejected for each error thrown in any plugin.
|
|
@@ -450,9 +450,7 @@ declare namespace postcss {
|
|
|
450
450
|
* @param plugins PostCSS plugins.
|
|
451
451
|
* @return Processor to process multiple CSS.
|
|
452
452
|
*/
|
|
453
|
-
declare function postcss(
|
|
454
|
-
plugins?: readonly postcss.AcceptedPlugin[]
|
|
455
|
-
): Processor
|
|
453
|
+
declare function postcss(plugins?: readonly postcss.AcceptedPlugin[]): Processor
|
|
456
454
|
declare function postcss(...plugins: postcss.AcceptedPlugin[]): Processor
|
|
457
455
|
|
|
458
456
|
export = postcss
|
|
@@ -44,19 +44,19 @@ declare namespace Rule {
|
|
|
44
44
|
/** Information used to generate byte-to-byte equal node string as it was in the origin input. */
|
|
45
45
|
raws?: RuleRaws
|
|
46
46
|
} & (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
| {
|
|
48
|
+
/** Selector or selectors of the rule. */
|
|
49
|
+
selector: string
|
|
50
|
+
selectors?: never
|
|
51
|
+
}
|
|
52
|
+
| {
|
|
53
|
+
selector?: never
|
|
54
|
+
/** Selectors of the rule represented as an array of strings. */
|
|
55
|
+
selectors: readonly string[]
|
|
56
|
+
}
|
|
57
|
+
) &
|
|
58
|
+
ContainerProps
|
|
58
59
|
|
|
59
|
-
|
|
60
60
|
export { Rule_ as default }
|
|
61
61
|
}
|
|
62
62
|
|
package/compiled/postcss/license
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright 2013 Andrey Sitnik <andrey@sitnik.
|
|
3
|
+
Copyright 2013 Andrey Sitnik <andrey@sitnik.es>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.
|
|
1
|
+
{"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.es>","version":"8.5.9","funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"./lib/postcss.d.ts","type":"commonjs"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
488: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(566)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
566: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
8
8
|
var __webpack_unused_export__;
|
|
9
9
|
__webpack_unused_export__ = { value: true };
|
|
10
10
|
exports["default"] = loader;
|
|
11
11
|
var _nodePath = _interopRequireDefault(__nccwpck_require__(760));
|
|
12
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _utils = __nccwpck_require__(487);
|
|
13
13
|
function _interopRequireDefault(e) {
|
|
14
14
|
return e && e.__esModule ? e : { default: e };
|
|
15
15
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
callback(null, result.css, map, { ast });
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
|
-
|
|
182
|
+
487: (module, exports, __nccwpck_require__) => {
|
|
183
183
|
module = __nccwpck_require__.nmd(module);
|
|
184
184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
185
185
|
exports.exec = exec;
|
|
@@ -716,6 +716,6 @@
|
|
|
716
716
|
})();
|
|
717
717
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
718
718
|
__nccwpck_require__.ab = __dirname + "/";
|
|
719
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
719
|
+
var __webpack_exports__ = __nccwpck_require__(488);
|
|
720
720
|
module.exports = __webpack_exports__;
|
|
721
721
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"rspack-chain","version":"2.0.
|
|
1
|
+
{"name":"rspack-chain","version":"2.0.1","license":"MIT","types":"types/index.d.ts","type":"module"}
|
|
@@ -233,7 +233,9 @@ export declare namespace RspackChain {
|
|
|
233
233
|
clean(value: RspackOutput['clean']): this;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
type RspackDevServer = Required<
|
|
236
|
+
type RspackDevServer = Required<
|
|
237
|
+
Exclude<Configuration['devServer'], false | null | undefined>
|
|
238
|
+
>;
|
|
237
239
|
|
|
238
240
|
type DevServerShorthandMethods<T> = {
|
|
239
241
|
[K in keyof RspackDevServer]-?: (value: RspackDevServer[K]) => T;
|