From 913ec56798de6c5cf5e78f2b860e2f0f19816eb9 Mon Sep 17 00:00:00 2001 From: pezhmanparsaee Date: Thu, 25 Mar 2021 01:08:03 +0430 Subject: [PATCH] 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 Reviewed-By: Antoine du Hamel Reviewed-By: Harshitha K P --- deps/cjs-module-lexer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/cjs-module-lexer/README.md b/deps/cjs-module-lexer/README.md index 5e963988eac791..44e615177e204c 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`.