We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
instanceof
1 parent 8e5465d commit 2f31a4eCopy full SHA for 2f31a4e
binary.js
@@ -97,8 +97,8 @@ exports.removeBlobs = function(data, callback) {
97
if (!obj) return obj;
98
99
// convert any blob
100
- if ((global.Blob && obj instanceof Blob) ||
101
- (global.File && obj instanceof File)) {
+ if ((typeof global.Blob === 'function' && obj instanceof Blob) ||
+ (typeof global.File === 'function' && obj instanceof File)) {
102
pendingBlobs++;
103
104
// async filereader
0 commit comments