@zukhruf/fs 0.8.21 → 0.8.22
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/README.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -243,7 +243,7 @@ On Windows, a process that still holds a file open stops its removal for a short
|
|
|
243
243
|
|
|
244
244
|
The only option is `parent`, the directory that holds the new directory. The default is `os.tmpdir()`. Give a parent on the disk of a file that you rename out of the directory, because a rename across two disks fails with `EXDEV`. A Unix socket path has a limit of 104 bytes on macOS and 108 bytes on Linux. On macOS, the real path of `os.tmpdir()` uses 56 of them. Thus give a short parent, such as `/tmp`, for a socket. Node resolves a package from the parent directories of the file that imports it. Thus give a parent in the repository when a file in the directory imports a package of the repository.
|
|
245
245
|
|
|
246
|
-
[ADR
|
|
246
|
+
[ADR 0006](./docs/adr/0006-a-temporary-directory-retries-its-removal-and-gives-its-real-path.md) records why the directory retries its removal and gives its real path. [Root ADR 0006](../../docs/adr/0006-production-code-and-tests-make-a-temporary-directory-with-temporaryfiles-of-zukhruf-fs.md) records why production code uses it too, and why it has a synchronous form.
|
|
247
247
|
|
|
248
248
|
## Check the error code
|
|
249
249
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zukhruf/fs",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.22",
|
|
4
4
|
"description": "File writes a reader never sees half done, a file lock the kernel frees when its holder dies, a file stamp that tells that a file changed, as git does, and a temporary directory at its real path. Retries Windows' short refusals. Names a file by any key.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@zukhruf/async": "^0.8.
|
|
54
|
-
"@zukhruf/sqlite-open": "^0.8.
|
|
53
|
+
"@zukhruf/async": "^0.8.22",
|
|
54
|
+
"@zukhruf/sqlite-open": "^0.8.22"
|
|
55
55
|
}
|
|
56
56
|
}
|