Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
fixup remaining doc lines
  • Loading branch information
guybedford committed Dec 19, 2019
commit 1ddbc0e9e7cf7c4b8cb96c3946e4dc695b29adc3
7 changes: 1 addition & 6 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1207,8 +1207,7 @@ _defaultEnv_ is the conditional environment name priority array,
> encoded strings for _"/"_ or _"\\"_, then
> 1. Throw an _Invalid Specifier_ error.
> 1. Set _selfUrl_ to the result of
Comment thread
guybedford marked this conversation as resolved.
> **SELF_REFERENCE_RESOLE**(_packageName_, _packageSubpath_, _parentURL_,
> **true**).
> **SELF_REFERENCE_RESOLVE**(_packageName_, _packageSubpath_, _parentURL_).
> 1. If _selfUrl_ isn't empty, return _selfUrl_.
> 1. If _packageSubpath_ is _undefined_ and _packageName_ is a Node.js builtin
> module, then
Expand All @@ -1231,10 +1230,6 @@ _defaultEnv_ is the conditional environment name priority array,
> 1. Return **PACKAGE_EXPORTS_RESOLVE**(_packageURL_,
> _packageSubpath_, _pjson.exports_).
> 1. Return the URL resolution of _packageSubpath_ in _packageURL_.
> 1. Set _selfUrl_ to the result of
> **SELF_REFERENCE_RESOLE**(_packageName_, _packageSubpath_, _parentURL_,
> **false**).
> 1. If _selfUrl_ isn't empty, return _selfUrl_.
> 1. Throw a _Module Not Found_ error.

**SELF_REFERENCE_RESOLVE**(_packageName_, _packageSubpath_, _parentURL_)
Expand Down