Skip to content

Commit 964d3fe

Browse files
authored
F/rxjs6+ (#9)
* update rxjs version * 0.3.4 * update dependencies
1 parent adb6b5a commit 964d3fe

File tree

3 files changed

+71
-57
lines changed

3 files changed

+71
-57
lines changed

package-lock.json

Lines changed: 65 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pg-reactive",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "RxJS 5 interface for PostgreSQL",
55
"main": "dist/pg-reactive.js",
66
"types": "typescript/pg-reactive.d.ts",
@@ -28,7 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"babel-cli": "^6.26.0",
31-
"babel-core": "^6.26.0",
31+
"babel-core": "^6.26.3",
3232
"babel-eslint": "^8.2.3",
3333
"babel-plugin-rewire": "^1.1.0",
3434
"babel-preset-es2015": "^6.24.1",
@@ -40,12 +40,12 @@
4040
"eslint": "^4.19.1",
4141
"eslint-plugin-json": "^1.2.0",
4242
"husky": "^0.14.3",
43-
"mocha": "^5.1.0"
43+
"mocha": "^5.2.0"
4444
},
4545
"dependencies": {
4646
"is-observable": "^1.1.0",
47-
"pg": "^7.4.1",
47+
"pg": "^7.4.3",
4848
"pg-query-stream": "^1.1.1",
49-
"rxjs": "^5.5.10"
49+
"rxjs": ">=5"
5050
}
5151
}

src/pg-reactive.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ export default class pgrx {
99
/**
1010
* Initalize a database connection.
1111
* @param {String|Object} config PostgreSQL database connection string or config object
12-
* @param {Object} [options] Connection options
1312
*/
14-
constructor(config, options = {}) {
13+
constructor(config) {
1514

1615
if (typeof config === 'string') {
1716
const params = url.parse(config);

0 commit comments

Comments
 (0)