mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: esm spec bug
PR-URL: https://github.com/nodejs/node/pull/32610 Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
This commit is contained in:
1 parent
155a6c397d
commit
e88960d1f4
1 file changed
+1
-1
+1
-1
@@ -1663,7 +1663,7 @@ The resolver can throw the following errors:
|
||||
|
||||
**ESM_FORMAT**(_url_)
|
||||
|
||||
> 1. Assert: _url_ corresponds to an existing file pathname.
|
||||
> 1. Assert: _url_ corresponds to an existing file.
|
||||
> 1. Let _pjson_ be the result of **READ_PACKAGE_SCOPE**(_url_).
|
||||
> 1. If _url_ ends in _".mjs"_, then
|
||||
> 1. Return _"module"_.
|
||||
|
||||
Reference in new issue
Block a user