@rsbuild/core 1.2.11 → 1.2.13
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/chokidar/index.d.ts +61 -23
- package/compiled/chokidar/index.js +71 -56
- package/compiled/css-loader/index.js +309 -195
- package/compiled/html-rspack-plugin/index.js +14 -14
- package/compiled/http-proxy-middleware/index.d.ts +1 -1
- package/compiled/launch-editor-middleware/index.js +9 -6
- package/compiled/mrmime/index.js +4 -0
- package/compiled/mrmime/package.json +1 -1
- package/compiled/postcss/index.js +194 -194
- package/compiled/postcss/package.json +1 -1
- package/compiled/postcss-load-config/index.js +11 -11
- package/compiled/postcss-loader/index.js +9 -9
- package/compiled/rsbuild-dev-middleware/index.js +56 -46
- package/compiled/rsbuild-dev-middleware/package.json +1 -1
- package/compiled/rspack-manifest-plugin/index.js +4 -4
- package/compiled/sirv/index.js +8 -4
- package/compiled/sirv/package.json +1 -1
- package/compiled/style-loader/index.js +10 -10
- package/compiled/tinyglobby/index.d.ts +1 -0
- package/compiled/tinyglobby/index.js +266 -142
- package/compiled/tinyglobby/package.json +1 -1
- package/compiled/webpack-bundle-analyzer/index.js +6 -2
- package/compiled/ws/index.js +50 -49
- package/compiled/ws/package.json +1 -1
- package/dist/client/hmr.js +2 -2
- package/dist/index.cjs +146 -93
- package/dist/index.js +142 -89
- package/dist-types/helpers/index.d.ts +4 -3
- package/dist-types/index.d.ts +1 -1
- package/dist-types/loadEnv.d.ts +16 -4
- package/dist-types/logger.d.ts +14 -0
- package/dist-types/server/devServer.d.ts +2 -1
- package/dist-types/server/socketServer.d.ts +4 -2
- package/dist-types/types/config.d.ts +79 -43
- package/dist-types/types/rspack.d.ts +1 -1
- package/package.json +12 -12
- package/compiled/jiti/index.d.ts +0 -1
- package/compiled/jiti/index.js +0 -416
- package/compiled/jiti/license +0 -21
- package/compiled/jiti/package.json +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
696: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
let Container = __nccwpck_require__(
|
|
5
|
+
let Container = __nccwpck_require__(797);
|
|
6
6
|
class AtRule extends Container {
|
|
7
7
|
constructor(defaults) {
|
|
8
8
|
super(defaults);
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
AtRule.default = AtRule;
|
|
22
22
|
Container.registerAtRule(AtRule);
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
943: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
25
25
|
"use strict";
|
|
26
|
-
let Node = __nccwpck_require__(
|
|
26
|
+
let Node = __nccwpck_require__(716);
|
|
27
27
|
class Comment extends Node {
|
|
28
28
|
constructor(defaults) {
|
|
29
29
|
super(defaults);
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
module.exports = Comment;
|
|
34
34
|
Comment.default = Comment;
|
|
35
35
|
},
|
|
36
|
-
|
|
36
|
+
797: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
37
37
|
"use strict";
|
|
38
|
-
let Comment = __nccwpck_require__(
|
|
39
|
-
let Declaration = __nccwpck_require__(
|
|
40
|
-
let Node = __nccwpck_require__(
|
|
41
|
-
let { isClean, my } = __nccwpck_require__(
|
|
38
|
+
let Comment = __nccwpck_require__(943);
|
|
39
|
+
let Declaration = __nccwpck_require__(218);
|
|
40
|
+
let Node = __nccwpck_require__(716);
|
|
41
|
+
let { isClean, my } = __nccwpck_require__(475);
|
|
42
42
|
let AtRule, parse, Root, Rule;
|
|
43
43
|
function cleanSource(nodes) {
|
|
44
44
|
return nodes.map((i) => {
|
|
@@ -56,6 +56,14 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
class Container extends Node {
|
|
59
|
+
get first() {
|
|
60
|
+
if (!this.proxyOf.nodes) return undefined;
|
|
61
|
+
return this.proxyOf.nodes[0];
|
|
62
|
+
}
|
|
63
|
+
get last() {
|
|
64
|
+
if (!this.proxyOf.nodes) return undefined;
|
|
65
|
+
return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
|
|
66
|
+
}
|
|
59
67
|
append(...children) {
|
|
60
68
|
for (let child of children) {
|
|
61
69
|
let nodes = this.normalize(child, this.last);
|
|
@@ -374,14 +382,6 @@
|
|
|
374
382
|
}
|
|
375
383
|
});
|
|
376
384
|
}
|
|
377
|
-
get first() {
|
|
378
|
-
if (!this.proxyOf.nodes) return undefined;
|
|
379
|
-
return this.proxyOf.nodes[0];
|
|
380
|
-
}
|
|
381
|
-
get last() {
|
|
382
|
-
if (!this.proxyOf.nodes) return undefined;
|
|
383
|
-
return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
|
|
384
|
-
}
|
|
385
385
|
}
|
|
386
386
|
Container.registerParse = (dependant) => {
|
|
387
387
|
parse = dependant;
|
|
@@ -417,10 +417,10 @@
|
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
},
|
|
420
|
-
|
|
420
|
+
138: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
421
421
|
"use strict";
|
|
422
422
|
let pico = __nccwpck_require__(717);
|
|
423
|
-
let terminalHighlight = __nccwpck_require__(
|
|
423
|
+
let terminalHighlight = __nccwpck_require__(25);
|
|
424
424
|
class CssSyntaxError extends Error {
|
|
425
425
|
constructor(message, line, column, source, file, plugin) {
|
|
426
426
|
super(message);
|
|
@@ -533,10 +533,13 @@
|
|
|
533
533
|
module.exports = CssSyntaxError;
|
|
534
534
|
CssSyntaxError.default = CssSyntaxError;
|
|
535
535
|
},
|
|
536
|
-
|
|
536
|
+
218: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
537
537
|
"use strict";
|
|
538
|
-
let Node = __nccwpck_require__(
|
|
538
|
+
let Node = __nccwpck_require__(716);
|
|
539
539
|
class Declaration extends Node {
|
|
540
|
+
get variable() {
|
|
541
|
+
return this.prop.startsWith("--") || this.prop[0] === "$";
|
|
542
|
+
}
|
|
540
543
|
constructor(defaults) {
|
|
541
544
|
if (
|
|
542
545
|
defaults &&
|
|
@@ -548,16 +551,13 @@
|
|
|
548
551
|
super(defaults);
|
|
549
552
|
this.type = "decl";
|
|
550
553
|
}
|
|
551
|
-
get variable() {
|
|
552
|
-
return this.prop.startsWith("--") || this.prop[0] === "$";
|
|
553
|
-
}
|
|
554
554
|
}
|
|
555
555
|
module.exports = Declaration;
|
|
556
556
|
Declaration.default = Declaration;
|
|
557
557
|
},
|
|
558
|
-
|
|
558
|
+
661: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
559
559
|
"use strict";
|
|
560
|
-
let Container = __nccwpck_require__(
|
|
560
|
+
let Container = __nccwpck_require__(797);
|
|
561
561
|
let LazyResult, Processor;
|
|
562
562
|
class Document extends Container {
|
|
563
563
|
constructor(defaults) {
|
|
@@ -580,15 +580,15 @@
|
|
|
580
580
|
module.exports = Document;
|
|
581
581
|
Document.default = Document;
|
|
582
582
|
},
|
|
583
|
-
|
|
583
|
+
746: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
584
584
|
"use strict";
|
|
585
|
-
let AtRule = __nccwpck_require__(
|
|
586
|
-
let Comment = __nccwpck_require__(
|
|
587
|
-
let Declaration = __nccwpck_require__(
|
|
588
|
-
let Input = __nccwpck_require__(
|
|
589
|
-
let PreviousMap = __nccwpck_require__(
|
|
590
|
-
let Root = __nccwpck_require__(
|
|
591
|
-
let Rule = __nccwpck_require__(
|
|
585
|
+
let AtRule = __nccwpck_require__(696);
|
|
586
|
+
let Comment = __nccwpck_require__(943);
|
|
587
|
+
let Declaration = __nccwpck_require__(218);
|
|
588
|
+
let Input = __nccwpck_require__(646);
|
|
589
|
+
let PreviousMap = __nccwpck_require__(522);
|
|
590
|
+
let Root = __nccwpck_require__(384);
|
|
591
|
+
let Rule = __nccwpck_require__(418);
|
|
592
592
|
function fromJSON(json, inputs) {
|
|
593
593
|
if (Array.isArray(json)) return json.map((n) => fromJSON(n));
|
|
594
594
|
let { inputs: ownInputs, ...defaults } = json;
|
|
@@ -632,19 +632,22 @@
|
|
|
632
632
|
module.exports = fromJSON;
|
|
633
633
|
fromJSON.default = fromJSON;
|
|
634
634
|
},
|
|
635
|
-
|
|
635
|
+
646: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
636
636
|
"use strict";
|
|
637
637
|
let { nanoid } = __nccwpck_require__(511);
|
|
638
638
|
let { isAbsolute, resolve } = __nccwpck_require__(928);
|
|
639
639
|
let { SourceMapConsumer, SourceMapGenerator } = __nccwpck_require__(840);
|
|
640
640
|
let { fileURLToPath, pathToFileURL } = __nccwpck_require__(16);
|
|
641
|
-
let CssSyntaxError = __nccwpck_require__(
|
|
642
|
-
let PreviousMap = __nccwpck_require__(
|
|
643
|
-
let terminalHighlight = __nccwpck_require__(
|
|
641
|
+
let CssSyntaxError = __nccwpck_require__(138);
|
|
642
|
+
let PreviousMap = __nccwpck_require__(522);
|
|
643
|
+
let terminalHighlight = __nccwpck_require__(25);
|
|
644
644
|
let fromOffsetCache = Symbol("fromOffsetCache");
|
|
645
645
|
let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);
|
|
646
646
|
let pathAvailable = Boolean(resolve && isAbsolute);
|
|
647
647
|
class Input {
|
|
648
|
+
get from() {
|
|
649
|
+
return this.file || this.id;
|
|
650
|
+
}
|
|
648
651
|
constructor(css, opts = {}) {
|
|
649
652
|
if (
|
|
650
653
|
css === null ||
|
|
@@ -847,9 +850,6 @@
|
|
|
847
850
|
}
|
|
848
851
|
return json;
|
|
849
852
|
}
|
|
850
|
-
get from() {
|
|
851
|
-
return this.file || this.id;
|
|
852
|
-
}
|
|
853
853
|
}
|
|
854
854
|
module.exports = Input;
|
|
855
855
|
Input.default = Input;
|
|
@@ -857,17 +857,17 @@
|
|
|
857
857
|
terminalHighlight.registerInput(Input);
|
|
858
858
|
}
|
|
859
859
|
},
|
|
860
|
-
|
|
860
|
+
282: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
861
861
|
"use strict";
|
|
862
|
-
let Container = __nccwpck_require__(
|
|
863
|
-
let Document = __nccwpck_require__(
|
|
864
|
-
let MapGenerator = __nccwpck_require__(
|
|
865
|
-
let parse = __nccwpck_require__(
|
|
866
|
-
let Result = __nccwpck_require__(
|
|
867
|
-
let Root = __nccwpck_require__(
|
|
868
|
-
let stringify = __nccwpck_require__(
|
|
869
|
-
let { isClean, my } = __nccwpck_require__(
|
|
870
|
-
let warnOnce = __nccwpck_require__(
|
|
862
|
+
let Container = __nccwpck_require__(797);
|
|
863
|
+
let Document = __nccwpck_require__(661);
|
|
864
|
+
let MapGenerator = __nccwpck_require__(168);
|
|
865
|
+
let parse = __nccwpck_require__(253);
|
|
866
|
+
let Result = __nccwpck_require__(745);
|
|
867
|
+
let Root = __nccwpck_require__(384);
|
|
868
|
+
let stringify = __nccwpck_require__(315);
|
|
869
|
+
let { isClean, my } = __nccwpck_require__(475);
|
|
870
|
+
let warnOnce = __nccwpck_require__(32);
|
|
871
871
|
const TYPE_TO_CLASS_NAME = {
|
|
872
872
|
atrule: "AtRule",
|
|
873
873
|
comment: "Comment",
|
|
@@ -948,6 +948,30 @@
|
|
|
948
948
|
}
|
|
949
949
|
let postcss = {};
|
|
950
950
|
class LazyResult {
|
|
951
|
+
get content() {
|
|
952
|
+
return this.stringify().content;
|
|
953
|
+
}
|
|
954
|
+
get css() {
|
|
955
|
+
return this.stringify().css;
|
|
956
|
+
}
|
|
957
|
+
get map() {
|
|
958
|
+
return this.stringify().map;
|
|
959
|
+
}
|
|
960
|
+
get messages() {
|
|
961
|
+
return this.sync().messages;
|
|
962
|
+
}
|
|
963
|
+
get opts() {
|
|
964
|
+
return this.result.opts;
|
|
965
|
+
}
|
|
966
|
+
get processor() {
|
|
967
|
+
return this.result.processor;
|
|
968
|
+
}
|
|
969
|
+
get root() {
|
|
970
|
+
return this.sync().root;
|
|
971
|
+
}
|
|
972
|
+
get [Symbol.toStringTag]() {
|
|
973
|
+
return "LazyResult";
|
|
974
|
+
}
|
|
951
975
|
constructor(processor, css, opts) {
|
|
952
976
|
this.stringified = false;
|
|
953
977
|
this.processed = false;
|
|
@@ -1314,30 +1338,6 @@
|
|
|
1314
1338
|
warnings() {
|
|
1315
1339
|
return this.sync().warnings();
|
|
1316
1340
|
}
|
|
1317
|
-
get content() {
|
|
1318
|
-
return this.stringify().content;
|
|
1319
|
-
}
|
|
1320
|
-
get css() {
|
|
1321
|
-
return this.stringify().css;
|
|
1322
|
-
}
|
|
1323
|
-
get map() {
|
|
1324
|
-
return this.stringify().map;
|
|
1325
|
-
}
|
|
1326
|
-
get messages() {
|
|
1327
|
-
return this.sync().messages;
|
|
1328
|
-
}
|
|
1329
|
-
get opts() {
|
|
1330
|
-
return this.result.opts;
|
|
1331
|
-
}
|
|
1332
|
-
get processor() {
|
|
1333
|
-
return this.result.processor;
|
|
1334
|
-
}
|
|
1335
|
-
get root() {
|
|
1336
|
-
return this.sync().root;
|
|
1337
|
-
}
|
|
1338
|
-
get [Symbol.toStringTag]() {
|
|
1339
|
-
return "LazyResult";
|
|
1340
|
-
}
|
|
1341
1341
|
}
|
|
1342
1342
|
LazyResult.registerPostcss = (dependant) => {
|
|
1343
1343
|
postcss = dependant;
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
Root.registerLazyResult(LazyResult);
|
|
1348
1348
|
Document.registerLazyResult(LazyResult);
|
|
1349
1349
|
},
|
|
1350
|
-
|
|
1350
|
+
28: (module) => {
|
|
1351
1351
|
"use strict";
|
|
1352
1352
|
let list = {
|
|
1353
1353
|
comma(string) {
|
|
@@ -1399,12 +1399,12 @@
|
|
|
1399
1399
|
module.exports = list;
|
|
1400
1400
|
list.default = list;
|
|
1401
1401
|
},
|
|
1402
|
-
|
|
1402
|
+
168: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1403
1403
|
"use strict";
|
|
1404
1404
|
let { dirname, relative, resolve, sep } = __nccwpck_require__(928);
|
|
1405
1405
|
let { SourceMapConsumer, SourceMapGenerator } = __nccwpck_require__(840);
|
|
1406
1406
|
let { pathToFileURL } = __nccwpck_require__(16);
|
|
1407
|
-
let Input = __nccwpck_require__(
|
|
1407
|
+
let Input = __nccwpck_require__(646);
|
|
1408
1408
|
let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);
|
|
1409
1409
|
let pathAvailable = Boolean(dirname && resolve && relative && sep);
|
|
1410
1410
|
class MapGenerator {
|
|
@@ -1721,14 +1721,53 @@
|
|
|
1721
1721
|
}
|
|
1722
1722
|
module.exports = MapGenerator;
|
|
1723
1723
|
},
|
|
1724
|
-
|
|
1724
|
+
175: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1725
1725
|
"use strict";
|
|
1726
|
-
let MapGenerator = __nccwpck_require__(
|
|
1727
|
-
let parse = __nccwpck_require__(
|
|
1728
|
-
const Result = __nccwpck_require__(
|
|
1729
|
-
let stringify = __nccwpck_require__(
|
|
1730
|
-
let warnOnce = __nccwpck_require__(
|
|
1726
|
+
let MapGenerator = __nccwpck_require__(168);
|
|
1727
|
+
let parse = __nccwpck_require__(253);
|
|
1728
|
+
const Result = __nccwpck_require__(745);
|
|
1729
|
+
let stringify = __nccwpck_require__(315);
|
|
1730
|
+
let warnOnce = __nccwpck_require__(32);
|
|
1731
1731
|
class NoWorkResult {
|
|
1732
|
+
get content() {
|
|
1733
|
+
return this.result.css;
|
|
1734
|
+
}
|
|
1735
|
+
get css() {
|
|
1736
|
+
return this.result.css;
|
|
1737
|
+
}
|
|
1738
|
+
get map() {
|
|
1739
|
+
return this.result.map;
|
|
1740
|
+
}
|
|
1741
|
+
get messages() {
|
|
1742
|
+
return [];
|
|
1743
|
+
}
|
|
1744
|
+
get opts() {
|
|
1745
|
+
return this.result.opts;
|
|
1746
|
+
}
|
|
1747
|
+
get processor() {
|
|
1748
|
+
return this.result.processor;
|
|
1749
|
+
}
|
|
1750
|
+
get root() {
|
|
1751
|
+
if (this._root) {
|
|
1752
|
+
return this._root;
|
|
1753
|
+
}
|
|
1754
|
+
let root;
|
|
1755
|
+
let parser = parse;
|
|
1756
|
+
try {
|
|
1757
|
+
root = parser(this._css, this._opts);
|
|
1758
|
+
} catch (error) {
|
|
1759
|
+
this.error = error;
|
|
1760
|
+
}
|
|
1761
|
+
if (this.error) {
|
|
1762
|
+
throw this.error;
|
|
1763
|
+
} else {
|
|
1764
|
+
this._root = root;
|
|
1765
|
+
return root;
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
get [Symbol.toStringTag]() {
|
|
1769
|
+
return "NoWorkResult";
|
|
1770
|
+
}
|
|
1732
1771
|
constructor(processor, css, opts) {
|
|
1733
1772
|
css = css.toString();
|
|
1734
1773
|
this.stringified = false;
|
|
@@ -1792,55 +1831,16 @@
|
|
|
1792
1831
|
warnings() {
|
|
1793
1832
|
return [];
|
|
1794
1833
|
}
|
|
1795
|
-
get content() {
|
|
1796
|
-
return this.result.css;
|
|
1797
|
-
}
|
|
1798
|
-
get css() {
|
|
1799
|
-
return this.result.css;
|
|
1800
|
-
}
|
|
1801
|
-
get map() {
|
|
1802
|
-
return this.result.map;
|
|
1803
|
-
}
|
|
1804
|
-
get messages() {
|
|
1805
|
-
return [];
|
|
1806
|
-
}
|
|
1807
|
-
get opts() {
|
|
1808
|
-
return this.result.opts;
|
|
1809
|
-
}
|
|
1810
|
-
get processor() {
|
|
1811
|
-
return this.result.processor;
|
|
1812
|
-
}
|
|
1813
|
-
get root() {
|
|
1814
|
-
if (this._root) {
|
|
1815
|
-
return this._root;
|
|
1816
|
-
}
|
|
1817
|
-
let root;
|
|
1818
|
-
let parser = parse;
|
|
1819
|
-
try {
|
|
1820
|
-
root = parser(this._css, this._opts);
|
|
1821
|
-
} catch (error) {
|
|
1822
|
-
this.error = error;
|
|
1823
|
-
}
|
|
1824
|
-
if (this.error) {
|
|
1825
|
-
throw this.error;
|
|
1826
|
-
} else {
|
|
1827
|
-
this._root = root;
|
|
1828
|
-
return root;
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
|
-
get [Symbol.toStringTag]() {
|
|
1832
|
-
return "NoWorkResult";
|
|
1833
|
-
}
|
|
1834
1834
|
}
|
|
1835
1835
|
module.exports = NoWorkResult;
|
|
1836
1836
|
NoWorkResult.default = NoWorkResult;
|
|
1837
1837
|
},
|
|
1838
|
-
|
|
1838
|
+
716: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
1839
1839
|
"use strict";
|
|
1840
|
-
let CssSyntaxError = __nccwpck_require__(
|
|
1841
|
-
let Stringifier = __nccwpck_require__(
|
|
1842
|
-
let stringify = __nccwpck_require__(
|
|
1843
|
-
let { isClean, my } = __nccwpck_require__(
|
|
1840
|
+
let CssSyntaxError = __nccwpck_require__(138);
|
|
1841
|
+
let Stringifier = __nccwpck_require__(120);
|
|
1842
|
+
let stringify = __nccwpck_require__(315);
|
|
1843
|
+
let { isClean, my } = __nccwpck_require__(475);
|
|
1844
1844
|
function cloneNode(obj, parent) {
|
|
1845
1845
|
let cloned = new obj.constructor();
|
|
1846
1846
|
for (let i in obj) {
|
|
@@ -1885,6 +1885,9 @@
|
|
|
1885
1885
|
return offset;
|
|
1886
1886
|
}
|
|
1887
1887
|
class Node {
|
|
1888
|
+
get proxyOf() {
|
|
1889
|
+
return this;
|
|
1890
|
+
}
|
|
1888
1891
|
constructor(defaults = {}) {
|
|
1889
1892
|
this.raws = {};
|
|
1890
1893
|
this[isClean] = false;
|
|
@@ -2189,18 +2192,15 @@
|
|
|
2189
2192
|
for (let i in opts) data[i] = opts[i];
|
|
2190
2193
|
return result.warn(text, data);
|
|
2191
2194
|
}
|
|
2192
|
-
get proxyOf() {
|
|
2193
|
-
return this;
|
|
2194
|
-
}
|
|
2195
2195
|
}
|
|
2196
2196
|
module.exports = Node;
|
|
2197
2197
|
Node.default = Node;
|
|
2198
2198
|
},
|
|
2199
|
-
|
|
2199
|
+
253: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2200
2200
|
"use strict";
|
|
2201
|
-
let Container = __nccwpck_require__(
|
|
2202
|
-
let Input = __nccwpck_require__(
|
|
2203
|
-
let Parser = __nccwpck_require__(
|
|
2201
|
+
let Container = __nccwpck_require__(797);
|
|
2202
|
+
let Input = __nccwpck_require__(646);
|
|
2203
|
+
let Parser = __nccwpck_require__(607);
|
|
2204
2204
|
function parse(css, opts) {
|
|
2205
2205
|
let input = new Input(css, opts);
|
|
2206
2206
|
let parser = new Parser(input);
|
|
@@ -2235,14 +2235,14 @@
|
|
|
2235
2235
|
parse.default = parse;
|
|
2236
2236
|
Container.registerParse(parse);
|
|
2237
2237
|
},
|
|
2238
|
-
|
|
2238
|
+
607: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2239
2239
|
"use strict";
|
|
2240
|
-
let AtRule = __nccwpck_require__(
|
|
2241
|
-
let Comment = __nccwpck_require__(
|
|
2242
|
-
let Declaration = __nccwpck_require__(
|
|
2243
|
-
let Root = __nccwpck_require__(
|
|
2244
|
-
let Rule = __nccwpck_require__(
|
|
2245
|
-
let tokenizer = __nccwpck_require__(
|
|
2240
|
+
let AtRule = __nccwpck_require__(696);
|
|
2241
|
+
let Comment = __nccwpck_require__(943);
|
|
2242
|
+
let Declaration = __nccwpck_require__(218);
|
|
2243
|
+
let Root = __nccwpck_require__(384);
|
|
2244
|
+
let Rule = __nccwpck_require__(418);
|
|
2245
|
+
let tokenizer = __nccwpck_require__(841);
|
|
2246
2246
|
const SAFE_COMMENT_NEIGHBOR = { empty: true, space: true };
|
|
2247
2247
|
function findLastWithPosition(tokens) {
|
|
2248
2248
|
for (let i = tokens.length - 1; i >= 0; i--) {
|
|
@@ -2747,7 +2747,7 @@
|
|
|
2747
2747
|
}
|
|
2748
2748
|
unknownWord(tokens) {
|
|
2749
2749
|
throw this.input.error(
|
|
2750
|
-
"Unknown word",
|
|
2750
|
+
"Unknown word " + tokens[0][1],
|
|
2751
2751
|
{ offset: tokens[0][2] },
|
|
2752
2752
|
{ offset: tokens[0][2] + tokens[0][1].length },
|
|
2753
2753
|
);
|
|
@@ -2762,26 +2762,26 @@
|
|
|
2762
2762
|
}
|
|
2763
2763
|
module.exports = Parser;
|
|
2764
2764
|
},
|
|
2765
|
-
|
|
2765
|
+
19: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2766
2766
|
"use strict";
|
|
2767
|
-
let AtRule = __nccwpck_require__(
|
|
2768
|
-
let Comment = __nccwpck_require__(
|
|
2769
|
-
let Container = __nccwpck_require__(
|
|
2770
|
-
let CssSyntaxError = __nccwpck_require__(
|
|
2771
|
-
let Declaration = __nccwpck_require__(
|
|
2772
|
-
let Document = __nccwpck_require__(
|
|
2773
|
-
let fromJSON = __nccwpck_require__(
|
|
2774
|
-
let Input = __nccwpck_require__(
|
|
2775
|
-
let LazyResult = __nccwpck_require__(
|
|
2776
|
-
let list = __nccwpck_require__(
|
|
2777
|
-
let Node = __nccwpck_require__(
|
|
2778
|
-
let parse = __nccwpck_require__(
|
|
2779
|
-
let Processor = __nccwpck_require__(
|
|
2780
|
-
let Result = __nccwpck_require__(
|
|
2781
|
-
let Root = __nccwpck_require__(
|
|
2782
|
-
let Rule = __nccwpck_require__(
|
|
2783
|
-
let stringify = __nccwpck_require__(
|
|
2784
|
-
let Warning = __nccwpck_require__(
|
|
2767
|
+
let AtRule = __nccwpck_require__(696);
|
|
2768
|
+
let Comment = __nccwpck_require__(943);
|
|
2769
|
+
let Container = __nccwpck_require__(797);
|
|
2770
|
+
let CssSyntaxError = __nccwpck_require__(138);
|
|
2771
|
+
let Declaration = __nccwpck_require__(218);
|
|
2772
|
+
let Document = __nccwpck_require__(661);
|
|
2773
|
+
let fromJSON = __nccwpck_require__(746);
|
|
2774
|
+
let Input = __nccwpck_require__(646);
|
|
2775
|
+
let LazyResult = __nccwpck_require__(282);
|
|
2776
|
+
let list = __nccwpck_require__(28);
|
|
2777
|
+
let Node = __nccwpck_require__(716);
|
|
2778
|
+
let parse = __nccwpck_require__(253);
|
|
2779
|
+
let Processor = __nccwpck_require__(426);
|
|
2780
|
+
let Result = __nccwpck_require__(745);
|
|
2781
|
+
let Root = __nccwpck_require__(384);
|
|
2782
|
+
let Rule = __nccwpck_require__(418);
|
|
2783
|
+
let stringify = __nccwpck_require__(315);
|
|
2784
|
+
let Warning = __nccwpck_require__(546);
|
|
2785
2785
|
function postcss(...plugins) {
|
|
2786
2786
|
if (plugins.length === 1 && Array.isArray(plugins[0])) {
|
|
2787
2787
|
plugins = plugins[0];
|
|
@@ -2850,7 +2850,7 @@
|
|
|
2850
2850
|
module.exports = postcss;
|
|
2851
2851
|
postcss.default = postcss;
|
|
2852
2852
|
},
|
|
2853
|
-
|
|
2853
|
+
522: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2854
2854
|
"use strict";
|
|
2855
2855
|
let { existsSync, readFileSync } = __nccwpck_require__(896);
|
|
2856
2856
|
let { dirname, join } = __nccwpck_require__(928);
|
|
@@ -2976,15 +2976,15 @@
|
|
|
2976
2976
|
module.exports = PreviousMap;
|
|
2977
2977
|
PreviousMap.default = PreviousMap;
|
|
2978
2978
|
},
|
|
2979
|
-
|
|
2979
|
+
426: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2980
2980
|
"use strict";
|
|
2981
|
-
let Document = __nccwpck_require__(
|
|
2982
|
-
let LazyResult = __nccwpck_require__(
|
|
2983
|
-
let NoWorkResult = __nccwpck_require__(
|
|
2984
|
-
let Root = __nccwpck_require__(
|
|
2981
|
+
let Document = __nccwpck_require__(661);
|
|
2982
|
+
let LazyResult = __nccwpck_require__(282);
|
|
2983
|
+
let NoWorkResult = __nccwpck_require__(175);
|
|
2984
|
+
let Root = __nccwpck_require__(384);
|
|
2985
2985
|
class Processor {
|
|
2986
2986
|
constructor(plugins = []) {
|
|
2987
|
-
this.version = "8.5.
|
|
2987
|
+
this.version = "8.5.3";
|
|
2988
2988
|
this.plugins = this.normalize(plugins);
|
|
2989
2989
|
}
|
|
2990
2990
|
normalize(plugins) {
|
|
@@ -3037,10 +3037,13 @@
|
|
|
3037
3037
|
Root.registerProcessor(Processor);
|
|
3038
3038
|
Document.registerProcessor(Processor);
|
|
3039
3039
|
},
|
|
3040
|
-
|
|
3040
|
+
745: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3041
3041
|
"use strict";
|
|
3042
|
-
let Warning = __nccwpck_require__(
|
|
3042
|
+
let Warning = __nccwpck_require__(546);
|
|
3043
3043
|
class Result {
|
|
3044
|
+
get content() {
|
|
3045
|
+
return this.css;
|
|
3046
|
+
}
|
|
3044
3047
|
constructor(processor, root, opts) {
|
|
3045
3048
|
this.processor = processor;
|
|
3046
3049
|
this.messages = [];
|
|
@@ -3065,16 +3068,13 @@
|
|
|
3065
3068
|
warnings() {
|
|
3066
3069
|
return this.messages.filter((i) => i.type === "warning");
|
|
3067
3070
|
}
|
|
3068
|
-
get content() {
|
|
3069
|
-
return this.css;
|
|
3070
|
-
}
|
|
3071
3071
|
}
|
|
3072
3072
|
module.exports = Result;
|
|
3073
3073
|
Result.default = Result;
|
|
3074
3074
|
},
|
|
3075
|
-
|
|
3075
|
+
384: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3076
3076
|
"use strict";
|
|
3077
|
-
let Container = __nccwpck_require__(
|
|
3077
|
+
let Container = __nccwpck_require__(797);
|
|
3078
3078
|
let LazyResult, Processor;
|
|
3079
3079
|
class Root extends Container {
|
|
3080
3080
|
constructor(defaults) {
|
|
@@ -3121,16 +3121,11 @@
|
|
|
3121
3121
|
Root.default = Root;
|
|
3122
3122
|
Container.registerRoot(Root);
|
|
3123
3123
|
},
|
|
3124
|
-
|
|
3124
|
+
418: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3125
3125
|
"use strict";
|
|
3126
|
-
let Container = __nccwpck_require__(
|
|
3127
|
-
let list = __nccwpck_require__(
|
|
3126
|
+
let Container = __nccwpck_require__(797);
|
|
3127
|
+
let list = __nccwpck_require__(28);
|
|
3128
3128
|
class Rule extends Container {
|
|
3129
|
-
constructor(defaults) {
|
|
3130
|
-
super(defaults);
|
|
3131
|
-
this.type = "rule";
|
|
3132
|
-
if (!this.nodes) this.nodes = [];
|
|
3133
|
-
}
|
|
3134
3129
|
get selectors() {
|
|
3135
3130
|
return list.comma(this.selector);
|
|
3136
3131
|
}
|
|
@@ -3139,12 +3134,17 @@
|
|
|
3139
3134
|
let sep = match ? match[0] : "," + this.raw("between", "beforeOpen");
|
|
3140
3135
|
this.selector = values.join(sep);
|
|
3141
3136
|
}
|
|
3137
|
+
constructor(defaults) {
|
|
3138
|
+
super(defaults);
|
|
3139
|
+
this.type = "rule";
|
|
3140
|
+
if (!this.nodes) this.nodes = [];
|
|
3141
|
+
}
|
|
3142
3142
|
}
|
|
3143
3143
|
module.exports = Rule;
|
|
3144
3144
|
Rule.default = Rule;
|
|
3145
3145
|
Container.registerRule(Rule);
|
|
3146
3146
|
},
|
|
3147
|
-
|
|
3147
|
+
120: (module) => {
|
|
3148
3148
|
"use strict";
|
|
3149
3149
|
const DEFAULT_RAW = {
|
|
3150
3150
|
after: "\n",
|
|
@@ -3447,9 +3447,9 @@
|
|
|
3447
3447
|
module.exports = Stringifier;
|
|
3448
3448
|
Stringifier.default = Stringifier;
|
|
3449
3449
|
},
|
|
3450
|
-
|
|
3450
|
+
315: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3451
3451
|
"use strict";
|
|
3452
|
-
let Stringifier = __nccwpck_require__(
|
|
3452
|
+
let Stringifier = __nccwpck_require__(120);
|
|
3453
3453
|
function stringify(node, builder) {
|
|
3454
3454
|
let str = new Stringifier(builder);
|
|
3455
3455
|
str.stringify(node);
|
|
@@ -3457,15 +3457,15 @@
|
|
|
3457
3457
|
module.exports = stringify;
|
|
3458
3458
|
stringify.default = stringify;
|
|
3459
3459
|
},
|
|
3460
|
-
|
|
3460
|
+
475: (module) => {
|
|
3461
3461
|
"use strict";
|
|
3462
3462
|
module.exports.isClean = Symbol("isClean");
|
|
3463
3463
|
module.exports.my = Symbol("my");
|
|
3464
3464
|
},
|
|
3465
|
-
|
|
3465
|
+
25: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3466
3466
|
"use strict";
|
|
3467
3467
|
let pico = __nccwpck_require__(717);
|
|
3468
|
-
let tokenizer = __nccwpck_require__(
|
|
3468
|
+
let tokenizer = __nccwpck_require__(841);
|
|
3469
3469
|
let Input;
|
|
3470
3470
|
function registerInput(dependant) {
|
|
3471
3471
|
Input = dependant;
|
|
@@ -3523,7 +3523,7 @@
|
|
|
3523
3523
|
terminalHighlight.registerInput = registerInput;
|
|
3524
3524
|
module.exports = terminalHighlight;
|
|
3525
3525
|
},
|
|
3526
|
-
|
|
3526
|
+
841: (module) => {
|
|
3527
3527
|
"use strict";
|
|
3528
3528
|
const SINGLE_QUOTE = "'".charCodeAt(0);
|
|
3529
3529
|
const DOUBLE_QUOTE = '"'.charCodeAt(0);
|
|
@@ -3757,7 +3757,7 @@
|
|
|
3757
3757
|
return { back, endOfFile, nextToken, position };
|
|
3758
3758
|
};
|
|
3759
3759
|
},
|
|
3760
|
-
|
|
3760
|
+
32: (module) => {
|
|
3761
3761
|
"use strict";
|
|
3762
3762
|
let printed = {};
|
|
3763
3763
|
module.exports = function warnOnce(message) {
|
|
@@ -3768,7 +3768,7 @@
|
|
|
3768
3768
|
}
|
|
3769
3769
|
};
|
|
3770
3770
|
},
|
|
3771
|
-
|
|
3771
|
+
546: (module) => {
|
|
3772
3772
|
"use strict";
|
|
3773
3773
|
class Warning {
|
|
3774
3774
|
constructor(text, opts = {}) {
|
|
@@ -6008,6 +6008,6 @@
|
|
|
6008
6008
|
}
|
|
6009
6009
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
6010
6010
|
__nccwpck_require__.ab = __dirname + "/";
|
|
6011
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
6011
|
+
var __webpack_exports__ = __nccwpck_require__(19);
|
|
6012
6012
|
module.exports = __webpack_exports__;
|
|
6013
6013
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.5.
|
|
1
|
+
{"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.5.3","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":"index.d.ts","type":"commonjs"}
|