From 82042d00943186f998ec9ee82e7d7cbd8fa0436d 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 80efae77eb49c2..4e32d5bc7b13a5 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1414,7 +1414,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**.