Closed Fdawgs closed 1 year ago
Third capture group is never used anywhere, so it's being added to the returned array from .match() for no reason:
.match()
https://github.com/fastify/fast-uri/blob/8b0e018b3ad8108dcc1d4a82be0d4f51aa65f0d5/lib/schemes.js#L81-L98
npm run test
npm run benchmark
Third capture group is never used anywhere, so it's being added to the returned array from
.match()
for no reason:https://github.com/fastify/fast-uri/blob/8b0e018b3ad8108dcc1d4a82be0d4f51aa65f0d5/lib/schemes.js#L81-L98
Checklist
npm run test
andnpm run benchmark