wiki-graph-sdk 0.9.3 → 0.9.4
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/archives.cjs +4 -1
- package/dist/archives.cjs.map +1 -1
- package/dist/archives.js +5 -1
- package/dist/archives.js.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2701,7 +2701,10 @@ var WikiGraphArchiveManager = class {
|
|
|
2701
2701
|
});
|
|
2702
2702
|
}
|
|
2703
2703
|
if (options.replace === true) {
|
|
2704
|
-
await
|
|
2704
|
+
await new import_wiki_graph_core7.WikgCoordinator().withExclusiveArchiveReplacement(
|
|
2705
|
+
new NodeFile(path),
|
|
2706
|
+
async () => await (0, import_promises5.rename)(outputPath, path)
|
|
2707
|
+
);
|
|
2705
2708
|
} else {
|
|
2706
2709
|
try {
|
|
2707
2710
|
await (0, import_promises5.link)(outputPath, path);
|