update node_modules

This commit is contained in:
bitkarrot
2022-03-20 23:27:54 -07:00
parent 563f63db2c
commit 860225cc69
107 changed files with 540 additions and 6815 deletions

View File

@@ -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);
};