Closed Kuchiriel closed 7 years ago
@Kuchiriel thanks for reporting this! @naazy do you have time to investigate/update?
Guys, I'm sorry, it won't normally happen, only if I use babel targeting node 3. I forgot to inform this.
@Kuchiriel thanks for the additional info. (those are useful details, and v. specific!) 👍 We still need to upgrade to the latest version in any case because: https://david-dm.org/dwyl/hapi-postgres-connection But it's unlikely that we are going to "target" node v.3 as it's no longer supported: https://github.com/nodejs/LTS#lts-schedule1
@Kuchiriel this has now been fixed in version 6.2.0. Please upgrade to hapi-postgres-connection 6.2.0 and close the issue if satisfied that this has been resolved :smile:
@nelsonic @naazy, Thank you very much guys!
it won't normally happen, only if I use babel targeting node 3
When I try to start my server, I see this.
(node:3834) DeprecationWarning: PG.connect is deprecated - please see the upgrade guide at https://node-postgres.com/guides/upgrading