apax-react-core
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -7,2 +7,8 @@ ## Changelog | ||
## [1.1.7] - 2021-07-19 | ||
### Changed | ||
- Check for status code existence before checking status value. Related to axios issues. | ||
## [1.1.6] - 2021-07-15 | ||
@@ -9,0 +15,0 @@ |
import Cookies from 'universal-cookie'; | ||
import { get, has, merge, isEmpty } from 'lodash'; | ||
import { isNil, get, has, merge, isEmpty } from 'lodash'; | ||
import axios from 'axios'; | ||
@@ -654,3 +654,3 @@ import { call, select, all, put, take, takeEvery } from 'redux-saga/effects'; | ||
if (!(!response.status || response.status > 299)) { | ||
if (!(!isNil(response.status) && response.status > 299)) { | ||
_context.next = 10; | ||
@@ -717,3 +717,3 @@ break; | ||
if (!(!response.status || response.status > 299)) { | ||
if (!(!isNil(response.status) && response.status > 299)) { | ||
_context2.next = 10; | ||
@@ -852,3 +852,3 @@ break; | ||
if (!(!response.status || response.status > 299)) { | ||
if (!(!isNil(response.status) && response.status > 299)) { | ||
_context4.next = 9; | ||
@@ -855,0 +855,0 @@ break; |
@@ -660,3 +660,3 @@ 'use strict'; | ||
if (!(!response.status || response.status > 299)) { | ||
if (!(!_.isNil(response.status) && response.status > 299)) { | ||
_context.next = 10; | ||
@@ -723,3 +723,3 @@ break; | ||
if (!(!response.status || response.status > 299)) { | ||
if (!(!_.isNil(response.status) && response.status > 299)) { | ||
_context2.next = 10; | ||
@@ -858,3 +858,3 @@ break; | ||
if (!(!response.status || response.status > 299)) { | ||
if (!(!_.isNil(response.status) && response.status > 299)) { | ||
_context4.next = 9; | ||
@@ -861,0 +861,0 @@ break; |
{ | ||
"name": "apax-react-core", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Contains core react functionality developed by Apax Software LLC", | ||
@@ -5,0 +5,0 @@ "author": "apaxsoftware", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116473