Skip to content

Commit e21b37d

Browse files
jasnelladuh95
authored andcommitted
esm: graduate import.meta properties
Mark as no longer experimental: * `import.meta.dirname` * `import.meta.filename` PR-URL: #58011 Reviewed-By: Yagiz Nizipli Reviewed-By: Marco Ippolito Reviewed-By: Guy Bedford Reviewed-By: Matteo Collina Reviewed-By: Geoffrey Booth
1 parent b407692 commit e21b37d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/api/esm.md

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

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

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

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

0 commit comments

Comments
 (0)