@fastify/formbody
Advanced tools
Comparing version 7.2.0 to 7.3.0
'use strict' | ||
const fp = require('fastify-plugin') | ||
const { parse } = require('querystring') | ||
const { parse } = require('fast-querystring') | ||
@@ -6,0 +6,0 @@ function defaultParser (str) { |
{ | ||
"name": "@fastify/formbody", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"description": "A module for Fastify to parse x-www-form-urlencoded bodies", | ||
@@ -43,2 +43,3 @@ "main": "formbody.js", | ||
"dependencies": { | ||
"fast-querystring": "^1.0.0", | ||
"fastify-plugin": "^4.0.0" | ||
@@ -45,0 +46,0 @@ }, |
@@ -60,3 +60,3 @@ # @fastify/formbody | ||
whatever is configured in | ||
[fastify](https://github.com/fastify/fastify/blob/master/docs/Factory.md#bodylimit) | ||
[fastify](https://github.com/fastify/fastify/blob/main/docs/Reference/Server.md#bodylimit) | ||
(`1048576` by default). | ||
@@ -63,0 +63,0 @@ + `parser`: The default parser used is the querystring.parse built-in. You can change this default by passing a parser function e.g. `fastify.register(require('@fastify/formbody'), { parser: str => myParser(str) })` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13787
2
+ Addedfast-querystring@^1.0.0
+ Addedfast-decode-uri-component@1.0.1(transitive)
+ Addedfast-querystring@1.1.2(transitive)