Files
node/doc/api
DeeDeeG 48d4e3d0b2 doc: revert anachronistic 'node:' module require()s in API history notes
Support for the 'node:' prefixed builtin module namespace was introduced
for `require()` expressions in Node v16.0.0, and backported to v14.18.0.
This was never supported in Node v15.x or chronologically older.

All of the current API history notes in the docs using 'node:' prefixed
module `require()`s happen to be documenting changes in Node versions
from before the time when support was first introduced.

This commit reverts those `require()`s in the history notes to be
un-prefixed. (They were incorrect as written; The prefixed `require()`s
would not work for those older Node versions.)

This change prevents the API history notes from inaccurately implying
'node:' prefixed builtin modules were introduced many Node versions ago,
or were `require()`-able with the 'node:' prefix in those Node versions.

Refs: https://github.com/nodejs/node/pull/35387
Refs: https://github.com/nodejs/node/pull/37246
Refs: https://github.com/nodejs/node/pull/42752

PR-URL: https://github.com/nodejs/node/pull/43768
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2022-07-14 16:24:08 +01:00
..
2022-05-20 10:33:16 +01:00
2022-05-24 10:27:17 +01:00
2022-05-24 10:27:17 +01:00
2022-07-07 09:59:35 -04:00
2022-05-24 10:27:17 +01:00
2022-06-16 09:45:05 -04:00
2022-07-13 22:52:14 +02:00
2022-07-13 22:52:14 +02:00
2022-06-10 09:24:50 +01:00
2022-05-24 12:29:56 +01:00
2022-06-30 09:34:10 -04:00
2022-07-13 22:52:14 +02:00
2022-07-13 22:52:14 +02:00
2022-06-16 09:45:05 -04:00
2022-07-07 07:51:53 +01:00
2022-06-13 11:00:49 +01:00
2022-07-14 09:11:42 +01:00
2022-06-16 09:45:05 -04:00
2022-05-17 20:04:51 +01:00
2022-07-13 22:52:14 +02:00