mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-17 13:14:25 +01:00
update node_modules
This commit is contained in:
4
node_modules/axios/lib/helpers/isAxiosError.js
generated
vendored
4
node_modules/axios/lib/helpers/isAxiosError.js
generated
vendored
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var utils = require('./../utils');
|
||||
|
||||
/**
|
||||
* Determines whether the payload is an error thrown by Axios
|
||||
*
|
||||
@@ -7,5 +9,5 @@
|
||||
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
||||
*/
|
||||
module.exports = function isAxiosError(payload) {
|
||||
return (typeof payload === 'object') && (payload.isAxiosError === true);
|
||||
return utils.isObject(payload) && (payload.isAxiosError === true);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user