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

feat: narrow types and optimize #68

Merged
merged 1 commit into from
May 17, 2024

Conversation

jdalton
Copy link
Collaborator

@jdalton jdalton commented Apr 25, 2024

This PR narrows the result types from string | undefined | null to string | undefined while still accepting nulls. It also optimizes things a bit.

@jdalton jdalton force-pushed the jdalton/type-nits branch 3 times, most recently from b8db8b5 to e30fd95 Compare April 25, 2024 12:14
@jdalton
Copy link
Collaborator Author

jdalton commented May 17, 2024

BTW in the meantime I'm maintaining a fork @jdalton/packageurl-js at https://github.com/jdalton/packageurl-js/tree/jdalton/fork that has all open issues resolved.

@steven-esser
Copy link
Collaborator

@jdalton Thanks for the PR. Sorry about the lack of response in this repo, I have been busy with work and family life. I should be a bit more active now and will handle updating the repo with the various fixes in flight.

@steven-esser steven-esser merged commit b6e5902 into package-url:master May 17, 2024
1 check passed
@jdalton jdalton deleted the jdalton/type-nits branch May 18, 2024 03:10
@jdalton
Copy link
Collaborator Author

jdalton commented May 18, 2024

@steven-esser

Sorry about the lack of response in this repo, I have been busy with work and family life. I should be a bit more active now and will handle updating the repo with the various fixes in flight.

No worries. I totally get it (I'm in a similar boat). I'm trickling in PRs for ya.

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.

2 participants