Socket
Socket
Sign inDemoInstall

react-isomorphic-tools

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-isomorphic-tools - npm Package Compare versions

Comparing version 3.0.0-alpha.8 to 3.0.0-alpha.9

34

dist/Data/Fetcher.js

@@ -47,14 +47,25 @@ 'use strict';

query = '';
_context.t0 = type;
_context.next = _context.t0 === 'form-data' ? 6 : _context.t0 === 'json' ? 9 : 13;
break;
case 6:
if (!(type === 'form-data')) {
_context.next = 8;
break;
}
args.body = params;
query = _this.stringifyQuery(queryParams);
return _context.abrupt('break', 14);
_context.next = 14;
break;
case 9:
args.body = JSON.stringify(params);
query = _this.stringifyQuery(queryParams);
case 8:
if (!(type === 'json')) {
_context.next = 13;
break;
}
if (method === 'GET') {
query = _this.stringifyQuery(params);
} else {
args.body = JSON.stringify(params);
query = _this.stringifyQuery(queryParams);
}
args.headers = new Headers({

@@ -65,3 +76,4 @@ Accept: 'application/json',

});
return _context.abrupt('break', 14);
_context.next = 14;
break;

@@ -109,3 +121,3 @@ case 13:

_context.prev = 30;
_context.t1 = _context['catch'](16);
_context.t0 = _context['catch'](16);
throw {

@@ -119,3 +131,3 @@ type: 'notAvailableResource',

},
e: _context.t1
e: _context.t0
};

@@ -122,0 +134,0 @@

{
"name": "react-isomorphic-tools",
"version": "3.0.0-alpha.8",
"version": "3.0.0-alpha.9",
"description": "Authorization, Fetcher, Preload. Tools for ServerSide rendering",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

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