Skip to content

Commit c1b15a4

Browse files
committed
esm: graduate import.meta properties
Mark as no longer experimental: * `import.meta.dirname` * `import.meta.filename` PR-URL: nodejs#58011 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]>
1 parent e0cf8ae commit c1b15a4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/api/esm.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,12 @@ properties. It is only supported in ES modules.
350350
added:
351351
- v21.2.0
352352
- v20.11.0
353+
changes:
354+
- version: REPLACEME
355+
pr-url: https://github.com/nodejs/node/pull/58011
356+
description: This property is no longer experimental.
353357
-->
354358

355-
> Stability: 1.2 - Release candidate
356-
357359
* {string} The directory name of the current module. This is the same as the
358360
[`path.dirname()`][] of the [`import.meta.filename`][].
359361

@@ -365,10 +367,12 @@ added:
365367
added:
366368
- v21.2.0
367369
- v20.11.0
370+
changes:
371+
- version: REPLACEME
372+
pr-url: https://github.com/nodejs/node/pull/58011
373+
description: This property is no longer experimental.
368374
-->
369375

370-
> Stability: 1.2 - Release candidate
371-
372376
* {string} The full absolute path and filename of the current module, with
373377
symlinks resolved.
374378
* This is the same as the [`url.fileURLToPath()`][] of the

0 commit comments

Comments
 (0)