Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ jspm_packages
# Optional REPL history
.node_repl_history

build
build

# IDE
.idea/
2 changes: 1 addition & 1 deletion es5/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion es5/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down