From 9cb7d89097d337247876adfac7d48b291e27bf3c Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Fri, 24 Jun 2022 13:27:09 +0100 Subject: [PATCH] Require node 15. We use replaceAll in scripts/postcss/svg-colorizer.js which is a ES2021 feature. https://node.green/#ES2021-features--String-prototype-replaceAll --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index eed0b229..f4f4273a 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "directories": { "doc": "doc" }, + "enginesStrict": { + "node": ">=15" + }, "scripts": { "lint": "eslint --cache src/", "lint-ts": "eslint src/ -c .ts-eslintrc.js --ext .ts",