Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,12 @@ properties. It is only supported in ES modules.
added:
- v21.2.0
- v20.11.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58011
description: This property is no longer experimental.
-->

> Stability: 1.2 - Release candidate

* {string} The directory name of the current module. This is the same as the
[`path.dirname()`][] of the [`import.meta.filename`][].

Expand All @@ -365,10 +367,12 @@ added:
added:
- v21.2.0
- v20.11.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58011
description: This property is no longer experimental.
-->

> Stability: 1.2 - Release candidate

* {string} The full absolute path and filename of the current module, with
symlinks resolved.
* This is the same as the [`url.fileURLToPath()`][] of the
Expand Down
Loading