perf: replace querystring with fast-querystring#129
Conversation
|
The following two separate tests are only required to be tested with Here's the link where we put all the node tests: https://github.com/anonrig/fast-querystring/blob/b893058f36c2c1db615d6f238a70d696526ff7af/test/node.ts. The tests extracted from querystring module that makes sense for
The tests extract from querystring module that makes sense for |
|
@jsumners I forced pushed to include 0.7.1 version where I added more & more tests. It has all the tests on the node.js side, and more taken from several other packages. The code coverage is 98% at the moment. |
|
I have tried to find a comprehensive test suite for URL search params (https://url.spec.whatwg.org/#urlsearchparams) in both the Firefox and Chromium codebases, but I was unsuccessful. It really seems like there should be a standardized set of strings that implementors can test their code against 😕 I would still rather any direct dependency be mature enough that it is willing to publish itself as v1.0.0. |
|
@anonrig what is left on library side until you are comfortable with publishing 1.0.0? |
|
Can we have fast-querystring in the fastify org? One of the reasons I removed some simple packages from our repos was to reduce the surface for supply chain attacks. |
This is unnecessary. The Fastify org does not need to maintain every library. |
|
I made my arguments. |
|
A few notes. I'm happy with the I asked @anonrig immediately if he could move it to the org, however, he said he would prefer to keep it under his name. Given that the module is a few days old, let's wait until it's 1.0.0 and then make some decision? In the meanwhile, would you mind adding an option to configure the |
|
Sorry for the late reply. I was getting my basic keelboat training in the weekend 🎉
@kibertoad Honestly speaking, nothing. I'm just waiting for a couple of days, where I can't find any more performance improvement.
@Uzlopak I've given @mcollina both NPM and Github rights, in case I'm not available to release any changes. If package.json includes a fixed version, this will be averted.
@mcollina I'll update the pull request. |
|
Fix: Actually |
|
@jsumners I released 1.0. I think it is stable enough. |
|
@jsumners PTAL, are you still blocking this? |
I was at my company "offsite". |
Checklist
npm run testandnpm run benchmarkand the Code of conduct