Commit Graph
3 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
coyotte508 17d8fcc76f Add id to mongodb gridfs upload streams (#22930)
As seen in http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html#openUploadStream:

```js
    var uploadStream = bucket.openUploadStream('test.dat');

    var license = fs.readFileSync('./LICENSE');
    var id = uploadStream.id;
```

The resulting stream from `openUploadStream` *has* an id.
2018-01-17 09:46:52 -08:00
Federico Caselli 84e265d13a [mongodb] First update to bring the mongodb to version 3 (#22626)
* First update to bring the mongodb typings to version 3

* Updated tsconfig of the older v2 version

* Set mongodb version to 2 in packages with errors

* MongoClient extends form EventEmitter
2018-01-10 14:14:05 -08:00