Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE #53215

Merged
merged 1 commit into from
Jun 5, 2024

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 Mrtenz force-pushed the pattern-key-compare-docs branch from 1379fa9 to 3dc0833 Compare May 30, 2024 11:26
@Mrtenz
Copy link
Contributor Author

Mrtenz commented May 30, 2024

Had to force push to fix the commit message.

doc/api/esm.md Show resolved Hide resolved
@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
20 checks passed
@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
sophoniie pushed a commit to sophoniie/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