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 394dc8f commit 4c7cddaCopy full SHA for 4c7cdda
index.js
@@ -48,7 +48,7 @@ CipherBase.prototype.update = function (data, inputEnc, outputEnc) {
48
* Doesn't make sense with other TypedArray instances
49
*/
50
bufferData = Buffer.from(data);
51
- } else if (Buffer.isBuffer(data) && data.consructor && data.consructor.isBuffer && data.consructor.isBuffer(data)) {
+ } else if (Buffer.isBuffer(data) && data.constructor && data.constructor.isBuffer && data.constructor.isBuffer(data)) {
52
/*
53
* Old Buffer polyfill on an engine that doesn't have TypedArray support
54
* Also, this is from a different Buffer polyfill implementation then we have, as instanceof check failed
0 commit comments