Skip to content

Conversation

@Mrtenz
Copy link
Contributor

@Mrtenz Mrtenz commented May 30, 2024

This removes cases in the reference documentation for PATTERN_KEY_COMPARE where a key does not contain a "*". Given the reference of PACKAGE_IMPORTS_EXPORTS_RESOLVE (the only place where PATTERN_KEY_COMPARE is called), keys that are passed to PATTERN_KEY_COMPARE always contain a single "*".

These cases were likely there for legacy reasons, when keys could end with "/" instead of using wildcards, but this documentation wasn't updated when support for this was removed.

Refs: #40121
Fixes: #53206

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/loaders

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. esm Issues and PRs related to the ECMAScript Modules implementation. labels May 30, 2024
@Mrtenz
Copy link
Contributor Author

Mrtenz commented May 30, 2024

Had to force push to fix the commit message.

@aduh95 aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 30, 2024
@Mrtenz
Copy link
Contributor Author

Mrtenz commented Jun 5, 2024

Is there anything else needed from my end to get this merged?

@targos targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 5, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 5, 2024
@nodejs-github-bot nodejs-github-bot merged commit 7f46227 into nodejs:main Jun 5, 2024
@nodejs-github-bot
Copy link
Collaborator

Landed in 7f46227

@Mrtenz Mrtenz deleted the pattern-key-compare-docs branch June 5, 2024 11:23
RafaelGSS pushed a commit that referenced this pull request Jun 7, 2024
PR-URL: #53215
Fixes: #53206
Refs: #40121
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
@RafaelGSS RafaelGSS mentioned this pull request Jun 7, 2024
eliph4z pushed a commit to eliph4z/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#53215
Fixes: nodejs#53206
Refs: nodejs#40121
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
bmeck pushed a commit to bmeck/node that referenced this pull request Jun 22, 2024
PR-URL: nodejs#53215
Fixes: nodejs#53206
Refs: nodejs#40121
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53215
Fixes: #53206
Refs: #40121
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53215
Fixes: #53206
Refs: #40121
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. esm Issues and PRs related to the ECMAScript Modules implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ambiguous steps in PACKAGE_IMPORTS_EXPORTS_RESOLVE reference documentation

5 participants