Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
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
Next Next commit
tweaks
  • Loading branch information
guybedford authored Oct 24, 2018
commit ceb48064601669e9ee3da3f5526cd420ab3a3fea
3 changes: 1 addition & 2 deletions doc/esm-resolver-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ PACKAGE_RESOLVE(packageName, packagePath, parentURL)
> 1. Note: Further package name encoding validations can be implemented here.
> 1. Let _parentURL_ be the parent folder URL of _parentURL_.
> 1. While _parentURL_ contains a non-empty _pathname_,
> 1. Let _packageURL_ be equal to _"${parentPath}/node_modules/${packageName}_.
> 1. Let _packageURL_ be equal to _"${parentPath}/node_modules/${packageName}"_.
> 1. If _packagePath_ is not empty then,
> 1. Let _url_ be equal to _"${packageURL}/${packagePath}"_.
> 1. If the file at _url_ exists then,
> 1. Return _url_.
> 1. Continue the next iteration.
> 1. Otherwise,
> 1. Let _packageMain_ be the result of _CHECK_PACKAGE_MAIN(packageURL)_.
> 1. If _packageMain_ is not _undefined_ then,
Expand Down