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.1.3 to 2.1.4

7

HISTORY.md

@@ -0,1 +1,8 @@

2.1.4 / 2015-09-27
==================
* Fix masking critical errors from `iconv-lite`
* deps: iconv-lite@0.4.12
- Fix CESU-8 decoding in Node.js 4.x
2.1.3 / 2015-09-12

@@ -2,0 +9,0 @@ ==================

@@ -27,2 +27,9 @@ /*!

/**
* Module variables.
* @private
*/
var iconvEncodingMessageRegExp = /^Encoding not recognized: /
/**
* Get the decoder for a given encoding.

@@ -40,2 +47,6 @@ *

} catch (e) {
// error getting decoder
if (!iconvEncodingMessageRegExp.test(e.message)) throw e
// the encoding was not found
throw createError(415, 'specified encoding unsupported', 'encoding.unsupported', {

@@ -42,0 +53,0 @@ encoding: encoding

8

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

@@ -14,8 +14,8 @@ "contributors": [

"bytes": "2.1.0",
"iconv-lite": "0.4.11",
"iconv-lite": "0.4.12",
"unpipe": "1.0.0"
},
"devDependencies": {
"bluebird": "2.10.0",
"istanbul": "0.3.19",
"bluebird": "2.10.1",
"istanbul": "0.3.21",
"mocha": "2.2.5",

@@ -22,0 +22,0 @@ "readable-stream": "2.0.2",

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