Skip to content

Commit 2b9bb5d

Browse files
committed
BREAKING CHANGE: add back lib/index.js as a wrapper around lib/mongoose.js
1 parent 3ec26a0 commit 2b9bb5d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lib/index.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
/*!
4+
* Module dependencies.
5+
*/
6+
7+
require('./driver').set(require('./drivers/node-mongodb-native'));
8+
9+
const mongoose = require('./mongoose');
10+
11+
mongoose.Mongoose.prototype.mongo = require('mongodb');
12+
13+
module.exports = mongoose;

0 commit comments

Comments
 (0)