@componentor/fs 1.2.1 → 1.2.2

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.
Files changed (2) hide show
  1. package/README.md +2 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  - ⚡ **Isomorphic Git Ready** - Perfect companion for browser-based Git operations
14
14
  - 🔗 **Symlink Support** - Full symbolic link emulation for advanced file operations
15
15
  - 📦 **Zero Dependencies** - Lightweight and efficient
16
- - ✅ **Fully Tested** - 199 comprehensive tests with 100% pass rate
16
+ - ✅ **Fully Tested** - 214 comprehensive tests with 100% pass rate
17
17
  - 📁 **Full fs Compatibility** - access, appendFile, copyFile, cp, rm, truncate, open, opendir, streams, and more
18
18
  - 🚀 **Hybrid Mode** - Optimal performance with reads on main thread and writes on worker
19
19
 
@@ -134,9 +134,6 @@ await fs.ready()
134
134
  await fs.writeFile('test.txt', 'Hello World') // Routed to worker
135
135
  const data = await fs.readFile('test.txt') // Routed to main thread
136
136
 
137
- // For long-running apps, periodically call gc() to prevent memory leaks
138
- await fs.gc()
139
-
140
137
  // Clean up when done
141
138
  fs.terminate()
142
139
  ```
@@ -702,7 +699,7 @@ npm run test:watch
702
699
  ```
703
700
 
704
701
  **Test Coverage:**
705
- - ✅ 199 tests with 100% pass rate
702
+ - ✅ 214 tests with 100% pass rate
706
703
  - ✅ File read/write operations (text and binary)
707
704
  - ✅ Directory operations (create, remove, list)
708
705
  - ✅ File metadata and statistics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@componentor/fs",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A blazing-fast, Node.js-compatible filesystem for the browser using OPFS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",