From 4df32723c2cb10b98d26aa413b1f6a5ff8e8771f Mon Sep 17 00:00:00 2001 From: lvzhenbang Date: Wed, 26 Jun 2019 11:11:14 -0500 Subject: [PATCH] fix reTypedTag error (#4342) --- isTypedArray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isTypedArray.js b/isTypedArray.js index 4912626dc..184bbe4b3 100644 --- a/isTypedArray.js +++ b/isTypedArray.js @@ -3,7 +3,7 @@ import nodeTypes from './.internal/nodeTypes.js' import isObjectLike from './isObjectLike.js' /** Used to match `toStringTag` values of typed arrays. */ -const reTypedTag = /^\[object (?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)\]$/ +const reTypedTag = /^\[object (?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)Array\]$/ /* Node.js helper references. */ const nodeIsTypedArray = nodeTypes && nodeTypes.isTypedArray