From f458f1b93b9302d76382b390c82e0e0d3ec6678a Mon Sep 17 00:00:00 2001 From: Yu Date: Tue, 18 Jan 2022 00:54:10 +0800 Subject: [PATCH] doc: fix typos in esm.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/41499 Reviewed-By: Guy Bedford Reviewed-By: Tobias Nießen Reviewed-By: Adrian Estrada --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 3b74ff03bc60c1..a27e407b859dfd 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1399,7 +1399,7 @@ _internal_, _conditions_) > 1. Set _scopeURL_ to the parent URL of _scopeURL_. > 2. If _scopeURL_ ends in a _"node\_modules"_ path segment, return **null**. > 3. Let _pjsonURL_ be the resolution of _"package.json"_ within -> _packageURL_. +> _scopeURL_. > 4. if the file at _pjsonURL_ exists, then > 1. Return _scopeURL_. > 3. Return **null**.