bare-fs 4.7.4 → 4.8.0
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/binding.c +2 -1
- package/index.d.ts +3 -1
- package/index.js +2 -1
- package/package.json +2 -2
- package/prebuilds/android-arm/bare-fs.bare +0 -0
- package/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/prebuilds/android-x64/bare-fs.bare +0 -0
- package/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/prebuilds/win32-x64/bare-fs.bare +0 -0
package/binding.c
CHANGED
|
@@ -328,7 +328,7 @@ bare_fs_request_result_statfs(js_env_t *env, js_callback_info_t *info) {
|
|
|
328
328
|
uv_statfs_t *statfs = req->handle.ptr;
|
|
329
329
|
|
|
330
330
|
js_value_t *result;
|
|
331
|
-
err = js_create_array_with_length(env,
|
|
331
|
+
err = js_create_array_with_length(env, 8, &result);
|
|
332
332
|
assert(err == 0);
|
|
333
333
|
|
|
334
334
|
uint32_t i = 0;
|
|
@@ -349,6 +349,7 @@ bare_fs_request_result_statfs(js_env_t *env, js_callback_info_t *info) {
|
|
|
349
349
|
V(bavail)
|
|
350
350
|
V(files)
|
|
351
351
|
V(ffree)
|
|
352
|
+
V(frsize)
|
|
352
353
|
#undef V
|
|
353
354
|
|
|
354
355
|
return result;
|
package/index.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ export interface StatFs {
|
|
|
128
128
|
readonly bavail: number
|
|
129
129
|
readonly files: number
|
|
130
130
|
readonly ffree: number
|
|
131
|
+
readonly frsize: number
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
export class StatFs {
|
|
@@ -138,7 +139,8 @@ export class StatFs {
|
|
|
138
139
|
bfree: number,
|
|
139
140
|
bavail: number,
|
|
140
141
|
files: number,
|
|
141
|
-
ffree: number
|
|
142
|
+
ffree: number,
|
|
143
|
+
frsize: number
|
|
142
144
|
)
|
|
143
145
|
}
|
|
144
146
|
|
package/index.js
CHANGED
|
@@ -2204,7 +2204,7 @@ class Stats {
|
|
|
2204
2204
|
}
|
|
2205
2205
|
|
|
2206
2206
|
class StatFs {
|
|
2207
|
-
constructor(type, bsize, blocks, bfree, bavail, files, ffree) {
|
|
2207
|
+
constructor(type, bsize, blocks, bfree, bavail, files, ffree, frsize) {
|
|
2208
2208
|
this.type = type
|
|
2209
2209
|
this.bsize = bsize
|
|
2210
2210
|
this.blocks = blocks
|
|
@@ -2212,6 +2212,7 @@ class StatFs {
|
|
|
2212
2212
|
this.bavail = bavail
|
|
2213
2213
|
this.files = files
|
|
2214
2214
|
this.ffree = ffree
|
|
2215
|
+
this.frsize = frsize
|
|
2215
2216
|
}
|
|
2216
2217
|
}
|
|
2217
2218
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-fs",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Native file system operations for Bare",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package": "./package.json",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/holepunchto/bare-fs#readme",
|
|
47
47
|
"engines": {
|
|
48
|
-
"bare": ">=1.
|
|
48
|
+
"bare": ">=1.28.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"bare-events": "^2.5.4",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|