Skip to content

Commit 6225370

Browse files
aduh95targos
authored andcommitted
doc: fix version history for Loaders API
PR-URL: #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>
1 parent 33ac027 commit 6225370

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

doc/api/cli.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,12 @@ Enable experimental `import.meta.resolve()` support.
301301
### `--experimental-loader=module`
302302

303303
<!-- YAML
304-
added: v9.0.0
304+
added: v8.8.0
305+
changes:
306+
- version: v12.11.1
307+
pr-url: https://github.com/nodejs/node/pull/29752
308+
description: This flag was renamed from `--loader` to
309+
`--experimental-loader`.
305310
-->
306311

307312
Specify the `module` of a custom experimental [ECMAScript module loader][].

doc/api/esm.md

+9
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,15 @@ of Node.js applications.
674674
675675
## Loaders
676676
677+
<!-- YAML
678+
added: v8.8.0
679+
changes:
680+
- version: v16.12.0
681+
pr-url: https://github.com/nodejs/node/pull/37468
682+
description: Removed `getFormat`, `getSource`, `transformSource`, and
683+
`globalPreload`; added `load` hook and `getGlobalPreload` hook.
684+
-->
685+
677686
> Stability: 1 - Experimental
678687
679688
> This API is currently being redesigned and will still change.

0 commit comments

Comments
 (0)