-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnedb+1.8.0.patch
30 lines (25 loc) · 901 Bytes
/
nedb+1.8.0.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/node_modules/nedb/lib/datastore.js b/node_modules/nedb/lib/datastore.js
index e179dcd..da9215c 100755
--- a/node_modules/nedb/lib/datastore.js
+++ b/node_modules/nedb/lib/datastore.js
@@ -78,8 +78,6 @@ function Datastore (options) {
}); }
}
-util.inherits(Datastore, require('events').EventEmitter);
-
/**
* Load the database from the datafile, and trigger the execution of buffered commands if any
diff --git a/node_modules/nedb/lib/storage.js b/node_modules/nedb/lib/storage.js
index 128f9cc..c405ad6 100755
--- a/node_modules/nedb/lib/storage.js
+++ b/node_modules/nedb/lib/storage.js
@@ -14,12 +14,6 @@ var fs = require('fs')
, storage = {}
;
-storage.exists = fs.exists;
-storage.rename = fs.rename;
-storage.writeFile = fs.writeFile;
-storage.unlink = fs.unlink;
-storage.appendFile = fs.appendFile;
-storage.readFile = fs.readFile;
storage.mkdirp = mkdirp;