@wxn0brp/db 0.4.0 → 0.4.1

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/dist/action.js +1 -1
  2. package/package.json +1 -1
package/dist/action.js CHANGED
@@ -196,9 +196,9 @@ async function operationUpdater(cpath, worker, one, ...args) {
196
196
  let update = false;
197
197
  for (const file of files) {
198
198
  const updated = await worker(cpath + file, one, ...args);
199
+ update = update || updated;
199
200
  if (one && updated)
200
201
  break;
201
- update = update || updated;
202
202
  }
203
203
  return update;
204
204
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/db",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "A simple file-based database management system with support for CRUD operations, custom queries, and graph structures.",