Skip to content
Closed
Changes from 2 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
15 changes: 9 additions & 6 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 Expand Up @@ -422,8 +426,7 @@ changes:
description: Add support for WHATWG `URL` object to `parentURL` parameter.
-->

Comment thread
jasnell marked this conversation as resolved.
> Stability: 1.2 - Release candidate

> Stability: 1.2 - Release Candidate
Comment thread
jasnell marked this conversation as resolved.
Outdated
Comment thread
jasnell marked this conversation as resolved.
Outdated
* `specifier` {string} The module specifier to resolve relative to the
current module.
* Returns: {string} The absolute URL string that the specifier would resolve to.
Expand Down
Loading