334 Commits

Author SHA1 Message Date
dependabot[bot]
16118cecdd
Bump eslint-config-prettier from 6.12.0 to 8.5.0 (#2875)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.12.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.12.0...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 22:02:31 -06:00
Brian C
1aa08274a5
Migrate docs repo into monorepo (#2823)
* Move files over

* Finish initial port of content
2022-10-10 12:20:46 -05:00
dependabot[bot]
6e386eb294
Bump prettier from 2.1.2 to 2.7.1 (#2792)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.7.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.7.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 21:35:18 -05:00
Brian C
897d774509
Run build before publish (#2409) 2020-11-10 16:01:44 -06:00
Marcin K
78a14a164d
feat(): pg-query-stream typescript (#2376)
* feat(): start converting pg-query stream

* feat(): solution project, initial version of typescript-pg-query stream

* chore(): mocha with typescript

* fix(): eslint ignore query stream dist

* refactor(pg-query-stream): convert test to ts

* chore(): fixed type errors

* chore(): fix helper usage

* chore(): use ts-node compatibile with node v8

* fix(): addd es extension

* chore(): remove emitClose and added compilation for async iterators

* chore(): condition for asyc iteration test

* chore(): rename class to match ts-defs

* chore(): tests to import from src instead of dist

* chore(): remove prettier from peer deps:

* chore(): update lock file
2020-11-03 11:17:49 -06:00
chyzwar
c22c2f0ebd chore(): update eslint, run lint only on latest lts 2020-11-02 10:39:51 -06:00
Brian M. Carlson
ddf81128ab Check for the correct binary 2020-04-28 10:20:22 -05:00
Brian M. Carlson
16344cbfcd Update test command for travis
I think the new syntax I'm using here is compatible with `sh`...let's see.
2020-04-28 10:07:12 -05:00
Brian M. Carlson
12049b7dbc Actually run lint in ci 2020-04-10 11:33:46 -05:00
Brian M. Carlson
8591d94fcc Re-upgrade to prettier@2.x 2020-04-10 11:31:03 -05:00
Brian M. Carlson
6353affeca Downgrade to prettier@1.x to support node@8.x 2020-04-10 11:15:42 -05:00
Brian M. Carlson
6adbcabf50 lint pg-protcol 2020-04-10 10:43:54 -05:00
Brian M. Carlson
a8471aa54b Set up prettier in workspace dir 2020-04-10 10:29:13 -05:00
Brian C
3ff91eaa32
Decouple serializing messages w/ writing them to socket (#2155)
* Move message writing to typescript lib

* Write more tests, cleanup code to some extent

* Rename package to something more representing its name

* Remove unused code

* Small tweaks based on microbenchmarks

* Rename w/o underscore
2020-04-09 12:28:19 -05:00
Brian C
2013d77b28
Parser speed improvements (#2151)
* Change from transform stream

* Yeah a thing

* Make tests pass, add new code to travis

* Update 'best' benchmarks and include tsc in pretest script

* Need to add build early so we can create test tables

* logging
2020-04-02 16:48:22 -05:00
Brian M. Carlson
637bcf355c Cleanup things a bit 2019-12-27 17:52:28 +00:00
Brian M. Carlson
6b7b8d19f5 Do not run tests in parallel 2019-12-20 15:03:43 -06:00
Brian M. Carlson
423baa644a Update lint rules for pg-cursor 2019-12-18 13:42:47 -06:00
Brian C
1b5f3e33c4
Monorepo (#2014)
* First crack at monorepo

* Update test command

* Update path to script

* Remove node 6 from CI
2019-12-17 08:32:08 -08:00
Brian M. Carlson
30f67bb246 Bump version 2019-11-20 10:14:48 -06:00
Brian M. Carlson
c10a96c54d Bump version 2019-11-19 10:44:31 -06:00
Sehrope Sarkuni
cd66c0b261 Add explicit files list to package.json (#1951) 2019-11-11 15:11:24 -03:00
Charmander
caa6517999 Fix disconnection tests for pg-pool 2.0.7 (#1946)
* Require latest pg-pool ^2.0.7

to limit variability of next pg’s installations.

* Ignore EPIPE when writing termination message

I don’t know why this wasn’t necessary for tests to pass before…

* Fix disconnection tests for pg-pool 2.0.7

In pg-pool 2.0.7, checked-out clients became responsible for their own 'error' events.

brianc/node-pg-pool#123
2019-11-11 15:10:18 -03:00
Brian M. Carlson
60d8df659c Bump version 2019-08-09 16:02:25 -05:00
Vitaly Tomilov
05d20a6a6d Update package.json (#1937)
Fixes #1936
2019-08-09 16:00:47 -05:00
Brian M. Carlson
e4578d2c7b Bump version 2019-07-25 13:07:00 -05:00
Sehrope Sarkuni
3ead900349 Fix eslint and add back standard (#1928)
* lint: Enable standard rules again

* lint: Replace hasOwnProperty(...) call

* lint: Remove trailing spaces

* lint: Remove spaces within array brackets

* lint: Disable quote-props to silence linter

* lint: Skip linting on older node versions
2019-07-25 13:00:14 -05:00
Sehrope Sarkuni
8ba1d2c572 Enable eslint:recommended and plugin/node/recommended (#1856)
* Fix typo

* Enable eslint:recommended and remove unused eslint plugins

Enables eslint:recommended by disabling the options that would not pass. Also removes
dependencies for included but unused eslint plugins.

* Convert console.error(...) calls to use %s placeholders

* Enable eslint no-console rule

* Add and enable eslint-node-plugin

* Correct typo

* Enable eslint no-unused-vars
2019-05-10 12:23:49 -05:00
Brian M. Carlson
61cc3d26e2 Bump version 2019-05-10 12:12:16 -05:00
Brian M. Carlson
4b530a9e0f Bump version 2019-04-16 17:35:20 -05:00
Brian M. Carlson
6b8176e841 Bump version 2019-03-15 13:42:56 -05:00
Brian M. Carlson
bae9fd734a Bump version 2019-03-07 08:58:13 -06:00
Brian M. Carlson
e0ebdeff88 Bump version 2019-02-20 14:36:50 -06:00
Brian C
bf84db7c22
Bump packet-reader version (#1840)
* Bump packet-reader version

This should fix the deprecation warning from using `new Buffer`.

* Remove node 11 tests - its a non-stable (odd) version
2019-02-20 14:36:27 -06:00
Brian M. Carlson
fcd0f02210 Bump version 2019-01-11 08:32:29 -06:00
Ben Drucker
0e11b5c781 deps: update pg-types to 2 (#1806)
drops node < 4 support but pg previously did so (not major)
2019-01-11 08:16:29 -06:00
Brian M. Carlson
060a35faeb Bump version 2018-11-29 09:37:03 -06:00
Brian M. Carlson
93df471d98 Bump min version of pg-pool 2018-11-29 09:36:57 -06:00
Brian M. Carlson
f52a0fe8f7 Bump version 2018-11-29 09:16:05 -06:00
Brian M. Carlson
3620e23899 Bump version 2018-11-07 09:32:45 -06:00
Brian C
daddd4ffd6
Bump buffer-writer version (#1764)
Fixes the deprecation warning for using `new Buffer`.

The change is semver major in buffer-writer since we dropped support for node < 4.x, but otherwise it's a non-breaking change.  Since node-postgres already requires node >= 4.x it's fine.
2018-11-07 09:31:59 -06:00
Brian M. Carlson
a3295b4355 Bump version 2018-10-26 09:03:19 -05:00
Igor Savin
badf0a1c65 Update ESLint (#1753)
* Update ESLint

* Downgrade ESLint version to restore Node 4 support

* Downgrade more dependencies

* Keep downgrading
2018-10-26 08:55:31 -05:00
Charmander
1cf1e05ab9 Allow a custom type to be used for Client promises (#1518)
Matches the Pool API.
2018-10-24 10:40:23 -05:00
Brian M. Carlson
04a0ec71b4 Bump version 2018-10-03 10:46:12 -05:00
Brian M. Carlson
3ac356a812 Bump version 2018-05-07 10:07:10 -05:00
Brian M. Carlson
83ede28e18 Bump version 2018-05-04 14:01:26 -05:00
contra
72db7902fa dont use dynamic functions to parse rows, closes #1417 2018-05-04 12:34:46 -05:00
Brian M. Carlson
a664983cbb Bump version 2018-01-05 13:41:36 -06:00
Brian M. Carlson
9da3a85cbc Bump version 2017-11-04 14:21:36 -05:00