From e2cc829313492b5773db18daa956c0d9078203db Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Fri, 21 Aug 2020 13:21:33 -0700 Subject: [PATCH] Set minimum node version to 10.22; specify v12 for nvm (#100) - Using older versions of node can result in this error: TypeError: buf.writeBigUInt64BE is not a function - nvm can automatically use the version specified in .nvmrc. Use node version 12 because it is currently recommended for most users --- packages/ripple-binary-codec/.nvmrc | 2 +- packages/ripple-binary-codec/package.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ripple-binary-codec/.nvmrc b/packages/ripple-binary-codec/.nvmrc index ea158a22..48082f72 100644 --- a/packages/ripple-binary-codec/.nvmrc +++ b/packages/ripple-binary-codec/.nvmrc @@ -1 +1 @@ -10.16 +12 diff --git a/packages/ripple-binary-codec/package.json b/packages/ripple-binary-codec/package.json index bcda4e71..0c691272 100644 --- a/packages/ripple-binary-codec/package.json +++ b/packages/ripple-binary-codec/package.json @@ -49,5 +49,9 @@ "readmeFilename": "README.md", "prettier": { "semi": true + }, + "engines": { + "node": ">=10.22", + "yarn": "^1.22.4" } }