mongodb 2.2.34 → 2.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HISTORY.md +15 -0
- package/lib/url_parser.js +2 -1
- package/package.json +5 -3
- package/yarn.lock +552 -100
- package/rev.md +0 -931
package/HISTORY.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
<a name="2.2.35"></a>
|
|
2
|
+
## [2.2.35](https://github.com/mongodb/node-mongodb-native/compare/v2.2.34...v2.2.35) (2018-02-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **url parser:** preserve auth creds when composing conn string ([#1641](https://github.com/mongodb/node-mongodb-native/issues/1641)) ([ecedce6](https://github.com/mongodb/node-mongodb-native/commit/ecedce6))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **core**: update mongodb-core to 2.1.19
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
1
16
|
<a name="2.2.34"></a>
|
|
2
17
|
## [2.2.34](https://github.com/mongodb/node-mongodb-native/compare/v2.2.33...v2.2.34) (2018-01-03)
|
|
3
18
|
|
package/lib/url_parser.js
CHANGED
|
@@ -45,8 +45,9 @@ module.exports = function(url, options, callback) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
var base = result.auth ? 'mongodb://' + result.auth + '@' : 'mongodb://';
|
|
48
49
|
var connectionStrings = addresses.map(function(address, i) {
|
|
49
|
-
if (i === 0) return
|
|
50
|
+
if (i === 0) return base + address.name + ':' + address.port;
|
|
50
51
|
else return address.name + ':' + address.port;
|
|
51
52
|
});
|
|
52
53
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mongodb",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.35",
|
|
4
4
|
"description": "The official MongoDB driver for Node.js",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"es6-promise": "3.2.1",
|
|
17
|
-
"mongodb-core": "2.1.
|
|
17
|
+
"mongodb-core": "2.1.19",
|
|
18
18
|
"readable-stream": "2.2.7"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"cli-table": "^0.3.1",
|
|
26
26
|
"co": "4.6.0",
|
|
27
27
|
"colors": "^1.1.2",
|
|
28
|
+
"conventional-changelog-cli": "^1.3.5",
|
|
28
29
|
"coveralls": "^2.11.6",
|
|
29
30
|
"eslint": "^3.8.1",
|
|
30
31
|
"event-stream": "^3.3.2",
|
|
@@ -52,7 +53,8 @@
|
|
|
52
53
|
"scripts": {
|
|
53
54
|
"test": "node test/runner.js -t functional",
|
|
54
55
|
"coverage": "node_modules/.bin/nyc node test/runner.js -t functional && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
|
|
55
|
-
"lint": "eslint lib"
|
|
56
|
+
"lint": "eslint lib",
|
|
57
|
+
"changelog": "conventional-changelog -p angular -i HISTORY.md -s"
|
|
56
58
|
},
|
|
57
59
|
"nyc": {
|
|
58
60
|
"include": [
|