Skip to content

Commit

Permalink
bump version to 3.0.0
Browse files Browse the repository at this point in the history
add some tests and some fixes for invalid path
  • Loading branch information
larsdecker committed Jan 24, 2018
1 parent cfe59ef commit cf9f6ac
Show file tree
Hide file tree
Showing 9 changed files with 206 additions and 98 deletions.
110 changes: 36 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
"mongodb",
"gridfs",
"native-promise",
"gridFSBucket",
"nodejs",
"es6",
"typescript"
],
"version": "2.1.0",
"version": "3.0.0",
"devDependencies": {
"@types/chai": "^4.1.1",
"@types/mocha": "^2.2.46",
Expand Down
4 changes: 2 additions & 2 deletions src/GridFSPromise.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export declare class GridFSPromise {
* Save the File from the GridFs to the filesystem and get the Path back
* @param {string} id
* @param {string} fileName
* @param filePath
* @param {string} filePath
* @return {Promise<string>}
*/
getFile(id: string, fileName: string, filePath?: string): Promise<string>;
getFile(id: string, fileName?: string, filePath?: string): Promise<string>;
/**
* Get a single Object
* @param {string} id
Expand Down
Loading

0 comments on commit cf9f6ac

Please sign in to comment.