dependabot[bot]
9bfc967e91
build(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.1.2 ( #3453 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 9.1.0 to 10.1.2.
- [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/v9.1.0...v10.1.2 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-version: 10.1.2
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 12:33:50 -05:00
Brian C
940479bc4b
Add esm exports ( #3423 )
...
* build: add esm exports
* fix: add defaults as per arethetypeswrong report
* fix: add missing types
* lint
* Fix broken tests
* Add (failing) test for esm compat
* Begin moving files to proper extension and adding tests
* Add tests for connection-string and fix cloudflare module type and esm compat
* Add query-stream and cursor as esm exports
* Update PR copilot review
* Publish
- pg-cloudflare@1.1.2-alpha.0
- pg-connection-string@2.7.1-alpha.0
- pg-cursor@2.13.2-alpha.0
- pg-esm-test@1.0.1-alpha.0
- pg-native@3.3.1-alpha.0
- pg-pool@3.8.1-alpha.0
- pg-protocol@1.8.1-alpha.0
- pg-query-stream@4.8.2-alpha.0
- pg@8.14.2-alpha.0
* More cf compat work
* Publish
- pg-cloudflare@1.1.2-alpha.1
- pg-cursor@2.13.2-alpha.1
- pg-esm-test@1.0.1-alpha.1
- pg-pool@3.8.1-alpha.1
- pg-query-stream@4.8.2-alpha.1
- pg@8.14.2-alpha.1
* Add more cf compat and update tests
* Make tests pass - update exports for esm
* Use env vars for test connection in cf tests
* Fix lint
* Fit vitest into existing legacy framework
* Skip worker tests on node below 18
* Revert doc changes for now
* Remove legacy worker test in favor of vitest
---------
Co-authored-by: Luca Ban <mesqueeb@users.noreply.github.com>
2025-04-22 10:53:22 -05:00
Brian C
fe88e825e5
Add pg-native to monorepo ( #3225 )
...
I didn't do much to "modernize" the pg-native codebase other than running it through the standard eslint --fix that is applied to the rest of the code. There's some easy opportunities there to update it to es6 and so on...it still uses some pretty antiquated coding styles in places. This PR re-introduces the native tests on node v20, and updates test matrix to drop unsupported versions of node & add in node v22.
2024-06-04 10:26:11 -05:00
Alex Anderson
e25428c8dc
eslint: use cache ( #3218 )
...
This significantly speeds up eslint after first run.
Co-authored-by: alxndrsn <alxndrsn>
2024-05-16 11:32:41 -05:00
dependabot[bot]
13ec7d106e
Bump @typescript-eslint/eslint-plugin from 6.17.0 to 7.0.0 ( #3205 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.17.0 to 7.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 12:20:50 -05:00
dependabot[bot]
68171dd00f
Bump eslint-config-prettier from 8.5.0 to 9.1.0 ( #3185 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.5.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v9.1.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-02 18:00:26 -05:00
Sehrope Sarkuni
b4bfd63f63
CI clean up to fix lint task and remove Windows / MacOS from matrix ( #3122 )
...
* Remove unused travis CI config
* Bump eslint and friends
* Fix lint errors after eslint upgrade
* Remove windows and macos from CI workflow as they are actually running linux
Removes the windows and macos matrix from the CI workflow as they were never actually setting
the OS. Both were running against the "ubuntu-latest" OS. Trying to actually use them would
not work either as neither windows or macos is supported for service containers. A different
means will be needed to test on those platforms. Until that's done, this removes those from
the matrix as we were simply running the same thing 3x for the same node versions.
2024-03-05 14:08:44 -06:00
dependabot[bot]
9c3ecdca69
Bump prettier from 2.8.8 to 3.0.3 ( #3054 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.8 to 3.0.3.
- [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.8.8...3.0.3 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-19 17:06:13 -06:00
dependabot[bot]
d17da9e1d9
Bump prettier from 2.7.1 to 2.8.8 ( #3024 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.7.1 to 2.8.8.
- [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.7.1...2.8.8 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 17:47:00 -05:00
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