Deprecation Warning
Closed this issue · 2 comments
cwhiteley commented
Tonight I found this module. Great work.
While giving it a spin, i ran into these two warnings for pg.
(node:6210) DeprecationWarning: Implicit disabling of certificate verification is deprecated and will be removed in pg 8. Specify rejectUnauthorized: true
to require a valid CA or rejectUnauthorized: false
to explicitly opt out of MITM protection.
(node:6210) DeprecationWarning: Constructing a Query without new is deprecated and will stop working in pg 8.
alexmunda commented
Hi @cwhiteley,
Could you please share a code sample and the version of pg
you are using? I just ran the tinypg tests with a clean npm i
(pg pinned to 7.12.1
in the package-lock) and did not see any warnings.
Thanks!