zen-fs-config 0.5.14 → 0.5.16
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/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1238,6 +1238,7 @@ var ConfigRepo = class {
|
|
|
1238
1238
|
async unlinkVersionSidecar(fs, configPath) {
|
|
1239
1239
|
const vPath = versionPathFor(configPath);
|
|
1240
1240
|
if (!vPath) return;
|
|
1241
|
+
if (!await this.safeExists(fs, vPath)) return;
|
|
1241
1242
|
try {
|
|
1242
1243
|
await fs.unlink(vPath);
|
|
1243
1244
|
} catch {
|
package/dist/index.mjs
CHANGED
|
@@ -1148,6 +1148,7 @@ var ConfigRepo = class {
|
|
|
1148
1148
|
async unlinkVersionSidecar(fs, configPath) {
|
|
1149
1149
|
const vPath = versionPathFor(configPath);
|
|
1150
1150
|
if (!vPath) return;
|
|
1151
|
+
if (!await this.safeExists(fs, vPath)) return;
|
|
1151
1152
|
try {
|
|
1152
1153
|
await fs.unlink(vPath);
|
|
1153
1154
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zen-fs-config",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.16",
|
|
4
4
|
"description": "Distributed config management library built on ZenFS, zen-fs-cache, and zen-fs-sync",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@zenfs/core": ">=2.3.0",
|
|
45
45
|
"@zenfs/dom": ">=1.0.0",
|
|
46
46
|
"zen-fs-cache": ">=1.0.0",
|
|
47
|
-
"zen-fs-sync": ">=0.4.
|
|
47
|
+
"zen-fs-sync": ">=0.4.7"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"@zenfs/dom": {
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
"typescript": "^5.9.3",
|
|
62
62
|
"vitest": "^1.6.1",
|
|
63
63
|
"zen-fs-cache": "^1.0.1",
|
|
64
|
-
"zen-fs-sync": "^0.4.
|
|
64
|
+
"zen-fs-sync": "^0.4.7"
|
|
65
65
|
}
|
|
66
66
|
}
|