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.2 to 2.1.0

7

HISTORY.md

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

2.1.0 / 2015-05-28
==================
* deps: iconv-lite@0.4.10
- The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
- Leading BOM is now removed when decoding
2.0.2 / 2015-05-21

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

2

index.js

@@ -36,3 +36,3 @@ /*!

try {
return iconv.getCodec(encoding).decoder()
return iconv.getDecoder(encoding)
} catch (e) {

@@ -39,0 +39,0 @@ var err = makeError('specified encoding unsupported', 'encoding.unsupported')

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

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

"bytes": "2.1.0",
"iconv-lite": "0.4.8"
"iconv-lite": "0.4.10"
},
"devDependencies": {
"bluebird": "2.9.25",
"bluebird": "2.9.26",
"istanbul": "0.3.9",

@@ -20,0 +20,0 @@ "mocha": "2.2.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