summaryrefslogtreecommitdiff
path: root/deps/cjs-module-lexer
diff options
context:
space:
mode:
authorpezhmanparsaee <p.parsaee@gmail.com>2021-03-25 01:08:03 +0430
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-03-30 10:12:49 +0200
commitd7b86385821f117eecc11a8bd55f9a4d615a5eb0 (patch)
tree2b0693fbfe23c59567627b1c525cec6408594e92 /deps/cjs-module-lexer
parent78237591f8b07d375ab365bb33ee9ea7a8190fc2 (diff)
downloadnode-new-d7b86385821f117eecc11a8bd55f9a4d615a5eb0.tar.gz
deps: cjs-module-lexer: cherry-pick 22093e765f
Original commit message: fix "the the" typo in README.md file Refs: https://github.com/guybedford/cjs-module-lexer/commit/22093e765f02d1c97c1bd9baf3ea21653ba92548 PR-URL: https://github.com/nodejs/node/pull/37895 Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Diffstat (limited to 'deps/cjs-module-lexer')
-rwxr-xr-xdeps/cjs-module-lexer/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/cjs-module-lexer/README.md b/deps/cjs-module-lexer/README.md
index 5e963988ea..44e615177e 100755
--- a/deps/cjs-module-lexer/README.md
+++ b/deps/cjs-module-lexer/README.md
@@ -129,7 +129,7 @@ Spacing between tokens is taken to be any ECMA-262 whitespace, ECMA-262 block co
* The returned export names are taken to be the combination of:
1. All `IDENTIFIER` and `IDENTIFIER_STRING` slots for `EXPORTS_MEMBER` and `EXPORTS_LITERAL` matches.
2. The first `IDENTIFIER_STRING` slot for all `EXPORTS_DEFINE_VALUE` matches where that same string is not an `EXPORTS_DEFINE` match that is not also an `EXPORTS_DEFINE_VALUE` match.
-* The reexport specifiers are taken to be the the combination of:
+* The reexport specifiers are taken to be the combination of:
1. The `REQUIRE` matches of the last matched of either `MODULE_EXPORTS_ASSIGN` or `EXPORTS_LITERAL`.
2. All _top-level_ `EXPORT_STAR` `REQUIRE` matches and `EXPORTS_ASSIGN` matches whose `IDENTIFIER` also matches the first `IDENTIFIER` in `EXPORT_STAR_LIB`.