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

uhttp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uhttp - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

bower.json
{
"name": "uhttp",
"version": "1.2.0",
"version": "1.2.1",
"main": "src/uhttp.js",

@@ -5,0 +5,0 @@ "ignore": [

@@ -464,3 +464,3 @@ /**

methods.then.call(methods, parsedResponse);
}, 1);
}, 0);
return callbacks;

@@ -502,6 +502,11 @@ }

res.setEncoding('utf8');
res.on('data', function (data) {
var transformedResponse = transformIntoFakeXHR(request, config, res, data);
var str = '';
res.on('data', function(chunk) {
str += chunk;
});
res.on('end', function () {
var transformedResponse = transformIntoFakeXHR(request, config, res, str);
config.options.transformResponse(transformedResponse);

@@ -508,0 +513,0 @@

{
"name": "uhttp",
"description": "A micro ajax http library with a unified api for browsers and nodejs",
"version": "1.2.0",
"version": "1.2.1",
"repository": "https://github.com/Flux159/uhttp",

@@ -6,0 +6,0 @@ "homepage": "http://flux159.github.io/uhttp/",

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