diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-04-21 11:50:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 10:50:00 +0100 |
commit | 0d58c0be3e1c3013959c02d42a2a2f21dd31c5f8 (patch) | |
tree | 8f4650181aaaa6babe53c539b46d960532a96f30 | |
parent | c65746e05bb27db8c31d47f61e994f8d42d6a157 (diff) | |
download | node-new-0d58c0be3e1c3013959c02d42a2a2f21dd31c5f8.tar.gz |
doc: fix version history for Loaders API
PR-URL: https://github.com/nodejs/node/pull/42778
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | doc/api/cli.md | 7 | ||||
-rw-r--r-- | doc/api/esm.md | 9 |
2 files changed, 15 insertions, 1 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 302367273d..3db570deb6 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -301,7 +301,12 @@ Enable experimental `import.meta.resolve()` support. ### `--experimental-loader=module` <!-- YAML -added: v9.0.0 +added: v8.8.0 +changes: + - version: v12.11.1 + pr-url: https://github.com/nodejs/node/pull/29752 + description: This flag was renamed from `--loader` to + `--experimental-loader`. --> Specify the `module` of a custom experimental [ECMAScript module loader][]. diff --git a/doc/api/esm.md b/doc/api/esm.md index e531a61416..7e42363418 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -674,6 +674,15 @@ of Node.js applications. ## Loaders +<!-- YAML +added: v8.8.0 +changes: + - version: v16.12.0 + pr-url: https://github.com/nodejs/node/pull/37468 + description: Removed `getFormat`, `getSource`, `transformSource`, and + `globalPreload`; added `load` hook and `getGlobalPreload` hook. +--> + > Stability: 1 - Experimental > This API is currently being redesigned and will still change. |