postcss 8.3.9 → 8.4.31
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/README.md +7 -23
- package/lib/at-rule.d.ts +58 -49
- package/lib/comment.d.ts +43 -32
- package/lib/container.d.ts +233 -223
- package/lib/container.js +251 -244
- package/lib/css-syntax-error.d.ts +117 -61
- package/lib/css-syntax-error.js +10 -3
- package/lib/declaration.d.ts +85 -61
- package/lib/document.d.ts +27 -16
- package/lib/fromJSON.d.ts +6 -2
- package/lib/input.d.ts +118 -54
- package/lib/input.js +87 -55
- package/lib/lazy-result.d.ts +82 -67
- package/lib/lazy-result.js +234 -232
- package/lib/list.d.ts +53 -47
- package/lib/list.js +16 -14
- package/lib/map-generator.js +231 -172
- package/lib/no-work-result.d.ts +46 -0
- package/lib/no-work-result.js +135 -0
- package/lib/node.d.ts +345 -253
- package/lib/node.js +200 -139
- package/lib/parse.d.ts +6 -2
- package/lib/parser.js +354 -309
- package/lib/postcss.d.mts +72 -0
- package/lib/postcss.d.ts +288 -319
- package/lib/postcss.js +18 -12
- package/lib/postcss.mjs +1 -0
- package/lib/previous-map.d.ts +23 -14
- package/lib/previous-map.js +37 -40
- package/lib/processor.d.ts +55 -41
- package/lib/processor.js +20 -27
- package/lib/result.d.ts +87 -76
- package/lib/root.d.ts +49 -36
- package/lib/root.js +12 -10
- package/lib/rule.d.ts +54 -45
- package/lib/stringifier.d.ts +46 -0
- package/lib/stringifier.js +140 -138
- package/lib/stringify.d.ts +6 -2
- package/lib/terminal-highlight.js +11 -11
- package/lib/tokenize.js +2 -2
- package/lib/warn-once.js +1 -0
- package/lib/warning.d.ts +79 -36
- package/lib/warning.js +6 -4
- package/package.json +20 -10
@@ -0,0 +1,72 @@
|
|
1
|
+
export {
|
2
|
+
// postcss function / namespace
|
3
|
+
default,
|
4
|
+
|
5
|
+
// Value exports from postcss.mjs
|
6
|
+
stringify,
|
7
|
+
fromJSON,
|
8
|
+
// @ts-expect-error This value exists, but it’s untyped.
|
9
|
+
plugin,
|
10
|
+
parse,
|
11
|
+
list,
|
12
|
+
|
13
|
+
document,
|
14
|
+
comment,
|
15
|
+
atRule,
|
16
|
+
rule,
|
17
|
+
decl,
|
18
|
+
root,
|
19
|
+
|
20
|
+
CssSyntaxError,
|
21
|
+
Declaration,
|
22
|
+
Container,
|
23
|
+
Processor,
|
24
|
+
Document,
|
25
|
+
Comment,
|
26
|
+
Warning,
|
27
|
+
AtRule,
|
28
|
+
Result,
|
29
|
+
Input,
|
30
|
+
Rule,
|
31
|
+
Root,
|
32
|
+
Node,
|
33
|
+
|
34
|
+
// Type-only exports
|
35
|
+
AcceptedPlugin,
|
36
|
+
AnyNode,
|
37
|
+
AtRuleProps,
|
38
|
+
Builder,
|
39
|
+
ChildNode,
|
40
|
+
ChildProps,
|
41
|
+
CommentProps,
|
42
|
+
ContainerProps,
|
43
|
+
DeclarationProps,
|
44
|
+
DocumentProps,
|
45
|
+
FilePosition,
|
46
|
+
Helpers,
|
47
|
+
JSONHydrator,
|
48
|
+
Message,
|
49
|
+
NodeErrorOptions,
|
50
|
+
NodeProps,
|
51
|
+
OldPlugin,
|
52
|
+
Parser,
|
53
|
+
Plugin,
|
54
|
+
PluginCreator,
|
55
|
+
Position,
|
56
|
+
Postcss,
|
57
|
+
ProcessOptions,
|
58
|
+
RootProps,
|
59
|
+
RuleProps,
|
60
|
+
Source,
|
61
|
+
SourceMap,
|
62
|
+
SourceMapOptions,
|
63
|
+
Stringifier,
|
64
|
+
Syntax,
|
65
|
+
TransformCallback,
|
66
|
+
Transformer,
|
67
|
+
WarningOptions,
|
68
|
+
|
69
|
+
// This is a class, but it’s not re-exported. That’s why it’s exported as type-only here.
|
70
|
+
type LazyResult,
|
71
|
+
|
72
|
+
} from './postcss.js'
|