Socket
Socket
Sign inDemoInstall

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.0.1 to 2.0.2

6

HISTORY.md

@@ -0,1 +1,7 @@

2.0.2 / 2015-05-21
==================
* deps: bytes@2.1.0
- Slight optimizations
2.0.1 / 2015-05-10

@@ -2,0 +8,0 @@ ==================

4

index.js

@@ -86,5 +86,3 @@ /*!

// convert the limit to an integer
var limit = typeof opts.limit === 'number' ? opts.limit
: typeof opts.limit === 'string' ? bytes(opts.limit)
: null
var limit = bytes.parse(opts.limit)

@@ -91,0 +89,0 @@ // convert the expected length to an integer

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

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

"dependencies": {
"bytes": "2.0.1",
"bytes": "2.1.0",
"iconv-lite": "0.4.8"

@@ -20,3 +20,3 @@ },

"istanbul": "0.3.9",
"mocha": "~2.2.4",
"mocha": "2.2.5",
"readable-stream": "~1.0.33",

@@ -23,0 +23,0 @@ "through2": "0.6.5"

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