From 31d75f2f5d338e353b054b40da54604ef30d712b 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 b6b6bcc8088221..cd9b932b5c8d72 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1398,7 +1398,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**.