@componentor/fs 3.0.44 → 3.0.45
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/index.js +125 -25
- package/dist/index.js.map +1 -1
- package/dist/workers/repair.worker.js +125 -25
- package/dist/workers/repair.worker.js.map +1 -1
- package/dist/workers/server.worker.js +125 -25
- package/dist/workers/server.worker.js.map +1 -1
- package/dist/workers/sync-relay.worker.js +125 -25
- package/dist/workers/sync-relay.worker.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +11 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -604,6 +604,17 @@ Make sure `opfsSync` is enabled (it's `true` by default). Files are mirrored to
|
|
|
604
604
|
|
|
605
605
|
See [CHANGELOG.md](./CHANGELOG.md) for the full version history.
|
|
606
606
|
|
|
607
|
+
### v3.0.45 (2026)
|
|
608
|
+
|
|
609
|
+
**Fixes:**
|
|
610
|
+
- Eliminate "Array buffer allocation failed" on multi-hundred-MB VFS operations (pnpm install of large monorepos like Directus): every hot path that previously staged a full-file or full-data-region buffer now streams through a bounded 4 MB scratch buffer via the underlying sync access handle — `growPathTable`, `fwrite` grow, `append`, `truncate` extend, and `copy`
|
|
611
|
+
- Fix POSIX "hole" semantics: writes past EOF and extending `truncate` now zero-fill the gap instead of exposing stale bytes from previously-freed blocks
|
|
612
|
+
|
|
613
|
+
**Tests:**
|
|
614
|
+
- Sparse-write coverage (in-block hole, cross-block hole, pos === size)
|
|
615
|
+
- Chunk-boundary coverage for `append`, `fwrite` grow, `truncate` extend, and `copy` across 5 MB buffers
|
|
616
|
+
- Self-copy and `COPYFILE_EXCL` regression tests
|
|
617
|
+
|
|
607
618
|
### v3.0.44 (2026)
|
|
608
619
|
|
|
609
620
|
**Fixes:**
|