giget icon indicating copy to clipboard operation
giget copied to clipboard

Missing escape slash on RegEx in Utils

Open moleCuleFFF opened this issue 1 year ago • 1 comments

Environment

Node 18.20.2

Reproduction

Regular expression has error in it resulting in an error when running parseGitURI. https://github.com/unjs/giget/blob/e22b491fd70bee0c23b45733132166fe1d085aa1/src/_utils.ts#L49

Describe the bug

Missing escape slash in RegEx https://github.com/unjs/giget/blob/e22b491fd70bee0c23b45733132166fe1d085aa1/src/_utils.ts#L49

Additional context

No response

Logs

No response

moleCuleFFF avatar Aug 27 '24 11:08 moleCuleFFF

image

moleCuleFFF avatar Aug 27 '24 13:08 moleCuleFFF