Comparing version 0.8.0 to 0.8.1
0.8.1 / 2014-03-01 | ||
================== | ||
* fix for parameter handling in `findAndModify` | ||
* check for `uri` parameter or throw | ||
0.8.0 / 2014-03-01 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -1,2 +0,1 @@ | ||
/** | ||
@@ -246,4 +245,4 @@ * Module dependencies. | ||
} else { | ||
fn = opts; | ||
opts = update; | ||
fn = opts; | ||
} | ||
@@ -250,0 +249,0 @@ |
@@ -1,2 +0,1 @@ | ||
/** | ||
@@ -28,2 +27,6 @@ * Module dependencies. | ||
function Manager (uri, opts, fn) { | ||
if (!uri) { | ||
throw Error('No connection URI provided.'); | ||
} | ||
if (!(this instanceof Manager)) { | ||
@@ -30,0 +33,0 @@ return new Manager(uri, opts, fn); |
{ | ||
"name": "monk" | ||
, "version": "0.8.0" | ||
, "version": "0.8.1" | ||
, "main": "lib/monk.js" | ||
@@ -5,0 +5,0 @@ , "tags": ["mongodb", "mongo", "driver"] |
42855
1248