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.
1 parent 153d685 commit 4fb63ceCopy full SHA for 4fb63ce
support/isBufferBrowser.js
@@ -2,6 +2,5 @@ module.exports = function isBuffer(arg) {
2
return arg && typeof arg === 'object'
3
&& typeof arg.copy === 'function'
4
&& typeof arg.fill === 'function'
5
- && typeof arg.binarySlice === 'function'
6
- ;
7
-}
+ && typeof arg.readUInt8 === 'function';
+}
0 commit comments