diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/README.md b/README.md index feda7e3..efe37d8 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,8 @@ accentFoldedHighlight('Fulanilo López', 'lo', 'strong'); // --> "Fulani Contributions are welcome! Please feel free to submit a Pull Request. +**Development requires Node.js ≥22** (ESLint v10 constraint). The published package supports Node.js ≥18 for consumers. + ## Credits The initial idea came from the article [Accent Folding for Auto-Complete](https://alistapart.com/article/accent-folding-for-auto-complete/) by Carlos Bueno on A List Apart (February 2010). This library has since grown beyond that original concept, but the credit belongs there. diff --git a/package.json b/package.json index 5272e5f..06a7839 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,13 @@ "engines": { "node": ">=18" }, + "devEngines": { + "runtime": { + "name": "node", + "version": ">=22.0.0", + "onFail": "warn" + } + }, "type": "module", "scripts": { "coverage": "vitest run --coverage",