Cleanup
This commit is contained in:
4
node_modules/mongodb/index.js
generated
vendored
4
node_modules/mongodb/index.js
generated
vendored
@@ -17,6 +17,9 @@ connect.MongoWriteConcernError = core.MongoWriteConcernError;
|
||||
connect.MongoBulkWriteError = require('./lib/bulk/common').BulkWriteError;
|
||||
connect.BulkWriteError = connect.MongoBulkWriteError;
|
||||
|
||||
// Expose server versions
|
||||
connect.ServerApiVersion = core.ServerApiVersion;
|
||||
|
||||
// Actual driver classes exported
|
||||
connect.Admin = require('./lib/admin');
|
||||
connect.MongoClient = require('./lib/mongo_client');
|
||||
@@ -47,6 +50,7 @@ connect.Int32 = core.BSON.Int32;
|
||||
connect.Long = core.BSON.Long;
|
||||
connect.MinKey = core.BSON.MinKey;
|
||||
connect.MaxKey = core.BSON.MaxKey;
|
||||
/** @deprecated Please use `ObjectId` */
|
||||
connect.ObjectID = core.BSON.ObjectID;
|
||||
connect.ObjectId = core.BSON.ObjectID;
|
||||
connect.Symbol = core.BSON.Symbol;
|
||||
|
||||
Reference in New Issue
Block a user