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.
- package/lib/lazy-result.js +4 -1
- package/lib/node.js +2 -1
- package/lib/processor.js +1 -1
- package/package.json +1 -1
package/lib/lazy-result.js
CHANGED
@@ -136,7 +136,10 @@ class LazyResult {
|
|
136
136
|
this.error = error
|
137
137
|
}
|
138
138
|
|
139
|
-
if (root && !root[my])
|
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