braidfs 0.0.52 → 0.0.53
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/index.js +7 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -320,7 +320,13 @@ async function proxy_url(url) {
|
|
|
320
320
|
for (let a of aborts) a.abort()
|
|
321
321
|
await wait_promise
|
|
322
322
|
if (braid_text_get_options) await braid_text.forget(url, braid_text_get_options)
|
|
323
|
-
|
|
323
|
+
|
|
324
|
+
delete braid_text.cache[url]
|
|
325
|
+
for (let f of await braid_text.get_files_for_key(url)) {
|
|
326
|
+
console.log(`trying to delete ${f}`)
|
|
327
|
+
try { await require('fs').promises.unlink(f) } catch (e) {}
|
|
328
|
+
}
|
|
329
|
+
|
|
324
330
|
try { await require('fs').promises.unlink(meta_path) } catch (e) {}
|
|
325
331
|
try { await require('fs').promises.unlink(await get_fullpath()) } catch (e) {}
|
|
326
332
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "braidfs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"description": "braid technology synchronizing files and webpages",
|
|
5
5
|
"author": "Braid Working Group",
|
|
6
6
|
"repository": "braid-org/braidfs",
|
|
7
7
|
"homepage": "https://braid.org",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"braid-http": "^1.3.16",
|
|
10
|
-
"braid-text": "^0.2.
|
|
10
|
+
"braid-text": "^0.2.11",
|
|
11
11
|
"chokidar": "^3.6.0"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|