Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Remove support for deprecated pg.js package #47

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

mikl
Copy link
Contributor

@mikl mikl commented Dec 4, 2018

pg.js is long dead and no longer supported, and screwing around with require code paths causes problems with some debugging and code analysis tools.

Therefore, I think it would make sense to remove this support.

I've tested this with Node 6, 8 and 10, as well as PostgreSQL 9.6, 10 and 11, and the test all pass.

P.S.: I've put together a small docker-compose script to test all the aforementioned Node.js and PostgreSQL combinations locally, I can send a PR for that too, if you're interested.

BREAKING CHANGE: pg.js is long dead and no longer supported.

Use [pg](https://www.npmjs.com/package/pg) instead.
@brianc
Copy link
Owner

brianc commented Jan 8, 2019

awesome! Yeah a PR for that would be sweet. I'll merge this right now. This lib needs a bit of modernization/updating love.

@brianc brianc merged commit 73506d3 into brianc:master Jan 8, 2019
@mikl mikl deleted the remove-pg.js-support branch January 8, 2019 14:28
@mikl mikl mentioned this pull request Jan 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants