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

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.14 to 3.0.0-alpha.15

7

dist/Data/Fetcher.js

@@ -41,6 +41,7 @@ 'use strict';

case 0:
_options$params = options.params, params = _options$params === undefined ? {} : _options$params, _options$queryParams = options.queryParams, queryParams = _options$queryParams === undefined ? {} : _options$queryParams, _options$type = options.type, type = _options$type === undefined ? 'json' : _options$type, _options$baseUrl = options.baseUrl, baseUrl = _options$baseUrl === undefined ? (0, _settings.getBaseUrl)() : _options$baseUrl, _options$method = options.method, method = _options$method === undefined ? 'GET' : _options$method, _options$customHeader = options.customHeaders, customHeaders = _options$customHeader === undefined ? false : _options$customHeader;
_options$params = options.params, params = _options$params === undefined ? {} : _options$params, _options$queryParams = options.queryParams, queryParams = _options$queryParams === undefined ? {} : _options$queryParams, _options$type = options.type, type = _options$type === undefined ? 'json' : _options$type, _options$baseUrl = options.baseUrl, baseUrl = _options$baseUrl === undefined ? (0, _settings.getBaseUrl)() : _options$baseUrl, _options$method = options.method, method = _options$method === undefined ? 'get' : _options$method, _options$customHeader = options.customHeaders, customHeaders = _options$customHeader === undefined ? false : _options$customHeader;
args = {
mode: 'cors',
credentials: 'same-origin'
credentials: 'same-origin',
method: method.toUpperCase()
};

@@ -65,3 +66,3 @@ query = '';

if (method === 'GET' || method === 'DELETE') {
if (args.method === 'GET' || args.method === 'DELETE') {
query = _this.stringifyQuery(params);

@@ -68,0 +69,0 @@ } else {

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

@@ -5,0 +5,0 @@ "main": "./dist/index.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