Skip to content

Commit 6e8285a

Browse files
aduh95targos
authored andcommitted
doc: fix version history for Loaders API
PR-URL: #42778 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 54d94d0 commit 6e8285a

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

doc/api/cli.md

Lines changed: 6 additions & 1 deletion
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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,15 @@ of Node.js applications.
664664
665665
## Loaders
666666
667+
<!-- YAML
668+
added: v8.8.0
669+
changes:
670+
- version: v16.12.0
671+
pr-url: https://github.com/nodejs/node/pull/37468
672+
description: Removed `getFormat`, `getSource`, `transformSource`, and
673+
`globalPreload`; added `load` hook and `getGlobalPreload` hook.
674+
-->
675+
667676
> Stability: 1 - Experimental
668677
669678
> This API is currently being redesigned and will still change.

0 commit comments

Comments
 (0)