postcss 8.4.43 → 8.4.44
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/lib/lazy-result.js +5 -5
- package/lib/processor.js +1 -1
- package/package.json +1 -1
package/lib/lazy-result.js
CHANGED
@@ -269,7 +269,7 @@ class LazyResult {
|
|
269
269
|
if (this.hasListener) {
|
270
270
|
let root = this.result.root
|
271
271
|
while (!root[isClean]) {
|
272
|
-
root
|
272
|
+
root[isClean] = true
|
273
273
|
let stack = [toStack(root)]
|
274
274
|
while (stack.length > 0) {
|
275
275
|
let promise = this.visitTick(stack)
|
@@ -374,7 +374,7 @@ class LazyResult {
|
|
374
374
|
if (this.hasListener) {
|
375
375
|
let root = this.result.root
|
376
376
|
while (!root[isClean]) {
|
377
|
-
root
|
377
|
+
root[isClean] = true
|
378
378
|
this.walkSync(root)
|
379
379
|
}
|
380
380
|
if (this.listeners.OnceExit) {
|
@@ -456,7 +456,7 @@ class LazyResult {
|
|
456
456
|
while ((child = node.nodes[node.indexes[iterator]])) {
|
457
457
|
node.indexes[iterator] += 1
|
458
458
|
if (!child[isClean]) {
|
459
|
-
child
|
459
|
+
child[isClean] = true
|
460
460
|
stack.push(toStack(child))
|
461
461
|
return
|
462
462
|
}
|
@@ -471,7 +471,7 @@ class LazyResult {
|
|
471
471
|
visit.eventIndex += 1
|
472
472
|
if (event === CHILDREN) {
|
473
473
|
if (node.nodes && node.nodes.length) {
|
474
|
-
node
|
474
|
+
node[isClean] = true
|
475
475
|
visit.iterator = node.getIterator()
|
476
476
|
}
|
477
477
|
return
|
@@ -484,7 +484,7 @@ class LazyResult {
|
|
484
484
|
}
|
485
485
|
|
486
486
|
walkSync(node) {
|
487
|
-
node
|
487
|
+
node[isClean] = true
|
488
488
|
let events = getEvents(node)
|
489
489
|
for (let event of events) {
|
490
490
|
if (event === CHILDREN) {
|
package/lib/processor.js
CHANGED