Skip to content

Conversation

@wangweixuan
Copy link

@wangweixuan wangweixuan commented Aug 21, 2021

Fixes the parsing of repository field in extension editing, allowing repository shorthand, and avoids false reports of non-https relative image links.

I add a dependency hosted-git-info, which supports parsing repository shorthands and is developed by npm.

I only fixed the warning message when authoring extensions. Actually vsce has not supported those shorthands by now. (microsoft/vscode-vsce#489)

This PR fixes #60669.

SaadbinWaheed
SaadbinWaheed previously approved these changes Aug 21, 2021
@wangweixuan
Copy link
Author

Just fixed an edge case, where hosted-git-info won't parse URLs from unknown host services.

@chrmarti chrmarti modified the milestones: September 2021, October 2021 Sep 29, 2021
@alexr00 alexr00 modified the milestones: October 2021, November 2021 Nov 8, 2021
@wangweixuan wangweixuan closed this by deleting the head repository Aug 30, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extensions/extension-editing/src/extensionLinter.ts does not respect repository shorthand in package.json

5 participants