postcss 8.3.3 → 8.3.4

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.

Potentially problematic release.


This version of postcss might be problematic. Click here for more details.

@@ -136,7 +136,10 @@ class LazyResult {
136
136
  this.error = error
137
137
  }
138
138
 
139
- if (root && !root[my]) Container.rebuild(root)
139
+ if (root && !root[my]) {
140
+ // istanbul ignore next
141
+ Container.rebuild(root)
142
+ }
140
143
  }
141
144
 
142
145
  this.result = new Result(processor, root, opts)
package/lib/node.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict'
2
2
 
3
+ let { isClean, my } = require('./symbols')
3
4
  let CssSyntaxError = require('./css-syntax-error')
4
5
  let Stringifier = require('./stringifier')
5
- let { isClean } = require('./symbols')
6
6
  let stringify = require('./stringify')
7
7
 
8
8
  function cloneNode(obj, parent) {
@@ -36,6 +36,7 @@ class Node {
36
36
  constructor(defaults = {}) {
37
37
  this.raws = {}
38
38
  this[isClean] = false
39
+ this[my] = true
39
40
 
40
41
  for (let name in defaults) {
41
42
  if (name === 'nodes') {
package/lib/processor.js CHANGED
@@ -6,7 +6,7 @@ let Root = require('./root')
6
6
 
7
7
  class Processor {
8
8
  constructor(plugins = []) {
9
- this.version = '8.3.3'
9
+ this.version = '8.3.4'
10
10
  this.plugins = this.normalize(plugins)
11
11
  }
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.3.3",
3
+ "version": "8.3.4",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"