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

Update for v5 #80

Merged
merged 2 commits into from
Apr 13, 2024
Merged

Update for v5 #80

merged 2 commits into from
Apr 13, 2024

Conversation

gurgunday
Copy link
Member

No description provided.

@gurgunday gurgunday requested a review from a team April 13, 2024 09:17
@gurgunday gurgunday changed the base branch from main to next April 13, 2024 09:17
Copy link
Member

@zekth zekth left a comment

Choose a reason for hiding this comment

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

lgtm

@zekth zekth merged commit 8428052 into fastify:next Apr 13, 2024
20 checks passed
@gurgunday gurgunday deleted the v5 branch April 13, 2024 09:35
jsumners added a commit that referenced this pull request Jun 23, 2024
* Update for v5 (#80)

* update

* up

* workflows: update and pin node LTS versions (#81)

* update workflow

* start from 16

* perf: make ipv4 regex faster (#73)

* perf: make ipv4 regex faster

All credits for this regex to https://stackoverflow.com/a/36760050. 

The regex is both more correct and faster (https://esbench.com/bench/6532596e7ff73700a4debb6a).
Examples:
previous regex recognized "01.01.01.01" or "1.1.000.1" as correct ipv4 regex, but those aren't valid as per https://datatracker.ietf.org/doc/html/rfc5954#section-4.1.

* avoid capture groups

* update to fastest regexp variant

* comment out 10.10.000.1110

* lint

---------

Signed-off-by: Jacob Groß <[email protected]>
Co-authored-by: Gürgün Dayıoğlu <[email protected]>

---------

Signed-off-by: Jacob Groß <[email protected]>
Co-authored-by: Gürgün Dayıoğlu <[email protected]>
Co-authored-by: Jacob Groß <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants