@cueloop/daemon 0.1.0-alpha.109 → 0.1.0-alpha.110

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueloop/daemon",
3
- "version": "0.1.0-alpha.109",
3
+ "version": "0.1.0-alpha.110",
4
4
  "description": "The cueloop session daemon and its client: socket protocol, atomic store, resumable waits",
5
5
  "homepage": "https://github.com/mmurakaru/cueloop#readme",
6
6
  "bugs": {
@@ -44,8 +44,8 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@cueloop/extension-api": "0.1.0-alpha.109",
48
- "@cueloop/schema": "0.1.0-alpha.109",
47
+ "@cueloop/extension-api": "0.1.0-alpha.110",
48
+ "@cueloop/schema": "0.1.0-alpha.110",
49
49
  "@pierre/diffs": "^1.6.1",
50
50
  "effect": "^4.0.6",
51
51
  "smol-toml": "^1.9.1",
@@ -217,7 +217,7 @@ export class DiffWatcher {
217
217
  } catch {
218
218
  return true;
219
219
  }
220
- for (const entry of entries) {
220
+ for (const entry of entries.toSorted((left, right) => left.name.localeCompare(right.name))) {
221
221
  // a symlinked directory is skipped so the walk cannot loop
222
222
  if (entry.isDirectory() && !entry.isSymbolicLink())
223
223
  this.watchTree(repoRoot, join(dir, entry.name));
@@ -268,7 +268,7 @@ export class DiffWatcher {
268
268
 
269
269
  if (this.repoWatches.get(repoRoot) !== repoWatch) return;
270
270
 
271
- for (const entry of entries) {
271
+ for (const entry of entries.toSorted((left, right) => left.name.localeCompare(right.name))) {
272
272
  if (this.repoWatches.get(repoRoot) !== repoWatch) return;
273
273
 
274
274
  if (entry.isDirectory() && !entry.isSymbolicLink())