Closed P-Jay357 closed 2 years ago
If the Node version is 14 (have not tested below 14), I get this error when importing V2 Paseto.
If I upgrade to Node 16 then this issue seems fixed, but some of my other packages don't support Node 16 yet, so this isn't ideal.
v3.0.1
v14.17.6
const { V2 } = require('paseto');
https://github.com/panva/paseto#supported-library-versions
https://github.com/panva/paseto/blob/v3.0.1/package.json#L47-L49
What happened?
If the Node version is 14 (have not tested below 14), I get this error when importing V2 Paseto.
If I upgrade to Node 16 then this issue seems fixed, but some of my other packages don't support Node 16 yet, so this isn't ideal.
Version
v3.0.1
Node.js Version
v14.17.6
Code to reproduce