diff --git a/.gitignore b/.gitignore index 5ceda4d..df86c2b 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,7 @@ jspm_packages # Optional REPL history .node_repl_history -build \ No newline at end of file +build + +# IDE +.idea/ diff --git a/es5/index.js b/es5/index.js index 682de02..d4b5f3a 100644 --- a/es5/index.js +++ b/es5/index.js @@ -136,7 +136,7 @@ function depascalize$1(str, separator) { } function shouldProcessValue(value) { - return value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object' && !(value instanceof Date) && !(value instanceof Function); + return value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object' && !(value instanceof Date) && !(value instanceof Function) && !(value instanceof File); } function processKeys(obj, fun, opts) { diff --git a/es5/main.js b/es5/main.js index 499a91f..2304570 100644 --- a/es5/main.js +++ b/es5/main.js @@ -4,7 +4,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol module.exports = function (algorithms) { function shouldProcessValue(value) { - return value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object' && !(value instanceof Date) && !(value instanceof Function); + return value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object' && !(value instanceof Date) && !(value instanceof Function) && !(value instanceof File); } function processKeys(obj, fun, opts) {