postcss 8.5.4 → 8.5.6
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 +2 -1
- package/lib/container.d.ts +7 -4
- package/lib/processor.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
@@ -13,7 +13,8 @@ and JetBrains. The [Autoprefixer] and [Stylelint] PostCSS plugins are some o
|
|
13
13
|
|
14
14
|
---
|
15
15
|
|
16
|
-
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />
|
16
|
+
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" /> Built by
|
17
|
+
<b><a href="https://evilmartians.com/devtools?utm_source=postcss&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, go-to agency for <b>developer tools</b>.
|
17
18
|
|
18
19
|
---
|
19
20
|
|
package/lib/container.d.ts
CHANGED
@@ -2,14 +2,17 @@ import AtRule from './at-rule.js'
|
|
2
2
|
import Comment from './comment.js'
|
3
3
|
import Declaration from './declaration.js'
|
4
4
|
import Node, { ChildNode, ChildProps, NodeProps } from './node.js'
|
5
|
+
import { Root } from './postcss.js'
|
5
6
|
import Rule from './rule.js'
|
6
7
|
|
7
8
|
declare namespace Container {
|
8
|
-
export
|
9
|
-
Child extends Node = ChildNode
|
10
|
-
> extends Container_<Child> {
|
9
|
+
export type ContainerWithChildren<Child extends Node = ChildNode> = {
|
11
10
|
nodes: Child[]
|
12
|
-
}
|
11
|
+
} & (
|
12
|
+
| AtRule
|
13
|
+
| Root
|
14
|
+
| Rule
|
15
|
+
)
|
13
16
|
|
14
17
|
export interface ValueOptions {
|
15
18
|
/**
|
package/lib/processor.js
CHANGED
package/package.json
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "postcss",
|
3
|
-
"version": "8.5.
|
3
|
+
"version": "8.5.6",
|
4
4
|
"description": "Tool for transforming styles with JS plugins",
|
5
5
|
"engines": {
|
6
6
|
"node": "^10 || ^12 || >=14"
|
7
7
|
},
|
8
8
|
"exports": {
|
9
9
|
".": {
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"import": "./lib/postcss.mjs",
|
11
|
+
"require": "./lib/postcss.js"
|
12
12
|
},
|
13
13
|
"./lib/at-rule": "./lib/at-rule.js",
|
14
14
|
"./lib/comment": "./lib/comment.js",
|