Skip to content

Commit

Permalink
perf: replace querystring with fast-querystring
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Sep 6, 2022
1 parent 8d66cec commit 7178cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {
Response as LightMyRequestResponse,
} from 'light-my-request';
// `querystring` is used internally in fastify for registering urlencoded body parser.
import { parse as querystringParse } from 'querystring';
import { parse as querystringParse } from 'fast-querystring';
import {
FastifyStaticOptions,
PointOfViewOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/platform-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@fastify/cors": "8.1.0",
"@fastify/formbody": "7.1.0",
"@fastify/middie": "8.0.0",
"fast-querystring": "^0.5.0",
"fastify": "4.5.3",
"light-my-request": "5.5.1",
"path-to-regexp": "3.2.0",
Expand Down

0 comments on commit 7178cf5

Please sign in to comment.