diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 18ba36f4c0..070f796098 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -57,7 +57,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 @@ -98,7 +98,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 @@ -202,7 +202,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 729344d59b..db263212f0 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,13 @@ See the full reference documentation for all classes, methods, and utilities. 4. Subscribing to changes in the ledger ([Ex. ledger, transactions, & more...](https://xrpl.org/subscribe.html)) 5. Parsing ledger data into more convenient formats ([`xrpToDrops`](https://js.xrpl.org/functions/xrpToDrops.html) and [`rippleTimeToISOTime`](https://js.xrpl.org/functions/rippleTimeToISOTime.html)) -All of which works in Node.js (tested for v14+) & web browsers (tested for Chrome). +All of which works in Node.js (tested for v16+) & web browsers (tested for Chrome). # Quickstart ### Requirements -+ **[Node.js v16](https://nodejs.org/)** is recommended. We also support v14, v18 and v20. Other versions may work but are not frequently tested. ++ **[Node.js v16](https://nodejs.org/)** is recommended. We also support v18 and v20. Other versions may work but are not frequently tested. ### Installing xrpl.js diff --git a/package-lock.json b/package-lock.json index c328a6978b..28063531a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,8 +65,8 @@ "webpack-cli": "^5.0.1" }, "engines": { - "node": ">=12.0.0", - "npm": ">=7.0.0 < 10.0.0" + "node": ">=16.0.0", + "npm": ">=8.0.0 < 10.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -16484,7 +16484,7 @@ "create-hash": "^1.1.2" }, "engines": { - "node": ">= 10" + "node": ">= 16" } }, "packages/ripple-binary-codec": { @@ -16499,7 +16499,7 @@ "ripple-address-codec": "^4.3.1" }, "engines": { - "node": ">= 10" + "node": ">= 16" } }, "packages/ripple-keypairs": { @@ -16513,7 +16513,7 @@ "ripple-address-codec": "^4.3.1" }, "engines": { - "node": ">= 10" + "node": ">= 16" } }, "packages/xrpl": { @@ -16533,7 +16533,7 @@ }, "devDependencies": { "@geut/browser-node-core": "^2.0.13", - "@types/node": "^14.18.36", + "@types/node": "^16.18.38", "assert-browserify": "^2.0.0", "browserify-fs": "^1.0.0", "constants-browserify": "^1.0.0", @@ -16547,53 +16547,14 @@ "typedoc": "0.25.0" }, "engines": { - "node": ">=10.13.0" - } - }, - "packages/xrpl/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "packages/xrpl/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=16.0.0" } }, - "packages/xrpl/node_modules/typedoc": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.0.tgz", - "integrity": "sha512-FvCYWhO1n5jACE0C32qg6b3dSfQ8f2VzExnnRboowHtqUD6ARzM2r8YJeZFYXhcm2hI4C2oCRDgNPk/yaQUN9g==", - "dev": true, - "dependencies": { - "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.3", - "shiki": "^0.14.1" - }, - "bin": { - "typedoc": "bin/typedoc" - }, - "engines": { - "node": ">= 16" - }, - "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x" - } + "packages/xrpl/node_modules/@types/node": { + "version": "16.18.38", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.38.tgz", + "integrity": "sha512-6sfo1qTulpVbkxECP+AVrHV9OoJqhzCsfTNp5NIG+enM4HyM3HvZCO798WShIXBN0+QtDIcutJCjsVYnQP5rIQ==", + "dev": true } }, "dependencies": { @@ -29431,7 +29392,7 @@ "version": "file:packages/xrpl", "requires": { "@geut/browser-node-core": "^2.0.13", - "@types/node": "^14.18.36", + "@types/node": "16", "assert-browserify": "^2.0.0", "bignumber.js": "^9.0.0", "bip32": "^2.0.6", @@ -29455,35 +29416,11 @@ "xrpl-secret-numbers": "^0.3.3" }, "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - }, - "typedoc": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.0.tgz", - "integrity": "sha512-FvCYWhO1n5jACE0C32qg6b3dSfQ8f2VzExnnRboowHtqUD6ARzM2r8YJeZFYXhcm2hI4C2oCRDgNPk/yaQUN9g==", - "dev": true, - "requires": { - "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.3", - "shiki": "^0.14.1" - } + "@types/node": { + "version": "16.18.38", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.38.tgz", + "integrity": "sha512-6sfo1qTulpVbkxECP+AVrHV9OoJqhzCsfTNp5NIG+enM4HyM3HvZCO798WShIXBN0+QtDIcutJCjsVYnQP5rIQ==", + "dev": true } } }, diff --git a/package.json b/package.json index fe98ab4c11..17072abbd6 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "./packages/*" ], "engines": { - "node": ">=12.0.0", - "npm": ">=7.0.0 < 10.0.0" + "node": ">=16.0.0", + "npm": ">=7.10.0 < 10.0.0" } } diff --git a/packages/ripple-address-codec/package.json b/packages/ripple-address-codec/package.json index 4e7cb2ab9c..cc65865dd5 100644 --- a/packages/ripple-address-codec/package.json +++ b/packages/ripple-address-codec/package.json @@ -33,6 +33,6 @@ }, "prettier": "@xrplf/prettier-config", "engines": { - "node": ">= 10" + "node": ">= 16" } } diff --git a/packages/ripple-binary-codec/package.json b/packages/ripple-binary-codec/package.json index b451719db6..e500505049 100644 --- a/packages/ripple-binary-codec/package.json +++ b/packages/ripple-binary-codec/package.json @@ -43,6 +43,6 @@ "readmeFilename": "README.md", "prettier": "@xrplf/prettier-config", "engines": { - "node": ">= 10" + "node": ">= 16" } } diff --git a/packages/ripple-keypairs/package.json b/packages/ripple-keypairs/package.json index 2af959e981..0aa87e17e6 100644 --- a/packages/ripple-keypairs/package.json +++ b/packages/ripple-keypairs/package.json @@ -37,6 +37,6 @@ "license": "ISC", "prettier": "@xrplf/prettier-config", "engines": { - "node": ">= 10" + "node": ">= 16" } } diff --git a/packages/xrpl/package.json b/packages/xrpl/package.json index ebe0226845..ba49dfd8a9 100644 --- a/packages/xrpl/package.json +++ b/packages/xrpl/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@geut/browser-node-core": "^2.0.13", - "@types/node": "^14.18.36", + "@types/node": "^16.18.38", "assert-browserify": "^2.0.0", "browserify-fs": "^1.0.0", "constants-browserify": "^1.0.0", @@ -89,6 +89,6 @@ "xrpl" ], "engines": { - "node": ">=10.13.0" + "node": ">=16.0.0" } }