This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
[FEATURE] Implement https://pkg.go.dev/ Page Parsing for React Based Extension #130
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Projects
Now that we've got things working in React, it's time to implement each websites page parsing in React:
To do this you'll need to:
In:
src/utils/PageParsing.ts
You will want to add a new block for
else if (format === 'golang')
and implement aparseGolang(url)
function.Non functional requirements:
cash-dom
library for parsing the webpage, it's a lot smaller, and seems to be vulnerable a bit less than jQuery usually isparseGolang
should return aPackageURL | undefined
Most of these have actually already been written, and you can look at the existing
utils.js
to guide you along the way!https://github.com/sonatype-nexus-community/nexus-iq-chrome-extension/blob/master/src/Scripts/utils.js#L2229-L2274
^ that is an example of the current Nuget Implementation
Best of all: have fun! Ask questions if you get stuck?!
The text was updated successfully, but these errors were encountered: