From 6eb8be8a991854ad4faaa6f0b5c818199c0f79b6 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Tue, 1 Feb 2022 09:17:16 +0100 Subject: [PATCH] Add stricter version requirement for Node.js --- README.md | 2 ++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2be56bb..39ea590 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ This repository contains an implementation of an API to analyze synthesized DDC ## Install +You will need Node.js version 14.17 or later. + ~~~bash git clone https://github.com/gbv/coli-ana.git cd coli-ana diff --git a/package-lock.json b/package-lock.json index 4d35886..6f99d85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ "vite": "^2.7.13" }, "engines": { - "node": ">=12" + "node": ">=14.17" } }, "node_modules/@antfu/install-pkg": { diff --git a/package.json b/package.json index d8e2417..6bd14b9 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "server.js", "type": "module", "engines": { - "node": ">=12" + "node": ">=14.17" }, "scripts": { "test": "NODE_ENV=test mocha --exit --timeout 10000 --slow 2000",