Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2020-08-31 21:40:55 +0300
committerGuy Bedford <guybedford@gmail.com>2020-09-04 02:33:04 +0300
commitef4e3b5f69450fc18eea6bdfbf8b2b9d4286e55c (patch)
treed7ee76bb4fc62d23b602bafb7dac7b10a5986284 /doc/api/esm.md
parentd0ee7d66bcd4c59baa2d87043688c08074586bb4 (diff)
doc: error code fix in resolver spec
PR-URL: https://github.com/nodejs/node/pull/34998 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r--doc/api/esm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 32713f09d30..160a6633d7d 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -1038,7 +1038,7 @@ _conditions_)
> 1. Otherwise, throw an _Invalid Package Target_ error.
> 1. If _target_ split on _"/"_ or _"\\"_ contains any _"."_, _".."_ or
> _"node_modules"_ segments after the first segment, throw an
-> _Invalid Module Specifier_ error.
+> _Invalid Package Target_ error.
> 1. Let _resolvedTarget_ be the URL resolution of the concatenation of
> _packageURL_ and _target_.
> 1. Assert: _resolvedTarget_ is contained in _packageURL_.