postcss 8.5.5 → 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.
@@ -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 class ContainerWithChildren<
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
@@ -7,7 +7,7 @@ let Root = require('./root')
7
7
 
8
8
  class Processor {
9
9
  constructor(plugins = []) {
10
- this.version = '8.5.5'
10
+ this.version = '8.5.6'
11
11
  this.plugins = this.normalize(plugins)
12
12
  }
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.5.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"