Skip to content

Commit a7bd6cf

Browse files
committed
Stable Version 0.2.2.
1 parent a4b1706 commit a7bd6cf

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### 0.2.2 - 26 March 2015
2+
3+
###### Backwards compatible bug fixes
4+
- Fix dependency
5+
16
##### 0.2.1 - 26 March 2015
27

38
###### Backwards compatible bug fixes

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-mongodb",
33
"description": "MongoDB adapter for js-data.",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"homepage": "http://www.js-data.io/docs/dsmongodbadapter",
66
"repository": {
77
"type": "git",
@@ -51,7 +51,7 @@
5151
},
5252
"peerDependencies": {
5353
"js-data": ">=1.5.7",
54-
"mongodb": ">=1.3.x",
54+
"mongodb": ">= 1.3.x < 2.x",
5555
"mquery": ">=1.3.x"
5656
}
5757
}

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class DSMongoDBAdapter {
5555
'==': criteria
5656
};
5757
}
58-
forOwn(criteria, function (v, op) {
58+
forOwn(criteria, (v, op) => {
5959
if (op === '==' || op === '===') {
6060
query[field] = v;
6161
} else if (op === '!=' || op === '!==') {

0 commit comments

Comments
 (0)