Skip to content

Commit 3039f1d

Browse files
committed
Revert "Update utils.js (brianc#2981)"
This reverts commit 522e2dc.
1 parent 522e2dc commit 3039f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/lib/crypto/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict'
2-
const { TextEncoder, TextDecoder } = require('util');
2+
33
const useLegacyCrypto = parseInt(process.versions && process.versions.node && process.versions.node.split('.')[0]) < 15
44
if (useLegacyCrypto) {
55
// We are on an old version of Node.js that requires legacy crypto utilities.

0 commit comments

Comments
 (0)