Socket
Socket
Sign inDemoInstall

@fastify/formbody

Package Overview
Dependencies
1
Maintainers
18
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0 to 6.0.1

2

package.json
{
"name": "@fastify/formbody",
"version": "6.0.0",
"version": "6.0.1",
"description": "A module for Fastify to parse x-www-form-urlencoded bodies",

@@ -5,0 +5,0 @@ "main": "formbody.js",

@@ -1,6 +0,6 @@

# fastify-formbody
# @fastify/formbody
![CI](https://github.com/fastify/fastify-formbody/workflows/CI/badge.svg)
[![NPM version](https://img.shields.io/npm/v/fastify-formbody.svg?style=flat)](https://www.npmjs.com/package/fastify-formbody)
[![NPM downloads](https://img.shields.io/npm/dm/fastify-formbody.svg?style=flat)](https://www.npmjs.com/package/fastify-formbody)
[![NPM version](https://img.shields.io/npm/v/@fastify/formbody.svg?style=flat)](https://www.npmjs.com/package/@fastify/formbody)
[![NPM downloads](https://img.shields.io/npm/dm/fastify-formbody.svg?style=flat)](https://www.npmjs.com/package/@fastify/formbody)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

@@ -24,3 +24,3 @@ [![codecov](https://codecov.io/gh/fastify/fastify-formbody/branch/master/graph/badge.svg)](https://codecov.io/gh/fastify/fastify-formbody)

fastify.register(require('fastify-formbody'))
fastify.register(require('@fastify/formbody'))

@@ -63,3 +63,3 @@ fastify.post('/', (req, reply) => {

(`1048576` by default).
+ `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) })`
+ `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) })`

@@ -83,3 +83,3 @@ ## Upgrading from 4.x

const qs = require('qs')
fastify.register(require('fastify-formbody'), { parser: str => qs.parse(str) })
fastify.register(require('@fastify/formbody'), { parser: str => qs.parse(str) })
```

@@ -86,0 +86,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc