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

npm-package-arg update #8115

Merged
merged 2 commits into from
Feb 18, 2025
Merged

npm-package-arg update #8115

merged 2 commits into from
Feb 18, 2025

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented Feb 18, 2025

Replaces #8112

@wraithgar wraithgar requested a review from a team as a code owner February 18, 2025 17:05
Removes all usage of `.replace(/#/g, '%23')` for compatibility with the new version

This is the code changes from #8112 isloated from the dependency update itself.

Closes:
npm/npm-package-arg#203

Credit: @TrevorBurnham
@wraithgar
Copy link
Member Author

As a courtesy I am going to wait for @TrevorBurnham to comment before landing this, since they are the original author.

Copy link
Contributor

@TrevorBurnham TrevorBurnham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to help! I left one nitpick comment inline; I didn't review my find-and-replace change very carefully before since I wasn't sure if that was the direction you wanted to go in. All the other changes look good to me.

@wraithgar
Copy link
Member Author

Removal if the vestigial cleanFetchSpec can be a follow up task if anyone wants free internet points.

@wraithgar wraithgar merged commit 811ca29 into latest Feb 18, 2025
34 checks passed
@wraithgar wraithgar deleted the gar/npa-update branch February 18, 2025 18:55
TrevorBurnham added a commit to TrevorBurnham/cli that referenced this pull request Feb 18, 2025
Following up on npm#8115. Since `cleanFetchSpec` no longer differs from
`fetchSpec`, it's no longer needed.
wraithgar pushed a commit that referenced this pull request Feb 18, 2025
Following up on #8115. Since `cleanFetchSpec` no longer differs from
`fetchSpec`, it's no longer needed. cc @wraithgar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants