fix(smartfile): Stream and filesystem integrations: remove fs-extra, switch to fs/promises.rename, add Web WritableStream compatibility, and use smartFs recursive directory methods; update plugins exports and README.

This commit is contained in:
2025-11-22 13:41:24 +00:00
parent 4f5eb4a4d4
commit bfc0c0576b
10 changed files with 205 additions and 98 deletions

View File

@@ -203,7 +203,7 @@ export class SmartFile extends plugins.smartjson.Smartjson {
);
// Rename the file on disk
await plugins.fsExtra.rename(oldAbsolutePath, newAbsolutePath);
await plugins.fsPromises.rename(oldAbsolutePath, newAbsolutePath);
}
// Return the new path