75 Commits

Author SHA1 Message Date
Brian M. Carlson
9ced05e8aa Bump version 2019-10-30 14:08:45 -05:00
Brian C
08072a90b8
Pass options to cursor (#65)
* Bump version of pg-cursor

This includes fixes in pg-cursor@2.0.1.  I've relaxed semver a touch so I don't have to release a new version here just for patch changes to pg-cursor.

* Pass options to pg-cursor

fixes #55
2019-10-30 14:08:11 -05:00
dependabot[bot]
05b4c573d2 Bump eslint from 4.4.0 to 4.18.2 (#63)
Bumps [eslint](https://github.com/eslint/eslint) from 4.4.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v4.4.0...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-30 13:03:26 -05:00
Brian C
3e59f28df4
Bump version of pg-cursor (#64)
This includes fixes in pg-cursor@2.0.1.  I've relaxed semver a touch so I don't have to release a new version here just for patch changes to pg-cursor.
2019-10-30 13:03:09 -05:00
Brian C
a84db5ffd7
Add async iterator tests (#62) 2019-10-28 12:46:49 -05:00
dependabot[bot]
a756ee30e4 Bump debug from 2.6.8 to 2.6.9 (#61)
Bumps [debug](https://github.com/visionmedia/debug) from 2.6.8 to 2.6.9.
- [Release notes](https://github.com/visionmedia/debug/releases)
- [Changelog](https://github.com/visionmedia/debug/blob/2.6.9/CHANGELOG.md)
- [Commits](https://github.com/visionmedia/debug/compare/2.6.8...2.6.9)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-28 12:10:49 -05:00
dependabot[bot]
fb52c52304 Bump js-yaml from 3.9.1 to 3.13.1 (#60)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.9.1 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.9.1...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-28 12:02:44 -05:00
Mandy Real
e153e3f5fd fixed typo cumbersom (#49) 2019-10-28 12:00:09 -05:00
Brian C
c95a650a73
Upgrade dependencies (#59)
* Upgrade dependencies

- There was a security vuln with mocha, so upgraded mocha.
- Upgraded versions of node we're going to check in travis
- Switched to yarn from npm
- Removed --no-exit as that's standard mocha behavior now

* Enable postgres on newer version of travis
2019-10-28 11:58:35 -05:00
Brian M. Carlson
7d27bd2086 Bump version. Drop version of pg.js via pg-cursor. 2019-01-08 09:00:19 -06:00
Brian M. Carlson
5b2816a6f5 Bump version of pg-cursor 2019-01-08 09:00:04 -06:00
Amila Welihinda
28e43b8b73 Create LICENSE (#34) 2019-01-08 08:57:47 -06:00
Amila Welihinda
d822fc8e7a Added --save flags to installation steps (#35) 2019-01-08 08:57:35 -06:00
Amila Welihinda
c999aae6af Updated readme examples to es6 (#36) 2019-01-08 08:55:35 -06:00
Brian M. Carlson
6177ff95a6 Bump version 2018-10-08 12:51:13 -05:00
Brian C
2446fdb8d0
Fix for pg@7.5 (#47)
* Fix for pg@7.5

Don't return anything from `stream.submit`

* Add node@10 to travis version

* Relax version of node@4.x
2018-10-08 12:50:11 -05:00
Brian M. Carlson
e762b48e48 Bump version 2017-08-09 10:35:22 -05:00
Brian C
090b759e9f Merge pull request #33 from brianc/eslint-deps
Move eslint to dev dependencies
2017-08-09 10:08:18 -05:00
Brian M. Carlson
17e19e55a0 Move eslint to dev dependencies 2017-08-09 09:53:42 -05:00
Brian M. Carlson
465ac5caf3 Bump version 2017-08-06 12:42:19 -05:00
Brian C
57f62df315 Merge pull request #29 from brianc/upgrade-pg-cursor
Upgrade to newest version of pg-cursor
2017-08-06 12:41:34 -05:00
Brian M. Carlson
b1f8f8d60d Eslint 2017-08-06 11:59:47 -05:00
Brian Carlson
e517b8ce14 WIP 2017-08-05 18:27:29 -05:00
Brian C
c9e21f4161 Merge pull request #22 from abenhamdine/master
Add node LTS and current versions to travis matrix
2017-04-24 11:25:08 -05:00
Arnaud Benhamdine
2a46c8a3d4 Add node LTS and current versions to travis matrix 2017-03-01 15:11:40 +01:00
Brian C
802616b028 Update README.md
Remove outdated information about pg.js
2015-11-13 10:53:02 -06:00
Brian C
aa72d9b16a Merge pull request #17 from brianc/more-travis-versions
Add more versions of node to the travis matrix
2015-11-13 10:43:50 -06:00
brianc
df8acf0aaa Bump version 2015-11-13 10:40:12 -06:00
brianc
9aca077f3e Add more versions of node to the travis matrix 2015-11-13 10:39:28 -06:00
Brian C
ca21462f1b Merge pull request #15 from slickmb/bug/close_race
Avoid race when stream closed while fetching
2015-11-13 10:38:18 -06:00
Brian C
edfe1aa9a3 Merge pull request #16 from brianc/conform-to-readable-stream-spec
Conform to readable stream spec
2015-11-13 10:38:09 -06:00
brianc
27bba8de04 Conform to readable stream spec
One of the tests was failing because it was testing that when a stream became readable it never returned a `null` datum on call to `stream.read()`.

In fact, when a readable stream drains it should & does return `null` for calls to `stream.read()` as described [here](https://nodejs.org/api/stream.html#stream_event_readable)

I updated the test to account for this, and they pass now.
2015-11-13 10:33:39 -06:00
matthew.blasius
d1ac31c105 Support a close callback when closing the stream 2015-11-05 16:54:12 -05:00
matthew.blasius
68819dffda Avoid race when stream closed while fetching 2015-11-05 14:09:50 -05:00
Brian M. Carlson
e9d1872c70 Test new travis config 2014-11-03 12:52:04 -05:00
Brian M. Carlson
52f5c709ba Merge branch 'master' of github.com:brianc/node-pg-query-stream 2014-11-03 12:34:24 -05:00
Brian M. Carlson
b38d092fa6 Update travis file 2014-11-03 12:34:16 -05:00
Brian C
aa61055029 Update README.md
Add travis badge
2014-11-03 10:46:25 -05:00
Brian M. Carlson
02ff00a374 Bump version 2014-11-03 10:44:26 -05:00
Brian M. Carlson
1dd2d3a938 Add infrastructure files 2014-11-03 10:44:19 -05:00
Brian C
0b45eda5a3 Merge pull request #7 from brianc/add-close-method
Is it possible to destroy the stream?
2014-11-03 10:42:59 -05:00
Brian M. Carlson
6ab80d3995 Add close method & supporting tests 2014-10-30 18:38:44 -04:00
Brian M. Carlson
df63cbbab7 Bump version 2014-05-22 16:59:23 -04:00
Brian C
7fb1f50023 Merge pull request #5 from calvinmetcalf/fixes
fix tests, clean up a few things
2014-05-22 16:54:14 -04:00
Calvin Metcalf
adf86b89f6 deps 2014-05-22 12:54:14 -04:00
Calvin Metcalf
6763e09cb2 merge it 2014-05-22 12:51:39 -04:00
Brian M. Carlson
99fe666956 Bump version 2014-05-22 11:22:31 -04:00
Brian M. Carlson
e242b94e6c Update version of pg-cursor 2014-05-22 11:20:53 -04:00
Calvin Metcalf
fec090972b clean ups 2014-05-14 10:41:10 -04:00
Calvin Metcalf
41b7d7d4de fix up tests 2014-05-14 09:51:56 -04:00