@aspruyt/xfg 6.0.1 → 6.0.3

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.
@@ -199,6 +199,11 @@ function matchByIndex(current, desired) {
199
199
  for (let i = 0; i < Math.min(current.length, desired.length); i++) {
200
200
  result.push(projectToDesiredShape(current[i], desired[i]));
201
201
  }
202
+ // Append extra current items so deepEqual detects length mismatch (removals).
203
+ // Mirrors matchByKey behavior added for #549.
204
+ for (let i = desired.length; i < current.length; i++) {
205
+ result.push(current[i]);
206
+ }
202
207
  return result;
203
208
  }
204
209
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspruyt/xfg",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "description": "Manage files, settings, and repositories across GitHub, Azure DevOps, and GitLab — declaratively, from a single YAML config",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -78,7 +78,7 @@
78
78
  "yaml": "^2.4.5"
79
79
  },
80
80
  "devDependencies": {
81
- "@types/node": "^24.0.0",
81
+ "@types/node": "^24.12.2",
82
82
  "bottleneck": "^2.19.5",
83
83
  "c8": "^11.0.0",
84
84
  "tsx": "^4.15.0",