Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

urlencoded-body-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urlencoded-body-parser - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist.js

@@ -7,3 +7,3 @@ const getRawBody = require('raw-body')

const type = req.headers['content-type']
const encoding = typer.parse(type).parameters.charset
const encoding = (type) ? typer.parse(type).parameters.charset : 'UTF-8'

@@ -10,0 +10,0 @@ req.rawBody = req.rawBody || getRawBody(req, {limit, encoding})

{
"name": "urlencoded-body-parser",
"version": "2.0.0",
"version": "2.0.1",
"description": "Small application/x-www-form-urlencoded request body parser",

@@ -13,2 +13,3 @@ "main": "dist.js",

"scripts": {
"prepublish": "npm run build",
"build": "async-to-gen index.js > dist.js",

@@ -15,0 +16,0 @@ "test": "standard; node --harmony-async-await ./node_modules/.bin/jest"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc