Socket
Socket
Sign inDemoInstall

wpcom-xhr-request

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wpcom-xhr-request - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

5

History.md
0.2.4 / 2014-07-08
==================
* index: handle the scenario when `res.body` is undefined
0.2.3 / 2014-06-24

@@ -3,0 +8,0 @@ ==================

2

index.js

@@ -106,3 +106,3 @@

for (var i in body) err[i] = body[i];
if (body.error) err.name = toTitle(body.error) + 'Error';
if (body && body.error) err.name = toTitle(body.error) + 'Error';
fn(err);

@@ -109,0 +109,0 @@ }

@@ -12,3 +12,3 @@ {

],
"version": "0.2.3",
"version": "0.2.4",
"author": "Automattic, Inc.",

@@ -15,0 +15,0 @@ "contributors": [

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