json-database-st 1.0.9 → 1.0.10

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/JSONDatabase.js +0 -1
  2. package/package.json +3 -2
package/JSONDatabase.js CHANGED
@@ -6,7 +6,6 @@ const path = require("path");
6
6
  const crypto = require("crypto");
7
7
  const _ = require("lodash");
8
8
  const EventEmitter = require("events");
9
- // --- FIX: Add dependency for cross-process file locking. Run `npm install proper-lockfile`.
10
9
  const lockfile = require("proper-lockfile");
11
10
 
12
11
  // --- Custom Error Classes for Better Error Handling ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-database-st",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "A simple, promise-based JSON file database for Node.js with atomic operations and lodash integration.",
5
5
  "main": "JSONDatabase.js",
6
6
  "scripts": {
@@ -31,7 +31,8 @@
31
31
  "homepage": "https://github.com/sethunthunder111/json-database-st#readme",
32
32
  "dependencies": {
33
33
  "json-database-st": "^1.0.0",
34
- "lodash": "^4.17.21"
34
+ "lodash": "^4.17.21",
35
+ "proper-lockfile": "^4.1.2"
35
36
  },
36
37
  "engines": {
37
38
  "node": ">=14.0.0"