Open kefon94 opened 3 years ago
Which issue do you want to solve with this change? We're using this library with Node 14 and TLS works fine.
Which issue do you want to solve with this change? We're using this library with Node 14 and TLS works fine.
Ok, digging deeper into it I understand now. Secure Pair is long deprecated in NodeJS and should be replaced by TLSSocket.
Which issue do you want to solve with this change? We're using this library with Node 14 and TLS works fine.
Ok, digging deeper into it I understand now. Secure Pair is long deprecated in NodeJS and should be replaced by TLSSocket.
Hi @hulmgulm-at-work , I have added a better description of the issue, any other comment or suggest please let me know. Thanks.
Supporting TLSSocket for Node 12.x or higher
Issue
fix https://github.com/wvanbergen/node-vertica/issues/64 createSecurePair is not longer supported on Node version 12.x or higher. The issue was difficult to find because of there isn't an error / exception thrown by this code.
Solution