Comparing version 0.14.1 to 0.14.2
@@ -0,1 +1,5 @@ | ||
# v0.14.2 | ||
- Fix a regression which caused a wave to hang when a file was deleted or renamed | ||
# v0.14.1 | ||
@@ -2,0 +6,0 @@ |
@@ -394,3 +394,4 @@ 'use strict'; | ||
[_processDependents](path$$1) { | ||
let dependents = new Set(this[_deps].map(([dependent, dep]) => dep === path$$1 && dependent)); | ||
let dependents = new Set(); | ||
for (let [dependent, dep] of this[_deps]) if (dep === path$$1) dependents.add(dependent); | ||
this[_deps] = this[_deps].filter(([dependent]) => !dependents.has(dependent)); | ||
@@ -397,0 +398,0 @@ if (!dependents.size && !this[_active].size) this[_endWave](); |
@@ -390,3 +390,4 @@ import { readdir, readFile, stat, watch } from 'fs'; | ||
[_processDependents](path) { | ||
let dependents = new Set(this[_deps].map(([dependent, dep]) => dep === path && dependent)); | ||
let dependents = new Set(); | ||
for (let [dependent, dep] of this[_deps]) if (dep === path) dependents.add(dependent); | ||
this[_deps] = this[_deps].filter(([dependent]) => !dependents.has(dependent)); | ||
@@ -393,0 +394,0 @@ if (!dependents.size && !this[_active].size) this[_endWave](); |
{ | ||
"name": "defiler", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"description": "A small, strange building block", | ||
@@ -5,0 +5,0 @@ "keywords": ["build", "framework", "async", "watch"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110049
813