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

raw-body

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raw-body - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

8

HISTORY.md

@@ -0,1 +1,9 @@

2.3.1 / 2017-09-07
==================
* deps: bytes@3.0.0
* deps: http-errors@1.6.2
- deps: depd@1.1.1
* perf: skip buffer decoding on overage chunk
2.3.0 / 2017-08-04

@@ -2,0 +10,0 @@ ==================

10

index.js

@@ -245,8 +245,2 @@ /*!

if (decoder) {
buffer += decoder.write(chunk)
} else {
buffer.push(chunk)
}
if (limit !== null && received > limit) {

@@ -258,2 +252,6 @@ done(createError(413, 'request entity too large', {

}))
} else if (decoder) {
buffer += decoder.write(chunk)
} else {
buffer.push(chunk)
}

@@ -260,0 +258,0 @@ }

6

package.json
{
"name": "raw-body",
"description": "Get and validate the raw body of a readable stream.",
"version": "2.3.0",
"version": "2.3.1",
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",

@@ -13,4 +13,4 @@ "contributors": [

"dependencies": {
"bytes": "2.5.0",
"http-errors": "1.6.1",
"bytes": "3.0.0",
"http-errors": "1.6.2",
"iconv-lite": "0.4.18",

@@ -17,0 +17,0 @@ "unpipe": "1.0.0"

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