Skip to content

Commit

Permalink
fixup: code review
Browse files Browse the repository at this point in the history
Co-authored-by: Voltrex <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
guybedford and VoltrexKeyva committed Sep 19, 2021
1 parent c93cf27 commit 91e7b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ The resolver can throw the following errors:
> 1. Let _resolved_ be the result of **PACKAGE_TARGET_RESOLVE**(
> _packageURL_, _mainExport_, _""_, **false**, **false**,
> _conditions_).
> 1. If _resolved_ is not **null** or **undefined**, return _resolved.
> 1. If _resolved_ is not **null** or **undefined**, return _resolved_.
> 1. Otherwise, if _exports_ is an Object and all keys of _exports_ start with
> _"."_, then
> 1. Let _matchKey_ be the string _"./"_ concatenated with _subpath_.
Expand All @@ -1180,7 +1180,7 @@ The resolver can throw the following errors:
> 1. If _pjson.imports_ is a non-null Object, then
> 1. Let _resolved_ be the result of **PACKAGE_IMPORTS_EXPORTS_RESOLVE**(
> _specifier_, _pjson.imports_, _packageURL_, **true**, _conditions_).
> 1. If _resolved_ is not **null** or **undefined**, return _resolved.
> 1. If _resolved_ is not **null** or **undefined**, return _resolved_.
> 1. Throw a _Package Import Not Defined_ error.

**PACKAGE_IMPORTS_EXPORTS_RESOLVE**(_matchKey_, _matchObj_, _packageURL_,
Expand Down

0 comments on commit 91e7b5c

Please # to comment.