New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

req-fast

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

req-fast - npm Package Compare versions

Comparing version 0.2.17 to 0.2.18

10

lib/req.js

@@ -86,4 +86,10 @@ 'use strict'

} catch (err) {
debug.enabled && debug('-> failed to decode body: %s', err.toString())
return callback(err, resp)
debug.enabled && debug('-> failed to decode body: %s, fallback to utf-8', err.toString())
charset = 'utf-8'
try {
resp.body = _decodeBody(resp.body, charset)
} catch (err) {
debug.enabled && debug('-> failed to decode body with utf-8: %s', err.toString())
return callback(err, resp)
}
}

@@ -90,0 +96,0 @@ }

2

package.json
{
"name": "req-fast",
"version": "0.2.17",
"version": "0.2.18",
"description": "This module is designed to be the fast, lightweight way to fetch the web content(HTML stream).",

@@ -5,0 +5,0 @@ "main": "lib/req.js",

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