diff --git a/docs/rules/prefer-node-protocol.md b/docs/rules/prefer-node-protocol.md index 6c26d24896..bb5350cad1 100644 --- a/docs/rules/prefer-node-protocol.md +++ b/docs/rules/prefer-node-protocol.md @@ -9,6 +9,12 @@ When importing builtin modules, it's better to use the [`node:` protocol](https://nodejs.org/api/esm.html#node-imports) as it makes it perfectly clear that the package is a Node.js builtin module. +Note that Node.js support for this feature began in: + +> v16.0.0, v14.18.0 (`require()`) +> +> v14.13.1, v12.20.0 (`import`) + ## Fail ```js