This repository was archived by the owner on Apr 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ _ESM_RESOLVE_:
166
166
> 1. Set _resolvedURL_ to the result of parsing and reserializing
167
167
> _specifier_ as a URL.
168
168
> 1. Otherwise, if _specifier_ starts with _"/"_, _"./"_ or _"../"_ then,
169
- > 1. Set _resolvedURL_ to the URL resolution of _specifier_ to _parentURL_.
169
+ > 1. Set _resolvedURL_ to the URL resolution of _specifier_ relative to _parentURL_.
170
170
> 1. Otherwise,
171
171
> 1. Note: _specifier_ is now a bare specifier.
172
172
> 1. Set _resolvedURL_ the result of
@@ -178,7 +178,7 @@ _ESM_RESOLVE_:
178
178
**PACKAGE_RESOLVE**(_packageSpecifier_, _parentURL_)
179
179
> 1. Assert: _packageSpecifier_ is a bare specifier.
180
180
> 1. If _packageSpecifier_ is a Node.js builtin module then,
181
- > 1. Return _"node:${ packageName } "_.
181
+ > 1. Return _"node:${ packageSpecifier } "_.
182
182
> 1. Set _parentURL_ to the parent folder URL of _parentURL_.
183
183
> 1. While _parentURL_ contains a non-empty _pathname_,
184
184
> 1. Let _packageURL_ be the URL resolution of
Original file line number Diff line number Diff line change @@ -896,6 +896,7 @@ E('ERR_UNHANDLED_ERROR',
896
896
if ( err === undefined ) return msg ;
897
897
return `${ msg } (${ err } )` ;
898
898
} , Error ) ;
899
+ // This should probably be a `TypeError`.
899
900
E ( 'ERR_UNKNOWN_CREDENTIAL' , '%s identifier does not exist: %s' , Error ) ;
900
901
E ( 'ERR_UNKNOWN_ENCODING' , 'Unknown encoding: %s' , TypeError ) ;
901
902
You can’t perform that action at this time.
0 commit comments