From ba07d1945906d2da43198a479525c74ae7b07fca Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:49:28 +0300 Subject: [PATCH] docs: fix typos in announcements (#3236) Co-authored-by: alxndrsn --- docs/pages/announcements.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/announcements.mdx b/docs/pages/announcements.mdx index 87929731..d6a17c24 100644 --- a/docs/pages/announcements.mdx +++ b/docs/pages/announcements.mdx @@ -47,11 +47,11 @@ new Client({ - drop support for versions of node older than 8.0 -Node@6.0 has been out of LTS for quite some time now, and I've removed it from our test matrix. `pg@8.0` _may_ still work on older versions of node, but it isn't a goal of the project anymore. Node@8.0 is actually no longer in the LTS support line, but pg will continue to test against and support 8.0 until there is a compelling reason to drop support for it. Any security vulnerability issues which come up I will back-port fixes to the `pg@7.x` line and do a release, but any other fixes or improvments will not be back ported. +Node@6.0 has been out of LTS for quite some time now, and I've removed it from our test matrix. `pg@8.0` _may_ still work on older versions of node, but it isn't a goal of the project anymore. Node@8.0 is actually no longer in the LTS support line, but pg will continue to test against and support 8.0 until there is a compelling reason to drop support for it. Any security vulnerability issues which come up I will back-port fixes to the `pg@7.x` line and do a release, but any other fixes or improvements will not be back ported. - prevent password from being logged accidentally -`pg@8.0` makes the password field on the pool and client non-enumerable. This means when you do `console.log(client)` you wont have your database password printed out unintenionally. You can still do `console.log(client.password)` if you really want to see it! +`pg@8.0` makes the password field on the pool and client non-enumerable. This means when you do `console.log(client)` you wont have your database password printed out unintentionally. You can still do `console.log(client.password)` if you really want to see it! - make `pg.native` non-enumerable @@ -113,7 +113,7 @@ pg@7.1.2 ### Example -To demonstrate the issue & see if you are vunerable execute the following in node: +To demonstrate the issue & see if you are vulnerable execute the following in node: ```js import pg from 'pg'